หมายเหตุ
การเข้าถึงหน้านี้ต้องได้รับการอนุญาต คุณสามารถลอง ลงชื่อเข้าใช้หรือเปลี่ยนไดเรกทอรีได้
การเข้าถึงหน้านี้ต้องได้รับการอนุญาต คุณสามารถลองเปลี่ยนไดเรกทอรีได้
[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 value of the specified query constraint, by name.
Syntax
HRESULT Get(
[in] const WCHAR *pszConstraintName,
[out] WCHAR **ppszConstraintValue
);
Parameters
[in] pszConstraintName
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 method completed successfully, but the property key was not found in the collection. |
|
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 |