IDirectManipulationUpdateManager::RegisterWaitHandleCallback method

Registers a callback that is triggered by a handle.

Syntax


HRESULT RegisterWaitHandleCallback(
  [in]   HANDLE handle,
  [in]   IDirectManipulationUpdateHandler *eventHandler,
  [out]  DWORD *cookie
);

Parameters

handle [in]

The event handle that triggers the callback.

eventHandler [in]

The event handler to call when the event is fired.

cookie [out]

The unique ID of the event callback instance.

Return value

If the method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Requirements

Minimum supported client

Windows 8 [desktop apps only]

Minimum supported server

Windows Server 2012 [desktop apps only]

Header

DirectManipulation.h

IDL

DirectManipulation.idl

IID

IID_IDirectManipulationUpdateManager is defined as B0AE62FD-BE34-46E7-9CAA-D361FACBB9CC

See also

IDirectManipulationUpdateManager

 

 

Community Additions

ADD
Show:
© 2015 Microsoft