Supported Browsers Home   
MGL_getViewportOrgDC Previous   
MGL_getWriteMode Next   
External Functions Up   

MGL_getVisualPage

Returns the currently visible hardware video page.

Declaration

int MGLAPI MGL_getVisualPage(
    MGLDC *dc)

Prototype In

mgraph.h

Parameters

dc

Device context of interest

 

Return Value

Currently visible hardware video page.

Description

This function returns the currently visible hardware video page number for the given device context. The first hardware video page is number 0, the second is 1 and so on. The number of available hardware video pages depends on the type of underlying hardware, the video mode resolution and amount of video memory installed. Thus not all video modes support multiple hardware video pages.

See Also

MGL_setVisualPage, MGL_getActivePage, MGL_setActivePage

Copyright © 2002 SciTech Software, Inc. Visit our web site at http://www.scitechsoft.com