Compartilhar via


MemoryTypeEnum

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

Specifies the type of memory to access.

Syntax

enum MemoryTypeEnum {
    MemTypeCode,
    MemTypeData,
    MemTypeStack,
    MemTypeAny = -1
};

Parameters

MemTypeCode Accesses only code memory.

MemTypeData Accesses data or stack memory.

MemTypeStack Accesses only stack memory.

MemTypeAny Accesses any kind of memory.

Remarks

The values in this enumeration are passed to the IDiaStackWalkHelper::readMemory method to limit access to different types of memory.

Requirements

Header: cvconst.h

See also