IPersistQuery::ReadInt method (cmnquery.h)
The IPersistQuery::ReadInt method reads an integer value from the query store.
Syntax
HRESULT ReadInt(
[in] LPCWSTR pSection,
[in] LPCWSTR pValueName,
[out] LPINT pValue
);
Parameters
[in] pSection
A pointer to a null-terminated Unicode string that represents the section name that the integer should be read from.
[in] pValueName
A pointer to a null-terminated Unicode string that represents the name of the integer value to be read.
[out] pValue
Pointer to an integer variable that receives the integer value.
Return value
Returns S_OK if successful or a standard HRESULT value otherwise. Possible error codes include the following.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows Vista |
Minimum supported server | Windows Server 2008 |
Target Platform | Windows |
Header | cmnquery.h |
Library | Uuid.lib |
DLL | Dsquery.dll |