IDirectManipulationManager::ReleaseContact method

[This documentation is preliminary and is subject to change.]

Applies to: desktop apps only

Releases a contact from a specific viewport.

Syntax

HRESULT ReleaseContact(
  [in]  UINT32 pointerId,
  [in]  HWND window,
  [in]  IUnknown *object
);

Parameters

  • pointerId [in]
    The WM_POINTERxxx identifier for the contact to capture.

  • window [in]
    The window handle that owns the pointer.

  • object [in]
    The viewport that captures the WM_POINTERxxx message.

Return value

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

Remarks

This method releases a contact from a specific direct manipulation viewport. If this is the only contact on a viewport then the viewport state will become DIRECTMANIPULATION_READY. Otherwise the viewport state is not affected.

Requirements

Minimum supported client

Windows Developer Preview

Minimum supported server

Windows Server Developer Preview

IDL

DirectManipulation.idl

See also

IDirectManipulationManager

 

 

Build date: 12/12/2011