Partager via


DisplayInit (Windows CE 5.0)

Send Feedback

This function is the first display driver function to execute. It collects instance information that you can use later to find registry data describing the PCI configuration and other information about the display controller. This function is optional for drivers that take advantage of the PCI bus driver loading model.

BOOL APIENTRY DisplayInit(LPCTSTR pszInstance, DWORD dwNumMonitors);

Parameters

  • pszInstance
    [in] Display instance string in the registry.
  • dwNumMonitors
    [in] Number of monitors found.

Return Values

TRUE indicates success. FALSE indicates failure.

Requirements

OS Versions: Windows CE .NET 4.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 | Loading Device Drivers | PCI Bus Driver

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.