IDirectManipulationManager::GetUpdateManager method (directmanipulation.h)

Gets a pointer to an IDirectManipulationUpdateManager object that receives compositor updates.


HRESULT GetUpdateManager(
  [in]          REFIID riid,
  [out, retval] void   **object


[in] riid

IID to the interface.

[out, retval] object

Pointer to the new IDirectManipulationUpdateManager object.

Return value

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


For the compositor to respond to update events from Direct Manipulation, you must associate IDirectManipulationUpdateManager to an IDirectManipulationCompositor object during initialization. Use GetUpdateManager to obtain a pointer to a IDirectManipulationUpdateManager object. Pass this pointer to the compositor using the SetUpdateManager method.


Minimum supported client Windows 8 [desktop apps only]
Minimum supported server Windows Server 2012 [desktop apps only]
Target Platform Windows
Header directmanipulation.h

See also