added some PC-files
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@862 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
29
lib/des/dllmain.c
Normal file
29
lib/des/dllmain.c
Normal file
@@ -0,0 +1,29 @@
|
||||
#include <Windows.h>
|
||||
|
||||
void msg(char *text)
|
||||
{
|
||||
HWND wnd = GetActiveWindow();
|
||||
|
||||
MessageBox(wnd, text, "KClient message", MB_OK|MB_APPLMODAL);
|
||||
}
|
||||
|
||||
BOOL WINAPI DllMain (HANDLE hInst,
|
||||
ULONG reason,
|
||||
LPVOID lpReserved)
|
||||
{
|
||||
WORD wVersionRequested;
|
||||
WSADATA wsaData;
|
||||
int err;
|
||||
switch(reason){
|
||||
case DLL_PROCESS_ATTACH:
|
||||
return FALSE;
|
||||
}
|
||||
break;
|
||||
case DLL_PROCESS_DETACH:
|
||||
WSACleanup();
|
||||
}
|
||||
|
||||
|
||||
msg("Initializing krb4.dll OK");
|
||||
return TRUE;
|
||||
}
|
Reference in New Issue
Block a user