Export (0) Print
Expand All
Expand Minimize
This topic has not yet been rated - Rate this topic

RpcNsEntryObjectInqNext function

The RpcNsEntryObjectInqNext function returns one object at a time from a name-service database entry.

Note  This function is not supported on Windows Vista and later operating systems.

Syntax


RPC_STATUS RPC_ENTRY 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

ValueMeaning
RPC_S_OK

The call succeeded.

RPC_S_NO_MORE_MEMBERS

No more members.

RPC_S_INCOMPLETE_NAME

The name is incomplete.

RPC_S_ENTRY_NOT_FOUND

The name-service entry was not found.

RPC_S_NAME_SERVICE_UNAVAILABLE

The name service is unavailable.

 

Note  For a list of valid error codes, see RPC Return Values.

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

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

Rpcnsi.h (include Rpc.h)

Library

Rpcns4.lib

DLL

Rpcns4.dll

See also

RpcNsBindingExport
RpcNsEntryObjectInqBegin
RpcNsEntryObjectInqDone

 

 

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.