MCPcopy Create free account
hub / github.com/GameTechDev/PresentMon / AllocAndBindConsole_

Function AllocAndBindConsole_

IntelPresentMon/KernelProcess/winmain.cpp:107–114  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

105 }
106
107 void AllocAndBindConsole_()
108 {
109 AllocConsole();
110 FILE* f;
111 freopen_s(&f, "CONOUT$", "w", stdout);
112 freopen_s(&f, "CONOUT$", "w", stderr);
113 freopen_s(&f, "CONIN$", "r", stdin);
114 }
115}
116
117int APIENTRY WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nCmdShow)

Callers 1

WinMainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected