![[Toc]](../../toc.gif)
![[Index]](/idx.gif)
GetCurrentDesktopMode - Syntax
Description:
GetCurrentDesktopMode retrieves the current desktop mode information
stored in the Registry. The desktop mode information includes X and Y
resolutions, bits per pixel, vertical and horizontal refresh rates,
vertical and horizontal polarity positives, and screen top, bottom, left,
and right.
#include <svgadefs.h>
VIDEO_ADAPTER *pVideoAdapter; /* Pointer to the VIDEO_ADAPTER data structure. */
ULONG rc; /* Return codes. */
rc = GetCurrentDesktopMode(*pVideoAdapter);
Created using Inf-PHP v.2 (c) 2003 Yuri Prokushev
Created using Inf-HTML v.0.9b (c) 1995 Peter Childs