次の方法で共有


DisplayInit (Windows Embedded CE 6.0)

1/6/2010

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.

Syntax

BOOL APIENTRY DisplayInit(
  LPCTSTR pszInstance, 
  DWORD dwNumMonitors
);

Parameters

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

Return Value

TRUE indicates success. FALSE indicates failure.

Requirements

Header winddi.h
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, Ddi_tvia5_lib.lib
Windows Embedded CE Windows CE .NET 4.0 and later

See Also

Reference

Display Driver Functions

Concepts

Loading Device Drivers

Other Resources

Display Drivers
PCI Bus Driver