次の方法で共有


DisplayInit (Compact 2013)

3/26/2014

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

See Also

Reference

Display Driver Functions