Object handle table position and typedef needed

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



Hello!

Can you please help me?

I need typedef and offset for HANDLE_TABLE from current process handle.
I know these info on Windows XP and 2000, can you get me these information
for Vista?

HandleTableOffsetXP = 0x0C4;
HandleTableOffset2K = 0x128;



typedef struct _XP_HANDLE_TABLE
{
ULONG TableCode;
PEPROCESS QuotaProcess;
PVOID UniqueProcessId;
EX_PUSH_LOCK HandleTableLock[4];
LIST_ENTRY HandleTableList;
EX_PUSH_LOCK HandleContentionEvent;
PHANDLE_TRACE_DEBUG_INFO DebugInfo;
LONG ExtraInfoPages;
ULONG FirstFree;
ULONG LastFree;
ULONG NextHandleNeedingPool;
LONG HandleCount;
LONG Flags;
UCHAR StrictFIFO;
} XP_HANDLE_TABLE, *PXP_HANDLE_TABLE;

typedef struct _WIN2K_HANDLE_TABLE
{
ULONG Flags;
LONG HandleCount;
PHANDLE_TABLE_ENTRY **Table;
PEPROCESS QuotaProcess;
HANDLE UniqueProcessId;
LONG FirstFreeTableEntry;
LONG NextIndexNeedingPool;
ERESOURCE HandleTableLock;
LIST_ENTRY HandleTableList;
KEVENT HandleContentionEvent;
} WIN2K_HANDLE_TABLE , *PWIN2K_HANDLE_TABLE ;

Regards.
Artyom.


.



Relevant Pages

  • Re: Process dump facility public API - pdpublic.h
    ... typedef struct _DDPREQUEST { ... } DDPREQUEST; ... typedef DDPREQUEST *PDDREQUEST; ... /* Defines for DDPREQUEST flags (flags field within DDPREQUEST structure ...
    (comp.os.os2.bugs)
  • Re: Same code problem
    ... Can someone confirm to me that there officially is a compiler issue here. ... typedef long WPARAM; ... typedef struct tagWnd *pWND; ... HWND hwnd; ...
    (microsoft.public.vc.language)
  • Re: sed to grep a "typedef struct { (multiple lines) } TYPE;
    ... of a typedef struct in C such as ... Could it be that the pattern space contains ... Its GUI front-end "cbrowser" provides a hierarchical function call tree ...
    (comp.unix.shell)
  • [Full-disclosure] LPC 0day
    ... typedef enum _PROCESSINFOCLASS { ... } PROCESSINFOCLASS; ... typedef struct _UNICODE_STRING { ... IN OUT int int1, // IN OUT PPORT_VIEW ServerView OPTIONAL, ...
    (Full-Disclosure)
  • [PATCH 3/6] myri10ge - Driver header files
    ... myri10ge driver header files. ... +typedef signed long long int64_t; ...
    (Linux-Kernel)