RpcIfInqId function (rpcdce.h)

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

Syntax

RPC_STATUS RpcIfInqId(
  RPC_IF_HANDLE RpcIfHandle,
  RPC_IF_ID     *RpcIfId
);

Parameters

RpcIfHandle

Stub-generated structure specifying the interface to query.

RpcIfId

Returns a pointer to the interface identification. The application provides memory for the returned data.

Return value

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

Remarks

An application calls the RpcIfInqId function 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 parameter from the IDL file.

Requirements

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

See also

RpcServerInqIf

RpcServerRegisterIf