Main Page | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

miniddk.h File Reference

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

Go to the source code of this file.

Classes

struct  _IO_STRUCT
struct  _OBJECT_ATTRIBUTES
struct  _UNICODE_STRING
struct  MEM_STRUCT

Defines

#define NT_SUCCESS(Status)   ((NTSTATUS)(Status) >= 0)
#define UNICODE_NULL   ((WCHAR)0)
#define OBJ_INHERIT   0x00000002L
#define OBJ_PERMANENT   0x00000010L
#define OBJ_EXCLUSIVE   0x00000020L
#define OBJ_CASE_INSENSITIVE   0x00000040L
#define OBJ_OPENIF   0x00000080L
#define OBJ_OPENLINK   0x00000100L
#define OBJ_KERNEL_HANDLE   0x00000200L
#define OBJ_VALID_ATTRIBUTES   0x000003F2L
#define InitializeObjectAttributes(p, n, a, r, s)
#define SECTION_QUERY   0x0001
#define SECTION_MAP_WRITE   0x0002
#define SECTION_MAP_READ   0x0004
#define SECTION_MAP_EXECUTE   0x0008
#define SECTION_EXTEND_SIZE   0x0010
#define SECTION_ALL_ACCESS
#define NtCurrentProcess()   ( (HANDLE) -1 )

Typedefs

typedef LONG NTSTATUS
typedef _UNICODE_STRING UNICODE_STRING
typedef UNICODE_STRINGPUNICODE_STRING
typedef const UNICODE_STRINGPCUNICODE_STRING
typedef _OBJECT_ATTRIBUTES OBJECT_ATTRIBUTES
typedef OBJECT_ATTRIBUTESPOBJECT_ATTRIBUTES
typedef LARGE_INTEGER PHYSICAL_ADDRESS
typedef LARGE_INTEGER * PPHYSICAL_ADDRESS
typedef enum _SECTION_INHERIT SECTION_INHERIT
typedef IN ACCESS_MASK DesiredAccess
typedef IN ACCESS_MASK IN
POBJECT_ATTRIBUTES 
ObjectAttributes
typedef IN HANDLE ProcessHandle
typedef IN HANDLE IN OUT PVOID
*BaseAddress 
OPTIONAL
typedef IN HANDLE IN OUT PVOID
*BaseAddress IN ULONG ZeroBits
IN ULONG 
CommitSize
typedef IN HANDLE IN OUT PVOID
*BaseAddress IN ULONG ZeroBits
IN ULONG IN OUT PLARGE_INTEGER
SectionOffset IN OUT PULONG 
ViewSize
typedef IN HANDLE IN OUT PVOID
*BaseAddress IN ULONG ZeroBits
IN ULONG IN OUT PLARGE_INTEGER
SectionOffset IN OUT PULONG
IN SECTION_INHERIT 
InheritDisposition
typedef IN HANDLE IN OUT PVOID
*BaseAddress IN ULONG ZeroBits
IN ULONG IN OUT PLARGE_INTEGER
SectionOffset IN OUT PULONG
IN SECTION_INHERIT IN ULONG
AllocationType IN ULONG 
Protect
typedef IN PVOID BaseAddress
typedef IN PCWSTR SourceString
typedef enum _DEBUG_CONTROL_CODE DEBUG_CONTROL_CODE
typedef IN PVOID InputBuffer
IN ULONG 
InputBufferLength
typedef IN PVOID InputBuffer
IN ULONG OUT PVOID OutputBuffer
IN ULONG 
OutputBufferLength
typedef OUT PVOID InputBuffer
typedef IN DWORD FirmwareTableID
typedef _IO_STRUCT IO_STRUCT
typedef MEM_STRUCT MEM_STRUCT

Enumerations

enum  _SECTION_INHERIT { ViewShare = 1, ViewUnmap = 2 }
enum  _DEBUG_CONTROL_CODE {
  DebugGetTraceInformation = 1, DebugSetInternalBreakpoint, DebugSetSpecialCall, DebugClearSpecialCalls,
  DebugQuerySpecialCalls, DebugDbgBreakPoint, DebugMaximum, DebugSysReadPhysicalMemory = 10,
  DebugSysReadIoSpace = 14, DebugSysWriteIoSpace = 15
}

