test: ntwow64.h Source File

Main Page | Class Hierarchy | Class List | File List | Class Members | File Members

# ntwow64.h

Go to the documentation of this file.

    00001 /*++
    00002
    00003 Copyright (c) 1998  Microsoft Corporation
    00004
    00005 Module Name:
    00006
    00007     ntwow64.h
    00008
    00009 Abstract:
    00010
    00011     This module contains headers for fake kernel entrypoints(wow64 BOPS) in ntdll.
    00012
    00013 Author:
    00014
    00015     Michael Zoran (mzoran) 22-NOV-1998
    00016
    00017 Environment:
    00018
    00019     User Mode only
    00020
    00021 Revision History:
    00022
    00023 --*/
    00024
    00025 NTSYSAPI
    00026 NTSTATUS
    00027 NTAPI
    00028 NtWow64CsrClientConnectToServer(
    00029     IN PWSTR ObjectDirectory,
    00030     IN ULONG ServerDllIndex,
    00031     IN PCSR_CALLBACK_INFO CallbackInformation OPTIONAL,
    00032     IN PVOID ConnectionInformation,
    00033     IN OUT PULONG ConnectionInformationLength OPTIONAL,
    00034     OUT PBOOLEAN CalledFromServer OPTIONAL
    00035     );
    00036
    00037 NTSYSAPI
    00038 NTSTATUS
    00039 NTAPI
    00040 NtWow64CsrNewThread(
    00041     VOID
    00042     );
    00043
    00044 NTSYSAPI
    00045 NTSTATUS
    00046 NTAPI
    00047 NtWow64CsrIdentifyAlertableThread(
    00048     VOID
    00049     );
    00050
    00051 NTSYSAPI
    00052 NTSTATUS
    00053 NTAPI
    00054 NtWow64CsrClientCallServer(
    00055     IN OUT PCSR_API_MSG m,
    00056     IN OUT PCSR_CAPTURE_HEADER CaptureBuffer OPTIONAL,
    00057     IN CSR_API_NUMBER ApiNumber,
    00058     IN ULONG ArgLength
    00059     );
    00060
    00061 NTSYSAPI
    00062 PCSR_CAPTURE_HEADER
    00063 NTAPI
    00064 NtWow64CsrAllocateCaptureBuffer(
    00065     IN ULONG CountMessagePointers,
    00066     IN ULONG Size
    00067     );
    00068
    00069 NTSYSAPI
    00070 VOID
    00071 NTAPI
    00072 NtWow64CsrFreeCaptureBuffer(
    00073     IN PCSR_CAPTURE_HEADER CaptureBuffer
    00074     );
    00075
    00076 NTSYSAPI
    00077 ULONG
    00078 NTAPI
    00079 NtWow64CsrAllocateMessagePointer(
    00080     IN OUT PCSR_CAPTURE_HEADER CaptureBuffer,
    00081     IN ULONG Length,
    00082     OUT PVOID *Pointer
    00083     );
    00084
    00085 NTSYSAPI
    00086 VOID
    00087 NTAPI
    00088 NtWow64CsrCaptureMessageBuffer(
    00089     IN OUT PCSR_CAPTURE_HEADER CaptureBuffer,
    00090     IN PVOID Buffer OPTIONAL,
    00091     IN ULONG Length,
    00092     OUT PVOID *CapturedBuffer
    00093     );
    00094
    00095 NTSYSAPI
    00096 VOID
    00097 NTAPI
    00098 NtWow64CsrCaptureMessageString(
    00099     IN OUT PCSR_CAPTURE_HEADER CaptureBuffer,
    00100     IN PCSTR String OPTIONAL,
    00101     IN ULONG Length,
    00102     IN ULONG MaximumLength,
    00103     OUT PSTRING CapturedString
    00104     );
    00105
    00106 NTSYSAPI
    00107 VOID
    00108 NTAPI
    00109 NtWow64CsrCaptureMessageString(
    00110     IN OUT PCSR_CAPTURE_HEADER CaptureBuffer,
    00111     IN PCSTR String OPTIONAL,
    00112     IN ULONG Length,
    00113     IN ULONG MaximumLength,
    00114     OUT PSTRING CapturedString
    00115     );
    00116
    00117 NTSYSAPI
    00118 NTSTATUS
    00119 NTAPI
    00120 NtWow64CsrSetPriorityClass(
    00121     IN HANDLE ProcessHandle,
    00122     IN OUT PULONG PriorityClass
    00123     );
    00124
    00125
    00126 NTSYSAPI
    00127 NTSTATUS
    00128 NTAPI
    00129 NtDbgUiConnectToDbg( VOID );
    00130
    00131 NTSTATUS
    00132 NtDbgUiWaitStateChange (
    00133     OUT PDBGUI_WAIT_STATE_CHANGE StateChange,
    00134     IN PLARGE_INTEGER Timeout OPTIONAL
    00135     );
    00136
    00137 NTSYSAPI
    00138 NTSTATUS
    00139 NTAPI
    00140 NtDbgUiContinue (
    00141     IN PCLIENT_ID AppClientId,
    00142     IN NTSTATUS ContinueStatus
    00143     );
    00144
    00145 // This is used in place of INT 2D
    00146 NTSYSAPI
    00147 NTSTATUS
    00148 NtWow64DebuggerCall (
    00149     IN ULONG ServiceClass,
    00150     IN ULONG Arg1,
    00151     IN ULONG Arg2
    00152     );