RpcServerInterfaceGroupClose function (rpcdce.h)

The RpcServerInterfaceGroupClose function is used to free an interface group.

Syntax

RPC_STATUS RpcServerInterfaceGroupClose(
  [in] RPC_INTERFACE_GROUP IfGroup
);

Parameters

[in] IfGroup

A RPC_INTERFACE_GROUP from RpcServerInterfaceGroupCreate that defines the interface group to close.

Return value

Value Meaning
RPC_S_OK
The call succeeded.
RPC_S_INVALID_ARG
IfGroup is invalid.
 
Note  For a list of valid error codes, see RPC Return Values.
 

Remarks

If the given interface group is still active, RpcServerInterfaceGroupClose performs a forced deactivation before closing the group.

This function must not be called from an interface group’s idle callback or deadlock can occur.

Requirements

Requirement Value
Minimum supported client Windows 8 [desktop apps only]
Minimum supported server Windows Server 2012 [desktop apps only]
Target Platform Windows
Header rpcdce.h (include Rpc.h)
Library Rpcrt4.lib
DLL Rpcrt4.dll

See also

RpcServerInterfaceGroupActivate

RpcServerInterfaceGroupCreate

RpcServerInterfaceGroupDeactivate

RpcServerInterfaceGroupInqBindings