Functions

typedef NTSTATUS (__stdcall *NtOpenSectionPtr)(OUT PHANDLE SectionHandle
typedef VOID (__stdcall *RtlInitUnicodeStringPtr)(IN OUT PUNICODE_STRING DestinationString


Define Documentation

#define InitializeObjectAttributes p,
n,
a,
r,
 ) 
 

Value:

{ \
    (p)->Length = sizeof( OBJECT_ATTRIBUTES );          \
    (p)->RootDirectory = r;                             \
    (p)->Attributes = a;                                \
    (p)->ObjectName = n;                                \
    (p)->SecurityDescriptor = s;                        \
    (p)->SecurityQualityOfService = NULL;               \
    }

Definition at line 99 of file miniddk.h.

Referenced by memory::OpenMemAccess().

#define NT_SUCCESS Status   )     ((NTSTATUS)(Status) >= 0)
 

Definition at line 34 of file miniddk.h.

Referenced by memory::CloseMemAccess(), cmos::EnableDebug(), memory::MapMem(), memory::OpenMemAccess(), memory::readPhysicalMemoryDebugSysctl(), and memory::UnMapMem().

 
#define NtCurrentProcess  )     ( (HANDLE) -1 )
 

Definition at line 144 of file miniddk.h.

Referenced by memory::MapMem(), and memory::UnMapMem().

#define OBJ_CASE_INSENSITIVE   0x00000040L
 

Definition at line 64 of file miniddk.h.

Referenced by memory::OpenMemAccess().

#define OBJ_EXCLUSIVE   0x00000020L
 

Definition at line 63 of file miniddk.h.

#define OBJ_INHERIT   0x00000002L
 

Definition at line 61 of file miniddk.h.

#define OBJ_KERNEL_HANDLE   0x00000200L
 

Definition at line 67 of file miniddk.h.

#define OBJ_OPENIF   0x00000080L
 

Definition at line 65 of file miniddk.h.

#define OBJ_OPENLINK   0x00000100L
 

Definition at line 66 of file miniddk.h.

#define OBJ_PERMANENT   0x00000010L
 

Definition at line 62 of file miniddk.h.

#define OBJ_VALID_ATTRIBUTES   0x000003F2L
 

Definition at line 68 of file miniddk.h.

#define SECTION_ALL_ACCESS
 

Value:

Definition at line 137 of file miniddk.h.

#define SECTION_EXTEND_SIZE   0x0010
 

Definition at line 135 of file miniddk.h.

#define SECTION_MAP_EXECUTE   0x0008
 

Definition at line 134 of file miniddk.h.

#define SECTION_MAP_READ   0x0004
 

Definition at line 133 of file miniddk.h.

Referenced by memory::OpenMemAccess().

#define SECTION_MAP_WRITE   0x0002
 

Definition at line 132 of file miniddk.h.

#define SECTION_QUERY   0x0001
 

Definition at line 131 of file miniddk.h.

#define UNICODE_NULL   ((WCHAR)0)
 

Definition at line 55 of file miniddk.h.


Typedef Documentation

typedef IN PVOID BaseAddress
 

Definition at line 172 of file miniddk.h.

typedef IN HANDLE IN OUT PVOID* BaseAddress IN ULONG ZeroBits IN ULONG CommitSize
 

Definition at line 159 of file miniddk.h.

typedef enum _DEBUG_CONTROL_CODE DEBUG_CONTROL_CODE
 

typedef IN ACCESS_MASK DesiredAccess
 

Definition at line 149 of file miniddk.h.

typedef IN DWORD FirmwareTableID
 

Definition at line 209 of file miniddk.h.

typedef IN HANDLE IN OUT PVOID* BaseAddress IN ULONG ZeroBits IN ULONG IN OUT PLARGE_INTEGER SectionOffset IN OUT PULONG IN SECTION_INHERIT InheritDisposition
 

Definition at line 159 of file miniddk.h.

typedef IN DWORD OUT PVOID InputBuffer
 

Definition at line 204 of file miniddk.h.

typedef IN DWORD OUT PVOID IN DWORD InputBufferLength
 

Definition at line 196 of file miniddk.h.

typedef struct _IO_STRUCT IO_STRUCT
 

typedef struct MEM_STRUCT MEM_STRUCT
 

typedef NTSTATUS
 

Definition at line 27 of file miniddk.h.

Referenced by memory::CloseMemAccess(), cmos::EnableDebug(), memory::MapMem(), memory::OpenMemAccess(), memory::readPhysicalMemoryDebugSysctl(), and memory::UnMapMem().

typedef struct _OBJECT_ATTRIBUTES OBJECT_ATTRIBUTES
 

Referenced by memory::OpenMemAccess().

typedef IN ACCESS_MASK IN POBJECT_ATTRIBUTES ObjectAttributes
 

Definition at line 149 of file miniddk.h.

typedef IN PVOID InputBuffer IN ULONG OUT PVOID OutputBuffer IN ULONG OUT PULONG ReturnLength OPTIONAL
 

Definition at line 159 of file miniddk.h.

typedef IN PVOID InputBuffer IN ULONG OUT PVOID OutputBuffer IN ULONG OutputBufferLength
 

Definition at line 196 of file miniddk.h.

typedef const UNICODE_STRING* PCUNICODE_STRING
 

Definition at line 54 of file miniddk.h.

typedef LARGE_INTEGER PHYSICAL_ADDRESS
 

Definition at line 112 of file miniddk.h.

Referenced by memory::MapMem().

typedef OBJECT_ATTRIBUTES* POBJECT_ATTRIBUTES
 

Definition at line 84 of file miniddk.h.

typedef LARGE_INTEGER * PPHYSICAL_ADDRESS
 

Definition at line 112 of file miniddk.h.

typedef IN HANDLE ProcessHandle
 

Definition at line 159 of file miniddk.h.

typedef IN HANDLE IN OUT PVOID* BaseAddress IN ULONG ZeroBits IN ULONG IN OUT PLARGE_INTEGER SectionOffset IN OUT PULONG IN SECTION_INHERIT IN ULONG AllocationType IN ULONG Protect
 

Definition at line 159 of file miniddk.h.

typedef UNICODE_STRING* PUNICODE_STRING
 

Definition at line 53 of file miniddk.h.

typedef enum _SECTION_INHERIT SECTION_INHERIT
 

typedef IN PCWSTR SourceString
 

Definition at line 176 of file miniddk.h.

typedef struct _UNICODE_STRING UNICODE_STRING
 

Referenced by memory::OpenMemAccess().

typedef IN HANDLE IN OUT PVOID* BaseAddress IN ULONG ZeroBits IN ULONG IN OUT PLARGE_INTEGER SectionOffset IN OUT PULONG ViewSize
 

Definition at line 159 of file miniddk.h.


Enumeration Type Documentation

enum _DEBUG_CONTROL_CODE
 

Enumeration values:
DebugGetTraceInformation 
DebugSetInternalBreakpoint 
DebugSetSpecialCall 
DebugClearSpecialCalls 
DebugQuerySpecialCalls 
DebugDbgBreakPoint 
DebugMaximum 
DebugSysReadPhysicalMemory 
DebugSysReadIoSpace 
DebugSysWriteIoSpace 

Definition at line 180 of file miniddk.h.

enum _SECTION_INHERIT
 

Enumeration values:
ViewShare 
ViewUnmap 

Definition at line 121 of file miniddk.h.


Function Documentation

typedef NTSTATUS __stdcall *  NtOpenSectionPtr  ) 
 

typedef VOID __stdcall *  RtlInitUnicodeStringPtr  ) 
 


Generated on Wed Apr 11 16:25:11 2007 for SMBIOS Library by doxygen 1.3.5