ITargetInfo::SetTargetProcessorArchitecture method (wcmconfig.h)

Sets the processor architecture associated with the current target.

Syntax

HRESULT SetTargetProcessorArchitecture(
  [in] const WCHAR *ProcessorArchitecture
);

Parameters

[in] ProcessorArchitecture

The processor architecture associated with the current target.

Return value

This method returns an HRESULT value. S_OK indicates success. Returns HRESULT_FROM_WIN32 (ERROR_INVALID_OPERATION) if the target processor architecture has been set. May return E_OUTOFMEMORY if system resources are low.

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