ISettingsEngine::CreateTargetInfo method (wcmconfig.h)

Creates an empty target.

Syntax

HRESULT CreateTargetInfo(
  [out] ITargetInfo **Target
);

Parameters

[out] Target

An ITargetInfo interface pointer to an empty target.

Return value

This method returns an HRESULT value. S_OK indicates success. It may return E_OUTOFMEMORY if there are insufficient resources to create an ITargetInfo object.

Requirements

   
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

ISettingsEngine