Home | Info | Community | Development | myReactOS | Contact Us
ReactOS Development > Doxygenmtdll.h
Go to the documentation of this file.
00001 /* 00002 * Copyright (c) 2002, TransGaming Technologies Inc. 00003 * 00004 * This library is free software; you can redistribute it and/or 00005 * modify it under the terms of the GNU Lesser General Public 00006 * License as published by the Free Software Foundation; either 00007 * version 2.1 of the License, or (at your option) any later version. 00008 * 00009 * This library is distributed in the hope that it will be useful, 00010 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00011 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00012 * Lesser General Public License for more details. 00013 * 00014 * You should have received a copy of the GNU Lesser General Public 00015 * License along with this library; if not, write to the Free Software 00016 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 00017 */ 00018 00019 #ifndef __CRT_INTERNAL_WINE_MTDLL_H 00020 #define __CRT_INTERNAL_WINE_MTDLL_H 00021 00022 #if defined(_MT) 00023 00024 #define _mlock(locknum) _lock(locknum) 00025 #define _munlock(locknum) _unlock(locknum) 00026 00027 void _unlock( int locknum ); 00028 void _lock( int locknum ); 00029 00030 #else 00031 00032 #define _mlock(locknum) do {} while(0) 00033 #define _munlock(locknum) do {} while(0) 00034 00035 #endif 00036 00037 00038 #define _SIGNAL_LOCK 1 00039 #define _IOB_SCAN_LOCK 2 00040 #define _TMPNAM_LOCK 3 00041 #define _INPUT_LOCK 4 00042 #define _OUTPUT_LOCK 5 00043 #define _CSCANF_LOCK 6 00044 #define _CPRINTF_LOCK 7 00045 #define _CONIO_LOCK 8 00046 #define _HEAP_LOCK 9 00047 #define _BHEAP_LOCK 10 /* No longer used? */ 00048 #define _TIME_LOCK 11 00049 #define _ENV_LOCK 12 00050 #define _EXIT_LOCK1 13 00051 #define _EXIT_LOCK2 14 00052 #define _THREADDATA_LOCK 15 /* No longer used? */ 00053 #define _POPEN_LOCK 16 00054 #define _LOCKTAB_LOCK 17 00055 #define _OSFHND_LOCK 18 00056 #define _SETLOCALE_LOCK 19 00057 #define _LC_COLLATE_LOCK 20 /* No longer used? */ 00058 #define _LC_CTYPE_LOCK 21 /* No longer used? */ 00059 #define _LC_MONETARY_LOCK 22 /* No longer used? */ 00060 #define _LC_NUMERIC_LOCK 23 /* No longer used? */ 00061 #define _LC_TIME_LOCK 24 /* No longer used? */ 00062 #define _MB_CP_LOCK 25 00063 #define _NLG_LOCK 26 00064 #define _TYPEINFO_LOCK 27 00065 #define _STREAM_LOCKS 28 00066 00067 /* Must match definition in msvcrt/stdio.h */ 00068 #define _IOB_ENTRIES 20 00069 #define _LAST_STREAM_LOCK (_STREAM_LOCKS+_IOB_ENTRIES-1) 00070 #define _TOTAL_LOCKS (_LAST_STREAM_LOCK+1) 00071 00072 #endif /* WINE_MTDLL_H */ Generated on Thu May 24 2012 04:36:56 for ReactOS by
1.7.6.1
|