Device Monitoring Studio Documentation Advanced Features Protocol Binding Language Reference Preprocessor Overview Predefined Macros
Device Monitoring Studio defines several macros, called predefined macros. These macros are available for each structure definition file:
Macro | Description |
---|---|
_SVC_VER | An integer that specifies the current compiler's version. Low 8 bits represent the minor version, high 8 bits represent major version. For example, version 3.05 is represented as 0x305. |
_SVC_X86 | Defined for 32-bit version of Device Monitoring Studio. Undefined for 64-bit version. |
_SVC_X64 | Defined for 64-bit version of Device Monitoring Studio. Undefined for 32-bit version. |
_SVC_POINTER_SIZE | An integer that specifies the size of pointer in bits on current machine. Equals to 32 for 32-bit version of Device Monitoring Studio and 64 for 64-bit version. |
_SVC_POINTER_SIZE_REAL | An integer that specifies the size of pointer in bits on current machine. Always returns the real value, even if 32-bit version of Device Monitoring Studio is running on 64-bit OS. |