mirror of
https://github.com/reactos/reactos.git
synced 2024-11-04 13:52:30 +00:00
7ad21a4425
- Convert win32k native api test to actual wine style api-tests - Hack around a bit with the win32k dlls, some renaming, etc. - Delete old apitest stuff svn path=/trunk/; revision=70458
31 lines
678 B
C
31 lines
678 B
C
#include <windef.h>
|
|
|
|
#ifdef BUILD_DLL
|
|
#define DLL_EXPORT __declspec(dllexport)
|
|
#else
|
|
#define DLL_EXPORT
|
|
#endif
|
|
|
|
BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved)
|
|
{
|
|
switch (fdwReason)
|
|
{
|
|
case DLL_PROCESS_ATTACH:
|
|
// attach to process
|
|
// return FALSE to fail DLL load
|
|
break;
|
|
|
|
case DLL_PROCESS_DETACH:
|
|
// detach from process
|
|
break;
|
|
|
|
case DLL_THREAD_ATTACH:
|
|
// attach to thread
|
|
break;
|
|
|
|
case DLL_THREAD_DETACH:
|
|
// detach from thread
|
|
break;
|
|
}
|
|
return TRUE; // succesful
|
|
}
|