From: Danny S. <dan...@us...> - 2002-01-04 00:09:50
|
Update of /cvsroot/mingw/w32api/include In directory usw-pr-cvs1:/tmp/cvs-serv7054/w32api/include Modified Files: winbase.h Log Message: * include/winbase.h (InitializeCriticalSectionAndSpinCount): Add prototype. (SetCriticalSectionSpinCount): Ditto. Index: winbase.h =================================================================== RCS file: /cvsroot/mingw/w32api/include/winbase.h,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** winbase.h 2001/12/15 07:16:01 1.9 --- winbase.h 2002/01/04 00:09:47 1.10 *************** *** 1291,1294 **** --- 1291,1298 ---- BOOL WINAPI InitializeAcl(PACL,DWORD,DWORD); VOID WINAPI InitializeCriticalSection(LPCRITICAL_SECTION); + #if (_WIN32_WINNT >= 0x0403) /* Needs NT4, SP3 or later. */ + BOOL WINAPI InitializeCriticalSectionAndSpinCount(LPCRITICAL_SECTION,DWORD); + DWORD WINAPI SetCriticalSectionSpinCount(LPCRITICAL_SECTION,DWORD); + #endif BOOL WINAPI InitializeSecurityDescriptor(PSECURITY_DESCRIPTOR,DWORD); BOOL WINAPI InitializeSid (PSID,PSID_IDENTIFIER_AUTHORITY,BYTE); |