Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

ID3D11Fence::SetEventOnCompletion method

Specifies an event that should be fired when the fence reaches a certain value.

This member function is equivalent to the Direct3D 12 ID3D12Fence::SetEventOnCompletion member function, and applies between Direct3D 11 and Direct3D 12 in interop scenarios.

Syntax


HRESULT SetEventOnCompletion(
   UINT64 Value,
   HANDLE hEvent
);

Parameters

Value

Type: UINT64

The fence value when the event is to be signaled.

hEvent

Type: HANDLE

A handle to the event object.

Return value

Type: HRESULT

This method returns E_OUTOFMEMORY if the kernel components don’t have sufficient memory to store the event in a list. See Direct3D 11 Return Codes for other possible return values.

Requirements

Header

D3D11_3.h

Library

D3D11.lib

DLL

D3D11.dll

See also

ID3D11Fence
Synchronization and Multi-Engine (Direct3D 12)

 

 

Show:
© 2017 Microsoft