RpcNsEntryObjectInqNext function (rpcnsi.h)
The RpcNsEntryObjectInqNext function returns one object at a time from a name-service database entry.
Syntax
RPC_STATUS RpcNsEntryObjectInqNext(
RPC_NS_HANDLE InquiryContext,
UUID *ObjUuid
);
Parameters
InquiryContext
Name-service handle that indicates the object UUIDs for a name-service database entry.
ObjUuid
Returns a pointer to an exported object UUID.
Return value
Value | Meaning |
---|---|
|
The call succeeded. |
|
No more members. |
|
The name is incomplete. |
|
The name-service entry was not found. |
|
The name service is unavailable. |
Remarks
The RpcNsEntryObjectInqNext function returns one of the object UUIDs exported to the name-service database entry specified by the EntryName parameter in the RpcNsEntryObjectInqBegin function.
An application can view all of the exported object UUIDs by repeatedly calling RpcNsEntryObjectInqNext. When all the object UUIDs have been viewed, this function returns an RPC_S_NO_MORE_MEMBERS status code. The returned object UUIDs are unordered.
The application supplies the memory for the object UUID returned in the ObjUuid parameter.
After viewing the object UUIDs, the application must call the RpcNsEntryObjectInqDone function to release the inquiry context.
The order in which object UUIDs are returned can be different for each viewing of an entry. This means that the order in which object UUIDs are returned to an application can be different each time the application is run.
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 | rpcnsi.h (include Rpc.h) |
Library | Rpcns4.lib |
DLL | Rpcns4.dll |