RpcMgmtInqIfIds  14QUOGI

The RpcMgmtInqIfIds function returns a vector containing the identifiers of the interfaces offered by the server.

This function is supported by both 32-bit platforms   Windows NT and Windows 95.

#include <rpc.h>

RPC_STATUS RPC_ENTRY RpcMgmtInqIfIds(

    RPC_BINDING_HANDLE  Binding,

 

    RPC_IF_ID_VECTOR * *  IfIdVector

 

   );

 

 

Parameters

Binding

To receive interface identifiers about a remote application, specify a server binding handle for that application. To receive interface information about your own application, specify a value of NULL.

IfIdVector

Returns the address of an interface identifier vector.

 

Remarks

An application calls the RpcMgmtInqIfIds routine to obtain a vector of interface identifiers about the specified server from the RPC run-time library.

The RPC run-time library allocates memory for the interface identifier vector. The application is responsible for calling the RpcIfIdVectorFree routine to release the memory used by this vector.

Return Values

Value

Meaning

RPC_S_OK

Success

RPC_S_INVALID_BINDING

Invalid binding handle

RPC_S_WRONG_KIND_OF_BINDING

Wrong kind of binding for operation