IWDTFTarget2::GetValueBool method (wdtf.h)
Returns a boolean value from the target that is associated with a specified attribute.
Syntax
HRESULT GetValueBool(
[in] BSTR SDEL,
[out, retval] VARIANT_BOOL *pValue
);
Parameters
[in] SDEL
An SDEL statement that specifies the attribute value to retrieve.
[out, retval] pValue
The address of a variable that receives the result of this method.
Return value
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
Remarks
You specify the field that the GetValueBool method retrieves by using a regular SDEL statement. Typically, an SDEL statement can contain comparison operators and value specifiers to perform matches. However, you do not need these items for GetValueBool to work properly.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows XP Professional |
Minimum supported server | Windows Server 2008 |
Target Platform | Desktop |
Header | wdtf.h |