Changeset 4108 for branches/GRACE/src/win32k/misc/OS2KPTDA.c
- Timestamp:
- Aug 29, 2000, 12:44:25 AM (25 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/GRACE/src/win32k/misc/OS2KPTDA.c
r4025 r4108 1 /* $Id: OS2KPTDA.c,v 1.1.2. 2 2000-08-17 08:23:35bird Exp $1 /* $Id: OS2KPTDA.c,v 1.1.2.3 2000-08-28 22:44:24 bird Exp $ 2 2 * 3 3 * PTDA access functions. … … 9 9 */ 10 10 11 /******************************************************************************* 12 * Defined Constants And Macros * 13 *******************************************************************************/ 14 #define INCL_OS2KRNL_SEM 15 #define INCL_OS2KRNL_PTDA 11 16 12 17 /******************************************************************************* … … 14 19 *******************************************************************************/ 15 20 #include <os2.h> 16 #include <OS2K PTDA.h>21 #include <OS2Krnl.h> 17 22 18 23 … … 28 33 extern ULONG pptda_start; 29 34 extern ULONG pptda_environ; 35 extern ULONG pptda_ptdasem; 30 36 extern ULONG pptda_module; 31 37 … … 55 61 56 62 63 /** 64 * Gets the ptda_ptdasem PTDA member. This member holds the intra-process semaphore which 65 * for example is used to serialize _LDRQAppType. 66 * @returns Content of the pPTDA->ptda_ptdasem member. 67 * @param pPTDA PTDA Pointer. (NULL is not allowed!) 68 */ 69 HKSEMMTX ptda_ptda_ptdasem(PPTDA pPTDA) 70 { 71 return (HKSEMMTX)(void*)(((char*)(void*)pPTDA) + (pptda_ptdasem - pptda_start)); 72 } 57 73 58 74
Note:
See TracChangeset
for help on using the changeset viewer.