IDXGIFactory7::RegisterAdaptersChangedEvent method (dxgi1_6.h)

Registers to receive notification of changes whenever the adapter enumeration state changes.

Syntax

HRESULT RegisterAdaptersChangedEvent(
  HANDLE hEvent,
  DWORD  *pdwCookie
);

Parameters

hEvent

A handle to the event object.

pdwCookie

A key value for the registered event.

Return value

Returns S_OK if successful; an error code otherwise.

Requirements

   
Minimum supported client Windows 10, version 1809 [desktop apps only]
Minimum supported server Windows Server, version 1709 [desktop apps only]
Target Platform Windows
Header dxgi1_6.h
Library Dxgi.lib

See also

IDXGIFactory7

UnregisterAdaptersChangedEvent