Platform SDK: Active Directory, ADSI, and Directory Services

IPersistQuery::ReadStruct

The IPersistQuery::ReadStruct method reads a structure from the directory store.

HRESULT ReadStruct(
  LPCWSTR pSection,
  LPCWSTR pValueName,
  LPVOID pStruct,
  DWORD cbStruct
);

Parameters

pSection
[in] Section.
pValueName
[in] Value name.
pStruct
[out] Return structure.
cbStruct
[out[ size of the structure.

Return Values

This method returns an HRESULT value.

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, IPersistQuery