Isle
Loading...
Searching...
No Matches
MxDriver Struct Reference

[AI] Holds data about a DirectDraw driver including devices and supported display modes. More...

#include <mxdirectxinfo.h>

Collaboration diagram for MxDriver:

Public Member Functions

 MxDriver ()
 [AI] Constructs an empty MxDriver structure. More...
 
 ~MxDriver ()
 [AI] Destructor; frees GUID and owned strings. More...
 
 MxDriver (LPGUID p_guid)
 [AI] Initializes the driver with only its GUID. More...
 
 MxDriver (LPGUID p_guid, LPSTR p_driverDesc, LPSTR p_driverName)
 [AI] Initializes the driver with GUID, description, and name. More...
 
void Init (LPGUID p_guid, LPSTR p_driverDesc, LPSTR p_driverName)
 [AI] Initializes or resets the driver's GUID and strings. More...
 
int operator== (MxDriver) const
 [AI] Comparison operator placeholder: returns 0, not implemented. More...
 
int operator< (MxDriver) const
 [AI] Comparison operator placeholder: returns 0, not implemented. More...
 

Public Attributes

LPGUID m_guid
 [AI] GUID for this DirectDraw driver (heap-allocated and owned). More...
 
char * m_driverDesc
 [AI] Driver description string (owned). More...
 
char * m_driverName
 [AI] Driver name/identifier string (owned). More...
 
DDCAPS m_ddCaps
 [AI] Capabilities structure as reported by the driver. More...
 
list< Direct3DDeviceInfom_devices
 [AI] List of all Direct3D devices provided by this driver. More...
 
list< MxDisplayModem_displayModes
 [AI] List of all display modes reported by the driver. More...
 

Detailed Description

[AI] Holds data about a DirectDraw driver including devices and supported display modes.

[AI] Used during device enumeration to accumulate hardware and software information, capabilities, and available display modes.

Definition at line 213 of file mxdirectxinfo.h.

Constructor & Destructor Documentation

◆ MxDriver() [1/3]

MxDriver::MxDriver ( )
inline

[AI] Constructs an empty MxDriver structure.

Definition at line 217 of file mxdirectxinfo.h.

◆ ~MxDriver()

MxDriver::~MxDriver ( )

[AI] Destructor; frees GUID and owned strings.

Definition at line 57 of file mxdirectxinfo.cpp.

◆ MxDriver() [2/3]

MxDriver::MxDriver ( LPGUID  p_guid)

[AI] Initializes the driver with only its GUID.

Parameters
p_guidGUID (may be null). [AI]

Definition at line 32 of file mxdirectxinfo.cpp.

◆ MxDriver() [3/3]

MxDriver::MxDriver ( LPGUID  p_guid,
LPSTR  p_driverDesc,
LPSTR  p_driverName 
)

[AI] Initializes the driver with GUID, description, and name.

Parameters
p_guidGUID (may be null). [AI]
p_driverDescDriver description string (may be null). [AI]
p_driverNameName string (may be null). [AI]

Definition at line 44 of file mxdirectxinfo.cpp.

Member Function Documentation

◆ Init()

void MxDriver::Init ( LPGUID  p_guid,
LPSTR  p_driverDesc,
LPSTR  p_driverName 
)

[AI] Initializes or resets the driver's GUID and strings.

Parameters
p_guidGUID (may be null). [AI]
p_driverDescDriver description string. [AI]
p_driverNameName string. [AI]

Definition at line 73 of file mxdirectxinfo.cpp.

◆ operator<()

int MxDriver::operator< ( MxDriver  ) const
inline

[AI] Comparison operator placeholder: returns 0, not implemented.

Definition at line 257 of file mxdirectxinfo.h.

◆ operator==()

int MxDriver::operator== ( MxDriver  ) const
inline

[AI] Comparison operator placeholder: returns 0, not implemented.

Definition at line 253 of file mxdirectxinfo.h.

Member Data Documentation

◆ m_ddCaps

DDCAPS MxDriver::m_ddCaps

[AI] Capabilities structure as reported by the driver.

Definition at line 246 of file mxdirectxinfo.h.

◆ m_devices

list<Direct3DDeviceInfo> MxDriver::m_devices

[AI] List of all Direct3D devices provided by this driver.

Definition at line 247 of file mxdirectxinfo.h.

◆ m_displayModes

list<MxDisplayMode> MxDriver::m_displayModes

[AI] List of all display modes reported by the driver.

Definition at line 248 of file mxdirectxinfo.h.

◆ m_driverDesc

char* MxDriver::m_driverDesc

[AI] Driver description string (owned).

Definition at line 244 of file mxdirectxinfo.h.

◆ m_driverName

char* MxDriver::m_driverName

[AI] Driver name/identifier string (owned).

Definition at line 245 of file mxdirectxinfo.h.

◆ m_guid

LPGUID MxDriver::m_guid

[AI] GUID for this DirectDraw driver (heap-allocated and owned).

Definition at line 243 of file mxdirectxinfo.h.


The documentation for this struct was generated from the following files: