comparison loader/win32.c @ 5752:3f6b724efe83

RegisterClassA and UnregisterClassA for VoxWare RT24 speech codec ACM
author alex
date Sun, 21 Apr 2002 02:29:29 +0000
parents 271bd43aed88
children ec71380bdbca
comparison
equal deleted inserted replaced
5751:271bd43aed88 5752:3f6b724efe83
3731 3731
3732 static WINAPI inline unsigned long int expntohl(unsigned long int netlong) 3732 static WINAPI inline unsigned long int expntohl(unsigned long int netlong)
3733 { 3733 {
3734 // dbgprintf("ntohl(%x) => %x\n", netlong, ntohl(netlong)); 3734 // dbgprintf("ntohl(%x) => %x\n", netlong, ntohl(netlong));
3735 return ntohl(netlong); 3735 return ntohl(netlong);
3736 }
3737
3738 int expRegisterClassA(const void/*WNDCLASSA*/ *wc)
3739 {
3740 dbgprintf("RegisterClassA(%p) => random id\n", wc);
3741 return time(NULL); /* be precise ! */
3742 }
3743
3744 int expUnregisterClassA(const char *className, HINSTANCE hInstance)
3745 {
3746 dbgprintf("UnregisterClassA(%s, %p) => 0\n", className, hInstance);
3747 return 0;
3736 } 3748 }
3737 3749
3738 struct exports 3750 struct exports
3739 { 3751 {
3740 char name[64]; 3752 char name[64];
3953 FF(GetSysColor,-1) 3965 FF(GetSysColor,-1)
3954 FF(GetSysColorBrush,-1) 3966 FF(GetSysColorBrush,-1)
3955 FF(GetWindowDC, -1) 3967 FF(GetWindowDC, -1)
3956 FF(DrawTextA, -1) 3968 FF(DrawTextA, -1)
3957 FF(MessageBoxA, -1) 3969 FF(MessageBoxA, -1)
3970 FF(RegisterClassA, -1)
3971 FF(UnregisterClassA, -1)
3958 }; 3972 };
3959 struct exports exp_advapi32[]={ 3973 struct exports exp_advapi32[]={
3960 FF(RegCloseKey, -1) 3974 FF(RegCloseKey, -1)
3961 FF(RegCreateKeyExA, -1) 3975 FF(RegCreateKeyExA, -1)
3962 FF(RegEnumKeyExA, -1) 3976 FF(RegEnumKeyExA, -1)