Edit

Share via


HDV_PCI_DEVICE_INITIALIZE

Description

Function invoked to initialize the emulated device. It is called as the VM is powered on.

Syntax

typedef HRESULT (CALLBACK *HDV_PCI_DEVICE_INITIALIZE)(
    _In_opt_ void* DeviceContext
    );

Parameters

Parameter Description
DeviceContext Context pointer that was supplied to HdvCreateDeviceInstance

Return Values

Return Value Description
S_OK Returned if function succeeds.
HRESULT An error code is returned if the function fails.

Requirements

Parameter Description
Minimum supported client Windows 10, version 1607
Minimum supported server Windows Server 2016
Target Platform Windows
Library ComputeCore.lib
Dll ComputeCore.dll