ITargetInfo::GetTargetMode method (wcmconfig.h)

Gets the current target mode.

Syntax

HRESULT GetTargetMode(
  [out] WcmTargetMode *TargetMode
);

Parameters

[out] TargetMode

The current target mode. The target mode identifies the way in which the redirections from the target are handled.

Return value

This method returns an HRESULT value. S_OK indicates success.

Requirements

Requirement Value
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2008 [desktop apps only]
Target Platform Windows
Header wcmconfig.h
DLL SMIEngine.dll

See also

ITargetInfo