Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
[Function Discovery is available for use in the operating systems specified in the Requirements section. It may be altered or unavailable in subsequent versions.]
Gets the name and value of the specified query constraint, by index.
Syntax
HRESULT Item(
[in] DWORD dwIndex,
[out] WCHAR **ppszConstraintName,
[out] WCHAR **ppszConstraintValue
);
Parameters
[in] dwIndex
The index of the item in the collection.
[out] ppszConstraintName
The constraint name.
[out] ppszConstraintValue
The constraint value.
Return value
Possible return values include, but are not limited to, the following.
| Return code | Description |
|---|---|
|
The method completed successfully. |
|
The pszConstraintName or ppszConstraintValue parameter is NULL. |
Requirements
| Requirement | Value |
|---|---|
| Minimum supported client | Windows Vista [desktop apps only] |
| Minimum supported server | Windows Server 2008 [desktop apps only] |
| Target Platform | Windows |
| Header | functiondiscoveryprovider.h |