Mounir IDRASSI mounir.idrassi@idrix.fr writes:
+BOOL WINAPI DllMain (HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved) +{
- TRACE("%p,%x,%p\n", hinstDLL, fdwReason, lpvReserved);
- switch (fdwReason)
- {
case DLL_PROCESS_ATTACH:
{
DisableThreadLibraryCalls(hinstDLL);
WINSCARD_hModule = hinstDLL;
/* initialize protocol requests pointers */
SCARD_PCI_T0 = &g_rgSCardT0Pci;
SCARD_PCI_T1 = &g_rgSCardT1Pci;
SCARD_PCI_RAW = &g_rgSCardRawPci;
AFAICT these are supposed to be macros, not variables. Also your indentation is messed up.