This article applies to Visual Studio 2015. If you're looking for the latest Visual Studio documentation, use the version selector at the top left. We recommend upgrading to Visual Studio 2019. Download it here
Retrieves the platform type for which the compiland was compiled.
HRESULT get_platform ( DWORD* pRetVal );
[out] Returns a value from the CV_CPU_TYPE_e Enumeration enumeration that specifies the platform type for which the compiland was compiled.
If successful, returns
S_OK; otherwise, returns
S_FALSE or an error code.
A return value of
S_FALSE means that the property is not available for the symbol.