-
Notifications
You must be signed in to change notification settings - Fork 54
/
SpecialK.def
666 lines (604 loc) · 37.7 KB
/
SpecialK.def
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
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
;
; Ignore the ordinal numbers, they are informational at best and all imports
; need to be resolved by name.
;
; The numbers are here merely to hint at the purpose of groups of
; imports/exports, with higher numbered imports being more likely to change
; in the future.
;
;LIBRARY "d3d9"
EXPORTS
D3DPERF_BeginEvent = D3DPERF_BeginEvent PRIVATE
D3DPERF_EndEvent = D3DPERF_EndEvent PRIVATE
D3DPERF_GetStatus = D3DPERF_GetStatus PRIVATE
D3DPERF_QueryRepeatFrame = D3DPERF_QueryRepeatFrame PRIVATE
D3DPERF_SetMarker = D3DPERF_SetMarker PRIVATE
D3DPERF_SetOptions = D3DPERF_SetOptions PRIVATE
D3DPERF_SetRegion = D3DPERF_SetRegion PRIVATE
Direct3DCreate9 = Direct3DCreate9
Direct3DCreate9Ex = Direct3DCreate9Ex
DebugSetMute = DebugSetMute PRIVATE
Direct3DShaderValidatorCreate9 = Direct3DShaderValidatorCreate9 PRIVATE
Direct3DShaderValidatorCreate = Direct3DShaderValidatorCreate PRIVATE
Direct3D9EnableMaximizedWindowedModeShim = Direct3D9EnableMaximizedWindowedModeShim PRIVATE
D3D9TestCooperativeLevel_Override = D3D9TestCooperativeLevel_Override PRIVATE
D3D9SetSamplerState_Override = D3D9SetSamplerState_Override PRIVATE
D3D9SetVertexShaderConstantF_Override = D3D9SetVertexShaderConstantF_Override PRIVATE
D3D9SetVertexShader_Override = D3D9SetVertexShader_Override PRIVATE
D3D9SetPixelShaderConstantF_Override = D3D9SetPixelShaderConstantF_Override PRIVATE
D3D9SetPixelShader_Override = D3D9SetPixelShader_Override PRIVATE
D3D9SetScissorRect_Override = D3D9SetScissorRect_Override PRIVATE
D3D9CreateRenderTarget_Override = D3D9CreateRenderTarget_Override PRIVATE
D3D9CreateDepthStencilSurface_Override = D3D9CreateDepthStencilSurface_Override PRIVATE
D3D9SetRenderTarget_Override = D3D9SetRenderTarget_Override PRIVATE
D3D9SetDepthStencilSurface_Override = D3D9SetDepthStencilSurface_Override PRIVATE
D3D9CreateTexture_Override = D3D9CreateTexture_Override PRIVATE
D3D9UpdateTexture_Override = D3D9UpdateTexture_Override PRIVATE
D3D9SetViewport_Override = D3D9SetViewport_Override PRIVATE
D3D9DrawIndexedPrimitive_Override = D3D9DrawIndexedPrimitive_Override PRIVATE
D3D9BeginScene_Override = D3D9BeginScene_Override PRIVATE
D3D9EndScene_Override = D3D9EndScene_Override PRIVATE
D3D9SetTexture_Override = D3D9SetTexture_Override PRIVATE
D3D9DrawPrimitive_Override = D3D9DrawPrimitive_Override PRIVATE
D3D9StretchRect_Override = D3D9StretchRect_Override PRIVATE
D3D9Reset_Override = D3D9Reset_Override PRIVATE
;D3D9UpdateSurface_Override = D3D9UpdateSurface_Override PRIVATE
D3D9SetRenderState_Override = D3D9SetRenderState_Override PRIVATE
D3D9DrawPrimitiveUP_Override = D3D9DrawPrimitiveUP_Override PRIVATE
D3D9DrawIndexedPrimitiveUP_Override = D3D9DrawIndexedPrimitiveUP_Override PRIVATE
D3D9SetCursorPosition_Override = D3D9SetCursorPosition_Override PRIVATE
D3D9CreateVertexBuffer_Override = D3D9CreateVertexBuffer_Override PRIVATE
D3D9SetStreamSource_Override = D3D9SetStreamSource_Override PRIVATE
D3D9SetStreamSourceFreq_Override = D3D9SetStreamSourceFreq_Override PRIVATE
D3D9SetFVF_Override = D3D9SetFVF_Override PRIVATE
D3D9SetVertexDeclaration_Override = D3D9SetVertexDeclaration_Override PRIVATE
D3D9CreateVertexDeclaration_Override = D3D9CreateVertexDeclaration_Override PRIVATE
;LIBRARY "d3d8"
EXPORTS
Direct3DCreate8 = Direct3DCreate8 PRIVATE
;LIBRARY "dinput"
;EXPORTS
; DirectInputCreateEx = DirectInputCreateEx PRIVATE
;LIBRARY "dinput8"
EXPORTS
DirectInput8Create = DirectInput8Create PRIVATE
;LIBRARY "ddraw"
EXPORTS
DirectDrawCreate = DirectDrawCreate PRIVATE
DirectDrawCreateEx = DirectDrawCreateEx PRIVATE
DirectDrawEnumerateA = DirectDrawEnumerateA PRIVATE
DirectDrawEnumerateW = DirectDrawEnumerateW PRIVATE
DirectDrawEnumerateExA = DirectDrawEnumerateExA PRIVATE
DirectDrawEnumerateExW = DirectDrawEnumerateExW PRIVATE
DllCanUnloadNow = DllCanUnloadNow_Override PRIVATE
;LIBRARY "d3d11"
EXPORTS
D3D11CreateDevice = D3D11CreateDevice_Detour PRIVATE
;D3D11CoreCreateDevice = D3D11CoreCreateDevice_Detour PRIVATE
D3D11CreateDeviceAndSwapChain = D3D11CreateDeviceAndSwapChain_Detour PRIVATE
;LIBRARY "dxgi"
EXPORTS
CreateDXGIFactory = CreateDXGIFactory
CreateDXGIFactory1 = CreateDXGIFactory1
CreateDXGIFactory2 = CreateDXGIFactory2
DXGIDisableVBlankVirtualization = DXGIDisableVBlankVirtualization
DXGIDeclareAdapterRemovalSupport = DXGIDeclareAdapterRemovalSupport
DXGIGetDebugInterface1 = DXGIGetDebugInterface1
DXGID3D10CreateDevice = DXGID3D10CreateDevice PRIVATE
DXGID3D10CreateLayeredDevice = DXGID3D10CreateLayeredDevice PRIVATE
DXGID3D10GetLayeredDeviceSize = DXGID3D10GetLayeredDeviceSize PRIVATE
DXGID3D10RegisterLayers = DXGID3D10RegisterLayers PRIVATE
DXGIDumpJournal = DXGIDumpJournal PRIVATE
DXGIReportAdapterConfiguration = DXGIReportAdapterConfiguration PRIVATE
SK_D3D11_SetResourceRoot = SK_D3D11_SetResourceRoot
SK_D3D11_EnableTexDump = SK_D3D11_EnableTexDump
SK_D3D11_EnableTexInject = SK_D3D11_EnableTexInject
SK_D3D11_EnableTexInject_FFX = SK_D3D11_EnableTexInject_FFX PRIVATE
SK_D3D11_EnableTexCache = SK_D3D11_EnableTexCache
SK_D3D11_AddTexHash = SK_D3D11_AddTexHash
SK_D3D11_RemoveTexHash = SK_D3D11_RemoveTexHash
SK_D3D11_PopulateResourceList = SK_D3D11_PopulateResourceList
SK_DXGI_SetPreferredAdapter = SK_DXGI_SetPreferredAdapter
SKX_D3D11_MarkTextures = SKX_D3D11_MarkTextures PRIVATE
SKX_D3D11_EnableFullscreen = SKX_D3D11_EnableFullscreen PRIVATE
DXGIFactory_CreateSwapChain_Override = DXGIFactory_CreateSwapChain_Override PRIVATE
DXGISwap_ResizeTarget_Override = DXGISwap_ResizeTarget_Override PRIVATE
DXGISwap_ResizeBuffers_Override = DXGISwap_ResizeBuffers_Override PRIVATE
DXGISwap_SetFullscreenState_Override = DXGISwap_SetFullscreenState_Override PRIVATE
DXGISwap_GetFullscreenState_Override = DXGISwap_GetFullscreenState_Override PRIVATE
D3D11Dev_CreateTexture2D_Override = D3D11Dev_CreateTexture2D_Override PRIVATE
D3D11_VSSetConstantBuffers_Override = D3D11_VSSetConstantBuffers_Override PRIVATE
D3D11_RSSetViewports_Override = D3D11_RSSetViewports_Override PRIVATE
;LIBRARY "OpenGL32"
EXPORTS
glAccum = glAccum PRIVATE
glAlphaFunc = glAlphaFunc PRIVATE
glAreTexturesResident = glAreTexturesResident PRIVATE
glArrayElement = glArrayElement PRIVATE
glBegin = glBegin PRIVATE
glBindTexture = glBindTexture PRIVATE
glBitmap = glBitmap PRIVATE
glBlendFunc = glBlendFunc PRIVATE
glCallList = glCallList PRIVATE
glCallLists = glCallLists PRIVATE
glClear = glClear PRIVATE
glClearAccum = glClearAccum PRIVATE
glClearColor = glClearColor PRIVATE
; Discontinuity is to match D3D9.dll ordinals
glClearDepth = glClearDepth PRIVATE
glClearIndex = glClearIndex PRIVATE
glClearStencil = glClearStencil PRIVATE
glClipPlane = glClipPlane PRIVATE
glColor3b = glColor3b PRIVATE
glColor3bv = glColor3bv PRIVATE
glColor3d = glColor3d PRIVATE
glColor3dv = glColor3dv PRIVATE
glColor3f = glColor3f PRIVATE
glColor3fv = glColor3fv PRIVATE
glColor3i = glColor3i PRIVATE
glColor3iv = glColor3iv PRIVATE
glColor3s = glColor3s PRIVATE
glColor3sv = glColor3sv PRIVATE
glColor3ub = glColor3ub PRIVATE
glColor3ubv = glColor3ubv PRIVATE
glColor3ui = glColor3ui PRIVATE
glColor3uiv = glColor3uiv PRIVATE
glColor3us = glColor3us PRIVATE
glColor3usv = glColor3usv PRIVATE
glColor4b = glColor4b PRIVATE
glColor4bv = glColor4bv PRIVATE
glColor4d = glColor4d PRIVATE
glColor4dv = glColor4dv PRIVATE
glColor4f = glColor4f PRIVATE
glColor4fv = glColor4fv PRIVATE
glColor4i = glColor4i PRIVATE
glColor4iv = glColor4iv PRIVATE
glColor4s = glColor4s PRIVATE
glColor4sv = glColor4sv PRIVATE
glColor4ub = glColor4ub PRIVATE
glColor4ubv = glColor4ubv PRIVATE
glColor4ui = glColor4ui PRIVATE
glColor4uiv = glColor4uiv PRIVATE
glColor4us = glColor4us PRIVATE
glColor4usv = glColor4usv PRIVATE
glColorMask = glColorMask PRIVATE
glColorMaterial = glColorMaterial PRIVATE
glColorPointer = glColorPointer PRIVATE
glCopyPixels = glCopyPixels PRIVATE
glCopyTexImage1D = glCopyTexImage1D PRIVATE
glCopyTexImage2D = glCopyTexImage2D PRIVATE
glCopyTexSubImage1D = glCopyTexSubImage1D PRIVATE
glCopyTexSubImage2D = glCopyTexSubImage2D PRIVATE
glCullFace = glCullFace PRIVATE
glDebugEntry = glDebugEntry PRIVATE
glDeleteLists = glDeleteLists PRIVATE
glDeleteTextures = glDeleteTextures PRIVATE
glDepthFunc = glDepthFunc PRIVATE
glDepthMask = glDepthMask PRIVATE
glDepthRange = glDepthRange PRIVATE
glDisable = glDisable PRIVATE
glDisableClientState = glDisableClientState PRIVATE
glDrawArrays = glDrawArrays PRIVATE
glDrawBuffer = glDrawBuffer PRIVATE
glDrawElements = glDrawElements PRIVATE
glDrawPixels = glDrawPixels PRIVATE
glEdgeFlag = glEdgeFlag PRIVATE
glEdgeFlagPointer = glEdgeFlagPointer PRIVATE
glEdgeFlagv = glEdgeFlagv PRIVATE
glEnable = glEnable PRIVATE
glEnableClientState = glEnableClientState PRIVATE
glEnd = glEnd PRIVATE
glEndList = glEndList PRIVATE
glEvalCoord1d = glEvalCoord1d PRIVATE
glEvalCoord1dv = glEvalCoord1dv PRIVATE
glEvalCoord1f = glEvalCoord1f PRIVATE
glEvalCoord1fv = glEvalCoord1fv PRIVATE
glEvalCoord2d = glEvalCoord2d PRIVATE
glEvalCoord2dv = glEvalCoord2dv PRIVATE
glEvalCoord2f = glEvalCoord2f PRIVATE
glEvalCoord2fv = glEvalCoord2fv PRIVATE
glEvalMesh1 = glEvalMesh1 PRIVATE
glEvalMesh2 = glEvalMesh2 PRIVATE
glEvalPoint1 = glEvalPoint1 PRIVATE
glEvalPoint2 = glEvalPoint2 PRIVATE
glFeedbackBuffer = glFeedbackBuffer PRIVATE
glFinish = glFinish PRIVATE
glFlush = glFlush PRIVATE
glFogf = glFogf PRIVATE
glFogfv = glFogfv PRIVATE
glFogi = glFogi PRIVATE
glFogiv = glFogiv PRIVATE
glFrontFace = glFrontFace PRIVATE
glFrustum = glFrustum PRIVATE
glGenLists = glGenLists PRIVATE
glGenTextures = glGenTextures PRIVATE
glGetBooleanv = glGetBooleanv PRIVATE
glGetClipPlane = glGetClipPlane PRIVATE
glGetDoublev = glGetDoublev PRIVATE
glGetError = glGetError PRIVATE
glGetFloatv = glGetFloatv PRIVATE
glGetIntegerv = glGetIntegerv PRIVATE
glGetLightfv = glGetLightfv PRIVATE
glGetLightiv = glGetLightiv PRIVATE
glGetMapdv = glGetMapdv PRIVATE
glGetMapfv = glGetMapfv PRIVATE
glGetMapiv = glGetMapiv PRIVATE
glGetMaterialfv = glGetMaterialfv PRIVATE
glGetMaterialiv = glGetMaterialiv PRIVATE
glGetPixelMapfv = glGetPixelMapfv PRIVATE
glGetPixelMapuiv = glGetPixelMapuiv PRIVATE
glGetPixelMapusv = glGetPixelMapusv PRIVATE
glGetPointerv = glGetPointerv PRIVATE
glGetPolygonStipple = glGetPolygonStipple PRIVATE
glGetString = glGetString ; ReShade should use this instead of hooking
glGetTexEnvfv = glGetTexEnvfv PRIVATE
glGetTexEnviv = glGetTexEnviv PRIVATE
glGetTexGendv = glGetTexGendv PRIVATE
glGetTexGenfv = glGetTexGenfv PRIVATE
glGetTexGeniv = glGetTexGeniv PRIVATE
glGetTexImage = glGetTexImage PRIVATE
glGetTexLevelParameterfv = glGetTexLevelParameterfv PRIVATE
glGetTexLevelParameteriv = glGetTexLevelParameteriv PRIVATE
glGetTexParameterfv = glGetTexParameterfv PRIVATE
glGetTexParameteriv = glGetTexParameteriv PRIVATE
glHint = glHint PRIVATE
glIndexd = glIndexd PRIVATE
glIndexdv = glIndexdv PRIVATE
glIndexf = glIndexf PRIVATE
glIndexfv = glIndexfv PRIVATE
glIndexi = glIndexi PRIVATE
glIndexiv = glIndexiv PRIVATE
glIndexMask = glIndexMask PRIVATE
glIndexPointer = glIndexPointer PRIVATE
glIndexs = glIndexs PRIVATE
glIndexsv = glIndexsv PRIVATE
glIndexub = glIndexub PRIVATE
glIndexubv = glIndexubv PRIVATE
glInitNames = glInitNames PRIVATE
glInterleavedArrays = glInterleavedArrays PRIVATE
glIsEnabled = glIsEnabled PRIVATE
glIsList = glIsList PRIVATE
glIsTexture = glIsTexture PRIVATE
glLightf = glLightf PRIVATE
glLightfv = glLightfv PRIVATE
glLighti = glLighti PRIVATE
glLightiv = glLightiv PRIVATE
glLightModelf = glLightModelf PRIVATE
glLightModelfv = glLightModelfv PRIVATE
glLightModeli = glLightModeli PRIVATE
glLightModeliv = glLightModeliv PRIVATE
glLineStipple = glLineStipple PRIVATE
glLineWidth = glLineWidth PRIVATE
glListBase = glListBase PRIVATE
glLoadIdentity = glLoadIdentity PRIVATE
glLoadMatrixd = glLoadMatrixd PRIVATE
glLoadMatrixf = glLoadMatrixf PRIVATE
glLoadName = glLoadName PRIVATE
glLogicOp = glLogicOp PRIVATE
glMap1d = glMap1d PRIVATE
glMap1f = glMap1f PRIVATE
glMap2d = glMap2d PRIVATE
glMap2f = glMap2f PRIVATE
glMapGrid1d = glMapGrid1d PRIVATE
glMapGrid1f = glMapGrid1f PRIVATE
glMapGrid2d = glMapGrid2d PRIVATE
glMapGrid2f = glMapGrid2f PRIVATE
glMaterialf = glMaterialf PRIVATE
glMaterialfv = glMaterialfv PRIVATE
glMateriali = glMateriali PRIVATE
glMaterialiv = glMaterialiv PRIVATE
glMatrixMode = glMatrixMode PRIVATE
;GlmfBeginGlsBlock = GlmfBeginGlsBlock ????
;GlmfCloseMetaFile = GlmfCloseMetaFile ????
;GlmfEndGlsBlock = GlmfEndGlsBlock ????
;GlmfEndPlayback = GlmfEndPlayback ????
;GlmfInitPlayback = GlmfInitPlayback ????
;GlmfPlayGlsRecord = GlmfPlayGlsRecord ????
glMultMatrixd = glMultMatrixd PRIVATE
glMultMatrixf = glMultMatrixf PRIVATE
glNewList = glNewList PRIVATE
glNormal3b = glNormal3b PRIVATE
glNormal3bv = glNormal3bv PRIVATE
glNormal3d = glNormal3d PRIVATE
glNormal3dv = glNormal3dv PRIVATE
glNormal3f = glNormal3f PRIVATE
glNormal3fv = glNormal3fv PRIVATE
glNormal3i = glNormal3i PRIVATE
glNormal3iv = glNormal3iv PRIVATE
glNormal3s = glNormal3s PRIVATE
glNormal3sv = glNormal3sv PRIVATE
glNormalPointer = glNormalPointer PRIVATE
glOrtho = glOrtho PRIVATE
glPassThrough = glPassThrough PRIVATE
glPixelMapfv = glPixelMapfv PRIVATE
glPixelMapuiv = glPixelMapuiv PRIVATE
glPixelMapusv = glPixelMapusv PRIVATE
glPixelStoref = glPixelStoref PRIVATE
glPixelStorei = glPixelStorei PRIVATE
glPixelTransferf = glPixelTransferf PRIVATE
glPixelTransferi = glPixelTransferi PRIVATE
glPixelZoom = glPixelZoom PRIVATE
glPointSize = glPointSize PRIVATE
glPolygonMode = glPolygonMode PRIVATE
glPolygonOffset = glPolygonOffset PRIVATE
glPolygonStipple = glPolygonStipple PRIVATE
glPopAttrib = glPopAttrib PRIVATE
glPopClientAttrib = glPopClientAttrib PRIVATE
glPopMatrix = glPopMatrix PRIVATE
glPopName = glPopName PRIVATE
glPrioritizeTextures = glPrioritizeTextures PRIVATE
glPushAttrib = glPushAttrib PRIVATE
glPushClientAttrib = glPushClientAttrib PRIVATE
glPushMatrix = glPushMatrix PRIVATE
glPushName = glPushName PRIVATE
glRasterPos2d = glRasterPos2d PRIVATE
glRasterPos2dv = glRasterPos2dv PRIVATE
glRasterPos2f = glRasterPos2f PRIVATE
glRasterPos2fv = glRasterPos2fv PRIVATE
glRasterPos2i = glRasterPos2i PRIVATE
glRasterPos2iv = glRasterPos2iv PRIVATE
glRasterPos2s = glRasterPos2s PRIVATE
glRasterPos2sv = glRasterPos2sv PRIVATE
glRasterPos3d = glRasterPos3d PRIVATE
glRasterPos3dv = glRasterPos3dv PRIVATE
glRasterPos3f = glRasterPos3f PRIVATE
glRasterPos3fv = glRasterPos3fv PRIVATE
glRasterPos3i = glRasterPos3i PRIVATE
glRasterPos3iv = glRasterPos3iv PRIVATE
glRasterPos3s = glRasterPos3s PRIVATE
glRasterPos3sv = glRasterPos3sv PRIVATE
glRasterPos4d = glRasterPos4d PRIVATE
glRasterPos4dv = glRasterPos4dv PRIVATE
glRasterPos4f = glRasterPos4f PRIVATE
glRasterPos4fv = glRasterPos4fv PRIVATE
glRasterPos4i = glRasterPos4i PRIVATE
glRasterPos4iv = glRasterPos4iv PRIVATE
glRasterPos4s = glRasterPos4s PRIVATE
glRasterPos4sv = glRasterPos4sv PRIVATE
glReadBuffer = glReadBuffer PRIVATE
glReadPixels = glReadPixels PRIVATE
glRectd = glRectd PRIVATE
glRectdv = glRectdv PRIVATE
glRectf = glRectf PRIVATE
glRectfv = glRectfv PRIVATE
glRecti = glRecti PRIVATE
glRectiv = glRectiv PRIVATE
glRects = glRects PRIVATE
glRectsv = glRectsv PRIVATE
glRenderMode = glRenderMode PRIVATE
glRotated = glRotated PRIVATE
glRotatef = glRotatef PRIVATE
glScaled = glScaled PRIVATE
glScalef = glScalef PRIVATE
glScissor = glScissor PRIVATE
glSelectBuffer = glSelectBuffer PRIVATE
glShadeModel = glShadeModel PRIVATE
glStencilFunc = glStencilFunc PRIVATE
glStencilMask = glStencilMask PRIVATE
glStencilOp = glStencilOp PRIVATE
glTexCoord1d = glTexCoord1d PRIVATE
glTexCoord1dv = glTexCoord1dv PRIVATE
glTexCoord1f = glTexCoord1f PRIVATE
glTexCoord1fv = glTexCoord1fv PRIVATE
glTexCoord1i = glTexCoord1i PRIVATE
glTexCoord1iv = glTexCoord1iv PRIVATE
glTexCoord1s = glTexCoord1s PRIVATE
glTexCoord1sv = glTexCoord1sv PRIVATE
glTexCoord2d = glTexCoord2d PRIVATE
glTexCoord2dv = glTexCoord2dv PRIVATE
glTexCoord2f = glTexCoord2f PRIVATE
glTexCoord2fv = glTexCoord2fv PRIVATE
glTexCoord2i = glTexCoord2i PRIVATE
glTexCoord2iv = glTexCoord2iv PRIVATE
glTexCoord2s = glTexCoord2s PRIVATE
glTexCoord2sv = glTexCoord2sv PRIVATE
glTexCoord3d = glTexCoord3d PRIVATE
glTexCoord3dv = glTexCoord3dv PRIVATE
glTexCoord3f = glTexCoord3f PRIVATE
glTexCoord3fv = glTexCoord3fv PRIVATE
glTexCoord3i = glTexCoord3i PRIVATE
glTexCoord3iv = glTexCoord3iv PRIVATE
glTexCoord3s = glTexCoord3s PRIVATE
glTexCoord3sv = glTexCoord3sv PRIVATE
glTexCoord4d = glTexCoord4d PRIVATE
glTexCoord4dv = glTexCoord4dv PRIVATE
glTexCoord4f = glTexCoord4f PRIVATE
glTexCoord4fv = glTexCoord4fv PRIVATE
glTexCoord4i = glTexCoord4i PRIVATE
glTexCoord4iv = glTexCoord4iv PRIVATE
glTexCoord4s = glTexCoord4s PRIVATE
glTexCoord4sv = glTexCoord4sv PRIVATE
glTexCoordPointer = glTexCoordPointer PRIVATE
glTexEnvf = glTexEnvf PRIVATE
glTexEnvfv = glTexEnvfv PRIVATE
glTexEnvi = glTexEnvi PRIVATE
glTexEnviv = glTexEnviv PRIVATE
glTexGend = glTexGend PRIVATE
glTexGendv = glTexGendv PRIVATE
glTexGenf = glTexGenf PRIVATE
glTexGenfv = glTexGenfv PRIVATE
glTexGeni = glTexGeni PRIVATE
glTexGeniv = glTexGeniv PRIVATE
glTexImage1D = glTexImage1D PRIVATE
glTexImage2D = glTexImage2D PRIVATE
glTexParameterf = glTexParameterf PRIVATE
glTexParameterfv = glTexParameterfv PRIVATE
glTexParameteri = glTexParameteri PRIVATE
glTexParameteriv = glTexParameteriv PRIVATE
glTexSubImage1D = glTexSubImage1D PRIVATE
glTexSubImage2D = glTexSubImage2D PRIVATE
glTranslated = glTranslated PRIVATE
glTranslatef = glTranslatef PRIVATE
glVertex2d = glVertex2d PRIVATE
glVertex2dv = glVertex2dv PRIVATE
glVertex2f = glVertex2f PRIVATE
glVertex2fv = glVertex2fv PRIVATE
glVertex2i = glVertex2i PRIVATE
glVertex2iv = glVertex2iv PRIVATE
glVertex2s = glVertex2s PRIVATE
glVertex2sv = glVertex2sv PRIVATE
glVertex3d = glVertex3d PRIVATE
glVertex3dv = glVertex3dv PRIVATE
glVertex3f = glVertex3f PRIVATE
glVertex3fv = glVertex3fv PRIVATE
glVertex3i = glVertex3i PRIVATE
glVertex3iv = glVertex3iv PRIVATE
glVertex3s = glVertex3s PRIVATE
glVertex3sv = glVertex3sv PRIVATE
glVertex4d = glVertex4d PRIVATE
glVertex4dv = glVertex4dv PRIVATE
glVertex4f = glVertex4f PRIVATE
glVertex4fv = glVertex4fv PRIVATE
glVertex4i = glVertex4i PRIVATE
glVertex4iv = glVertex4iv PRIVATE
glVertex4s = glVertex4s PRIVATE
glVertex4sv = glVertex4sv PRIVATE
glVertexPointer = glVertexPointer PRIVATE
glViewport = glViewport PRIVATE
;;wglChoosePixelFormat = wglChoosePixelFormat
wglCopyContext = wglCopyContext
wglCreateContext = wglCreateContext
wglCreateLayerContext = wglCreateLayerContext
wglDeleteContext = wglDeleteContext
wglDescribePixelFormat = wglDescribePixelFormat
wglGetCurrentContext = wglGetCurrentContext
wglGetCurrentDC = wglGetCurrentDC
wglGetPixelFormat = wglGetPixelFormat
wglGetProcAddress = wglGetProcAddress
wglSetPixelFormat = wglSetPixelFormat
wglSwapLayerBuffers = wglSwapLayerBuffers
wglSwapMultipleBuffers = wglSwapMultipleBuffers
;;wglUseFontBitmapsA = wglUseFontBitmapsA PRIVATE
;;wglUseFontBitmapsW = wglUseFontBitmapsW PRIVATE
;;wglUseFontOutlinesA = wglUseFontOutlinesA PRIVATE
;;wglUseFontOutlinesW = wglUseFontOutlinesW PRIVATE
wglMakeCurrent = wglMakeCurrent
wglShareLists = wglShareLists
wglSwapBuffers = wglSwapBuffers
SwapBuffers = SwapBuffers
;wglDescribeLayerPlane = wglDescribeLayerPlane
;wglGetDefaultProcAddress = wglGetDefaultProcAddress ?????
;wglGetLayerPaletteEntries = wglGetLayerPaletteEntries
;wglRealizeLayerPalette = wglRealizeLayerPalette
;wglSetLayerPaletteEntries = wglSetLayerPaletteEntries
DI8_GetDeviceState_Override = IDirectInputDevice8_GetDeviceState_Detour PRIVATE
XInputGetState9_1_0_Override = XInputGetState9_1_0_Detour PRIVATE
XInputGetState1_3_Override = XInputGetState1_3_Detour PRIVATE
XInputGetState1_4_Override = XInputGetState1_4_Detour PRIVATE
RegisterRawInputDevices_Override = RegisterRawInputDevices_Detour PRIVATE
GetRawInputData_Override = GetRawInputData_Detour PRIVATE
HidP_GetData_Override = HidP_GetData_Detour PRIVATE
SK_Input_GetDI8Keyboard = SK_Input_GetDI8Keyboard
SK_Input_GetDI8Mouse = SK_Input_GetDI8Mouse
SK_XInput_PollController = SK_XInput_PollController
SK_ImGui_ToggleEx = SK_ImGui_ToggleEx
; Not in import lib because of C++ object in params
SK_DrawExternalOSD = SK_DrawExternalOSD PRIVATE
SK_SetPresentParamsD3D9 = SK_SetPresentParamsD3D9 PRIVATE
SK_ImGui_DrawFrame = SK_ImGui_DrawFrame PRIVATE
SK_ImGui_Toggle = SK_ImGui_Toggle
SK_ImGui_DrawEULA = SK_ImGui_DrawEULA
SK_BeginBufferSwap = SK_BeginBufferSwap
SK_EndBufferSwap = SK_EndBufferSwap
SK_GetDLL = SK_GetDLL
SK_GetDLLRole = SK_GetDLLRole
; First new symbol to use the new name for this project
SK_SetPluginName = SK_SetPluginName PRIVATE
SK_SetOSDColor = SK_SetOSDColor
SK_SetOSDPos = SK_SetOSDPos
SK_SetOSDScale = SK_SetOSDScale
SK_ResizeOSD = SK_ResizeOSD
SK_GetCommandProcessor = SK_GetCommandProcessor
SK_GetFramesDrawn = SK_GetFramesDrawn_NonInline
SK_DetourWindowProc = SK_DetourWindowProc PRIVATE
SK_DetourWindowProc2 = SK_DetourWindowProc2 PRIVATE
SK_GetCursorPos = GetCursorPos_Detour PRIVATE
SK_GetCursorInfo = GetCursorInfo_Detour PRIVATE
SK_GetGameWindow = SK_GetGameWindow
SK_PluginKeyPress = SK_PluginKeyPress
SK_PlugIn_ControlPanelWidget = SK_PlugIn_ControlPanelWidget PRIVATE
SK_GetConfigPath = SK_GetConfigPath
SK_GetHostPath = SK_GetHostPath
SK_GetHostApp = SK_GetHostApp
SK_GetFullyQualifiedApp = SK_GetFullyQualifiedApp
SK_CreateLog = SK_CreateLog
SK_CreateINI = SK_CreateINI
SK_CreateVar = SK_CreateVar
SK_CreateDirectories = SK_CreateDirectories
SK_IsConsoleVisible = SK_IsConsoleVisible
SK_SelfDestruct = SK_SelfDestruct PRIVATE
SK_FetchVersionInfo = SK_FetchVersionInfo PRIVATE
SK_UpdateSoftware = SK_UpdateSoftware PRIVATE
SK_FetchVersionInfo1 = SK_FetchVersionInfo1 PRIVATE
SK_UpdateSoftware1 = SK_UpdateSoftware1 PRIVATE
; Old names (deprecated, but maintaind for legacy compat.)
SK_GetFileCRC32 = SK_File_GetCRC32
SK_GetFileCRC32C = SK_File_GetCRC32C
SK_GetFileHash_32 = SK_File_GetHash_32
QueryPerformanceCounter_Detour = QueryPerformanceCounter_Detour PRIVATE
Sleep_Detour = Sleep_Detour PRIVATE
GetAsyncKeyState_Detour = GetAsyncKeyState_Detour PRIVATE
GetRawInputData_Detour = GetRawInputData_Detour PRIVATE
SK_NvAPI_IsInit = SK_NvAPI_IsInit
SK_NvAPI_SetAntiAliasingOverride = SK_NvAPI_SetAntiAliasingOverride
SK_NvAPI_SetFramerateLimit = SK_NvAPI_SetFramerateLimit
SK_NvAPI_SetAppFriendlyName = SK_NvAPI_SetAppFriendlyName
SK_NvAPI_SetAppName = SK_NvAPI_SetAppName
SK_NvAPI_SetLauncher = SK_NvAPI_SetLauncher
SK_NvAPI_AddLauncherToProf = SK_NvAPI_AddLauncherToProf
SK_CreateFuncHook = SK_CreateFuncHook
SK_CreateDLLHook = SK_CreateDLLHook
SK_CreateDLLHook2 = SK_CreateDLLHook2
SK_CreateVFTableHook = SK_CreateVFTableHook
SK_CreateVFTableHook2 = SK_CreateVFTableHook2
SK_ApplyQueuedHooks = SK_ApplyQueuedHooks
SK_EnableHook = SK_EnableHook
SK_DisableHook = SK_DisableHook
SK_RemoveHook = SK_RemoveHook
SK_GPU_GetClockRateInkHz = SK_GPU_GetClockRateInkHz
SK_GPU_GetMemClockRateInkHz = SK_GPU_GetMemClockRateInkHz
SK_GPU_GetMemoryBandwidth = SK_GPU_GetMemoryBandwidth
SK_GPU_GetMemoryLoad = SK_GPU_GetMemoryLoad
SK_GPU_GetGPULoad = SK_GPU_GetGPULoad
SK_GPU_GetTempInC = SK_GPU_GetTempInC
SK_GPU_GetFanSpeedRPM = SK_GPU_GetFanSpeedRPM
SK_GPU_GetVRAMUsed = SK_GPU_GetVRAMUsed
SK_GPU_GetVRAMShared = SK_GPU_GetVRAMShared
SK_GPU_GetVRAMBudget = SK_GPU_GetVRAMBudget
SK_SteamAPI_TakeScreenshot = SK_SteamAPI_TakeScreenshot
SK_SteamAPI_WriteScreenshot = SK_SteamAPI_WriteScreenshot
SK_SteamAPI_AddScreenshotToLibrary = SK_SteamAPI_AddScreenshotToLibrary
SK_Steam_PiratesAhoy = SK_Steam_PiratesAhoy2 PRIVATE
SK_DXTex_GetMetadataFromDDSFile = GetMetadataFromDDSFile PRIVATE
SK_DXTex_LoadFromDDSFile = LoadFromDDSFile PRIVATE
SK_DXTex_CreateTexture = SK_DXTex_CreateTexture PRIVATE
SK_Render_GetDevice = SK_Render_GetDevice PRIVATE
SK_WinRing0_Install = SK_WinRing0_Install PRIVATE
SK_WinRing0_Uninstall = SK_WinRing0_Uninstall PRIVATE
;
; Exposing stuff in the 400 range is so-so design wise, but the
; ordinals below are all reserved for stuff that needs a proper
; redesign. TRY NOT TO USE THESE!
;
SK_SteamAPI_SetOverlayState = SK_SteamAPI_SetOverlayState
SKX_DrawExternalOSD = SKX_DrawExternalOSD ; No more C++ string across DLL boundaries
SKX_SetPluginName = SKX_SetPluginName ; No more C++ string across DLL boundaries
RunDLL_ElevateMe = RunDLL_ElevateMe PRIVATE
RunDLL_RestartGame = RunDLL_RestartGame PRIVATE
RunDLL_InjectionManager = RunDLL_InjectionManager PRIVATE
RunDLL_WinRing0 = RunDLL_WinRing0 PRIVATE
RunDLL_DisableGFEForSKIF = RunDLL_DisableGFEForSKIF PRIVATE
RunDLL_RestartNVIDIADriver = RunDLL_RestartNVIDIADriver PRIVATE
RunDLL_NvAPI_SetDWORD = RunDLL_NvAPI_SetDWORD PRIVATE
SKX_InstallCBTHook = SKX_InstallCBTHook
SKX_RemoveCBTHook = SKX_RemoveCBTHook
SKX_IsHookingCBT = SKX_IsHookingCBT
SKX_GetInjectedPIDs = SKX_GetInjectedPIDs
SK_Inject_GetRecord = SK_Inject_GetRecord
SK_Inject_AuditRecord = SK_Inject_AuditRecord
__SK_InjectionHistory = __SK_InjectionHistory DATA
SECTIONS
.SK_Hooks READ WRITE SHARED
.SK_DXGI_Hooks READ WRITE SHARED
.SK_D3D11_Hooks READ WRITE SHARED
.SK_D3D9_Hooks READ WRITE SHARED