Partager via


DisplayInit

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_perm3_lib.lib, Ddi_rflat_lib.lib, Ddi_rgx_lib.lib, or Ddi_tvia5_lib.lib.

See Also

Display Drivers | Driver Loading Process | PCI Device Support

 Last updated on Tuesday, May 18, 2004

© 1992-2003 Microsoft Corporation. All rights reserved.