RpcNsEntryObjectInqNext function (rpcnsi.h)
The RpcNsEntryObjectInqNext function returns one object at a time from a name-service database entry.
RPC_STATUS RpcNsEntryObjectInqNext( RPC_NS_HANDLE InquiryContext, UUID *ObjUuid );
Name-service handle that indicates the object UUIDs for a name-service database entry.
Returns a pointer to an exported object UUID.
||The call succeeded.|
||No more members.|
||The name is incomplete.|
||The name-service entry was not found.|
||The name service is unavailable.|
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.
|Minimum supported client||Windows 2000 Professional [desktop apps only]|
|Minimum supported server||Windows 2000 Server [desktop apps only]|
|Header||rpcnsi.h (include Rpc.h)|