The RpcMgmtEpEltInqNext function returns one element from an endpoint map.
This function is supported by both 32-bit platforms — Windows NT and Windows 95.
#include <rpc.h>
RPC_STATUS RPC_ENTRY RpcMgmtEpEltInqNext(
RPC_EP_INQ_HANDLE InquiryContext,
RPC_IF_ID * IfId,
RPC_BINDING_HANDLE * Binding,
UUID * ObjectUuid,
unsigned char * * Annotation
);
The RpcMgmtEpEltInqNext routine returns one element from the endpoint map. Elements selected depend on the inquiry context. The selection criteria are determined by InquiryType of the RpcMgmtEpEltInqBegin routine that returned InquiryContext.
An application can view all the selected endpoint map elements by repeatedly calling RpcMgmtEpEltInqNext. When all the elements have been viewed, this routine returns an RPC_X_NO_MORE_ENTRIES status. The returned elements are unordered.
When the respective arguments are non-NULL, the RPC run-time function library allocates memory for Binding and Annotation on each call to this routine. The application is responsible for calling RpcBindingFree for each returned Binding and RpcStringFree for each returned Annotation.
After viewing the endpoint map's elements, the application must call RpcMgmtEpEltInqDone to delete the inquiry context.
Value | Meaning |
---|---|
RPC_S_OK | Success |
Windows NT: Yes
Windows CE: Unsupported.
Header: Declared in rpcdce.h.
Import Library: Link with rpcrt4.lib.