-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathwinstb.cpp
245 lines (241 loc) · 6.79 KB
/
winstb.cpp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
//
// win32k.sys stub for exports
//
extern "C"
{
void BRUSHOBJ_hGetColorTransform
(){} void BRUSHOBJ_pvAllocRbrush
(){} void BRUSHOBJ_pvGetRbrush
(){} void BRUSHOBJ_ulGetBrushColor
(){} void CLIPOBJ_bEnum
(){} void CLIPOBJ_cEnumStart
(){} void CLIPOBJ_ppoGetPath
(){} void EngAcquireSemaphore
(){} void EngAllocMem
(){} void EngAllocPrivateUserMem
(){} void EngAllocSectionMem
(){} void EngAllocUserMem
(){} void EngAlphaBlend
(){} void EngAssociateSurface
(){} void EngBitBlt
(){} void EngBugCheckEx
(){} void EngCheckAbort
(){} void EngClearEvent
(){} void EngComputeGlyphSet
(){} void EngControlSprites
(){} void EngCopyBits
(int,int,int,int,int,int){} void EngCreateBitmap
(int,int,int,int,int,int){} void EngCreateClip
(){} void EngCreateDeviceBitmap
(){} void EngCreateDeviceSurface
(){} void EngCreateDriverObj
(){} void EngCreateEvent
(){} void EngCreatePalette
(){} void EngCreatePath
(){} void EngCreateSemaphore
(){} void EngCreateWnd
(){} void EngDebugBreak
(){} void EngDebugPrint
(int,int,int){} void EngDeleteClip
(){} void EngDeleteDriverObj
(){} void EngDeleteEvent
(){} void EngDeleteFile
(){} void EngDeletePalette
(){} void EngDeletePath
(){} void EngDeleteSafeSemaphore
(){} void EngDeleteSemaphore
(){} void EngDeleteSurface
(int){} void EngDeleteWnd
(){} void EngDeviceIoControl
(){} void EngDitherColor
(){} void EngDxIoctl
(){} void EngEnumForms
(){} void EngEraseSurface
(int,int,int){} void EngFileIoControl
(){} void EngFileWrite
(){} void EngFillPath
(int,int,int,int,int,int,int){} void EngFindImageProcAddress
(int,int){} void EngFindResource
(){} void EngFntCacheAlloc
(){} void EngFntCacheFault
(){} void EngFntCacheLookUp
(){} void EngFreeMem
(){} void EngFreeModule
(){} void EngFreePrivateUserMem
(){} void EngFreeSectionMem
(){} void EngFreeUserMem
(){} void EngGetCurrentCodePage
(){} void EngGetCurrentProcessId
(){} void EngGetCurrentThreadId
(){} void EngGetDriverName
(){} void EngGetFileChangeTime
(){} void EngGetFilePath
(){} void EngGetForm
(){} void EngGetLastError
(){} void EngGetPrinter
(){} void EngGetPrinterData
(){} void EngGetPrinterDataFileName
(){} void EngGetPrinterDriver
(){} void EngGetProcessHandle
(){} void EngGetTickCount
(){} void EngGetType1FontList
(){} void EngGradientFill
(){} void EngHangNotification
(){} void EngInitializeSafeSemaphore
(){} void EngIsSemaphoreOwned
(){} void EngIsSemaphoreOwnedByCurrentThread
(){} void EngLineTo
(int,int,int,int,int,int,int,int,int){} void EngLoadImage
(int){} void EngLoadModule
(){} void EngLoadModuleForWrite
(){} void EngLockDirectDrawSurface
(){} void EngLockDriverObj
(){} void EngLockSurface
(int){} void EngLpkInstalled
(){} void EngMapEvent
(){} void EngMapFile
(int,int,int){} void EngMapFontFile
(){} void EngMapFontFileFD
(){} void EngMapModule
(){} void EngMapSection
(){} void EngMarkBandingSurface
(){} void EngModifySurface
(){} void EngMovePointer
(){} void EngMulDiv
(){} void EngMultiByteToUnicodeN
(){} void EngMultiByteToWideChar
(){} void EngNineGrid
(){} void EngPaint
(){} void EngPlgBlt
(){} void EngProbeForRead
(){} void EngProbeForReadAndWrite
(){} void EngQueryDeviceAttribute
(){} void EngQueryLocalTime
(){} void EngQueryPalette
(){} void EngQueryPerformanceCounter
(){} void EngQueryPerformanceFrequency
(){} void EngQuerySystemAttribute
(){} void EngReadStateEvent
(){} void EngReleaseSemaphore
(){} void EngRestoreFloatingPointState
(){} void EngSaveFloatingPointState
(){} void EngSecureMem
(){} void EngSetEvent
(){} void EngSetLastError
(){} void EngSetPointerShape
(){} void EngSetPointerTag
(){} void EngSetPrinterData
(){} void EngSort
(){} void EngStretchBlt
(){} void EngStretchBltROP
(){} void EngStrokeAndFillPath
(){} void EngStrokePath
(){} void EngTextOut
(){} void EngTransparentBlt
(){} void EngUnicodeToMultiByteN
(){} void EngUnloadImage
(int){} void EngUnlockDirectDrawSurface
(){} void EngUnlockDriverObj
(){} void EngUnlockSurface
(int){} void EngUnmapEvent
(){} void EngUnmapFile
(int){} void EngUnmapFontFile
(){} void EngUnmapFontFileFD
(){} void EngUnsecureMem
(){} void EngWaitForSingleObject
(){} void EngWideCharToMultiByte
(){} void EngWritePrinter
(){} void _except_handler2
(){} void FLOATOBJ_Add
(){} void FLOATOBJ_AddFloat
(){} void FLOATOBJ_AddFloatObj
(){} void FLOATOBJ_AddLong
(){} void FLOATOBJ_Div
(){} void FLOATOBJ_DivFloat
(){} void FLOATOBJ_DivFloatObj
(){} void FLOATOBJ_DivLong
(){} void FLOATOBJ_Equal
(){} void FLOATOBJ_EqualLong
(){} void FLOATOBJ_GetFloat
(){} void FLOATOBJ_GetLong
(){} void FLOATOBJ_GreaterThan
(){} void FLOATOBJ_GreaterThanLong
(){} void FLOATOBJ_LessThan
(){} void FLOATOBJ_LessThanLong
(){} void FLOATOBJ_Mul
(){} void FLOATOBJ_MulFloat
(){} void FLOATOBJ_MulFloatObj
(){} void FLOATOBJ_MulLong
(){} void FLOATOBJ_Neg
(){} void FLOATOBJ_SetFloat
(){} void FLOATOBJ_SetLong
(){} void FLOATOBJ_Sub
(){} void FLOATOBJ_SubFloat
(){} void FLOATOBJ_SubFloatObj
(){} void FLOATOBJ_SubLong
(){} void FONTOBJ_cGetAllGlyphHandles
(){} void FONTOBJ_cGetGlyphs
(){} void FONTOBJ_pfdg
(){} void FONTOBJ_pifi
(){} void FONTOBJ_pjOpenTypeTablePointer
(){} void FONTOBJ_pQueryGlyphAttrs
(){} void FONTOBJ_pvTrueTypeFontFile
(){} void FONTOBJ_pwszFontFilePaths
(){} void FONTOBJ_pxoGetXform
(){} void FONTOBJ_vGetInfo
(){} void _global_unwind2
(){} void HeapVidMemAllocAligned
(){} void HT_ComputeRGBGammaTable
(){} void HT_Get8BPPFormatPalette
(){} void HT_Get8BPPMaskPalette
(){} void _itoa
(){} void _itow
(){} void _local_unwind2
(){} void PALOBJ_cGetColors
(){} void PATHOBJ_bCloseFigure
(int){} void PATHOBJ_bEnum
(){} void PATHOBJ_bEnumClipLines
(){} void PATHOBJ_bMoveTo
(int,int,int){} void PATHOBJ_bPolyBezierTo
(){} void PATHOBJ_bPolyLineTo
(int,int,int){} void PATHOBJ_vEnumStart
(){} void PATHOBJ_vEnumStartClipLines
(){} void PATHOBJ_vGetBounds
(){} void RtlAnsiCharToUnicodeChar
(){} void RtlMultiByteToUnicodeN
(){} void RtlRaiseException
(){} void RtlUnicodeToMultiByteN
(){} void RtlUnicodeToMultiByteSize
(){} void RtlUnwind
(){} void RtlUpcaseUnicodeChar
(){} void RtlUpcaseUnicodeToMultiByteN
(){} void STROBJ_bEnum
(){} void STROBJ_bEnumPositionsOnly
(){} void STROBJ_bGetAdvanceWidths
(){} void STROBJ_dwGetCodePage
(){} void STROBJ_fxBreakExtra
(){} void STROBJ_fxCharacterExtra
(){} void STROBJ_vEnumStart
(){} void VidMemFree
(){} void WNDOBJ_bEnum
(){} void WNDOBJ_cEnumStart
(){} void WNDOBJ_vSetConsumer
(){} void XFORMOBJ_bApplyXform
(){} void XFORMOBJ_iGetFloatObjXform
(){} void XFORMOBJ_iGetXform
(){} void XLATEOBJ_cGetPalette
(){} void XLATEOBJ_hGetColorTransform
(){} void XLATEOBJ_iXlate
(int,int){} void XLATEOBJ_piVector
(){}
void* FindSelfBase();
void* __base()
{
return FindSelfBase();
}
}
// Entry stub
int DriverEntry(int,int)
{
return (int)0xc0000001;
}