RpcNsGroupMbrRemove  E7XCLH

The RpcNsGroupMbrRemove function removes an entry name from a group.

#include <rpc.h>

RPC_STATUS RPC_ENTRY RpcNsGroupMbrRemove(

    unsigned long  GroupNameSyntax,

 

    unsigned char *  GroupName,

 

    unsigned long  MemberNameSyntax,

 

    unsigned char *  MemberName

 

   );

 

 

Parameters

GroupNameSyntax

Specifies an integer value that indicates the syntax of the next argument, GroupName.

To use the syntax specified in the registry value HKEY_LOCAL_MACHINE\Software\Microsoft\Rpc\NameService\
DefaultSyntax, provide a value of RPC_C_NS_SYNTAX_DEFAULT.

GroupName

Points to the name of the RPC group from which to remove the member name.

MemberNameSyntax

Specifies an integer value that indicates the syntax to use in the MemberName argument.

To use the syntax specified in the registry value HKEY_LOCAL_MACHINE\Software\Microsoft\Rpc\NameService\
DefaultSyntax, provide a value of RPC_C_NS_SYNTAX_DEFAULT.

MemberName

Points to the name of the member to remove from the RPC group attribute in the entry GroupName.

 

Remarks

 

Note  This DCE function is not supported by the Microsoft Locator.

 

The RpcNsGroupMbrRemove routine removes a member from the RPC group attribute in the GroupName argument.

Return Values

Value

Meaning

RPC_S_OK

Success

RPC_S_INVALID_NAME_SYNTAX

Invalid name syntax

RPC_S_UNSUPPORTED_NAME_SYNTAX

Unsupported name syntax

RPC_S_INCOMPLETE_NAME

Incomplete name

RPC_S_ENTRY_NOT_FOUND

Name-service entry not found

RPC_S_NAME_SERVICE_UNAVAILABLE

Name service unavailable

RPC_S_GROUP_MEMBER_NOT_FOUND

Group member not found

 

See Also

RpcNsGroupMbrAdd