IDirectManipulationEventHandler::OnRegionStatusChanged method

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

Applies to: desktop apps only

Handles events that occur when the status of a region changes.

Syntax

HRESULT OnRegionStatusChanged(
  [in]  IDirectManipulationRegion *region,
  [in]  DIRECTMANIPULATION_REGION_STATUS current,
  [in]  DIRECTMANIPULATION_REGION_STATUS previous
);

Parameters

  • region [in]
    The region whose status has changed.

  • current [in]
    The new status of the region.

  • previous [in]
    The previous status of the region.

Return value

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

Remarks

The callback method is invoked when the region status changes from one state to another.

Requirements

Minimum supported client

Windows Developer Preview

Minimum supported server

Windows Server Developer Preview

IDL

DirectManipulation.idl

See also

IDirectManipulationEventHandler

 

 

Build date: 12/12/2011