Skip to content

Latest commit

 

History

History
70 lines (53 loc) · 2.38 KB

nc-dispmprt-dxgkcb_is_device_present.md

File metadata and controls

70 lines (53 loc) · 2.38 KB
UID title description old-location tech.root ms.date keywords ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames f1_keywords topic_type api_type api_location api_name
NC:dispmprt.DXGKCB_IS_DEVICE_PRESENT
DXGKCB_IS_DEVICE_PRESENT (dispmprt.h)
The DxgkCbIsDevicePresent function determines whether a specified PCI device is present.
display\dxgkcbisdevicepresent.htm
display
05/10/2018
DXGKCB_IS_DEVICE_PRESENT callback function
DXGKCB_IS_DEVICE_PRESENT, DXGKCB_IS_DEVICE_PRESENT callback, DpFunctions_0ef5f8dd-52b6-4bf6-a19b-f87043ff6d18.xml, DxgkCbIsDevicePresent, DxgkCbIsDevicePresent callback function [Display Devices], display.dxgkcbisdevicepresent, dispmprt/DxgkCbIsDevicePresent
dispmprt.h
Dispmprt.h
Desktop
Available in Windows Vista and later versions of the Windows operating systems.
PASSIVE_LEVEL
Windows
DXGKCB_IS_DEVICE_PRESENT
dispmprt/DXGKCB_IS_DEVICE_PRESENT
APIRef
kbSyntax
UserDefined
dispmprt.h
DXGKCB_IS_DEVICE_PRESENT

DXGKCB_IS_DEVICE_PRESENT callback function

-description

The DxgkCbIsDevicePresent function determines whether a specified PCI device is present.

-parameters

-param DeviceHandle [in]

A handle that represents a display adapter. The display miniport driver previously obtained this handle in the DeviceHandle member of the DXGKRNL_INTERFACE structure that was passed to DxgkDdiStartDevice.

-param DevicePresenceParameters [in]

A pointer to a PCI_DEVICE_PRESENCE_PARAMETERS structure (defined in Wdm.h) that the caller fills in with information that identifies the device.

-param DevicePresent [out]

A pointer to a Boolean variable that receives TRUE if the device is present or FALSE if the device is not present.

-returns

DxgkCbIsDevicePresent returns STATUS_SUCCESS if it succeeds. Otherwise, it returns one of the error codes defined in Ntstatus.h.