IWRdsWddmIddProps::OnDriverLoad method (wtsprotocol.h)

Termsrv uses this method to return a handle of the loaded WDDM ID driver to the protocol stack. From this point the stack owns the handle and needs to call CloseHandle() after communication with the driver is no longer needed.

Syntax

HRESULT OnDriverLoad(
  [in] ULONG      SessionId,
  [in] HANDLE_PTR DriverHandle
);

Parameters

[in] SessionId

ID of the session that the driver is loaded for.

[in] DriverHandle

Opened handle of the WDDM ID driver.

Return value

S_OK or error code

Requirements

   
Target Platform Windows
Header wtsprotocol.h

See also

IWRdsWddmIddProps