RpcIfInqId

The RpcIfInqId function returns the interface-identification part of an interface specification.

#include <rpc.h>
RPC_STATUS RPC_ENTRY RpcIfInqId( 
  RPC_IF_HANDLE  RpcIfHandle,   
  RPC_IF_ID *  RpcIfId          
);
 

Parameters

RpcIfHandle
Specifies a stub-generated data structure specifying the interface to inquire.
RpcIfId
Returns a pointer to the interface identification. The application provides memory for the returned data.

Remarks

An application calls the RpcIfInqId routine to obtain a copy of the interface identification from the provided interface specification.

The returned interface identification consists of the interface UUID and interface version numbers (major and minor) specified in the IfSpec argument from the IDL file.

Return Values

Value Meaning
RPC_S_OK Success

QuickInfo

  Windows NT: Yes
  Windows CE: Unsupported.
  Header: Declared in rpcdce.h.
  Import Library: Link with rpcrt4.lib.

See Also

RpcServerInqIf, RpcServerRegisterIf