IPrinterScriptablePropertyBag::GetBool method (printerextension.h)
Gets a specified boolean property.
Syntax
HRESULT GetBool(
[in] BSTR bstrName,
[out, retval] BOOL *pbValue
);
Parameters
[in] bstrName
The name of the property.
[out, retval] pbValue
The returned property value.
Return value
This method returns an HRESULT value.
Remarks
A call to GetBool will throw an exception, if the specified property is not found. We recommend that you use a try-catch statement around calls to this method, to allow your app to handle any failures gracefully.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 8 |
Minimum supported server | Windows Server 2012 |
Target Platform | Desktop |
Header | printerextension.h |
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for