Click to return to the Reusing Browser Technology home page    
IHTMLScreen::get_availWid...     IHTMLScreen::get_colorDep...     IHTMLScreen Interface    
Web Workshop  |  Reusing Browser Technology

IHTMLScreen::get_bufferDepth Method


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

IHTMLScreen::put_bufferDepth Method


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


Back to topBack to top

Did you find this topic useful? Suggestions for other topics? Write us!

© 1999 Microsoft Corporation. All rights reserved. Terms of use.