RpcNsGroupMbrInqBegin function
The RpcNsGroupMbrInqBegin function creates an inquiry context for viewing group members.
Syntax
RPC_STATUS RPC_ENTRY RpcNsGroupMbrInqBegin( unsigned long GroupNameSyntax, unsigned char *GroupName, unsigned long MemberNameSyntax, RPC_NS_HANDLE *InquiryContext );
Parameters
- GroupNameSyntax
-
Syntax of GroupName.
To use the syntax specified in the registry value entry HKEY_LOCAL_MACHINE\Software\Microsoft\Rpc\NameService\DefaultSyntax, provide a value of RPC_C_NS_SYNTAX_DEFAULT.
- GroupName
-
Pointer to the name of the RPC group to view.
- MemberNameSyntax
-
Syntax of the return parameter, MemberName, in the RpcNsGroupMbrInqNext function.
To use the syntax specified in the registry value entry HKEY_LOCAL_MACHINE\Software\Microsoft\Rpc\NameService\DefaultSyntax, provide a value of RPC_C_NS_SYNTAX_DEFAULT.
- InquiryContext
-
Returns a pointer to a name-service handle for use with the RpcNsGroupMbrInqNext and RpcNsGroupMbrInqDone functions.
Return value
| Value | Meaning |
|---|---|
|
The call succeeded. |
|
The name syntax is invalid. |
|
The name syntax is not supported. |
|
The name is incomplete. |
|
The name-service entry was not found. |
|
The name service is unavailable. |
Remarks
The RpcNsGroupMbrInqBegin function creates an inquiry context for viewing the members of an RPC group. Before calling RpcNsGroupMbrInqNext, the application must first call RpcNsGroupMbrInqBegin to create an inquiry context. When finished viewing the RPC group members, the application calls RpcNsGroupMbrInqDone to delete the inquiry context.
Requirements
|
Minimum supported client |
Windows 2000 Professional [desktop apps only] |
|---|---|
|
Minimum supported server |
Windows 2000 Server [desktop apps only] |
|
Header |
|
|
Library |
|
|
DLL |
|
|
Unicode and ANSI names |
RpcNsGroupMbrInqBeginW (Unicode) and RpcNsGroupMbrInqBeginA (ANSI) |
See also