Platform SDK: Active Directory, ADSI, and Directory Services

IPersistQuery

The IPersistQuery interface supports methods for making a query persistent.

Methods in Vtable Order

IUnknown Methods Description
QueryInterface Returns pointers to supported interfaces.
AddRef Increments reference count.
Release Decrements reference count.

IPersist Method Description
GetClassID Returns the class identifier for the component.

IPersistQuery Methods Description
WriteString Writes a string to the directory store.
ReadString Reads a string from the directory store.
WriteInt Writes an integer value to the directory store.
ReadInt Reads an integer value from the directory store.
WriteStruct Writes a data structure to the directory store.
ReadStruct Reads a data structure from the directory store.
Clear Refresh the object.

Requirements

  Windows NT/2000: Requires Windows 2000.
  Header: Declared in Cmnquery.h.
  Library: Included as a resource in Cmnquery.dll.

See Also

Active Directory Display Interfaces, ICommonQuery, IDsBrowseDomainTree, IDsDisplaySpecifier, IQueryForm