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

ldap_search_abandon_page function

The ldap_search_abandon_page function terminates a paged-results search.

Syntax


ULONG ldap_search_abandon_page(
  _In_  PLDAP ExternalHandle,
  _In_  PLDAPSearch SearchBlock
);

Parameters

ExternalHandle [in]

The session handle.

SearchBlock [in]

A handle to the search block for the current search.

Return value

If the function succeeds, the return value is LDAP_SUCCESS.

If the function fails, it returns an error code. See Return Values for more information.

Remarks

Call ldap_search_abandon_page after a search has completed (when the server returns LDAP_NO_RESULTS_RETURNED) to perform necessary cleanup. You can also use this function to abandon a search at any time after the search block has been allocated.

Requirements

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

Winldap.h

Library

Wldap32.lib

DLL

Wldap32.dll

See also

Functions
Return Values

 

 

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.