Panda3D
Macros | Typedefs | Enumerations | Functions
winGraphicsPipe.cxx File Reference

PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University. More...

#include "winGraphicsPipe.h"
#include "config_windisplay.h"
#include "displaySearchParameters.h"
#include "displayInformation.h"
#include "dtool_config.h"
#include "pbitops.h"
#include <psapi.h>
#include <powrprof.h>
#include <intrin.h>

Go to the source code of this file.

Macros

#define MAXIMUM_PROCESSORS   32
 

Typedefs

typedef long(__stdcall * CallNtPowerInformationType) (POWER_INFORMATION_LEVEL information_level, PVOID InputBuffer, ULONG InputBufferLength, PVOID OutputBuffer, ULONG OutputBufferLength)
 
typedef BOOL(WINAPI * GetProcessMemoryInfoType) (HANDLE Process, PROCESS_MEMORY_COUNTERS *ppsmemCounters, DWORD cb)
 
typedef struct _PROCESSOR_POWER_INFORMATION * PPROCESSOR_POWER_INFORMATION
 
typedef enum _Process_DPI_Awareness Process_DPI_Awareness
 
typedef struct _PROCESSOR_POWER_INFORMATION PROCESSOR_POWER_INFORMATION
 

Enumerations

enum  _Process_DPI_Awareness { Process_DPI_Unaware = 0, Process_System_DPI_Aware = 1, Process_Per_Monitor_DPI_Aware = 2 }
 

Functions

void count_number_of_cpus (DisplayInformation *display_information)
 
void get_memory_information (DisplayInformation *display_information)
 
int update_cpu_frequency_function (int processor_number, DisplayInformation *display_information)
 

Detailed Description

PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.

All rights reserved.

All use of this software is subject to the terms of the revised BSD license. You should have received a copy of this license along with this source code in a file named "LICENSE."

Author
drose
Date
2002-12-20

Definition in file winGraphicsPipe.cxx.