Antkeeper  0.0.1
Macros | Functions
high-performance-graphics.cpp File Reference
#include <windows.h>

Go to the source code of this file.

Macros

#define WIN32_LEAN_AND_MEAN
 

Functions

 _declspec (dllexport) DWORD NvOptimusEnablement = 1
 Requests NVIDIA Optimus to use high performance graphics. More...
 

Macro Definition Documentation

◆ WIN32_LEAN_AND_MEAN

#define WIN32_LEAN_AND_MEAN

Definition at line 20 of file high-performance-graphics.cpp.

Function Documentation

◆ _declspec()

_declspec ( dllexport  ) = 1

Requests NVIDIA Optimus to use high performance graphics.

Requests AMD PowerXpress to use high performance graphics.

See also
https://docs.nvidia.com/gameworks/content/technologies/desktop/optimus.htm
https://gpuopen.com/learn/amdpowerxpressrequesthighperformance/