-
Notifications
You must be signed in to change notification settings - Fork 118
/
functions.json
6786 lines (6786 loc) · 437 KB
/
functions.json
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
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
{
"AbortPath": {
"prototype": "BOOL AbortPath(\n HDC hdc\n);",
"dllLibrary": "gdi32",
"comment": "The AbortPath function closes and discards any paths in the specified device context."
},
"AbortPrinter": {
"prototype": "BOOL AbortPrinter(\n _In_ HANDLE hPrinter\n);",
"dllLibrary": "spoolss",
"comment": "The AbortPrinter function deletes a printer's spool file if the printer is configured for spooling.",
"category": "winspool"
},
"accept": {
"prototype": "SOCKET WSAAPI accept(\n SOCKET s,\n sockaddr *addr,\n int *addrlen\n);",
"dllLibrary": "ws2_32",
"comment": "The accept function permits an incoming connection attempt on a socket.",
"category": "winsock",
"minimumWindowsVersion": "WIN81"
},
"ActivateActCtx": {
"prototype": "BOOL ActivateActCtx(\n HANDLE hActCtx,\n ULONG_PTR *lpCookie\n);",
"dllLibrary": "kernel32",
"comment": "The ActivateActCtx function activates the specified activation context. It does this by pushing the specified activation context to the top of the activation stack. The specified activation context is thus associated with the current thread and any appropriate side-by-side API functions."
},
"ActivateKeyboardLayout": {
"prototype": "HKL ActivateKeyboardLayout(\n HKL hkl,\n UINT Flags\n);",
"dllLibrary": "user32",
"comment": "Sets the input locale identifier (formerly called the keyboard layout handle) for the calling thread or the current process. The input locale identifier specifies a locale as well as the physical layout of the keyboard."
},
"AddClipboardFormatListener": {
"prototype": "BOOL AddClipboardFormatListener(\n HWND hwnd\n);",
"dllLibrary": "user32",
"comment": "Places the given window in the system-maintained clipboard format listener list."
},
"AddDllDirectory": {
"prototype": "DLL_DIRECTORY_COOKIE AddDllDirectory(\n [in] PCWSTR NewDirectory\n);",
"dllLibrary": "kernel32",
"comment": "Adds a directory to the process DLL search path."
},
"AddFontResource": {
"prototype": "int AddFontResourceW(\n LPCWSTR Arg1\n);",
"dllLibrary": "gdi32",
"comment": "The AddFontResource function adds the font resource from the specified file to the system font table. The font can subsequently be used for text output by any application."
},
"AddFontResourceEx": {
"prototype": "int AddFontResourceExW(\n LPCWSTR name,\n DWORD fl,\n PVOID res\n);",
"dllLibrary": "gdi32",
"comment": "The AddFontResourceEx function adds the font resource from the specified file to the system. Fonts added with the AddFontResourceEx function can be marked as private and not enumerable."
},
"AddForm": {
"prototype": "BOOL AddFormW(\n _In_ HANDLE hPrinter,\n _In_ DWORD Level,\n _In_ LPBYTE pForm\n);",
"dllLibrary": "spoolss",
"comment": "The AddForm function adds a form to the list of available forms that can be selected for the specified printer.",
"category": "winspool"
},
"AddJob": {
"prototype": "BOOL AddJobW(\n _In_ HANDLE hPrinter,\n _In_ DWORD Level,\n _Out_ LPBYTE pData,\n _In_ DWORD cbBuf,\n _Out_ LPDWORD pcbNeeded\n);",
"dllLibrary": "winspool",
"comment": "The AddJob function adds a print job to the list of print jobs that can be scheduled by the print spooler. The function retrieves the name of the file you can use to store the job."
},
"AddPrinter": {
"prototype": "HANDLE AddPrinterW(\n _In_ LPWSTR pName,\n _In_ DWORD Level,\n _In_ LPBYTE pPrinter\n);",
"dllLibrary": "winspool",
"comment": "The AddPrinter function adds a printer to the list of supported printers for a specified server."
},
"AddPrinterConnection": {
"prototype": "BOOL AddPrinterConnectionW(\n _In_ LPWSTR pName\n);",
"dllLibrary": "winspool",
"comment": "The AddPrinterConnection function adds a connection to the specified printer for the current user."
},
"AddPrinterConnection2": {
"prototype": "BOOL AddPrinterConnection2W(\n _In_ HWND hWnd,\n _In_ LPCWSTR pszName,\n DWORD dwLevel,\n _In_ PVOID pConnectionInfo\n);",
"dllLibrary": "winspool",
"comment": "Adds a connection to the specified printer for the current user and specifies connection details."
},
"AddRefActCtx": {
"prototype": "void AddRefActCtx(\n HANDLE hActCtx\n);",
"dllLibrary": "kernel32",
"comment": "The AddRefActCtx function increments the reference count of the specified activation context."
},
"AdjustWindowRect": {
"prototype": "BOOL AdjustWindowRect(\n LPRECT lpRect,\n DWORD dwStyle,\n BOOL bMenu\n);",
"dllLibrary": "user32",
"comment": "Calculates the required size of the window rectangle, based on the desired client-rectangle size. The window rectangle can then be passed to the CreateWindow function to create a window whose client area is the desired size."
},
"AdjustWindowRectEx": {
"prototype": "BOOL AdjustWindowRectEx(\n LPRECT lpRect,\n DWORD dwStyle,\n BOOL bMenu,\n DWORD dwExStyle\n);",
"dllLibrary": "user32",
"comment": "Calculates the required size of the window rectangle, based on the desired size of the client rectangle. The window rectangle can then be passed to the CreateWindowEx function to create a window whose client area is the desired size."
},
"AdjustWindowRectExForDpi": {
"prototype": "BOOL AdjustWindowRectExForDpi(\n LPRECT lpRect,\n DWORD dwStyle,\n BOOL bMenu,\n DWORD dwExStyle,\n UINT dpi\n);",
"dllLibrary": "user32",
"comment": "Calculates the required size of the window rectangle, based on the desired size of the client rectangle and the provided DPI. This window rectangle can then be passed to the CreateWindowEx function to create a window with a client area of the desired size.",
"minimumWindowsVersion": "WIN10_RS1"
},
"AdvancedDocumentProperties": {
"prototype": "LONG AdvancedDocumentPropertiesW(\n _In_ HWND hWnd,\n _In_ HANDLE hPrinter,\n _In_ LPWSTR pDeviceName,\n _Out_ PDEVMODE pDevModeOutput,\n _In_ PDEVMODE pDevModeInput\n);",
"dllLibrary": "winspool",
"comment": "The AdvancedDocumentProperties function displays a printer-configuration dialog box for the specified printer, allowing the user to configure that printer."
},
"AllocConsole": {
"prototype": "BOOL WINAPI AllocConsole(void);",
"dllLibrary": "kernel32",
"comment": "Allocates a new console for the calling process."
},
"AllowSetForegroundWindow": {
"prototype": "BOOL AllowSetForegroundWindow(\n DWORD dwProcessId\n);",
"dllLibrary": "user32",
"comment": "Enables the specified process to set the foreground window using the SetForegroundWindow function. The calling process must already be able to set the foreground window."
},
"AngleArc": {
"prototype": "BOOL AngleArc(\n HDC hdc,\n int x,\n int y,\n DWORD r,\n FLOAT StartAngle,\n FLOAT SweepAngle\n);",
"dllLibrary": "gdi32",
"comment": "The AngleArc function draws a line segment and an arc. The line segment is drawn from the current position to the beginning of the arc. The arc is drawn along the perimeter of a circle with the given radius and center. The length of the arc is defined by the given start and sweep angles."
},
"AnimatePalette": {
"prototype": "BOOL AnimatePalette(\n HPALETTE hPal,\n UINT iStartIndex,\n UINT cEntries,\n const PALETTEENTRY *ppe\n);",
"dllLibrary": "gdi32",
"comment": "The AnimatePalette function replaces entries in the specified logical palette."
},
"AnimateWindow": {
"prototype": "BOOL AnimateWindow(\n HWND hWnd,\n DWORD dwTime,\n DWORD dwFlags\n);",
"dllLibrary": "user32",
"comment": "Enables you to produce special effects when showing or hiding windows. There are four types of animation: roll, slide, collapse or expand, and alpha-blended fade."
},
"AnyPopup": {
"prototype": "BOOL AnyPopup();",
"dllLibrary": "user32",
"comment": "Indicates whether an owned, visible, top-level pop-up, or overlapped window exists on the screen. The function searches the entire screen, not just the calling application's client area."
},
"AppendMenu": {
"prototype": "BOOL AppendMenuW(\n HMENU hMenu,\n UINT uFlags,\n UINT_PTR uIDNewItem,\n LPCWSTR lpNewItem\n);",
"dllLibrary": "user32",
"comment": "Appends a new item to the end of the specified menu bar, drop-down menu, submenu, or shortcut menu. You can use this function to specify the content, appearance, and behavior of the menu item."
},
"Arc": {
"prototype": "BOOL Arc(\n HDC hdc,\n int x1,\n int y1,\n int x2,\n int y2,\n int x3,\n int y3,\n int x4,\n int y4\n);",
"dllLibrary": "gdi32",
"comment": "The Arc function draws an elliptical arc."
},
"ArcTo": {
"prototype": "BOOL ArcTo(\n HDC hdc,\n int left,\n int top,\n int right,\n int bottom,\n int xr1,\n int yr1,\n int xr2,\n int yr2\n);",
"dllLibrary": "gdi32",
"comment": "The ArcTo function draws an elliptical arc."
},
"AreDpiAwarenessContextsEqual": {
"prototype": "BOOL AreDpiAwarenessContextsEqual(\n DPI_AWARENESS_CONTEXT dpiContextA,\n DPI_AWARENESS_CONTEXT dpiContextB\n);",
"dllLibrary": "user32",
"comment": "Determines whether two DPI_AWARENESS_CONTEXT values are identical.",
"minimumWindowsVersion": "WIN10_RS1"
},
"ArrangeIconicWindows": {
"prototype": "UINT ArrangeIconicWindows(\n HWND hWnd\n);",
"dllLibrary": "user32",
"comment": "Arranges all the minimized (iconic) child windows of the specified parent window."
},
"AttachConsole": {
"prototype": "BOOL WINAPI AttachConsole(\n _In_ DWORD dwProcessId\n);",
"dllLibrary": "kernel32",
"comment": "Attaches the calling process to the console of the specified process."
},
"AttachThreadInput": {
"prototype": "BOOL AttachThreadInput(\n DWORD idAttach,\n DWORD idAttachTo,\n BOOL fAttach\n);",
"dllLibrary": "user32",
"comment": "Attaches or detaches the input processing mechanism of one thread to that of another thread."
},
"Beep": {
"prototype": "BOOL Beep(\n DWORD dwFreq,\n DWORD dwDuration\n);",
"dllLibrary": "kernel32",
"comment": "Generates simple tones on the speaker. The function is synchronous; it performs an alertable wait and does not return control to its caller until the sound finishes."
},
"BeginDeferWindowPos": {
"prototype": "HDWP BeginDeferWindowPos(\n int nNumWindows\n);",
"dllLibrary": "user32",
"comment": "Allocates memory for a multiple-window- position structure and returns the handle to the structure."
},
"BeginPaint": {
"prototype": "HDC BeginPaint(\n HWND hWnd,\n LPPAINTSTRUCT lpPaint\n);",
"dllLibrary": "user32",
"comment": "The BeginPaint function prepares the specified window for painting and fills a PAINTSTRUCT structure with information about the painting."
},
"BeginPath": {
"prototype": "BOOL BeginPath(\n HDC hdc\n);",
"dllLibrary": "gdi32",
"comment": "The BeginPath function opens a path bracket in the specified device context."
},
"BeginUpdateResource": {
"prototype": "HANDLE BeginUpdateResourceW(\n LPCWSTR pFileName,\n BOOL bDeleteExistingResources\n);",
"dllLibrary": "kernel32",
"comment": "Retrieves a handle that can be used by the UpdateResource function to add, delete, or replace resources in a binary module."
},
"bind": {
"prototype": "int WSAAPI bind(\n SOCKET s,\n const sockaddr *name,\n int namelen\n);",
"dllLibrary": "ws2_32",
"comment": "The bind function associates a local address with a socket.",
"category": "winsock",
"minimumWindowsVersion": "WIN81"
},
"BitBlt": {
"prototype": "BOOL BitBlt(\n HDC hdc,\n int x,\n int y,\n int cx,\n int cy,\n HDC hdcSrc,\n int x1,\n int y1,\n DWORD rop\n);",
"dllLibrary": "gdi32",
"comment": "The BitBlt function performs a bit-block transfer of the color data corresponding to a rectangle of pixels from the specified source device context into a destination device context."
},
"BlockInput": {
"prototype": "BOOL BlockInput(\n BOOL fBlockIt);",
"dllLibrary": "user32",
"comment": "Blocks keyboard and mouse input events from reaching applications."
},
"BluetoothAuthenticateDeviceEx": {
"prototype": "DWORD BluetoothAuthenticateDeviceEx(\n HWND hwndParentIn,\n HANDLE hRadioIn,\n BLUETOOTH_DEVICE_INFO *pbtdiInout,\n PBLUETOOTH_OOB_DATA_INFO pbtOobData,\n AUTHENTICATION_REQUIREMENTS authenticationRequirement\n);",
"dllLibrary": "bthprops",
"comment": "The BluetoothAuthenticateDeviceEx function sends an authentication request to a remote Bluetooth device. Additionally, this function allows for out-of-band data to be passed into the function call for the device being authenticated."
},
"BluetoothDisplayDeviceProperties": {
"prototype": "BOOL BluetoothDisplayDeviceProperties(\n HWND hwndParent,\n BLUETOOTH_DEVICE_INFO *pbtdi\n);",
"dllLibrary": "bthprops",
"comment": "The BluetoothDisplayDeviceProperties function opens the Control Panel device information property sheet.",
"category": "bluetooth"
},
"BluetoothEnableDiscovery": {
"prototype": "BOOL BluetoothEnableDiscovery(\n HANDLE hRadio,\n BOOL fEnabled\n);",
"dllLibrary": "bthprops",
"comment": "The BluetoothEnableDiscovery function changes the discovery state of a local Bluetooth radio or radios.",
"category": "bluetooth"
},
"BluetoothEnableIncomingConnections": {
"prototype": "BOOL BluetoothEnableIncomingConnections(\n HANDLE hRadio,\n BOOL fEnabled\n);",
"dllLibrary": "bthprops",
"comment": "The BluetoothEnableIncomingConnections function modifies whether a local Bluetooth radio accepts incoming connections.",
"category": "bluetooth"
},
"BluetoothEnumerateInstalledServices": {
"prototype": "DWORD BluetoothEnumerateInstalledServices(\n HANDLE hRadio,\n const BLUETOOTH_DEVICE_INFO *pbtdi,\n DWORD *pcServiceInout,\n GUID *pGuidServices\n);",
"dllLibrary": "bthprops",
"comment": "The BluetoothEnumerateInstalledServices function enumerates the services GUIDs (Globally Unique Identifiers) enabled on a Bluetooth device.",
"category": "bluetooth"
},
"BluetoothFindDeviceClose": {
"prototype": "BOOL BluetoothFindDeviceClose(\n HBLUETOOTH_DEVICE_FIND hFind\n);",
"dllLibrary": "bthprops",
"comment": "The BluetoothFindDeviceClose function closes an enumeration handle associated with a device query.",
"category": "bluetooth"
},
"BluetoothFindFirstDevice": {
"prototype": "HBLUETOOTH_DEVICE_FIND BluetoothFindFirstDevice(\n const BLUETOOTH_DEVICE_SEARCH_PARAMS *pbtsp,\n BLUETOOTH_DEVICE_INFO *pbtdi\n);",
"dllLibrary": "bthprops",
"comment": "The BluetoothFindFirstDevice function begins the enumeration Bluetooth devices.",
"category": "bluetooth"
},
"BluetoothFindFirstRadio": {
"prototype": "HBLUETOOTH_RADIO_FIND BluetoothFindFirstRadio(\n const BLUETOOTH_FIND_RADIO_PARAMS *pbtfrp,\n HANDLE *phRadio\n);",
"dllLibrary": "bthprops",
"comment": "The BluetoothFindFirstRadio function begins the enumeration of local Bluetooth radios.",
"category": "bluetooth"
},
"BluetoothFindNextDevice": {
"prototype": "BOOL BluetoothFindNextDevice(\n HBLUETOOTH_DEVICE_FIND hFind,\n BLUETOOTH_DEVICE_INFO *pbtdi\n);",
"dllLibrary": "bthprops",
"comment": "The BluetoothFindNextDevice function finds the next Bluetooth device.",
"category": "bluetooth"
},
"BluetoothFindNextRadio": {
"prototype": "BOOL BluetoothFindNextRadio(\n HBLUETOOTH_RADIO_FIND hFind,\n HANDLE *phRadio\n);",
"dllLibrary": "bthprops",
"comment": "The BluetoothFindNextRadio function finds the next Bluetooth radio.",
"category": "bluetooth"
},
"BluetoothFindRadioClose": {
"prototype": "BOOL BluetoothFindRadioClose(\n HBLUETOOTH_RADIO_FIND hFind\n);",
"dllLibrary": "bthprops",
"comment": "The BluetoothFindRadioClose function closes the enumeration handle associated with finding Bluetooth radios.",
"category": "bluetooth"
},
"BluetoothGATTAbortReliableWrite": {
"prototype": "HRESULT BluetoothGATTAbortReliableWrite(\n HANDLE hDevice,\n BTH_LE_GATT_RELIABLE_WRITE_CONTEXT ReliableWriteContext,\n ULONG Flags\n);",
"dllLibrary": "bluetoothapis",
"comment": "Specifies the end of reliable write procedures, and the writes should be aborted.",
"minimumWindowsVersion": "WIN8",
"category": "bluetooth"
},
"BluetoothGATTBeginReliableWrite": {
"prototype": "HRESULT BluetoothGATTBeginReliableWrite(\n HANDLE hDevice,\n PBTH_LE_GATT_RELIABLE_WRITE_CONTEXT ReliableWriteContext,\n ULONG Flags\n);",
"dllLibrary": "bluetoothapis",
"comment": "The BluetoothGATTBeginReliableWrite function specifies that reliable writes are about to begin.",
"minimumWindowsVersion": "WIN8",
"category": "bluetooth"
},
"BluetoothGATTEndReliableWrite": {
"prototype": "HRESULT BluetoothGATTEndReliableWrite(\n HANDLE hDevice,\n BTH_LE_GATT_RELIABLE_WRITE_CONTEXT ReliableWriteContext,\n ULONG Flags\n);",
"dllLibrary": "bluetoothapis",
"comment": "Specifies the end of reliable writes, and the writes should be committed.",
"minimumWindowsVersion": "WIN8",
"category": "bluetooth"
},
"BluetoothGATTGetCharacteristics": {
"prototype": "HRESULT BluetoothGATTGetCharacteristics(\n HANDLE hDevice,\n PBTH_LE_GATT_SERVICE Service,\n USHORT CharacteristicsBufferCount,\n PBTH_LE_GATT_CHARACTERISTIC CharacteristicsBuffer,\n USHORT *CharacteristicsBufferActual,\n ULONG Flags\n);",
"dllLibrary": "bluetoothapis",
"comment": "Gets all the characteristics available for the specified service.",
"minimumWindowsVersion": "WIN8",
"category": "bluetooth"
},
"BluetoothGATTGetCharacteristicValue": {
"prototype": "HRESULT BluetoothGATTGetCharacteristicValue(\n HANDLE hDevice,\n PBTH_LE_GATT_CHARACTERISTIC Characteristic,\n ULONG CharacteristicValueDataSize,\n PBTH_LE_GATT_CHARACTERISTIC_VALUE CharacteristicValue,\n USHORT *CharacteristicValueSizeRequired,\n ULONG Flags\n);",
"dllLibrary": "bluetoothapis",
"comment": "Gets the value of the specified characteristic.",
"minimumWindowsVersion": "WIN8",
"category": "bluetooth"
},
"BluetoothGATTGetDescriptors": {
"prototype": "HRESULT BluetoothGATTGetDescriptors(\n HANDLE hDevice,\n PBTH_LE_GATT_CHARACTERISTIC Characteristic,\n USHORT DescriptorsBufferCount,\n PBTH_LE_GATT_DESCRIPTOR DescriptorsBuffer,\n USHORT *DescriptorsBufferActual,\n ULONG Flags\n);",
"dllLibrary": "bluetoothapis",
"comment": "Gets all the descriptors available for the specified characteristic.",
"minimumWindowsVersion": "WIN8",
"category": "bluetooth"
},
"BluetoothGATTGetDescriptorValue": {
"prototype": "HRESULT BluetoothGATTGetDescriptorValue(\n HANDLE hDevice,\n PBTH_LE_GATT_DESCRIPTOR Descriptor,\n ULONG DescriptorValueDataSize,\n PBTH_LE_GATT_DESCRIPTOR_VALUE DescriptorValue,\n USHORT *DescriptorValueSizeRequired,\n ULONG Flags\n);",
"dllLibrary": "bluetoothapis",
"comment": "Gets the value of the specified descriptor.",
"minimumWindowsVersion": "WIN8",
"category": "bluetooth"
},
"BluetoothGATTGetIncludedServices": {
"prototype": "HRESULT BluetoothGATTGetIncludedServices(\n HANDLE hDevice,\n PBTH_LE_GATT_SERVICE ParentService,\n USHORT IncludedServicesBufferCount,\n PBTH_LE_GATT_SERVICE IncludedServicesBuffer,\n USHORT *IncludedServicesBufferActual,\n ULONG Flags\n);",
"dllLibrary": "bluetoothapis",
"comment": "Gets all the included services available for a given service.",
"minimumWindowsVersion": "WIN8",
"category": "bluetooth"
},
"BluetoothGATTGetServices": {
"prototype": "HRESULT BluetoothGATTGetServices(\n HANDLE hDevice,\n USHORT ServicesBufferCount,\n PBTH_LE_GATT_SERVICE ServicesBuffer,\n USHORT *ServicesBufferActual,\n ULONG Flags\n);",
"dllLibrary": "bluetoothapis",
"comment": "The BluetoothGATTGetServices function gets all the primary services available for a server.",
"minimumWindowsVersion": "WIN8",
"category": "bluetooth"
},
"BluetoothGATTRegisterEvent": {
"prototype": "HRESULT BluetoothGATTRegisterEvent(\n HANDLE hService,\n BTH_LE_GATT_EVENT_TYPE EventType,\n PVOID EventParameterIn,\n PFNBLUETOOTH_GATT_EVENT_CALLBACK Callback,\n PVOID CallbackContext,\n BLUETOOTH_GATT_EVENT_HANDLE *pEventHandle,\n ULONG Flags\n);",
"dllLibrary": "bluetoothapis",
"comment": "Registers a routine to be called back during a characteristic value change event on the given characteristic identified by its characteristic handle.",
"minimumWindowsVersion": "WIN8",
"category": "bluetooth"
},
"BluetoothGATTSetCharacteristicValue": {
"prototype": "HRESULT BluetoothGATTSetCharacteristicValue(\n HANDLE hDevice,\n PBTH_LE_GATT_CHARACTERISTIC Characteristic,\n PBTH_LE_GATT_CHARACTERISTIC_VALUE CharacteristicValue,\n BTH_LE_GATT_RELIABLE_WRITE_CONTEXT ReliableWriteContext,\n ULONG Flags\n);",
"dllLibrary": "bluetoothapis",
"comment": "Writes the specified characteristic value to the Bluetooth device.",
"minimumWindowsVersion": "WIN8",
"category": "bluetooth"
},
"BluetoothGATTSetDescriptorValue": {
"prototype": "HRESULT BluetoothGATTSetDescriptorValue(\n HANDLE hDevice,\n PBTH_LE_GATT_DESCRIPTOR Descriptor,\n PBTH_LE_GATT_DESCRIPTOR_VALUE DescriptorValue,\n ULONG Flags\n);",
"dllLibrary": "bluetoothapis",
"comment": "Writes the specified descriptor value to the Bluetooth device.",
"minimumWindowsVersion": "WIN8",
"category": "bluetooth"
},
"BluetoothGATTUnregisterEvent": {
"prototype": "HRESULT BluetoothGATTUnregisterEvent(\n BLUETOOTH_GATT_EVENT_HANDLE EventHandle,\n ULONG Flags\n);",
"dllLibrary": "bluetoothapis",
"comment": "Unregisters the given characteristic value change event.",
"minimumWindowsVersion": "WIN8",
"category": "bluetooth"
},
"BluetoothGetRadioInfo": {
"prototype": "DWORD BluetoothGetRadioInfo(\n HANDLE hRadio,\n PBLUETOOTH_RADIO_INFO pRadioInfo\n);",
"dllLibrary": "bthprops",
"comment": "The BluetoothGetRadioInfo function obtains information about a Bluetooth radio.",
"category": "bluetooth"
},
"BluetoothIsConnectable": {
"prototype": "BOOL BluetoothIsConnectable(\n HANDLE hRadio\n);",
"dllLibrary": "bthprops",
"comment": "The BluetoothIsConnectable function determines whether a Bluetooth radio or radios is connectable.",
"category": "bluetooth"
},
"BluetoothIsDiscoverable": {
"prototype": "BOOL BluetoothIsDiscoverable(\n HANDLE hRadio\n);",
"dllLibrary": "bthprops",
"comment": "The BluetoothIsDiscoverable function determines whether a Bluetooth radio or radios is discoverable.",
"category": "bluetooth"
},
"BluetoothIsVersionAvailable": {
"prototype": "BOOL BluetoothIsVersionAvailable(\n UCHAR MajorVersion,\n UCHAR MinorVersion\n);",
"dllLibrary": "bthprops",
"comment": "The BluetoothIsVersionAvailable function indicates if the installed Bluetooth binary set supports the requested version.",
"category": "bluetooth"
},
"BluetoothRegisterForAuthenticationEx": {
"prototype": "DWORD BluetoothRegisterForAuthenticationEx(\n const BLUETOOTH_DEVICE_INFO *pbtdiIn,\n HBLUETOOTH_AUTHENTICATION_REGISTRATION *phRegHandleOut,\n PFN_AUTHENTICATION_CALLBACK_EX pfnCallbackIn,\n PVOID pvParam\n);",
"dllLibrary": "bthprops",
"comment": "The BluetoothRegisterForAuthenticationEx function registers an application for a pin request, numeric comparison and callback function.",
"category": "bluetooth"
},
"BluetoothRemoveDevice": {
"prototype": "DWORD BluetoothRemoveDevice(\n const BLUETOOTH_ADDRESS *pAddress\n);",
"dllLibrary": "bthprops",
"comment": "The BluetoothRemoveDevice function removes authentication between a Bluetooth device and the computer and clears cached service information for the device.",
"category": "bluetooth"
},
"BluetoothSetServiceState": {
"prototype": "DWORD BluetoothSetServiceState(\n HANDLE hRadio,\n const BLUETOOTH_DEVICE_INFO *pbtdi,\n const GUID *pGuidService,\n DWORD dwServiceFlags\n);",
"dllLibrary": "bthprops",
"comment": "The BluetoothSetServiceState function enables or disables services for a Bluetooth device.",
"category": "bluetooth"
},
"BluetoothUnregisterAuthentication": {
"prototype": "BOOL BluetoothUnregisterAuthentication(\n HBLUETOOTH_AUTHENTICATION_REGISTRATION hRegHandle\n);",
"dllLibrary": "bthprops",
"comment": "The BluetoothUnregisterAuthentication function removes registration for a callback routine that was previously registered with a call to the BluetoothRegisterForAuthentication function.",
"category": "bluetooth"
},
"BluetoothUpdateDeviceRecord": {
"prototype": "DWORD BluetoothUpdateDeviceRecord(\n const BLUETOOTH_DEVICE_INFO *pbtdi\n);",
"dllLibrary": "bthprops",
"comment": "The BluetoothUpdateDeviceRecord function updates the local computer cache about a Bluetooth device.",
"category": "bluetooth"
},
"BringWindowToTop": {
"prototype": "BOOL BringWindowToTop(\n HWND hWnd\n);",
"dllLibrary": "user32",
"comment": "Brings the specified window to the top of the Z order. If the window is a top-level window, it is activated. If the window is a child window, the top-level parent window associated with the child window is activated."
},
"BroadcastSystemMessage": {
"prototype": "long BroadcastSystemMessageW(\n DWORD flags,\n LPDWORD lpInfo,\n UINT Msg,\n WPARAM wParam,\n LPARAM lParam\n);",
"dllLibrary": "user32",
"comment": "Sends a message to the specified recipients. The recipients can be applications, installable drivers, network drivers, system-level device drivers, or any combination of these system components."
},
"BroadcastSystemMessageEx": {
"prototype": "long BroadcastSystemMessageExW(\n DWORD flags,\n LPDWORD lpInfo,\n UINT Msg,\n WPARAM wParam,\n LPARAM lParam,\n PBSMINFO pbsmInfo\n);",
"dllLibrary": "user32",
"comment": "Sends a message to the specified recipients. The recipients can be applications, installable drivers, network drivers, system-level device drivers, or any combination of these system components."
},
"BuildCommDCB": {
"prototype": "BOOL BuildCommDCBW(\n LPCWSTR lpDef,\n LPDCB lpDCB\n);",
"dllLibrary": "kernel32",
"comment": "Fills a specified DCB structure with values specified in a device-control string. The device-control string uses the syntax of the mode command."
},
"BuildCommDCBAndTimeouts": {
"prototype": "BOOL BuildCommDCBAndTimeoutsW(\n LPCWSTR lpDef,\n LPDCB lpDCB,\n LPCOMMTIMEOUTS lpCommTimeouts\n);",
"dllLibrary": "kernel32",
"comment": "Translates a device-definition string into appropriate device-control block codes and places them into a device control block. The function can also set up time-out values, including the possibility of no time-outs, for a device; the function's behavior in this regard depends on the contents of the device-definition string."
},
"CalculatePopupWindowPosition": {
"prototype": "BOOL CalculatePopupWindowPosition(\n const POINT *anchorPoint,\n const SIZE *windowSize,\n UINT flags,\n RECT *excludeRect,\n RECT *popupWindowPosition\n);",
"dllLibrary": "user32",
"comment": "Calculates an appropriate pop-up window position using the specified anchor point, pop-up window size, flags, and the optional exclude rectangle. When the specified pop-up window size is smaller than the desktop window size, use the CalculatePopupWindowPosition function to ensure that the pop-up window is fully visible on the desktop window, regardless of the specified anchor point."
},
"CallMsgFilter": {
"prototype": "BOOL CallMsgFilterW(\n LPMSG lpMsg,\n int nCode\n);",
"dllLibrary": "user32",
"comment": "Passes the specified message and hook code to the hook procedures associated with the WH_SYSMSGFILTER and WH_MSGFILTER hooks. A WH_SYSMSGFILTER or WH_MSGFILTER hook procedure is an application-defined callback function that examines and, optionally, modifies messages for a dialog box, message box, menu, or scroll bar."
},
"CallNamedPipe": {
"prototype": "BOOL CallNamedPipeW(\n LPCWSTR lpNamedPipeName,\n LPVOID lpInBuffer,\n DWORD nInBufferSize,\n LPVOID lpOutBuffer,\n DWORD nOutBufferSize,\n LPDWORD lpBytesRead,\n DWORD nTimeOut\n);",
"dllLibrary": "kernel32",
"comment": "Connects to a message-type pipe (and waits if an instance of the pipe is not available), writes to and reads from the pipe, and then closes the pipe."
},
"CallNextHookEx": {
"prototype": "LRESULT CallNextHookEx(\n HHOOK hhk,\n int nCode,\n WPARAM wParam,\n LPARAM lParam\n);",
"dllLibrary": "user32",
"comment": "Passes the hook information to the next hook procedure in the current hook chain. A hook procedure can call this function either before or after processing the hook information."
},
"CallNtPowerInformation": {
"prototype": "NTSTATUS CallNtPowerInformation(\n POWER_INFORMATION_LEVEL InformationLevel,\n PVOID InputBuffer,\n ULONG InputBufferLength,\n PVOID OutputBuffer,\n ULONG OutputBufferLength\n);",
"dllLibrary": "powrprof",
"comment": "Sets or retrieves power information."
},
"CallWindowProc": {
"prototype": "LRESULT CallWindowProcW(\n WNDPROC lpPrevWndFunc,\n HWND hWnd,\n UINT Msg,\n WPARAM wParam,\n LPARAM lParam\n);",
"dllLibrary": "user32",
"comment": "Passes message information to the specified window procedure."
},
"CancelDC": {
"prototype": "BOOL CancelDC(\n HDC hdc\n);",
"dllLibrary": "gdi32",
"comment": "The CancelDC function cancels any pending operation on the specified device context (DC)."
},
"CancelIo": {
"prototype": "BOOL CancelIo(\n HANDLE hFile\n);",
"dllLibrary": "kernel32",
"comment": "Cancels all pending input and output (I/O) operations that are issued by the calling thread for the specified file. The function does not cancel I/O operations that other threads issue for a file handle."
},
"CancelIoEx": {
"prototype": "BOOL CancelIoEx(\n HANDLE hFile,\n LPOVERLAPPED lpOverlapped\n);",
"dllLibrary": "kernel32",
"comment": "Marks any outstanding I/O operations for the specified file handle. The function only cancels I/O operations in the current process, regardless of which thread created the I/O operation."
},
"CancelSynchronousIo": {
"prototype": "BOOL CancelSynchronousIo(\nHANDLE hThread\n);",
"dllLibrary": "kernel32",
"comment": "Marks pending synchronous I/O operations that are issued by the specified thread as canceled."
},
"CascadeWindows": {
"prototype": "WORD CascadeWindows(\n HWND hwndParent,\n UINT wHow,\n const RECT *lpRect,\n UINT cKids,\n const HWND *lpKids\n);",
"dllLibrary": "user32",
"comment": "Cascades the specified child windows of the specified parent window."
},
"ChangeClipboardChain": {
"prototype": "BOOL ChangeClipboardChain(\n HWND hWndRemove,\n HWND hWndNewNext\n);",
"dllLibrary": "user32",
"comment": "Removes a specified window from the chain of clipboard viewers."
},
"ChangeDisplaySettings": {
"prototype": "LONG ChangeDisplaySettingsW(\n DEVMODEW *lpDevMode,\n DWORD dwFlags\n);",
"dllLibrary": "user32",
"comment": "The ChangeDisplaySettings function changes the settings of the default display device to the specified graphics mode."
},
"ChangeDisplaySettingsEx": {
"prototype": "LONG ChangeDisplaySettingsExW(\n LPCWSTR lpszDeviceName,\n DEVMODEW *lpDevMode,\n HWND hwnd,\n DWORD dwflags,\n LPVOID lParam\n);",
"dllLibrary": "user32",
"comment": "The ChangeDisplaySettingsEx function changes the settings of the specified display device to the specified graphics mode."
},
"ChangeWindowMessageFilter": {
"prototype": "BOOL ChangeWindowMessageFilter(\n UINT message,\n DWORD dwFlag\n);",
"dllLibrary": "user32",
"comment": "Adds or removes a message from the User Interface Privilege Isolation (UIPI) message filter."
},
"ChangeWindowMessageFilterEx": {
"prototype": "BOOL ChangeWindowMessageFilterEx(\n HWND hwnd,\n UINT message,\n DWORD action,\n PCHANGEFILTERSTRUCT pChangeFilterStruct\n);",
"dllLibrary": "user32",
"comment": "Modifies the User Interface Privilege Isolation (UIPI) message filter for a specified window."
},
"CheckDlgButton": {
"prototype": "BOOL CheckDlgButton(\n HWND hDlg,\n int nIDButton,\n UINT uCheck\n);",
"dllLibrary": "user32",
"comment": "Changes the check state of a button control."
},
"CheckRadioButton": {
"prototype": "BOOL CheckRadioButton(\n HWND hDlg,\n int nIDFirstButton,\n int nIDLastButton,\n int nIDCheckButton\n);",
"dllLibrary": "user32",
"comment": "Adds a check mark to (checks) a specified radio button in a group and removes a check mark from (clears) all other radio buttons in the group."
},
"CheckRemoteDebuggerPresent": {
"prototype": "BOOL CheckRemoteDebuggerPresent(\n HANDLE hProcess,\n PBOOL pbDebuggerPresent\n );",
"dllLibrary": "kernel32",
"comment": "Determines whether the specified process is being debugged."
},
"ChildWindowFromPoint": {
"prototype": "HWND ChildWindowFromPoint(\n HWND hWndParent,\n POINT Point\n);",
"dllLibrary": "user32",
"comment": "Determines which, if any, of the child windows belonging to a parent window contains the specified point. The search is restricted to immediate child windows. Grandchildren, and deeper descendant windows are not searched."
},
"ChildWindowFromPointEx": {
"prototype": "HWND ChildWindowFromPointEx(\n HWND hwnd,\n POINT pt,\n UINT flags\n);",
"dllLibrary": "user32",
"comment": "Determines which, if any, of the child windows belonging to the specified parent window contains the specified point. The function can ignore invisible, disabled, and transparent child windows. Grandchildren and deeper descendants are not searched."
},
"ChooseColor": {
"prototype": "BOOL WINAPI ChooseColorW(\n _Inout_ LPCHOOSECOLOR lpcc\n);",
"dllLibrary": "comdlg32",
"comment": "Creates a Color dialog box that enables the user to select a color."
},
"ChooseFont": {
"prototype": "BOOL WINAPI ChooseFontW(\n _Inout_ LPCHOOSEFONT lpcf\n);",
"dllLibrary": "comdlg32",
"comment": "Creates a Font dialog box that enables the user to choose attributes for a logical font. These attributes include a font family and associated font style, a point size, effects (underline, strikeout, and text color), and a script (or character set)."
},
"Chord": {
"prototype": "BOOL Chord(\n HDC hdc,\n int x1,\n int y1,\n int x2,\n int y2,\n int x3,\n int y3,\n int x4,\n int y4\n);",
"dllLibrary": "gdi32",
"comment": "The Chord function draws a chord (a region bounded by the intersection of an ellipse and a line segment, called a secant). The chord is outlined by using the current pen and filled by using the current brush."
},
"ClearCommBreak": {
"prototype": "BOOL ClearCommBreak(\n HANDLE hFile\n);",
"dllLibrary": "kernel32",
"comment": "Restores character transmission for a specified communications device and places the transmission line in a nonbreak state."
},
"ClearCommError": {
"prototype": "BOOL ClearCommError(\n HANDLE hFile,\n LPDWORD lpErrors,\n LPCOMSTAT lpStat\n);",
"dllLibrary": "kernel32",
"comment": "Retrieves information about a communications error and reports the current status of a communications device. The function is called when a communications error occurs, and it clears the device's error flag to enable additional input and output (I/O) operations."
},
"ClientToScreen": {
"prototype": "BOOL ClientToScreen(\n HWND hWnd,\n LPPOINT lpPoint\n);",
"dllLibrary": "user32",
"comment": "The ClientToScreen function converts the client-area coordinates of a specified point to screen coordinates."
},
"ClipCursor": {
"prototype": "BOOL ClipCursor(\n const RECT *lpRect\n);",
"dllLibrary": "user32",
"comment": "Confines the cursor to a rectangular area on the screen. If a subsequent cursor position (set by the SetCursorPos function or the mouse) lies outside the rectangle, the system automatically adjusts the position to keep the cursor inside the rectangular area."
},
"CloseClipboard": {
"prototype": "BOOL CloseClipboard();",
"dllLibrary": "user32",
"comment": "Closes the clipboard."
},
"CloseFigure": {
"prototype": "BOOL CloseFigure(\n HDC hdc);",
"dllLibrary": "gdi32",
"comment": "The CloseFigure function closes an open figure in a path."
},
"CloseGestureInfoHandle": {
"prototype": "BOOL CloseGestureInfoHandle(\n HGESTUREINFO hGestureInfo\n);",
"dllLibrary": "user32",
"comment": "Closes resources associated with a gesture information handle."
},
"CloseHandle": {
"prototype": "BOOL CloseHandle(\n HANDLE hObject\n);",
"dllLibrary": "kernel32",
"comment": "Closes an open object handle."
},
"ClosePrinter": {
"prototype": "BOOL ClosePrinter(\n _In_ HANDLE hPrinter\n );",
"dllLibrary": "spoolss",
"comment": "The ClosePrinter function closes the specified printer object.",
"category": "winspool"
},
"ClosePseudoConsole": {
"prototype": "void WINAPI ClosePseudoConsole(\n _In_ HPCON hPC\n);",
"dllLibrary": "kernel32",
"comment": "Closes a pseudoconsole from the given handle.",
"minimumWindowsVersion": "WIN10_RS5"
},
"closesocket": {
"prototype": "int WSAAPI closesocket(\n SOCKET s\n);",
"dllLibrary": "ws2_32",
"comment": "The closesocket function closes an existing socket.",
"category": "winsock",
"minimumWindowsVersion": "WIN81"
},
"CloseSpoolFileHandle": {
"prototype": "BOOL CloseSpoolFileHandle(\n _In_ HANDLE hPrinter,\n _In_ HANDLE hSpoolFile\n);",
"dllLibrary": "winspool",
"comment": "The CloseSpoolFileHandle function closes a handle to a spool file associated with the print job currently submitted by the application."
},
"CloseThemeData": {
"prototype": "HRESULT CloseThemeData(\n HTHEME hTheme\n);",
"dllLibrary": "uxtheme",
"comment": "Closes the theme data handle."
},
"CloseTouchInputHandle": {
"prototype": "BOOL CloseTouchInputHandle(\n HTOUCHINPUT hTouchInput\n);",
"dllLibrary": "user32",
"comment": "Closes a touch input handle, frees process memory associated with it, and invalidates the handle."
},
"CloseWindow": {
"prototype": "BOOL CloseWindow(\n HWND hWnd\n);",
"dllLibrary": "user32",
"comment": "Minimizes (but does not destroy) the specified window."
},
"CLSIDFromProgID": {
"prototype": "HRESULT CLSIDFromProgID(\n LPCOLESTR lpszProgID,\n LPCLSID lpclsid\n);",
"dllLibrary": "ole32",
"comment": "Looks up a CLSID in the registry, given a ProgID."
},
"CLSIDFromProgIDEx": {
"prototype": "HRESULT CLSIDFromProgIDEx(\n LPCOLESTR lpszProgID,\n LPCLSID lpclsid\n);",
"dllLibrary": "ole32",
"comment": "Triggers automatic installation if the COMClassStore policy is enabled."
},
"CLSIDFromString": {
"prototype": "HRESULT CLSIDFromString(\n LPCOLESTR lpsz,\n LPCLSID pclsid\n);",
"dllLibrary": "ole32",
"comment": "Converts a string generated by the StringFromCLSID function back into the original CLSID."
},
"CoAddRefServerProcess": {
"prototype": "ULONG CoAddRefServerProcess();",
"dllLibrary": "ole32",
"comment": "Increments a global per-process reference count."
},
"CoCreateGuid": {
"prototype": "HRESULT CoCreateGuid(\n GUID *pguid\n);",
"dllLibrary": "ole32",
"comment": "Creates a GUID, a unique 128-bit integer used for CLSIDs and interface identifiers."
},
"CoCreateInstance": {
"prototype": "HRESULT CoCreateInstance(\n REFCLSID rclsid,\n LPUNKNOWN pUnkOuter,\n DWORD dwClsContext,\n REFIID riid,\n LPVOID *ppv\n);",
"dllLibrary": "ole32",
"comment": "Creates a single uninitialized object of the class associated with a specified CLSID. Call CoCreateInstance when you want to create only one object on the local system. To create a single object on a remote system, call the CoCreateInstanceEx function. To create multiple objects based on a single CLSID, call the CoGetClassObject function."
},
"CoGetClassObject": {
"prototype": "HRESULT CoGetClassObject(\n REFCLSID rclsid,\n DWORD dwClsContext,\n LPVOID pvReserved,\n REFIID riid,\n LPVOID *ppv\n);",
"dllLibrary": "ole32",
"comment": "Provides a pointer to an interface on a class object associated with a specified CLSID. CoGetClassObject locates, and if necessary, dynamically loads the executable code required to do this."
},
"CoGetCurrentProcess": {
"prototype": "DWORD CoGetCurrentProcess();",
"dllLibrary": "ole32",
"comment": "Returns a value that is unique to the current thread. CoGetCurrentProcess can be used to avoid thread ID reuse problems."
},
"CoInitializeEx": {
"prototype": "HRESULT CoInitializeEx(\n LPVOID pvReserved,\n DWORD dwCoInit\n);",
"dllLibrary": "ole32",
"comment": "Initializes the COM library for use by the calling thread, sets the thread's concurrency model, and creates a new apartment for the thread if one is required."
},
"CoInitializeSecurity": {
"prototype": "HRESULT CoInitializeSecurity(\n PSECURITY_DESCRIPTOR pSecDesc,\n LONG cAuthSvc,\n SOLE_AUTHENTICATION_SERVICE *asAuthSvc,\n void *pReserved1,\n DWORD dwAuthnLevel,\n DWORD dwImpLevel,\n void *pAuthList,\n DWORD dwCapabilities,\n void *pReserved3\n);",
"dllLibrary": "ole32",
"comment": "Registers security and sets the default security values for the process."
},
"CommandLineToArgvW": {
"prototype": "LPWSTR * CommandLineToArgvW(\n LPCWSTR lpCmdLine,\n int *pNumArgs\n);",
"dllLibrary": "shell32",
"comment": "Retrieves the command-line string for the current process."
},
"CommConfigDialog": {
"prototype": "BOOL CommConfigDialogW(\n LPCWSTR lpszName,\n HWND hWnd,\n LPCOMMCONFIG lpCC\n);",
"dllLibrary": "kernel32",
"comment": "Displays a driver-supplied configuration dialog box."
},
"CommitSpoolData": {
"prototype": "HANDLE CommitSpoolData(\n _In_ HANDLE hPrinter,\n _In_ HANDLE hSpoolFile,\n DWORD cbCommit\n);",
"dllLibrary": "winspool",
"comment": "The CommitSpoolData function notifies the print spooler that a specified amount of data has been written to a specified spool file and is ready to be rendered."
},
"CompareObjectHandles": {
"prototype": "BOOL CompareObjectHandles(\n HANDLE hFirstObjectHandle,\n HANDLE hSecondObjectHandle\n);",
"dllLibrary": "kernelbase",
"comment": "Compares two object handles to determine if they refer to the same underlying kernel object.",
"category": "kernel32",
"minimumWindowsVersion": "WIN10_TH1"
},
"ConfigurePort": {
"prototype": "BOOL ConfigurePortW(\n _In_ LPTSTR pName,\n _In_ HWND hWnd,\n _In_ LPTSTR pPortName\n);",
"dllLibrary": "winspool",
"comment": "The ConfigurePort function displays the port-configuration dialog box for a port on the specified server."
},
"connect": {
"prototype": "int WSAAPI connect(\n SOCKET s,\n const sockaddr *name,\n int namelen\n);",
"dllLibrary": "ws2_32",
"comment": "The connect function establishes a connection to a specified socket.",
"category": "winsock",
"minimumWindowsVersion": "WIN81"
},
"ConnectNamedPipe": {
"prototype": "BOOL ConnectNamedPipe(\n HANDLE hNamedPipe,\n LPOVERLAPPED lpOverlapped);",
"dllLibrary": "kernel32",
"comment": "Enables a named pipe server process to wait for a client process to connect to an instance of a named pipe. A client process connects by calling either the CreateFile or CallNamedPipe function."
},
"ConnectToPrinterDlg": {
"prototype": "HANDLE ConnectToPrinterDlg(\n _In_ HWND hwnd,\n _In_ DWORD Flags\n);",
"dllLibrary": "winspool",
"comment": "The ConnectToPrinterDlg function displays a dialog box that lets users browse and connect to printers on a network. If the user selects a printer, the function attempts to create a connection to it; if a suitable driver is not installed on the server, the user is given the option of creating a printer locally."
},
"ContinueDebugEvent": {
"prototype": "BOOL ContinueDebugEvent(\n DWORD dwProcessId,\n DWORD dwThreadId,\n DWORD dwContinueStatus\n);",
"dllLibrary": "kernel32",
"comment": "Enables a debugger to continue a thread that previously reported a debugging event."
},
"CopyAcceleratorTable": {
"prototype": "int CopyAcceleratorTableW(\n HACCEL hAccelSrc,\n LPACCEL lpAccelDst,\n int cAccelEntries\n);",
"dllLibrary": "user32",
"comment": "Copies the specified accelerator table. This function is used to obtain the accelerator-table data that corresponds to an accelerator-table handle, or to determine the size of the accelerator-table data."
},
"CopyIcon": {
"prototype": "HICON CopyIcon(\n HICON hIcon\n);",
"dllLibrary": "user32",
"comment": "Copies the specified icon from another module to the current module."
},
"CopyImage": {
"prototype": "HANDLE CopyImage(\n HANDLE h,\n UINT type,\n int cx,\n int cy,\n UINT flags\n);",
"dllLibrary": "user32",
"comment": "Creates a new image (icon, cursor, or bitmap) and copies the attributes of the specified image to the new one. If necessary, the function stretches the bits to fit the desired size of the new image."
},
"CopyRect": {
"prototype": "BOOL CopyRect(\n LPRECT lprcDst,\n const RECT *lprcSrc\n);",
"dllLibrary": "user32",
"comment": "The CopyRect function copies the coordinates of one rectangle to another."
},
"CoSetProxyBlanket": {
"prototype": "HRESULT CoSetProxyBlanket(\n IUnknown *pProxy,\n DWORD dwAuthnSvc,\n DWORD dwAuthzSvc,\n OLECHAR *pServerPrincName,\n DWORD dwAuthnLevel,\n DWORD dwImpLevel,\n RPC_AUTH_IDENTITY_HANDLE pAuthInfo,\n DWORD dwCapabilities\n);",
"dllLibrary": "ole32",
"comment": "Sets the authentication information that will be used to make calls on the specified proxy. This is a helper function for IClientSecurity::SetBlanket."
},
"CoTaskMemAlloc": {
"prototype": "LPVOID CoTaskMemAlloc(\n SIZE_T cb\n);",
"dllLibrary": "ole32",
"comment": "Allocates a block of task memory in the same way that IMalloc::Alloc does."
},
"CoTaskMemFree": {
"prototype": "void CoTaskMemFree(\n _Frees_ptr_opt_ LPVOID pv\n);",
"dllLibrary": "ole32",
"comment": "Frees a block of task memory previously allocated through a call to the CoTaskMemAlloc or CoTaskMemRealloc function."
},
"CoTaskMemRealloc": {
"prototype": "LPVOID CoTaskMemRealloc(\n LPVOID pv,\n SIZE_T cb\n);",
"dllLibrary": "ole32",
"comment": "Changes the size of a previously allocated block of task memory."
},
"CoUninitialize": {
"prototype": "void CoUninitialize();",
"dllLibrary": "ole32",
"comment": "Closes the COM library on the current thread, unloads all DLLs loaded by the thread, frees any other resources that the thread maintains, and forces all RPC connections on the thread to close."
},
"CountClipboardFormats": {
"prototype": "int CountClipboardFormats();",
"dllLibrary": "user32",
"comment": "Retrieves the number of different data formats currently on the clipboard."
},
"CoWaitForMultipleHandles": {
"prototype": "HRESULT CoWaitForMultipleHandles(\n DWORD dwFlags,\n DWORD dwTimeout,\n ULONG cHandles,\n LPHANDLE pHandles,\n LPDWORD lpdwindex\n);",
"dllLibrary": "ole32",
"comment": "Waits for specified handles to be signaled or for a specified timeout period to elapse."
},
"CoWaitForMultipleObjects": {
"prototype": "HRESULT CoWaitForMultipleObjects(\n DWORD dwFlags,\n DWORD dwTimeout,\n ULONG cHandles,\n const HANDLE *pHandles,\n LPDWORD lpdwindex\n);",
"dllLibrary": "ole32",
"comment": "A replacement for CoWaitForMultipleHandles. This replacement API hides the options for CoWaitForMultipleHandles that are not supported in ASTA.",
"minimumWindowsVersion": "WIN10_TH2"
},
"CreateAcceleratorTable": {
"prototype": "HACCEL CreateAcceleratorTableW(\n LPACCEL paccel,\n int cAccel\n);",
"dllLibrary": "user32",
"comment": "Creates an accelerator table."
},
"CreateActCtx": {
"prototype": "HANDLE CreateActCtxW(\n PCACTCTXW pActCtx\n);",
"dllLibrary": "kernel32",
"comment": "The CreateActCtx function creates an activation context."
},
"CreateCompatibleBitmap": {
"prototype": "HBITMAP CreateCompatibleBitmap(\n HDC hdc,\n int cx,\n int cy\n);",
"dllLibrary": "gdi32",
"comment": "The CreateCompatibleBitmap function creates a bitmap compatible with the device that is associated with the specified device context."
},
"CreateCompatibleDC": {
"prototype": "HDC CreateCompatibleDC(\n HDC hdc\n);",
"dllLibrary": "gdi32",
"comment": "The CreateCompatibleDC function creates a memory device context (DC) compatible with the specified device."
},
"CreateConsoleScreenBuffer": {
"prototype": "HANDLE WINAPI CreateConsoleScreenBuffer(\n _In_ DWORD dwDesiredAccess,\n _In_ DWORD dwShareMode,\n _In_opt_ const SECURITY_ATTRIBUTES *lpSecurityAttributes,\n _In_ DWORD dwFlags,\n _Reserved_ LPVOID lpScreenBufferData\n);",
"dllLibrary": "kernel32",
"comment": "Creates a console screen buffer."
},
"CreateDC": {
"prototype": "HDC CreateDCW(\n LPCWSTR pwszDriver,\n LPCWSTR pwszDevice,\n LPCWSTR pszPort,\n const DEVMODEW *pdm\n);",
"dllLibrary": "gdi32",
"comment": "The CreateDC function creates a device context (DC) for a device using the specified name."
},
"CreateDesktop": {
"prototype": "HDESK CreateDesktopW(\n LPCWSTR lpszDesktop,\n LPCWSTR lpszDevice,\n DEVMODEW *pDevmode,\n DWORD dwFlags,\n ACCESS_MASK dwDesiredAccess,\n LPSECURITY_ATTRIBUTES lpsa\n);",
"dllLibrary": "user32",
"comment": "Creates a new desktop, associates it with the current window station of the calling process, and assigns it to the calling thread. The calling process must have an associated window station, either assigned by the system at process creation time or set by the SetProcessWindowStation function."
},
"CreateDesktopEx": {
"prototype": "HDESK CreateDesktopExW(\n LPCWSTR lpszDesktop,\n LPCWSTR lpszDevice,\n DEVMODEW *pDevmode,\n DWORD dwFlags,\n ACCESS_MASK dwDesiredAccess,\n LPSECURITY_ATTRIBUTES lpsa,\n ULONG ulHeapSize,\n PVOID pvoid\n);",
"dllLibrary": "user32",
"comment": "Creates a new desktop with the specified heap, associates it with the current window station of the calling process, and assigns it to the calling thread. The calling process must have an associated window station, either assigned by the system at process creation time or set by the SetProcessWindowStation function."
},
"CreateDialogIndirectParam": {
"prototype": "HWND CreateDialogIndirectParamW(\n HINSTANCE hInstance,\n LPCDLGTEMPLATEW lpTemplate,\n HWND hWndParent,\n DLGPROC lpDialogFunc,\n LPARAM dwInitParam\n);",
"dllLibrary": "user32",
"comment": "Creates a modeless dialog box from a dialog box template in memory. Before displaying the dialog box, the function passes an application-defined value to the dialog box procedure as the lParam parameter of the WM_INITDIALOG message. An application can use this value to initialize dialog box controls."
},
"CreateDIBitmap": {
"prototype": "HBITMAP CreateDIBitmap(\n HDC hdc,\n const BITMAPINFOHEADER *pbmih,\n DWORD flInit,\n const VOID *pjBits,\n const BITMAPINFO *pbmi,\n UINT iUsage\n);",
"dllLibrary": "gdi32",
"comment": "The CreateDIBitmap function creates a compatible bitmap (DDB) from a DIB and, optionally, sets the bitmap bits."
},
"CreateDIBPatternBrushPt": {
"prototype": "HBRUSH CreateDIBPatternBrushPt(\n const VOID *lpPackedDIB,\n UINT iUsage\n);",
"dllLibrary": "gdi32",
"comment": "The CreateDIBPatternBrushPt function creates a logical brush that has the pattern specified by the device-independent bitmap (DIB)."
},
"CreateDIBSection": {
"prototype": "HBITMAP CreateDIBSection(\n HDC hdc,\n const BITMAPINFO *pbmi,\n UINT usage,\n VOID **ppvBits,\n HANDLE hSection,\n DWORD offset);",
"dllLibrary": "gdi32",
"comment": "The CreateDIBSection function creates a DIB that applications can write to directly. The function gives you a pointer to the location of the bitmap bit values. You can supply a handle to a file-mapping object that the function will use to create the bitmap, or you can let the system allocate the memory for the bitmap."
},
"CreateDirectory": {
"prototype": "BOOL CreateDirectoryW(\n LPCWSTR lpPathName,\n LPSECURITY_ATTRIBUTES lpSecurityAttributes\n);",
"dllLibrary": "kernel32",
"comment": "Creates a new directory. If the underlying file system supports security on files and directories, the function applies a specified security descriptor to the new directory."
},
"CreateEllipticRgn": {
"prototype": "HRGN CreateEllipticRgn(\n int x1,\n int y1,\n int x2,\n int y2\n);",
"dllLibrary": "gdi32",
"comment": "The CreateEllipticRgn function creates an elliptical region."
},
"CreateEvent": {
"prototype": "HANDLE CreateEventW(\n LPSECURITY_ATTRIBUTES lpEventAttributes,\n BOOL bManualReset,\n BOOL bInitialState,\n LPCWSTR lpName\n);",
"dllLibrary": "kernel32",
"comment": "Creates or opens a named or unnamed event object."
},
"CreateEventEx": {
"prototype": "HANDLE CreateEventExW(\n LPSECURITY_ATTRIBUTES lpEventAttributes,\n LPCWSTR lpName,\n DWORD dwFlags,\n DWORD dwDesiredAccess\n);",
"dllLibrary": "kernel32",
"comment": "Creates or opens a named or unnamed event object and returns a handle to the object."
},
"CreateFile": {
"prototype": "HANDLE CreateFileW(\n LPCWSTR lpFileName,\n DWORD dwDesiredAccess,\n DWORD dwShareMode,\n LPSECURITY_ATTRIBUTES lpSecurityAttributes,\n DWORD dwCreationDisposition,\n DWORD dwFlagsAndAttributes,\n HANDLE hTemplateFile\n);",
"dllLibrary": "kernel32",
"comment": "Creates or opens a file or I/O device. The most commonly used I/O devices are as follows: file, file stream, directory, physical disk, volume, console buffer, tape drive, communications resource, mailslot, and pipe. The function returns a handle that can be used to access the file or device for various types of I/O depending on the file or device and the flags and attributes specified."
},
"CreateFontIndirect": {
"prototype": "HFONT CreateFontIndirectW(\n const LOGFONTW *lplf\n);",
"dllLibrary": "gdi32",
"comment": "The CreateFontIndirect function creates a logical font that has the specified characteristics. The font can subsequently be selected as the current font for any device context."
},
"CreateHalftonePalette": {
"prototype": "HPALETTE CreateHalftonePalette(\n HDC hdc\n);",
"dllLibrary": "gdi32",
"comment": "The CreateHalftonePalette function creates a halftone palette for the specified device context (DC)."
},
"CreateHatchBrush": {
"prototype": "HBRUSH CreateHatchBrush(\n int iHatch,\n COLORREF color\n);",
"dllLibrary": "gdi32",
"comment": "The CreateHatchBrush function creates a logical brush that has the specified hatch pattern and color."
},
"CreateIcon": {
"prototype": "HICON CreateIcon(\n HINSTANCE hInstance,\n int nWidth,\n int nHeight,\n BYTE cPlanes,\n BYTE cBitsPixel,\n const BYTE *lpbANDbits,\n const BYTE *lpbXORbits\n);",
"dllLibrary": "user32",
"comment": "Creates an icon that has the specified size, colors, and bit patterns."
},
"CreateIoCompletionPort": {
"prototype": "HANDLE CreateIoCompletionPort(\n HANDLE FileHandle,\n HANDLE ExistingCompletionPort,\n ULONG_PTR CompletionKey,\n DWORD NumberOfConcurrentThreads\n);",
"dllLibrary": "kernel32",
"comment": "Creates an input/output (I/O) completion port and associates it with a specified file handle, or creates an I/O completion port that is not yet associated with a file handle, allowing association at a later time."
},
"CreateMDIWindow": {
"prototype": "HWND CreateMDIWindowW(\n LPCWSTR lpClassName,\n LPCWSTR lpWindowName,\n DWORD dwStyle,\n int X,\n int Y,\n int nWidth,\n int nHeight,\n HWND hWndParent,\n HINSTANCE hInstance,\n LPARAM lParam\n);",
"dllLibrary": "user32",
"comment": "Creates a multiple-document interface (MDI) child window."
},
"CreateMenu": {
"prototype": "HMENU CreateMenu();",
"dllLibrary": "user32",
"comment": "Creates a menu. The menu is initially empty, but it can be filled with menu items by using the InsertMenuItem, AppendMenu, and InsertMenu functions."
},
"CreateNamedPipe": {
"prototype": "HANDLE CreateNamedPipeW(\n LPCWSTR lpName,\n DWORD dwOpenMode,\n DWORD dwPipeMode,\n DWORD nMaxInstances,\n DWORD nOutBufferSize,\n DWORD nInBufferSize,\n DWORD nDefaultTimeOut,\n LPSECURITY_ATTRIBUTES lpSecurityAttributes);",
"dllLibrary": "kernel32",
"comment": "Creates an instance of a named pipe and returns a handle for subsequent pipe operations. A named pipe server process uses this function either to create the first instance of a specific named pipe and establish its basic attributes or to create a new instance of an existing named pipe."
},
"CreatePen": {
"prototype": "HPEN CreatePen(\n int iStyle,\n int cWidth,\n COLORREF color\n);",
"dllLibrary": "gdi32",
"comment": "The CreatePen function creates a logical pen that has the specified style, width, and color. The pen can subsequently be selected into a device context and used to draw lines and curves."
},
"CreatePipe": {
"prototype": "BOOL CreatePipe(\n PHANDLE hReadPipe,\n PHANDLE hWritePipe,\n LPSECURITY_ATTRIBUTES lpPipeAttributes,\n DWORD nSize\n);",
"dllLibrary": "kernel32",
"comment": "Creates an anonymous pipe, and returns handles to the read and write ends of the pipe."
},
"CreateProcess": {
"prototype": "BOOL CreateProcessW(\n LPCWSTR lpApplicationName,\n LPWSTR lpCommandLine,\n LPSECURITY_ATTRIBUTES lpProcessAttributes,\n LPSECURITY_ATTRIBUTES lpThreadAttributes,\n BOOL bInheritHandles,\n DWORD dwCreationFlags,\n LPVOID lpEnvironment,\n LPCWSTR lpCurrentDirectory,\n LPSTARTUPINFOW lpStartupInfo,\n LPPROCESS_INFORMATION lpProcessInformation\n);",
"dllLibrary": "kernel32",
"comment": "Creates a new process and its primary thread. The new process runs in the security context of the calling process."
},
"CreatePseudoConsole": {
"prototype": "HRESULT WINAPI CreatePseudoConsole(\n _In_ COORD size,\n _In_ HANDLE hInput,\n _In_ HANDLE hOutput,\n _In_ DWORD dwFlags,\n _Out_ HPCON* phPC\n);",
"dllLibrary": "kernel32",
"comment": "Creates a new pseudoconsole object for the calling process.",
"minimumWindowsVersion": "WIN10_RS5"
},
"CreateRemoteThread": {
"prototype": "HANDLE CreateRemoteThread(\n HANDLE hProcess,\n LPSECURITY_ATTRIBUTES lpThreadAttributes,\n SIZE_T dwStackSize,\n LPTHREAD_START_ROUTINE lpStartAddress,\n LPVOID lpParameter,\n DWORD dwCreationFlags,\n LPDWORD lpThreadId\n);",
"dllLibrary": "kernel32",
"comment": "Creates a thread that runs in the virtual address space of another process. Use the CreateRemoteThreadEx function to create a thread that runs in the virtual address space of another process and optionally specify extended attributes."
},
"CreateRemoteThreadEx": {
"prototype": "HANDLE CreateRemoteThreadEx(\n HANDLE hProcess,\n LPSECURITY_ATTRIBUTES lpThreadAttributes,\n SIZE_T dwStackSize,\n LPTHREAD_START_ROUTINE lpStartAddress,\n LPVOID lpParameter,\n DWORD dwCreationFlags,\n LPPROC_THREAD_ATTRIBUTE_LIST lpAttributeList,\n LPDWORD lpThreadId\n);",
"dllLibrary": "kernel32",
"comment": "Creates a thread that runs in the virtual address space of another process and optionally specifies extended attributes such as processor group affinity."
},
"CreateSolidBrush": {
"prototype": "HBRUSH CreateSolidBrush(\n COLORREF color\n);",
"dllLibrary": "gdi32",
"comment": "The CreateSolidBrush function creates a logical brush that has the specified solid color."
},
"CreateThread": {
"prototype": "HANDLE CreateThread(\n LPSECURITY_ATTRIBUTES lpThreadAttributes,\n SIZE_T dwStackSize,\n LPTHREAD_START_ROUTINE lpStartAddress,\n LPVOID lpParameter,\n DWORD dwCreationFlags,\n LPDWORD lpThreadId\n);",
"dllLibrary": "kernel32",
"comment": "Creates a thread to execute within the virtual address space of the calling process."
},
"CreateWindowEx": {
"prototype": "HWND CreateWindowExW(\n DWORD dwExStyle,\n LPCWSTR lpClassName,\n LPCWSTR lpWindowName,\n DWORD dwStyle,\n int X,\n int Y,\n int nWidth,\n int nHeight,\n HWND hWndParent,\n HMENU hMenu,\n HINSTANCE hInstance,\n LPVOID lpParam\n);",
"dllLibrary": "user32",
"comment": "Creates an overlapped, pop-up, or child window. It specifies the window class, window title, window style, and (optionally) the initial position and size of the window. The function also specifies the window's parent or owner, if any, and the window's menu."
},
"CreateWindowStation": {
"prototype": "HWINSTA CreateWindowStationW(\n LPCWSTR lpwinsta,\n DWORD dwFlags,\n ACCESS_MASK dwDesiredAccess,\n LPSECURITY_ATTRIBUTES lpsa\n);",
"dllLibrary": "user32",
"comment": "Creates a window station object, associates it with the calling process, and assigns it to the current session."
},
"CredDelete": {
"prototype": "BOOL CredDeleteW(\n LPCWSTR TargetName,\n DWORD Type,\n DWORD Flags\n);",
"dllLibrary": "advapi32",
"comment": "The CredDelete function deletes a credential from the user's credential set. The credential set used is the one associated with the logon session of the current token. The token must not have the user's SID disabled."
},
"CredFree": {
"prototype": "void CredFree(\n PVOID Buffer\n);",
"dllLibrary": "advapi32",
"comment": "The CredFree function frees a buffer returned by any of the credentials management functions."
},
"CredRead": {
"prototype": "BOOL CredReadW(\n LPCWSTR TargetName,\n DWORD Type,\n DWORD Flags,\n PCREDENTIALW *Credential\n);",
"dllLibrary": "advapi32",
"comment": "The CredRead function reads a credential from the user's credential set. The credential set used is the one associated with the logon session of the current token. The token must not have the user's SID disabled."
},
"CredWrite": {
"prototype": "BOOL CredWriteW(\n PCREDENTIALW Credential,\n DWORD Flags\n);",
"dllLibrary": "advapi32",
"comment": "The CredWrite function creates a new credential or modifies an existing credential in the user's credential set. The new credential is associated with the logon session of the current token. The token must not have the user's security identifier (SID) disabled."
},
"DeactivateActCtx": {