IDXGIDevice2::EnqueueSetEvent Method

Adds the counter set event to the queue.

Syntax

public:
HRESULT EnqueueSetEvent(
         HANDLE hEvent
)  

Parameters

hEvent
Type: HANDLE 

[in] The counter set event.

Return value

Type: HRESULT 

Returns S_OK if successful; otherwise, DXGI_ERROR_DEVICE_REMOVED if the device was removed.

Requirements

Header: Declared in d3d11_x.h (dxgi1_2.h on other Windows platforms).

Library: Use d3d11_x.lib (dxgi.lib on other Windows platforms).

See also

IDXGIDevice2

IDXGIDevice2 Members