IDirectManipulationMotion::GetTag method

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

Applies to: desktop apps only

Gets the tag value for the motion object.

Syntax

HRESULT GetTag(
  [in]   REFIID riid,
  [out]  void **object,
  [out]  UINT32 *id
);

Parameters

  • riid [in]
    A reference to the identifier of the interface to be used.

  • object [out]
    The tag object.

  • id [out]
    The identifier portion of the tag.

Return value

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

Remarks

A tag is a pairing of an integer identifier (id) with a COM object (object). It can be used by an application to identify a motion. The paramers are optional so that the method can return both portions of the tag, or just the identifier or object portion.

Requirements

Minimum supported client

Windows Developer Preview

Minimum supported server

Windows Server Developer Preview

IDL

DirectManipulation.idl

See also

IDirectManipulationMotion

 

 

Build date: 12/12/2011