3ds Max C++ API Reference
Loading...
Searching...
No Matches
Process_Data_3DSMAX.h File Reference
#include <windows.h>
#include <tchar.h>
#include <fstream>

Classes

struct  ProcessData3dsMax
 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...

Namespaces

namespace  MaxSDK
 An RAII class for automatically closing handle returned from FindFirstFile Example usages: MaxSDK::AutoFindClose findhandle( FindFirstFile(path.data(), &file) );.
namespace  MaxSDK::Util

Functions

HWND FindProcessMainWindow (DWORD processId, DWORD &maxVersion)
 Utility function to get the main 3ds Max window handle for the given process handle.

Variables

static const wchar_t * sProcessData3dsMaxFileMappingObjectNameRoot = L"Local\\3dsmax_process_data_"
 The root name of the named file mapping object that contains the ProcessData3dsMax data.
static const wchar_t * sProcessData3dsMaxFileMappingObjectNameMutexRoot = L"Local\\3dsmax_process_data_mutex"
 The root name of the mutex for accessing the named file mapping object that contains the ProcessData3dsMax data.