Platform SDK: Active Directory, ADSI, and Directory Services

IPersistQuery::ReadString

The IPersistQuery::ReadString method reads a string from the directory store.

HRESULT ReadString(
  LPCWSTR pSection,
  LPCWSTR pValueName,
  LPWSTR pBuffer,
  INT cchBuffer
);

Parameters

pSection
[in] Section.
pValueName
[in] Value name.
pBuffer
[out] Return value.
cchBuffer
[out[ Size of the buffer.

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