Export (0) Print
Expand All

DrvGetModes (Windows CE 5.0)

Windows CE 5.0
Send Feedback

This function lists the modes supported by a specified device.

ULONG DrvGetModes(
  HANDLE hDriver,
  ULONG cjSize,
  DEVMODEW* pdm 
);

Parameters

hDriver
[in] Handle to the display driver. The hDriver parameter of the DrvEnablePDEV function passes this handle.
cjSize
[in] Size, in bytes, of the buffer pointed to by pdm.
pdm
[out] Pointer to an array of DEVMODEW structures.

Return Values

Number of bytes required for all the display modes. If the return value is zero, pdm did not contain enough memory. To find out how much memory is required, call DrvGetModes with pdm set to NULL.

Requirements

OS Versions: Windows CE 1.0 and later.
Header: Winddi.h.
Link Library: Ddi_ati_lib.lib, Ddi_flat_lib.lib, Ddi_gx_lib.lib, Ddi_mq200_lib.lib, Ddi_nop_lib.lib, Ddi_rflat_lib.lib, Ddi_rgx_lib.lib, or Ddi_tvia5_lib.lib.

See Also

Display Drivers | DrvEnablePDEV


Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.


Show:
© 2014 Microsoft