IPersistQuery interface (cmnquery.h)

The IPersistQuery interface is used to store and retrieve query parameters to and from persistent storage.This storage pertains to the query parameters, not the results of a query. A pointer to this interface is provided to a query form extension in the CQPM_PERSIST message. An application can also provide its own IPersistQuery implementation by passing a pointer to this interface to the query handler in the pPersistQuery member of the OPENQUERYWINDOW structure when ICommonQuery::OpenQueryWindow is called.

Inheritance

The IPersistQuery interface inherits from IPersist. IPersistQuery also has these types of members:

Methods

The IPersistQuery interface has these methods.

 
IPersistQuery::Clear

Empties the contents of the query store.
IPersistQuery::ReadInt

Reads an integer value from the query store.
IPersistQuery::ReadString

Reads a string from the query store.
IPersistQuery::ReadStruct

Reads a structure from the query store.
IPersistQuery::WriteInt

Writes an integer value to the query store.
IPersistQuery::WriteString

Writes a string to the query store.
IPersistQuery::WriteStruct

Writes a structure to the query store.

Requirements

Requirement Value
Minimum supported client Windows Vista
Minimum supported server Windows Server 2008
Target Platform Windows
Header cmnquery.h

See also

CQPM_PERSIST

Display Interfaces in Active Directory Domain Services

ICommonQuery::OpenQueryWindow

IPersist

OPENQUERYWINDOW