Retrieves an offscreen bitmap buffer.
Syntax
HRESULT get_bufferDepth( long *p );
Parameters
- p
- Address of a long variable that receives the bufferDepth property.
Return Value
Returns S_OK if successful, or an error code otherwise.
Remarks
Nonsupported values cause bufferDepth to be set to -1. When bufferDepth is -1 and the user changes system settings that affect the screen depth, the buffer depth is automatically updated to the new depth. This is not the case if you set bufferDepth to a specific value.
Windows CE
Windows CE Use version 2.12 and later Minimum availability Internet Explorer 4.0
Sets an offscreen bitmap buffer.
Syntax
HRESULT put_bufferDepth( long v );
Parameters
- v
- Long value that specifies the bufferDepth property to set.
Return Value
Returns S_OK if successful, or an error code otherwise.
Remarks
Nonsupported values cause bufferDepth to be set to -1. When bufferDepth is -1 and the user changes system settings that affect the screen depth, the buffer depth is automatically updated to the new depth. This is not the case if you set bufferDepth to a specific value.
Windows CE
Windows CE Use version 2.12 and later Minimum availability Internet Explorer 4.0