3ds Max C++ API Reference
ProcessData3dsMax Struct Reference

When a 3ds Max session starts up, immediately after creating the main HWND a named file mapping object is created that contains the data associated with an instance of struct ProcessData3dsMax. More...

#include <Process_Data_3DSMAX.h>

Public Types

enum  version { version1 }
 

Public Attributes

DWORD mSize = sizeof(ProcessData3dsMax)
 
DWORD mProcessDataVersion = 0
 
DWORD mMaxVersion = 0
 
DWORD mMaxHwnd = 0
 

Detailed Description

When a 3ds Max session starts up, immediately after creating the main HWND a named file mapping object is created that contains the data associated with an instance of struct ProcessData3dsMax.

This functionality was added in 3ds Max 2018 as the class of the main HWND is now a Qt-based class rather than "3DSMAX". This new mechanism also allows the version of 3ds Max to be determined and is extendable in the future.

The structure definition of the data stored to the named file mapping object.

Member Enumeration Documentation

◆ version

enum version
Enumerator
version1 
38  {
39  version1, // mSize, mMaxVersion, and mMaxHwnd members
40  };
@ version1
Definition: Process_Data_3DSMAX.h:39

Member Data Documentation

◆ mSize

DWORD mSize = sizeof(ProcessData3dsMax)

◆ mProcessDataVersion

DWORD mProcessDataVersion = 0

◆ mMaxVersion

DWORD mMaxVersion = 0

◆ mMaxHwnd

DWORD mMaxHwnd = 0