在EXE中导出全局变量:
N卡:
1 extern "C" 2 { 3 __declspec(dllexport) DWORD NvOptimusEnablement = 0x00000001; 4 }
A卡:
1 extern "C" 2 { 3 __declspec(dllexport) DWORD AmdPowerXpressRequestHighPerformance = 0x00000001; 4 }