Changeset 4018 for branches/GRACE/src/win32k/misc/OS2KPTDA.c
- Timestamp:
- Aug 15, 2000, 9:03:27 AM (25 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/GRACE/src/win32k/misc/OS2KPTDA.c
r3829 r4018 1 /* $Id: OS2KPTDA.c,v 1.1 2000-07-16 22:21:17 bird Exp $1 /* $Id: OS2KPTDA.c,v 1.1.2.1 2000-08-15 07:03:27 bird Exp $ 2 2 * 3 3 * PTDA access functions. … … 28 28 extern ULONG pptda_start; 29 29 extern ULONG pptda_environ; 30 extern ULONG pptda_module; 30 31 31 32 … … 35 36 * @returns Content of the pPTDA->ptda_environ member. 36 37 * @param pPTDA PTDA Pointer. (NULL is not allowed!) 37 * @sketch38 38 */ 39 39 USHORT ptdaGet_ptda_environ(PPTDA pPTDA) … … 42 42 } 43 43 44 45 /** 46 * Gets the ptda_module PTDA member. This member holds the MTE handle of the process's 47 * executable image. 48 * @returns Content of the pPTDA->ptda_module member. 49 * @param pPTDA PTDA Pointer. (NULL is not allowed!) 50 */ 51 USHORT ptdaGet_ptda_module(PPTDA pPTDA) 52 { 53 return *(PUSHORT)(void*)(((char*)(void*)pPTDA) + (pptda_module - pptda_start)); 54 } 55
Note:
See TracChangeset
for help on using the changeset viewer.