Changeset 4347 for trunk/src/win32k/misc/OS2KPTDA.c
- Timestamp:
- Oct 1, 2000, 4:58:21 AM (25 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/win32k/misc/OS2KPTDA.c
r4164 r4347 1 /* $Id: OS2KPTDA.c,v 1. 2 2000-09-02 21:08:12bird Exp $1 /* $Id: OS2KPTDA.c,v 1.3 2000-10-01 02:58:20 bird Exp $ 2 2 * 3 3 * PTDA access functions. … … 34 34 extern ULONG pptda_environ; 35 35 extern ULONG pptda_ptdasem; 36 extern ULONG pptda_handle; 36 37 extern ULONG pptda_module; 37 38 … … 46 47 { 47 48 return *(PUSHORT)(void*)(((char*)(void*)pPTDA) + (pptda_environ - pptda_start)); 49 } 50 51 52 /** 53 * Gets the ptda_handle PTDA member. This member holds the PTDA handle for the 54 * given PTDA. 55 * @returns Content of the pPTDA->ptda_handle member. 56 * @param pPTDA PTDA Pointer. (NULL is not allowed!) 57 */ 58 HPTDA ptdaGet_ptda_handle(PPTDA pPTDA) 59 { 60 return *(PHPTDA)(void*)(((char*)(void*)pPTDA) + (pptda_handle - pptda_start)); 48 61 } 49 62
Note:
See TracChangeset
for help on using the changeset viewer.