หมายเหตุ
การเข้าถึงหน้านี้ต้องได้รับการอนุญาต คุณสามารถลอง ลงชื่อเข้าใช้หรือเปลี่ยนไดเรกทอรีได้
การเข้าถึงหน้านี้ต้องได้รับการอนุญาต คุณสามารถลองเปลี่ยนไดเรกทอรีได้
Reads BOOL values in a property set.
Syntax
HRESULT ReadBOOL (
PROPID id,
BOOL* pValue
);
Parameters
id
[in] Identifier of the property to be read (PROPID is defined in WTypes.h as a ULONG).
pValue
[out] Returns the property value.
Return Value
If successful, returns S_OK; otherwise returns an error code. Returns E_INVALIDARG if the property is not of type BOOL.
Remarks
For consistent results, interpret the BOOL value so that nonzero values are TRUE and zero is FALSE.