RpcNsGroupMbrRemove function
The RpcNsGroupMbrRemove function removes an entry name from a group.
Syntax
RPC_STATUS RPC_ENTRY RpcNsGroupMbrRemove( unsigned long GroupNameSyntax, unsigned char *GroupName, unsigned long MemberNameSyntax, unsigned char *MemberName );
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 from which to remove the member name.
- MemberNameSyntax
-
Syntax to use in the MemberName parameter.
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.
- MemberName
-
Pointer to the name of the member to remove from the RPC group attribute in the entry GroupName.
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. |
|
The group member was not found. |
Remarks
The RpcNsGroupMbrRemove function removes a member from the RPC group attribute in the GroupName parameter.
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 |
RpcNsGroupMbrRemoveW (Unicode) and RpcNsGroupMbrRemoveA (ANSI) |
See also