Data Structures | |
struct | MONITOR_ATTRIBUTES |
struct | MULTIMONITOR_DYN |
struct | SYSINFO_DISPLAY_DEVICE |
struct | DISPLAY_DEVICES |
Defines | |
#define | NUMMONITORS 8 |
Max number of monitors supported. | |
#define | MAX_MONITOR_INFO_LEN 256 |
#define | MAX_DISPLAY_DEVICES 16 |
#define | SI_MAX_MONITORS NUMMONITORS |
Max number of monitors per adapter. | |
#define | MAX_STRINGLEN 128 |
#define | MAX_DEV_MODES 2000 |
#define | MAX_VIDEO_INFO_LEN 128 |
#define | MAX_EDID_STR_LEN 32 |
Functions | |
SYSINFO_API BOOL | SysInfoDll_GetGraphicsInfo (MULTIMONITOR_DYN *MM, DISPLAY_DEVICES *DD, LPWSTR szSummary, int iLen) |
Call this function to retrieve the monitor and display devices information, as well as a summary string. | |
SYSINFO_API bool | SysInfoDll_CheckWhichCardUsed (wchar_t *appName, bool *usingIntegrated, char lastPrograms[50][256]) |
Call this function to check if application name was run on discrete or integrated video card. | |
SYSINFO_API wchar_t * | SysInfoDll_GetGraphicsSummaryLine (wchar_t *szSummary, int iLen) |
Call this function to retrieve a summary string for the system graphics hardware. |
#define NUMMONITORS 8 |
Max number of monitors supported.
#define MAX_MONITOR_INFO_LEN 256 |
#define MAX_DISPLAY_DEVICES 16 |
#define SI_MAX_MONITORS NUMMONITORS |
Max number of monitors per adapter.
#define MAX_STRINGLEN 128 |
#define MAX_DEV_MODES 2000 |
#define MAX_VIDEO_INFO_LEN 128 |
#define MAX_EDID_STR_LEN 32 |
SYSINFO_API BOOL SysInfoDll_GetGraphicsInfo | ( | MULTIMONITOR_DYN * | MM, | |
DISPLAY_DEVICES * | DD, | |||
LPWSTR | szSummary, | |||
int | iLen | |||
) |
Call this function to retrieve the monitor and display devices information, as well as a summary string.
[out] | MM | Pointer to a structure to store the monitor information. |
[out] | DD | Pointer to a structure to store the display device information. |
[out] | szSummary | Pointer to a string to store a summary of the monitor and display information. |
[in] | iLen | Size of the szSummary string buffer. |
SYSINFO_API bool SysInfoDll_CheckWhichCardUsed | ( | wchar_t * | appName, | |
bool * | usingIntegrated, | |||
char | lastPrograms[50][256] | |||
) |
Call this function to check if application name was run on discrete or integrated video card.
[in] | appName | Name of application to search for. |
[out] | usingIntegrated | TRUE if using the integrated card, FALSE for discrete |
[out] | lastPrograms | Temp variable used for debugging |
SYSINFO_API wchar_t* SysInfoDll_GetGraphicsSummaryLine | ( | wchar_t * | szSummary, | |
int | iLen | |||
) |
Call this function to retrieve a summary string for the system graphics hardware.
[out] | szSummary | Pointer to a string to store a summary of the monitor and display information. |
[in] | iLen | Size of the szSummary string buffer. |