IDiaSectionContrib::get_code16bit

Applies to: yesVisual Studio noVisual Studio for Mac

Note

This article applies to Visual Studio 2017. If you're looking for the latest Visual Studio documentation, see Visual Studio documentation. We recommend upgrading to the latest version of Visual Studio. Download it here

Retrieves a flag that indicates whether the section contains 16-bit code.

Syntax

HRESULT get_code16bit(
   BOOL *pRetVal
};

Parameters

pRetVal

[out] Returns TRUE if the code in the section is 16-bit; otherwise, returns FALSE.

Return Value

If successful, returns S_OK; otherwise, returns an error code.

Remarks

This method only indicates if the code is 16-bit. If the code is not 16-bit, it could be anything else, such as 32-bit or 64-bit code.

See also