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.
HRESULT SetEventOnCompletion( UINT64 Value, HANDLE hEvent );
The fence value when the event is to be signaled.
A handle to the event object.
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.