- Timestamp:
- Sep 25, 2012, 11:55:02 PM (13 years ago)
- Location:
- trunk/src
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/crypt32/collectionstore.c
r21967 r22020 42 42 { 43 43 WINECRYPT_CERTSTORE hdr; 44 /*CRITICAL_SECTION*/RTL_CRITICAL_SECTIONcs;44 RTL_CRITICAL_SECTION cs; 45 45 struct list stores; 46 46 } WINE_COLLECTIONSTORE, *PWINE_COLLECTIONSTORE; … … 60 60 CryptMemFree(entry); 61 61 } 62 #if def DEBUG62 #ifndef __WIN32OS2__ 63 63 cs->cs.DebugInfo->Spare[0] = 0; 64 64 #endif … … 455 455 store->hdr.ctls.deleteContext = CRYPT_CollectionDeleteCTL; 456 456 InitializeCriticalSection((CRITICAL_SECTION*)&store->cs); 457 #if def DEBUG457 #ifndef __WIN32OS2__ 458 458 store->cs.DebugInfo->Spare[0] = (DWORD)(DWORD_PTR)(__FILE__ ": PWINE_COLLECTIONSTORE->cs"); 459 459 #endif -
trunk/src/crypt32/context.c
r21967 r22020 198 198 list->contextSize = contextSize; 199 199 InitializeCriticalSection((CRITICAL_SECTION*)&list->cs); 200 #if def DEBUG200 #ifndef __WIN32OS2__ 201 201 list->cs.DebugInfo->Spare[0] = (DWORD)(DWORD_PTR)(__FILE__ ": ContextList.cs"); 202 202 #endif … … 312 312 { 313 313 ContextList_Empty(list); 314 #if def DEBUG314 #ifndef __WIN32OS2__ 315 315 list->cs.DebugInfo->Spare[0] = 0; 316 316 #endif -
trunk/src/crypt32/oid.c
r21967 r22020 60 60 static RTL_CRITICAL_SECTION_DEBUG funcSetCSDebug = 61 61 { 62 #ifndef __WIN32OS2__ 62 63 0, 0, &funcSetCS, 63 64 { &funcSetCSDebug.ProcessLocksList, &funcSetCSDebug.ProcessLocksList }, 64 65 0, 0, { (DWORD)(DWORD_PTR)(__FILE__ ": funcSetCS") } 66 #endif 65 67 }; 66 68 static RTL_CRITICAL_SECTION funcSetCS = { &funcSetCSDebug, -1, 0, 0, 0, 0 }; … … 106 108 CryptMemFree(functionCursor); 107 109 } 108 #if def DEBUG110 #ifndef __WIN32OS2__ 109 111 setCursor->cs.DebugInfo->Spare[0] = 0; 110 112 #endif … … 143 145 { 144 146 InitializeCriticalSection((CRITICAL_SECTION*)&ret->cs); 145 #if def DEBUG147 #ifndef __WIN32OS2__ 146 148 ret->cs.DebugInfo->Spare[0] = (DWORD)(DWORD_PTR)(__FILE__ ": OIDFunctionSet.cs"); 147 149 #endif … … 1034 1036 static RTL_CRITICAL_SECTION_DEBUG oidInfoCSDebug = 1035 1037 { 1038 #ifndef __WIN32OS2__ 1036 1039 0, 0, &oidInfoCS, 1037 1040 { &oidInfoCSDebug.ProcessLocksList, &oidInfoCSDebug.ProcessLocksList }, 1038 1041 0, 0, { (DWORD)(DWORD_PTR)(__FILE__ ": oidInfoCS") } 1042 #endif 1039 1043 }; 1040 1044 static RTL_CRITICAL_SECTION oidInfoCS = { &oidInfoCSDebug, -1, 0, 0, 0, 0 }; -
trunk/src/crypt32/proplist.c
r21967 r22020 49 49 { 50 50 InitializeCriticalSection((CRITICAL_SECTION*)&list->cs); 51 #if DEBUG51 #ifndef __WIN32OS2__ 52 52 list->cs.DebugInfo->Spare[0] = (DWORD)(DWORD_PTR)(__FILE__ ": PCONTEXT_PROPERTY_LIST->cs"); 53 53 #endif … … 68 68 CryptMemFree(prop); 69 69 } 70 #if DEBUG70 #ifndef __WIN32OS2__ 71 71 list->cs.DebugInfo->Spare[0] = 0; 72 72 #endif -
trunk/src/crypt32/regstore.c
r21967 r22020 328 328 CRYPT_RegFlushStore(store, FALSE); 329 329 RegCloseKey(store->key); 330 #if def DEBUG330 #ifndef __WIN32OS2__ 331 331 store->cs.DebugInfo->Spare[0] = 0; 332 332 #endif … … 551 551 regInfo->key = key; 552 552 InitializeCriticalSection((CRITICAL_SECTION*)®Info->cs); 553 #if def DEBUG553 #ifndef __WIN32OS2__ 554 554 regInfo->cs.DebugInfo->Spare[0] = (DWORD)(DWORD_PTR)(__FILE__ ": PWINE_REGSTOREINFO->cs"); 555 555 #endif -
trunk/src/crypt32/sip.c
r21354 r22020 570 570 static RTL_CRITICAL_SECTION_DEBUG providers_cs_debug = 571 571 { 572 #ifndef __WIN32OS2__ 572 573 0, 0, &providers_cs, 573 574 { &providers_cs_debug.ProcessLocksList, 574 575 &providers_cs_debug.ProcessLocksList }, 575 576 0, 0, { (DWORD)(DWORD_PTR)(__FILE__ ": providers_cs") } 577 #endif 576 578 }; 577 579 static RTL_CRITICAL_SECTION providers_cs = { &providers_cs_debug, -1, 0, 0, 0, 0 }; -
trunk/src/ole32/ifs.c
r21916 r22020 34 34 35 35 #include "wine/debug.h" 36 37 #ifdef __WIN32OS2__38 #define CRITICAL_SECTION_INIT(name) { (void *)(__FILE__ ": " name), -1, 0, 0, 0, 0 }39 #endif40 36 41 37 WINE_DEFAULT_DEBUG_CHANNEL(ole);
Note:
See TracChangeset
for help on using the changeset viewer.