3 ms·
Now, was the leaked nt kernel source ever published on github?
by e12e 5y ago
Now, was the leaked nt kernel source ever published on github?
- sp332 5y agohttps://github.com/PubDom/Windows-Server-2003 https://github.com/PubDom/Windows-Server-2003 Second result on DDG.
- e12e 5y agoI wonder if co-pilot will cough up stuff like these useful macros? Seems like a reasonable hack... https://github.com/PubDom/Windows-Server-2003/blob/master/com/ole32/ole232/clipbrd/clipbrd.cpp#L49 https://github.com/PubDom/Windows-Server-2003/blob/master/co... #ifdef _MAC # include <string.h> # pragma segment ClipBrd // On the Macintosh, the clipboard is always open. We define a macro for // OpenClipboard that returns TRUE. When this is used for error checking, // the compiler should optimize away any code that depends on testing this, // since it is a constant. # define OpenClipboard(x) TRUE // On the Macintosh, the clipboard is not closed. To make all code behave // as if everything is OK, we define a macro for CloseClipboard that returns // TRUE. When this is used for error checking, the compiler should optimize // away any code that depends on testing this, since it is a constant. # define CloseClipboard() TRUE #endif // _MAC Just the kind of trick co-pilot should help us with?