C:/Web/tthieffer/TokenExecution/Tthieffer.h File Reference

#include <stdio.h>
#include <windows.h>
#include <psapi.h>
#include <shlwapi.h>

Go to the source code of this file.

Data Structures

struct  _credenciales
struct  _SYSTEM_HANDLE
struct  _SYSTEM_HANDLE_INFORMATION
struct  _UNICODE_STRING

Defines

#define MAX_USERS   1000
#define STATUS_SUCCESS   ((NTSTATUS)0x00000000L)
#define STATUS_INFO_LENGTH_MISMATCH   ((NTSTATUS)0xC0000004L)
#define STATUS_BUFFER_OVERFLOW   ((NTSTATUS)0x80000005L)
#define SystemHandleInformation   16

Typedefs

typedef struct _credenciales CREDENCIALES
typedef LONG NTSTATUS
typedef VOID * POBJECT
typedef struct _SYSTEM_HANDLE SYSTEM_HANDLE
typedef struct _SYSTEM_HANDLEPSYSTEM_HANDLE
typedef struct
_SYSTEM_HANDLE_INFORMATION 
SYSTEM_HANDLE_INFORMATION
typedef struct
_SYSTEM_HANDLE_INFORMATION
PSYSTEM_HANDLE_INFORMATION
typedef struct _UNICODE_STRING UNICODE_STRING
typedef UNICODE_STRINGPUNICODE_STRING
typedef const UNICODE_STRINGPCUNICODE_STRING
typedef UNICODE_STRING OBJECT_NAME_INFORMATION
typedef UNICODE_STRINGPOBJECT_NAME_INFORMATION
typedef enum
_OBJECT_INFORMATION_CLASS 
OBJECT_INFORMATION_CLASS
typedef NTSTATUS(WINAPI * NTQUERYSYSTEMINFORMATION )(DWORD SystemInformationClass, PVOID SystemInformation, DWORD SystemInformationLength, PDWORD ReturnLength)
typedef NTSTATUS(WINAPI * NTQUERYOBJECT )(HANDLE ObjectHandle, OBJECT_INFORMATION_CLASS ObjectInformationClass, PVOID ObjectInformation, DWORD Length, PDWORD ResultLength)
typedef HANDLE SecondTokenHandle
typedef HANDLE PBOOLEAN Equal

Enumerations

enum  _OBJECT_INFORMATION_CLASS {
  ObjectBasicInformation, ObjectNameInformation, ObjectTypeInformation, ObjectAllTypesInformation,
  ObjectHandleInformation
}

Functions

typedef NTSTATUS (WINAPI *NTCOMPARETOKENS)(HANDLE FirstTokenHandle


Define Documentation

#define MAX_USERS   1000

Definition at line 23 of file Tthieffer.h.

#define STATUS_BUFFER_OVERFLOW   ((NTSTATUS)0x80000005L)

Definition at line 65 of file Tthieffer.h.

Referenced by GetObjectInfo().

#define STATUS_INFO_LENGTH_MISMATCH   ((NTSTATUS)0xC0000004L)

Definition at line 64 of file Tthieffer.h.

Referenced by GetObjectInfo(), and main().

#define STATUS_SUCCESS   ((NTSTATUS)0x00000000L)

Definition at line 63 of file Tthieffer.h.

Referenced by GetObjectInfo(), and main().

#define SystemHandleInformation   16

Definition at line 66 of file Tthieffer.h.

Referenced by main().


Typedef Documentation

typedef struct _credenciales CREDENCIALES

typedef HANDLE PBOOLEAN Equal

Definition at line 85 of file Tthieffer.h.

typedef NTSTATUS(WINAPI * NTQUERYOBJECT)(HANDLE ObjectHandle, OBJECT_INFORMATION_CLASS ObjectInformationClass, PVOID ObjectInformation, DWORD Length, PDWORD ResultLength)

Definition at line 75 of file Tthieffer.h.

typedef NTSTATUS(WINAPI * NTQUERYSYSTEMINFORMATION)(DWORD SystemInformationClass, PVOID SystemInformation, DWORD SystemInformationLength, PDWORD ReturnLength)

Definition at line 70 of file Tthieffer.h.

typedef LONG NTSTATUS

Definition at line 25 of file Tthieffer.h.

typedef enum _OBJECT_INFORMATION_CLASS OBJECT_INFORMATION_CLASS

typedef UNICODE_STRING OBJECT_NAME_INFORMATION

Definition at line 51 of file Tthieffer.h.

typedef const UNICODE_STRING* PCUNICODE_STRING

Definition at line 49 of file Tthieffer.h.

typedef VOID* POBJECT

Definition at line 26 of file Tthieffer.h.

typedef UNICODE_STRING* POBJECT_NAME_INFORMATION

Definition at line 52 of file Tthieffer.h.

typedef struct _SYSTEM_HANDLE * PSYSTEM_HANDLE

typedef struct _SYSTEM_HANDLE_INFORMATION * PSYSTEM_HANDLE_INFORMATION

typedef UNICODE_STRING* PUNICODE_STRING

Definition at line 48 of file Tthieffer.h.

typedef HANDLE SecondTokenHandle

Definition at line 85 of file Tthieffer.h.

typedef struct _SYSTEM_HANDLE SYSTEM_HANDLE

typedef struct _SYSTEM_HANDLE_INFORMATION SYSTEM_HANDLE_INFORMATION

typedef struct _UNICODE_STRING UNICODE_STRING


Enumeration Type Documentation

enum _OBJECT_INFORMATION_CLASS

Enumerator:
ObjectBasicInformation 
ObjectNameInformation 
ObjectTypeInformation 
ObjectAllTypesInformation 
ObjectHandleInformation 

Definition at line 55 of file Tthieffer.h.


Function Documentation

typedef NTSTATUS ( WINAPI *  NTCOMPARETOKENS  ) 


Generated on Fri Feb 22 13:02:52 2008 for Token Thiffer by  doxygen 1.5.4