Skip to content

Latest commit

 

History

History
45 lines (29 loc) · 869 Bytes

File metadata and controls

45 lines (29 loc) · 869 Bytes

Home

Function name : GetGraphicsMode

Group: Coordinate Space and Transformation - Library: gdi32


Retrieves the current graphics mode for the specified device context.


Declaration:

int GetGraphicsMode(
	HDC hdc   // handle to device context
);  

FoxPro declaration:

DECLARE INTEGER GetGraphicsMode IN gdi32;
	INTEGER hDC
  

Parameters:

hdc [in] Handle to the device context.


Return value:

If the function succeeds, the return value is the current graphics mode.


Comments:

An application can set the graphics mode for a device context by calling the SetGraphicsMode function.