IDirectManipulationViewport::GetInputMode method

Applies to: desktop apps only

Gets how input is processed for this viewport.

Syntax


HRESULT GetInputMode(
  [out, retval]  DIRECTMANIPULATION_INPUT_MODE *mode
);

Parameters

mode [out, retval]

The input mode for this viewport.

Return value

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

Remarks

This method determines if the app is responsible for calling ProcessInput, or if ProcessInput is called automatically for the app.

Examples

The following example shows the syntax for this method.


DIRECTMANIPUALTION_INPUT_MODE mode;
HRESULT hr = pRegion->GetInputMode(&mode); 


Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

IDL

DirectManipulation.idl

See also

IDirectManipulationViewport

 

 

Send comments about this topic to Microsoft

Build date: 9/5/2012

Community Additions

Show:
© 2014 Microsoft