Source code

Revision control

Other Tools

Line Code
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 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* vim: set ts=2 et sw=2 tw=80: */
/* This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */

/*
 * This file contains a series of C-style function prototypes for A/W-suffixed
 * Win32 APIs defined by windows.h.
 *
 * This file is processed by generate-windows-h-wrapper.py to generate a wrapper
 * for the header which removes the defines usually implementing these aliases.
 *
 * Wrappers defined in this file will have the 'stdcall' calling convention,
 * will be defined as 'inline', and will only be defined if the corresponding
 * #define directive has not been #undef-ed.
 *
 * NOTE: This is *NOT* a real C header, but rather an input to the avove script.
 * Only basic declarations in the form found here are allowed.
 */

LPTSTR GetCommandLine();

BOOL FreeEnvironmentStrings(LPTCH);

DWORD GetEnvironmentVariable(LPCTSTR, LPTSTR, DWORD);

BOOL SetEnvironmentVariable(LPCTSTR, LPCTSTR);

DWORD ExpandEnvironmentStrings(LPCTSTR, LPTSTR, DWORD);

BOOL SetCurrentDirectory(LPCTSTR);

DWORD GetCurrentDirectory(DWORD, LPTSTR);

DWORD SearchPath(LPCTSTR, LPCTSTR, LPCTSTR, DWORD, LPTSTR, LPTSTR*);

BOOL NeedCurrentDirectoryForExePath(LPCTSTR);

BOOL CreateDirectory(LPCTSTR, LPSECURITY_ATTRIBUTES);

HANDLE CreateFile(LPCTSTR, DWORD, DWORD, LPSECURITY_ATTRIBUTES, DWORD, DWORD, HANDLE);

BOOL DeleteFile(LPCTSTR);

HANDLE FindFirstChangeNotification(LPCTSTR, BOOL, DWORD);

HANDLE FindFirstFile(LPCTSTR, LPWIN32_FIND_DATA);

HANDLE FindFirstFileEx(LPCTSTR, FINDEX_INFO_LEVELS, LPVOID, FINDEX_SEARCH_OPS, LPVOID, DWORD);

BOOL FindNextFile(HANDLE, LPWIN32_FIND_DATA);

BOOL GetDiskFreeSpace(LPCTSTR, LPDWORD, LPDWORD, LPDWORD, LPDWORD);

BOOL GetDiskFreeSpaceEx(LPCTSTR, PULARGE_INTEGER, PULARGE_INTEGER, PULARGE_INTEGER);

UINT GetDriveType(LPCTSTR);

DWORD GetFileAttributes(LPCTSTR);

BOOL GetFileAttributesEx(LPCTSTR, GET_FILEEX_INFO_LEVELS, LPVOID);

DWORD GetFinalPathNameByHandle(HANDLE, LPTSTR, DWORD, DWORD);

DWORD GetFullPathName(LPCTSTR, DWORD, LPTSTR, LPTSTR*);

DWORD GetLongPathName(LPCTSTR, LPTSTR, DWORD);

BOOL RemoveDirectory(LPCTSTR);

BOOL SetFileAttributes(LPCTSTR, DWORD);

DWORD GetCompressedFileSize(LPCTSTR, LPDWORD);

DWORD GetTempPath(DWORD, LPTSTR);

BOOL GetVolumeInformation(LPCTSTR, LPTSTR, DWORD, LPDWORD, LPDWORD, LPDWORD, LPTSTR, DWORD);

UINT GetTempFileName(LPCTSTR, LPCTSTR, UINT, LPTSTR);

void OutputDebugString(LPCTSTR);

void FatalAppExit(UINT, LPCTSTR);

HANDLE CreateMutex(LPSECURITY_ATTRIBUTES, BOOL, LPCTSTR);

HANDLE CreateEvent(LPSECURITY_ATTRIBUTES, BOOL, BOOL, LPCTSTR);

HANDLE OpenEvent(DWORD, BOOL, LPCTSTR);

HANDLE CreateMutexEx(LPSECURITY_ATTRIBUTES, LPCTSTR, DWORD, DWORD);

HANDLE CreateEventEx(LPSECURITY_ATTRIBUTES, LPCTSTR, DWORD, DWORD);

BOOL CreateProcess(LPCTSTR, LPTSTR, LPSECURITY_ATTRIBUTES, LPSECURITY_ATTRIBUTES, BOOL, DWORD, LPVOID, LPCTSTR, LPSTARTUPINFO, LPPROCESS_INFORMATION);

BOOL CreateProcessAsUser(HANDLE, LPCTSTR, LPTSTR, LPSECURITY_ATTRIBUTES, LPSECURITY_ATTRIBUTES, BOOL, DWORD, LPVOID, LPCTSTR, LPSTARTUPINFO, LPPROCESS_INFORMATION);

UINT GetSystemDirectory(LPTSTR, UINT);

UINT GetWindowsDirectory(LPTSTR, UINT);

UINT GetSystemWindowsDirectory(LPTSTR, UINT);

BOOL GetComputerNameEx(COMPUTER_NAME_FORMAT, LPTSTR, LPDWORD);

BOOL GetVersionEx(LPOSVERSIONINFO);

BOOL SetComputerName(LPCTSTR);

BOOL SetComputerNameEx(COMPUTER_NAME_FORMAT, LPCTSTR);

BOOL LoadEnclaveImage(LPVOID, LPCTSTR);

UINT GetSystemWow64Directory(LPTSTR, UINT);

DWORD GetModuleFileName(HMODULE, LPTSTR, DWORD);

HMODULE GetModuleHandle(LPCTSTR);

BOOL GetModuleHandleEx(DWORD, LPCTSTR, HMODULE*);

HMODULE LoadLibraryEx(LPCTSTR, HANDLE, DWORD);

int LoadString(HINSTANCE, UINT, LPTSTR, int);

BOOL EnumResourceLanguagesEx(HMODULE, LPCTSTR, LPCTSTR, ENUMRESLANGPROC, LONG_PTR, DWORD, LANGID);

BOOL EnumResourceNamesEx(HMODULE, LPCTSTR, ENUMRESNAMEPROC, LONG_PTR, DWORD, LANGID);

BOOL EnumResourceTypesEx(HMODULE, ENUMRESTYPEPROC, LONG_PTR, DWORD, LANGID);

HMODULE LoadLibrary(LPCTSTR);

BOOL GetBinaryType(LPCTSTR, LPDWORD);

DWORD GetShortPathName(LPCTSTR, LPTSTR, DWORD);

DWORD GetLongPathNameTransacted(LPCTSTR, LPTSTR, DWORD, HANDLE);

BOOL SetEnvironmentStrings(LPTCH);

BOOL SetFileShortName(HANDLE, LPCTSTR);

DWORD FormatMessage(DWORD, LPCVOID, DWORD, DWORD, LPTSTR, DWORD, va_list *);

HANDLE CreateMailslot(LPCTSTR, DWORD, DWORD, LPSECURITY_ATTRIBUTES);

BOOL EncryptFile(LPCTSTR);

BOOL DecryptFile(LPCTSTR, DWORD);

BOOL FileEncryptionStatus(LPCTSTR, LPDWORD);

DWORD OpenEncryptedFileRaw(LPCTSTR, ULONG, PVOID *);

HANDLE OpenMutex(DWORD, BOOL, LPCTSTR);

HANDLE CreateSemaphore(LPSECURITY_ATTRIBUTES, LONG, LONG, LPCTSTR);

HANDLE OpenSemaphore(DWORD, BOOL, LPCTSTR);

HANDLE CreateWaitableTimer(LPSECURITY_ATTRIBUTES, BOOL, LPCTSTR);

HANDLE OpenWaitableTimer(DWORD, BOOL, LPCTSTR);

HANDLE CreateSemaphoreEx(LPSECURITY_ATTRIBUTES, LONG, LONG, LPCTSTR, DWORD, DWORD);

HANDLE CreateWaitableTimerEx(LPSECURITY_ATTRIBUTES, LPCTSTR, DWORD, DWORD);

HANDLE CreateFileMapping(HANDLE, LPSECURITY_ATTRIBUTES, DWORD, DWORD, DWORD, LPCTSTR);

HANDLE CreateFileMappingNuma(HANDLE, LPSECURITY_ATTRIBUTES, DWORD, DWORD, DWORD, LPCTSTR, DWORD);

HANDLE OpenFileMapping(DWORD, BOOL, LPCTSTR);

DWORD GetLogicalDriveStrings(DWORD, LPTSTR);

void GetStartupInfo(LPSTARTUPINFO);

DWORD GetFirmwareEnvironmentVariable(LPCTSTR, LPCTSTR, PVOID, DWORD);

BOOL SetFirmwareEnvironmentVariable(LPCTSTR, LPCTSTR, PVOID, DWORD);

HRSRC FindResource(HMODULE, LPCTSTR, LPCTSTR);

HRSRC FindResourceEx(HMODULE, LPCTSTR, LPCTSTR, WORD);

BOOL EnumResourceTypes(HMODULE, ENUMRESTYPEPROC, LONG_PTR);

BOOL EnumResourceNames(HMODULE, LPCTSTR, ENUMRESNAMEPROC, LONG_PTR);

BOOL EnumResourceLanguages(HMODULE, LPCTSTR, LPCTSTR, ENUMRESLANGPROC, LONG_PTR);

HANDLE BeginUpdateResource(LPCTSTR, BOOL);

BOOL UpdateResource(HANDLE, LPCTSTR, LPCTSTR, WORD, LPVOID, DWORD);

BOOL EndUpdateResource(HANDLE, BOOL);

ATOM GlobalAddAtom(LPCTSTR);

ATOM GlobalAddAtomEx(LPCTSTR, DWORD);

ATOM GlobalFindAtom(LPCTSTR);

UINT GlobalGetAtomName(ATOM, LPTSTR, int);

ATOM AddAtom(LPCTSTR);

ATOM FindAtom(LPCTSTR);

UINT GetAtomName(ATOM, LPTSTR, int);

UINT GetProfileInt(LPCTSTR, LPCTSTR, INT);

DWORD GetProfileString(LPCTSTR, LPCTSTR, LPCTSTR, LPTSTR, DWORD);

BOOL WriteProfileString(LPCTSTR, LPCTSTR, LPCTSTR);

DWORD GetProfileSection(LPCTSTR, LPTSTR, DWORD);

BOOL WriteProfileSection(LPCTSTR, LPCTSTR);

UINT GetPrivateProfileInt(LPCTSTR, LPCTSTR, INT, LPCTSTR);

DWORD GetPrivateProfileString(LPCTSTR, LPCTSTR, LPCTSTR, LPTSTR, DWORD, LPCTSTR);

BOOL WritePrivateProfileString(LPCTSTR, LPCTSTR, LPCTSTR, LPCTSTR);

DWORD GetPrivateProfileSection(LPCTSTR, LPTSTR, DWORD, LPCTSTR);

BOOL WritePrivateProfileSection(LPCTSTR, LPCTSTR, LPCTSTR);

DWORD GetPrivateProfileSectionNames(LPTSTR, DWORD, LPCTSTR);

BOOL GetPrivateProfileStruct(LPCTSTR, LPCTSTR, LPVOID, UINT, LPCTSTR);

BOOL WritePrivateProfileStruct(LPCTSTR, LPCTSTR, LPVOID, UINT, LPCTSTR);

BOOL SetDllDirectory(LPCTSTR);

DWORD GetDllDirectory(DWORD, LPTSTR);

BOOL CreateDirectoryEx(LPCTSTR, LPCTSTR, LPSECURITY_ATTRIBUTES);

BOOL CreateDirectoryTransacted(LPCTSTR, LPCTSTR, LPSECURITY_ATTRIBUTES, HANDLE);

BOOL RemoveDirectoryTransacted(LPCTSTR, HANDLE);

DWORD GetFullPathNameTransacted(LPCTSTR, DWORD, LPTSTR, LPTSTR *, HANDLE);

BOOL DefineDosDevice(DWORD, LPCTSTR, LPCTSTR);

DWORD QueryDosDevice(LPCTSTR, LPTSTR, DWORD);

HANDLE CreateFileTransacted(LPCTSTR, DWORD, DWORD, LPSECURITY_ATTRIBUTES, DWORD, DWORD, HANDLE, HANDLE, PUSHORT, PVOID);

BOOL SetFileAttributesTransacted(LPCTSTR, DWORD, HANDLE);

BOOL GetFileAttributesTransacted(LPCTSTR, GET_FILEEX_INFO_LEVELS, LPVOID, HANDLE);

DWORD GetCompressedFileSizeTransacted(LPCTSTR, LPDWORD, HANDLE);

BOOL DeleteFileTransacted(LPCTSTR, HANDLE);

BOOL CheckNameLegalDOS8Dot3(LPCTSTR, LPSTR, DWORD, PBOOL, PBOOL);

HANDLE FindFirstFileTransacted(LPCTSTR, FINDEX_INFO_LEVELS, LPVOID, FINDEX_SEARCH_OPS, LPVOID, DWORD, HANDLE);

BOOL CopyFile(LPCTSTR, LPCTSTR, BOOL);

BOOL CopyFileEx(LPCTSTR, LPCTSTR, LPPROGRESS_ROUTINE, LPVOID, LPBOOL, DWORD);

BOOL CopyFileTransacted(LPCTSTR, LPCTSTR, LPPROGRESS_ROUTINE, LPVOID, LPBOOL, DWORD, HANDLE);

BOOL MoveFile(LPCTSTR, LPCTSTR);

BOOL MoveFileEx(LPCTSTR, LPCTSTR, DWORD);

BOOL MoveFileWithProgress(LPCTSTR, LPCTSTR, LPPROGRESS_ROUTINE, LPVOID, DWORD);

BOOL MoveFileTransacted(LPCTSTR, LPCTSTR, LPPROGRESS_ROUTINE, LPVOID, DWORD, HANDLE);

BOOL ReplaceFile(LPCTSTR, LPCTSTR, LPCTSTR, DWORD, LPVOID, LPVOID);

BOOL CreateHardLink(LPCTSTR, LPCTSTR, LPSECURITY_ATTRIBUTES);

BOOL CreateHardLinkTransacted(LPCTSTR, LPCTSTR, LPSECURITY_ATTRIBUTES, HANDLE);

HANDLE CreateNamedPipe(LPCTSTR, DWORD, DWORD, DWORD, DWORD, DWORD, DWORD, LPSECURITY_ATTRIBUTES);

BOOL GetNamedPipeHandleState(HANDLE, LPDWORD, LPDWORD, LPDWORD, LPDWORD, LPTSTR, DWORD);

BOOL CallNamedPipe(LPCTSTR, LPVOID, DWORD, LPVOID, DWORD, LPDWORD, DWORD);

BOOL WaitNamedPipe(LPCTSTR, DWORD);

BOOL GetNamedPipeClientComputerName(HANDLE, LPTSTR, ULONG);

BOOL SetVolumeLabel(LPCTSTR, LPCTSTR);

BOOL ClearEventLog(HANDLE, LPCTSTR);

BOOL BackupEventLog(HANDLE, LPCTSTR);

HANDLE OpenEventLog(LPCTSTR, LPCTSTR);

HANDLE RegisterEventSource(LPCTSTR, LPCTSTR);

HANDLE OpenBackupEventLog(LPCTSTR, LPCTSTR);

BOOL ReadEventLog(HANDLE, DWORD, DWORD, LPVOID, DWORD, DWORD *, DWORD *);

BOOL ReportEvent(HANDLE, WORD, WORD, DWORD, PSID, WORD, DWORD, LPCTSTR *, LPVOID);

BOOL AccessCheckAndAuditAlarm(LPCTSTR, LPVOID, LPTSTR, LPTSTR, PSECURITY_DESCRIPTOR, DWORD, PGENERIC_MAPPING, BOOL, LPDWORD, LPBOOL, LPBOOL);

BOOL AccessCheckByTypeAndAuditAlarm(LPCTSTR, LPVOID, LPCTSTR, LPCTSTR, PSECURITY_DESCRIPTOR, PSID, DWORD, AUDIT_EVENT_TYPE, DWORD, POBJECT_TYPE_LIST, DWORD, PGENERIC_MAPPING, BOOL, LPDWORD, LPBOOL, LPBOOL);

BOOL AccessCheckByTypeResultListAndAuditAlarm(LPCTSTR, LPVOID, LPCTSTR, LPCTSTR, PSECURITY_DESCRIPTOR, PSID, DWORD, AUDIT_EVENT_TYPE, DWORD, POBJECT_TYPE_LIST, DWORD, PGENERIC_MAPPING, BOOL, LPDWORD, LPDWORD, LPBOOL);

BOOL AccessCheckByTypeResultListAndAuditAlarmByHandle(LPCTSTR, LPVOID, HANDLE, LPCTSTR, LPCTSTR, PSECURITY_DESCRIPTOR, PSID, DWORD, AUDIT_EVENT_TYPE, DWORD, POBJECT_TYPE_LIST, DWORD, PGENERIC_MAPPING, BOOL, LPDWORD, LPDWORD, LPBOOL);

BOOL ObjectOpenAuditAlarm(LPCTSTR, LPVOID, LPTSTR, LPTSTR, PSECURITY_DESCRIPTOR, HANDLE, DWORD, DWORD, PPRIVILEGE_SET, BOOL, BOOL, LPBOOL);

BOOL ObjectPrivilegeAuditAlarm(LPCTSTR, LPVOID, HANDLE, DWORD, PPRIVILEGE_SET, BOOL);

BOOL ObjectCloseAuditAlarm(LPCTSTR, LPVOID, BOOL);

BOOL ObjectDeleteAuditAlarm(LPCTSTR, LPVOID, BOOL);

BOOL PrivilegedServiceAuditAlarm(LPCTSTR, LPCTSTR, HANDLE, PPRIVILEGE_SET, BOOL);

BOOL SetFileSecurity(LPCTSTR, SECURITY_INFORMATION, PSECURITY_DESCRIPTOR);

BOOL GetFileSecurity(LPCTSTR, SECURITY_INFORMATION, PSECURITY_DESCRIPTOR, DWORD, LPDWORD);

BOOL IsBadStringPtr(LPCTSTR, UINT_PTR);

BOOL LookupAccountSid(LPCTSTR, PSID, LPTSTR, LPDWORD, LPTSTR, LPDWORD, PSID_NAME_USE);

BOOL LookupAccountName(LPCTSTR, LPCTSTR, PSID, LPDWORD, LPTSTR, LPDWORD, PSID_NAME_USE);

BOOL LookupAccountNameLocal(LPCTSTR, PSID, LPDWORD, LPTSTR, LPDWORD, PSID_NAME_USE);

BOOL LookupAccountSidLocal(PSID, LPTSTR, LPDWORD, LPTSTR, LPDWORD, PSID_NAME_USE);

BOOL LookupPrivilegeValue(LPCTSTR, LPCTSTR, PLUID);

BOOL LookupPrivilegeName(LPCTSTR, PLUID, LPTSTR, LPDWORD);

BOOL LookupPrivilegeDisplayName(LPCTSTR, LPCTSTR, LPTSTR, LPDWORD, LPDWORD);

BOOL BuildCommDCB(LPCTSTR, LPDCB);

BOOL BuildCommDCBAndTimeouts(LPCTSTR, LPDCB, LPCOMMTIMEOUTS);

BOOL CommConfigDialog(LPCTSTR, HWND, LPCOMMCONFIG);

BOOL GetDefaultCommConfig(LPCTSTR, LPCOMMCONFIG, LPDWORD);

BOOL SetDefaultCommConfig(LPCTSTR, LPCOMMCONFIG, DWORD);

BOOL GetComputerName(LPTSTR, LPDWORD);

BOOL DnsHostnameToComputerName(LPCTSTR, LPTSTR, LPDWORD);

BOOL GetUserName(LPTSTR, LPDWORD);

BOOL LogonUser(LPCTSTR, LPCTSTR, LPCTSTR, DWORD, DWORD, PHANDLE);

BOOL LogonUserEx(LPCTSTR, LPCTSTR, LPCTSTR, DWORD, DWORD, PHANDLE, PSID *, PVOID *, LPDWORD, PQUOTA_LIMITS);

HANDLE CreatePrivateNamespace(LPSECURITY_ATTRIBUTES, LPVOID, LPCTSTR);

HANDLE OpenPrivateNamespace(LPVOID, LPCTSTR);

HANDLE CreateBoundaryDescriptor(LPCTSTR, ULONG);

BOOL GetCurrentHwProfile(LPHW_PROFILE_INFO);

BOOL VerifyVersionInfo(LPOSVERSIONINFOEX, DWORD, DWORDLONG);

HANDLE CreateJobObject(LPSECURITY_ATTRIBUTES, LPCTSTR);

HANDLE OpenJobObject(DWORD, BOOL, LPCTSTR);

HANDLE FindFirstVolume(LPTSTR, DWORD);

BOOL FindNextVolume(HANDLE, LPTSTR, DWORD);

HANDLE FindFirstVolumeMountPoint(LPCTSTR, LPTSTR, DWORD);

BOOL FindNextVolumeMountPoint(HANDLE, LPTSTR, DWORD);

BOOL SetVolumeMountPoint(LPCTSTR, LPCTSTR);

BOOL DeleteVolumeMountPoint(LPCTSTR);

BOOL GetVolumeNameForVolumeMountPoint(LPCTSTR, LPTSTR, DWORD);

BOOL GetVolumePathName(LPCTSTR, LPTSTR, DWORD);

BOOL GetVolumePathNamesForVolumeName(LPCTSTR, LPTCH, DWORD, PDWORD);

HANDLE CreateActCtx(PCACTCTX);

BOOL FindActCtxSectionString(DWORD, const GUID *, ULONG, LPCTSTR, PACTCTX_SECTION_KEYED_DATA);

BOOLEAN CreateSymbolicLink(LPCTSTR, LPCTSTR, DWORD);

BOOLEAN CreateSymbolicLinkTransacted(LPCTSTR, LPCTSTR, DWORD, HANDLE);

int AddFontResource(LPCTSTR);

HMETAFILE CopyMetaFile(HMETAFILE, LPCTSTR);

HDC CreateDC(LPCTSTR, LPCTSTR, LPCTSTR, const DEVMODE *);

HFONT CreateFontIndirect(const LOGFONT *);

HFONT CreateFont(int, int, int, int, int, DWORD, DWORD, DWORD, DWORD, DWORD, DWORD, DWORD, DWORD, LPCTSTR);

HDC CreateIC(LPCTSTR, LPCTSTR, LPCTSTR, const DEVMODE *);

HDC CreateMetaFile(LPCTSTR);

BOOL CreateScalableFontResource(DWORD, LPCTSTR, LPCTSTR, LPCTSTR);

int DeviceCapabilities(LPCTSTR, LPCTSTR, WORD, LPTSTR, const DEVMODE *);

int EnumFontFamiliesEx(HDC, LPLOGFONT, FONTENUMPROC, LPARAM, DWORD);

int EnumFontFamilies(HDC, LPCTSTR, FONTENUMPROC, LPARAM);

int EnumFonts(HDC, LPCTSTR, FONTENUMPROC, LPARAM);

BOOL GetCharWidth(HDC, UINT, UINT, LPINT);

BOOL GetCharWidth32(HDC, UINT, UINT, LPINT);

BOOL GetCharWidthFloat(HDC, UINT, UINT, PFLOAT);

BOOL GetCharABCWidths(HDC, UINT, UINT, LPABC);

BOOL GetCharABCWidthsFloat(HDC, UINT, UINT, LPABCFLOAT);

DWORD GetGlyphOutline(HDC, UINT, UINT, LPGLYPHMETRICS, DWORD, LPVOID, const MAT2 *);

HMETAFILE GetMetaFile(LPCTSTR);

UINT GetOutlineTextMetrics(HDC, UINT, LPOUTLINETEXTMETRIC);

BOOL GetTextExtentPoint(HDC, LPCTSTR, int, LPSIZE);

BOOL GetTextExtentPoint32(HDC, LPCTSTR, int, LPSIZE);

BOOL GetTextExtentExPoint(HDC, LPCTSTR, int, int, LPINT, LPINT, LPSIZE);

DWORD GetCharacterPlacement(HDC, LPCTSTR, int, int, LPGCP_RESULTS, DWORD);

DWORD GetGlyphIndices(HDC, LPCTSTR, int, LPWORD, DWORD);

int AddFontResourceEx(LPCTSTR, DWORD, PVOID);

BOOL RemoveFontResourceEx(LPCTSTR, DWORD, PVOID);

HFONT CreateFontIndirectEx(const ENUMLOGFONTEXDV *);

HDC ResetDC(HDC, const DEVMODE *);

BOOL RemoveFontResource(LPCTSTR);

HENHMETAFILE CopyEnhMetaFile(HENHMETAFILE, LPCTSTR);

HDC CreateEnhMetaFile(HDC, LPCTSTR, const RECT *, LPCTSTR);

HENHMETAFILE GetEnhMetaFile(LPCTSTR);

UINT GetEnhMetaFileDescription(HENHMETAFILE, UINT, LPTSTR);

BOOL GetTextMetrics(HDC, LPTEXTMETRIC);

int StartDoc(HDC, const DOCINFO *);

int GetObject(HANDLE, int, LPVOID);

BOOL TextOut(HDC, int, int, LPCTSTR, int);

BOOL ExtTextOut(HDC, int, int, UINT, const RECT *, LPCTSTR, UINT, const INT *);

BOOL PolyTextOut(HDC, const POLYTEXT *, int);

int GetTextFace(HDC, int, LPTSTR);

DWORD GetKerningPairs(HDC, DWORD, LPKERNINGPAIR);

BOOL GetLogColorSpace(HCOLORSPACE, LPLOGCOLORSPACE, DWORD);

HCOLORSPACE CreateColorSpace(LPLOGCOLORSPACE);

BOOL GetICMProfile(HDC, LPDWORD, LPTSTR);

BOOL SetICMProfile(HDC, LPTSTR);

int EnumICMProfiles(HDC, ICMENUMPROC, LPARAM);

BOOL UpdateICMRegKey(DWORD, LPTSTR, LPTSTR, UINT);

HKL LoadKeyboardLayout(LPCTSTR, UINT);

BOOL GetKeyboardLayoutName(LPTSTR);

HDESK CreateDesktop(LPCTSTR, LPCTSTR, DEVMODE*, DWORD, ACCESS_MASK, LPSECURITY_ATTRIBUTES);

HDESK CreateDesktopEx(LPCTSTR, LPCTSTR, DEVMODE*, DWORD, ACCESS_MASK, LPSECURITY_ATTRIBUTES, ULONG, PVOID);

HDESK OpenDesktop(LPCTSTR, DWORD, BOOL, ACCESS_MASK);

BOOL EnumDesktops(HWINSTA, DESKTOPENUMPROC, LPARAM);

HWINSTA CreateWindowStation(LPCTSTR, DWORD, ACCESS_MASK, LPSECURITY_ATTRIBUTES);

HWINSTA OpenWindowStation(LPCTSTR, BOOL, ACCESS_MASK);

BOOL EnumWindowStations(WINSTAENUMPROC, LPARAM);

BOOL GetUserObjectInformation(HANDLE, int, PVOID, DWORD, LPDWORD);

BOOL SetUserObjectInformation(HANDLE, int, PVOID, DWORD);

UINT RegisterWindowMessage(LPCTSTR);

BOOL GetMessage(LPMSG, HWND, UINT, UINT);

LRESULT DispatchMessage(const MSG *);

BOOL PeekMessage(LPMSG, HWND, UINT, UINT, UINT);

LRESULT SendMessage(HWND, UINT, WPARAM, LPARAM);

LRESULT SendMessageTimeout(HWND, UINT, WPARAM, LPARAM, UINT, UINT, PDWORD_PTR);

BOOL SendNotifyMessage(HWND, UINT, WPARAM, LPARAM);

BOOL SendMessageCallback(HWND, UINT, WPARAM, LPARAM, SENDASYNCPROC, ULONG_PTR);

long BroadcastSystemMessageEx(DWORD, LPDWORD, UINT, WPARAM, LPARAM, PBSMINFO);

long BroadcastSystemMessage(DWORD, LPDWORD, UINT, WPARAM, LPARAM);

HDEVNOTIFY RegisterDeviceNotification(HANDLE, LPVOID, DWORD);

BOOL PostMessage(HWND, UINT, WPARAM, LPARAM);

BOOL PostThreadMessage(DWORD, UINT, WPARAM, LPARAM);

BOOL PostAppMessage(DWORD, UINT, WPARAM, LPARAM);

LRESULT DefWindowProc(HWND, UINT, WPARAM, LPARAM);

LRESULT CallWindowProc(WNDPROC, HWND, UINT, WPARAM, LPARAM);

ATOM RegisterClass(const WNDCLASS *);

BOOL UnregisterClass(LPCTSTR, HINSTANCE);

BOOL GetClassInfo(HINSTANCE, LPCTSTR, LPWNDCLASS);

ATOM RegisterClassEx(const WNDCLASSEX *);

BOOL GetClassInfoEx(HINSTANCE, LPCTSTR, LPWNDCLASSEX);

HWND CreateWindowEx(DWORD, LPCTSTR, LPCTSTR, DWORD, int, int, int, int, HWND, HMENU, HINSTANCE, LPVOID);

HWND CreateWindow(LPCTSTR, LPCTSTR, DWORD, int, int, int, int, HWND, HMENU, HINSTANCE, LPVOID);

HWND CreateDialogParam(HINSTANCE, LPCTSTR, HWND, DLGPROC, LPARAM);

HWND CreateDialogIndirectParam(HINSTANCE, LPCDLGTEMPLATE, HWND, DLGPROC, LPARAM);

HWND CreateDialog(HINSTANCE, LPCTSTR, HWND, DLGPROC);

HWND CreateDialogIndirect(HINSTANCE, LPCDLGTEMPLATE, HWND, DLGPROC);

INT_PTR DialogBoxParam(HINSTANCE, LPCTSTR, HWND, DLGPROC, LPARAM);

INT_PTR DialogBoxIndirectParam(HINSTANCE, LPCDLGTEMPLATE, HWND, DLGPROC, LPARAM);

INT_PTR DialogBox(HINSTANCE, LPCTSTR, HWND, DLGPROC);

INT_PTR DialogBoxIndirect(HINSTANCE, LPCDLGTEMPLATE, HWND, DLGPROC);

BOOL SetDlgItemText(HWND, int, LPCTSTR);

UINT GetDlgItemText(HWND, int, LPTSTR, int);

LRESULT SendDlgItemMessage(HWND, int, UINT, WPARAM, LPARAM);

LRESULT DefDlgProc(HWND, UINT, WPARAM, LPARAM);

BOOL CallMsgFilter(LPMSG, int);

UINT RegisterClipboardFormat(LPCTSTR);

int GetClipboardFormatName(UINT, LPTSTR, int);

BOOL CharToOem(LPCTSTR, LPSTR);

BOOL OemToChar(LPCSTR, LPTSTR);

BOOL CharToOemBuff(LPCTSTR, LPSTR, DWORD);

BOOL OemToCharBuff(LPCSTR, LPTSTR, DWORD);

LPTSTR CharUpper(LPTSTR);

DWORD CharUpperBuff(LPTSTR, DWORD);

LPTSTR CharLower(LPTSTR);

DWORD CharLowerBuff(LPTSTR, DWORD);

LPTSTR CharNext(LPCTSTR);

LPTSTR CharPrev(LPCTSTR, LPCTSTR);

BOOL IsCharAlpha(CHAR);

BOOL IsCharAlphaNumeric(CHAR);

BOOL IsCharUpper(CHAR);

BOOL IsCharLower(CHAR);

int GetKeyNameText(LONG, LPTSTR, int);

SHORT VkKeyScan(CHAR);

SHORT VkKeyScanEx(CHAR, HKL);

UINT MapVirtualKey(UINT, UINT);

UINT MapVirtualKeyEx(UINT, UINT, HKL);

HACCEL LoadAccelerators(HINSTANCE, LPCTSTR);

HACCEL CreateAcceleratorTable(LPACCEL, int);

int CopyAcceleratorTable(HACCEL, LPACCEL, int);

int TranslateAccelerator(HWND, HACCEL, LPMSG);

HMENU LoadMenu(HINSTANCE, LPCTSTR);

HMENU LoadMenuIndirect(const MENUTEMPLATE *);

BOOL ChangeMenu(HMENU, UINT, LPCTSTR, UINT, UINT);

int GetMenuString(HMENU, UINT, LPTSTR, int, UINT);

BOOL InsertMenu(HMENU, UINT, UINT, UINT_PTR, LPCTSTR);

BOOL AppendMenu(HMENU, UINT, UINT_PTR, LPCTSTR);

BOOL ModifyMenu(HMENU, UINT, UINT, UINT_PTR, LPCTSTR);

BOOL InsertMenuItem(HMENU, UINT, BOOL, LPCMENUITEMINFO);

BOOL GetMenuItemInfo(HMENU, UINT, BOOL, LPMENUITEMINFO);

BOOL SetMenuItemInfo(HMENU, UINT, BOOL, LPCMENUITEMINFO);

int DrawText(HDC, LPCTSTR, int, LPRECT, UINT);

int DrawTextEx(HDC, LPTSTR, int, LPRECT, UINT, LPDRAWTEXTPARAMS);

BOOL GrayString(HDC, HBRUSH, GRAYSTRINGPROC, LPARAM, int, int, int, int, int);

BOOL DrawState(HDC, HBRUSH, DRAWSTATEPROC, LPARAM, WPARAM, int, int, int, int, UINT);

LONG TabbedTextOut(HDC, int, int, LPCTSTR, int, int, const INT *, int);

DWORD GetTabbedTextExtent(HDC, LPCTSTR, int, int, const INT *);

BOOL SetProp(HWND, LPCTSTR, HANDLE);

HANDLE GetProp(HWND, LPCTSTR);

HANDLE RemoveProp(HWND, LPCTSTR);

int EnumPropsEx(HWND, PROPENUMPROCEX, LPARAM);

int EnumProps(HWND, PROPENUMPROC);

BOOL SetWindowText(HWND, LPCTSTR);

int GetWindowText(HWND, LPTSTR, int);

int GetWindowTextLength(HWND);

int MessageBox(HWND, LPCTSTR, LPCTSTR, UINT);

int MessageBoxEx(HWND, LPCTSTR, LPCTSTR, UINT, WORD);

int MessageBoxIndirect(const MSGBOXPARAMS *);

LONG GetWindowLong(HWND, int);

LONG SetWindowLong(HWND, int, LONG);

LONG_PTR GetWindowLongPtr(HWND, int);

LONG_PTR SetWindowLongPtr(HWND, int, LONG_PTR);

DWORD GetClassLong(HWND, int);

DWORD SetClassLong(HWND, int, LONG);

ULONG_PTR GetClassLongPtr(HWND, int);

ULONG_PTR SetClassLongPtr(HWND, int, LONG_PTR);

HWND FindWindow(LPCTSTR, LPCTSTR);

HWND FindWindowEx(HWND, HWND, LPCTSTR, LPCTSTR);

int GetClassName(HWND, LPTSTR, int);

HHOOK SetWindowsHook(int, HOOKPROC);

HHOOK SetWindowsHookEx(int, HOOKPROC, HINSTANCE, DWORD);

HBITMAP LoadBitmap(HINSTANCE, LPCTSTR);

HCURSOR LoadCursor(HINSTANCE, LPCTSTR);

HCURSOR LoadCursorFromFile(LPCTSTR);

HICON LoadIcon(HINSTANCE, LPCTSTR);

UINT PrivateExtractIcons(LPCTSTR, int, int, int, HICON *, UINT *, UINT, UINT);

HANDLE LoadImage(HINSTANCE, LPCTSTR, UINT, int, int, UINT);

BOOL GetIconInfoEx(HICON, PICONINFOEX);

BOOL IsDialogMessage(HWND, LPMSG);

int DlgDirList(HWND, LPTSTR, int, int, UINT);

BOOL DlgDirSelectEx(HWND, LPTSTR, int, int);

int DlgDirListComboBox(HWND, LPTSTR, int, int, UINT);

BOOL DlgDirSelectComboBoxEx(HWND, LPTSTR, int, int);

LRESULT DefFrameProc(HWND, HWND, UINT, WPARAM, LPARAM);

LRESULT DefMDIChildProc(HWND, UINT, WPARAM, LPARAM);

HWND CreateMDIWindow(LPCTSTR, LPCTSTR, DWORD, int, int, int, int, HWND, HINSTANCE, LPARAM);

BOOL WinHelp(HWND, LPCTSTR, UINT, ULONG_PTR);

LONG ChangeDisplaySettings(DEVMODE*, DWORD);

LONG ChangeDisplaySettingsEx(LPCTSTR, DEVMODE*, HWND, DWORD, LPVOID);

BOOL EnumDisplaySettings(LPCTSTR, DWORD, DEVMODE*);

BOOL EnumDisplaySettingsEx(LPCTSTR, DWORD, DEVMODE*, DWORD);

BOOL EnumDisplayDevices(LPCTSTR, DWORD, PDISPLAY_DEVICE, DWORD);

BOOL SystemParametersInfo(UINT, UINT, PVOID, UINT);

BOOL GetMonitorInfo(HMONITOR, LPMONITORINFO);

UINT GetWindowModuleFileName(HWND, LPTSTR, UINT);

UINT RealGetWindowClass(HWND, LPTSTR, UINT);

BOOL GetAltTabInfo(HWND, int, PALTTABINFO, LPTSTR, UINT);

UINT GetRawInputDeviceInfo(HANDLE, UINT, LPVOID, PUINT);

int GetDateFormat(LCID, DWORD, const SYSTEMTIME*, LPCTSTR, LPTSTR, int);

int GetTimeFormat(LCID, DWORD, const SYSTEMTIME*, LPCTSTR, LPTSTR, int);

BOOL GetCPInfoEx(UINT, DWORD, LPCPINFOEX);

int CompareString(LCID, DWORD, PCNZTCH, int, PCNZTCH, int);

int GetLocaleInfo(LCID, LCTYPE, LPTSTR, int);

BOOL SetLocaleInfo(LCID, LCTYPE, LPCTSTR);

int GetCalendarInfo(LCID, CALID, CALTYPE, LPTSTR, int, LPDWORD);

BOOL SetCalendarInfo(LCID, CALID, CALTYPE, LPCTSTR);

int GetNumberFormat(LCID, DWORD, LPCTSTR, const NUMBERFMT *, LPTSTR, int);

int GetCurrencyFormat(LCID, DWORD, LPCTSTR, const CURRENCYFMT *, LPTSTR, int);

BOOL EnumCalendarInfo(CALINFO_ENUMPROC, LCID, CALID, CALTYPE);

BOOL EnumCalendarInfoEx(CALINFO_ENUMPROCEX, LCID, CALID, CALTYPE);

BOOL EnumTimeFormats(TIMEFMT_ENUMPROC, LCID, DWORD);

BOOL EnumDateFormats(DATEFMT_ENUMPROC, LCID, DWORD);

BOOL EnumDateFormatsEx(DATEFMT_ENUMPROCEX, LCID, DWORD);

int GetGeoInfo(GEOID, GEOTYPE, LPTSTR, int, LANGID);

BOOL GetStringTypeEx(LCID, DWORD, LPCTSTR, int, LPWORD);

int FoldString(DWORD, LPCTSTR, int, LPTSTR, int);

BOOL EnumSystemLocales(LOCALE_ENUMPROC, DWORD);

BOOL EnumSystemLanguageGroups(LANGUAGEGROUP_ENUMPROC, DWORD, LONG_PTR);

BOOL EnumLanguageGroupLocales(LANGGROUPLOCALE_ENUMPROC, LGRPID, DWORD, LONG_PTR);

BOOL EnumUILanguages(UILANGUAGE_ENUMPROC, DWORD, LONG_PTR);

BOOL EnumSystemCodePages(CODEPAGE_ENUMPROC, DWORD);

BOOL ReadConsoleInput(HANDLE, PINPUT_RECORD, DWORD, LPDWORD);

BOOL PeekConsoleInput(HANDLE, PINPUT_RECORD, DWORD, LPDWORD);

BOOL ReadConsole(HANDLE, LPVOID, DWORD, LPDWORD, PCONSOLE_READCONSOLE_CONTROL);

BOOL WriteConsole(HANDLE, const void*, DWORD, LPDWORD, LPVOID);

BOOL FillConsoleOutputCharacter(HANDLE, CHAR, DWORD, COORD, LPDWORD);

BOOL WriteConsoleOutputCharacter(HANDLE, LPCTSTR, DWORD, COORD, LPDWORD);

BOOL ReadConsoleOutputCharacter(HANDLE, LPTSTR, DWORD, COORD, LPDWORD);

BOOL WriteConsoleInput(HANDLE, const INPUT_RECORD*, DWORD, LPDWORD);

BOOL ScrollConsoleScreenBuffer(HANDLE, const SMALL_RECT*, const SMALL_RECT*, COORD, const CHAR_INFO*);

BOOL WriteConsoleOutput(HANDLE, const CHAR_INFO*, COORD, COORD, PSMALL_RECT);

BOOL ReadConsoleOutput(HANDLE, PCHAR_INFO, COORD, COORD, PSMALL_RECT);

DWORD GetConsoleTitle(LPTSTR, DWORD);

DWORD GetConsoleOriginalTitle(LPTSTR, DWORD);

BOOL SetConsoleTitle(LPCTSTR);

BOOL AddConsoleAlias(LPTSTR, LPTSTR, LPTSTR);

DWORD GetConsoleAlias(LPTSTR, LPTSTR, DWORD, LPTSTR);

DWORD GetConsoleAliasesLength(LPTSTR);

DWORD GetConsoleAliasExesLength();

DWORD GetConsoleAliases(LPTSTR, DWORD, LPTSTR);

DWORD GetConsoleAliasExes(LPTSTR, DWORD);

void ExpungeConsoleCommandHistory(LPTSTR);

BOOL SetConsoleNumberOfCommands(DWORD, LPTSTR);

DWORD GetConsoleCommandHistoryLength(LPTSTR);

DWORD GetConsoleCommandHistory(LPTSTR, DWORD, LPTSTR);

DWORD VerFindFile(DWORD, LPTSTR, LPTSTR, LPTSTR, LPTSTR, PUINT, LPTSTR, PUINT);

DWORD VerInstallFile(DWORD, LPTSTR, LPTSTR, LPTSTR, LPTSTR, LPTSTR, LPTSTR, PUINT);

DWORD GetFileVersionInfoSize(LPCTSTR, LPDWORD);

BOOL GetFileVersionInfo(LPCTSTR, DWORD, DWORD, LPVOID);

DWORD GetFileVersionInfoSizeEx(DWORD, LPCTSTR, LPDWORD);

BOOL GetFileVersionInfoEx(DWORD, LPCTSTR, DWORD, DWORD, LPVOID);

DWORD VerLanguageName(DWORD, LPTSTR, DWORD);

BOOL VerQueryValue(LPCVOID, LPCTSTR, LPVOID *, PUINT);

LSTATUS RegConnectRegistry(LPCTSTR, HKEY, PHKEY);

LSTATUS RegConnectRegistryEx(LPCTSTR, HKEY, ULONG, PHKEY);

LSTATUS RegCreateKey(HKEY, LPCTSTR, PHKEY);

LSTATUS RegCreateKeyEx(HKEY, LPCTSTR, DWORD, LPTSTR, DWORD, REGSAM, const LPSECURITY_ATTRIBUTES, PHKEY, LPDWORD);

LSTATUS RegCreateKeyTransacted(HKEY, LPCTSTR, DWORD, LPTSTR, DWORD, REGSAM, const LPSECURITY_ATTRIBUTES, PHKEY, LPDWORD, HANDLE, PVOID);

LSTATUS RegDeleteKey(HKEY, LPCTSTR);

LSTATUS RegDeleteKeyEx(HKEY, LPCTSTR, REGSAM, DWORD);

LSTATUS RegDeleteKeyTransacted(HKEY, LPCTSTR, REGSAM, DWORD, HANDLE, PVOID);

LSTATUS RegDeleteValue(HKEY, LPCTSTR);

LSTATUS RegEnumKey(HKEY, DWORD, LPTSTR, DWORD);

LSTATUS RegEnumKeyEx(HKEY, DWORD, LPTSTR, LPDWORD, LPDWORD, LPTSTR, LPDWORD, PFILETIME);

LSTATUS RegEnumValue(HKEY, DWORD, LPTSTR, LPDWORD, LPDWORD, LPDWORD, LPBYTE, LPDWORD);

LSTATUS RegLoadKey(HKEY, LPCTSTR, LPCTSTR);

LSTATUS RegOpenKey(HKEY, LPCTSTR, PHKEY);

LSTATUS RegOpenKeyEx(HKEY, LPCTSTR, DWORD, REGSAM, PHKEY);

LSTATUS RegOpenKeyTransacted(HKEY, LPCTSTR, DWORD, REGSAM, PHKEY, HANDLE, PVOID);

LSTATUS RegQueryInfoKey(HKEY, LPTSTR, LPDWORD, LPDWORD, LPDWORD, LPDWORD, LPDWORD, LPDWORD, LPDWORD, LPDWORD, LPDWORD, PFILETIME);

LSTATUS RegQueryValue(HKEY, LPCTSTR, LPTSTR, PLONG);

LSTATUS RegQueryMultipleValues(HKEY, PVALENT, DWORD, LPTSTR, LPDWORD);

LSTATUS RegQueryValueEx(HKEY, LPCTSTR, LPDWORD, LPDWORD, LPBYTE, LPDWORD);

LSTATUS RegReplaceKey(HKEY, LPCTSTR, LPCTSTR, LPCTSTR);

LSTATUS RegRestoreKey(HKEY, LPCTSTR, DWORD);

LSTATUS RegSaveKey(HKEY, LPCTSTR, const LPSECURITY_ATTRIBUTES);

LSTATUS RegSetValue(HKEY, LPCTSTR, DWORD, LPCTSTR, DWORD);

LSTATUS RegSetValueEx(HKEY, LPCTSTR, DWORD, DWORD, const BYTE*, DWORD);

LSTATUS RegUnLoadKey(HKEY, LPCTSTR);

LSTATUS RegDeleteKeyValue(HKEY, LPCTSTR, LPCTSTR);

LSTATUS RegSetKeyValue(HKEY, LPCTSTR, LPCTSTR, DWORD, LPCVOID, DWORD);

LSTATUS RegDeleteTree(HKEY, LPCTSTR);

LSTATUS RegCopyTree(HKEY, LPCTSTR, HKEY);

LSTATUS RegGetValue(HKEY, LPCTSTR, LPCTSTR, DWORD, LPDWORD, PVOID, LPDWORD);

LSTATUS RegLoadMUIString(HKEY, LPCTSTR, LPTSTR, DWORD, LPDWORD, DWORD, LPCTSTR);

LSTATUS RegLoadAppKey(LPCTSTR, PHKEY, REGSAM, DWORD, DWORD);

BOOL InitiateSystemShutdown(LPTSTR, LPTSTR, DWORD, BOOL, BOOL);

BOOL AbortSystemShutdown(LPTSTR);

BOOL InitiateSystemShutdownEx(LPTSTR, LPTSTR, DWORD, BOOL, BOOL, DWORD);

DWORD InitiateShutdown(LPTSTR, LPTSTR, DWORD, DWORD, DWORD);

LSTATUS RegSaveKeyEx(HKEY, LPCTSTR, const LPSECURITY_ATTRIBUTES, DWORD);

DWORD MultinetGetConnectionPerformance(LPNETRESOURCE, LPNETCONNECTINFOSTRUCT);

BOOL ChangeServiceConfig(SC_HANDLE, DWORD, DWORD, DWORD, LPCTSTR, LPCTSTR, LPDWORD, LPCTSTR, LPCTSTR, LPCTSTR, LPCTSTR);

BOOL ChangeServiceConfig2(SC_HANDLE, DWORD, LPVOID);

SC_HANDLE CreateService(SC_HANDLE, LPCTSTR, LPCTSTR, DWORD, DWORD, DWORD, DWORD, LPCTSTR, LPCTSTR, LPDWORD, LPCTSTR, LPCTSTR, LPCTSTR);

BOOL EnumDependentServices(SC_HANDLE, DWORD, LPENUM_SERVICE_STATUS, DWORD, LPDWORD, LPDWORD);

BOOL EnumServicesStatus(SC_HANDLE, DWORD, DWORD, LPENUM_SERVICE_STATUS, DWORD, LPDWORD, LPDWORD, LPDWORD);

BOOL EnumServicesStatusEx(SC_HANDLE, SC_ENUM_TYPE, DWORD, DWORD, LPBYTE, DWORD, LPDWORD, LPDWORD, LPDWORD, LPCTSTR);

BOOL GetServiceKeyName(SC_HANDLE, LPCTSTR, LPTSTR, LPDWORD);

BOOL GetServiceDisplayName(SC_HANDLE, LPCTSTR, LPTSTR, LPDWORD);

SC_HANDLE OpenSCManager(LPCTSTR, LPCTSTR, DWORD);

SC_HANDLE OpenService(SC_HANDLE, LPCTSTR, DWORD);

BOOL QueryServiceConfig(SC_HANDLE, LPQUERY_SERVICE_CONFIG, DWORD, LPDWORD);

BOOL QueryServiceConfig2(SC_HANDLE, DWORD, LPBYTE, DWORD, LPDWORD);

BOOL QueryServiceLockStatus(SC_HANDLE, LPQUERY_SERVICE_LOCK_STATUS, DWORD, LPDWORD);

SERVICE_STATUS_HANDLE RegisterServiceCtrlHandler(LPCTSTR, LPHANDLER_FUNCTION);

SERVICE_STATUS_HANDLE RegisterServiceCtrlHandlerEx(LPCTSTR, LPHANDLER_FUNCTION_EX, LPVOID);

BOOL StartServiceCtrlDispatcher(const SERVICE_TABLE_ENTRY *);

BOOL StartService(SC_HANDLE, DWORD, LPCTSTR *);

DWORD NotifyServiceStatusChange(SC_HANDLE, DWORD, PSERVICE_NOTIFY);

BOOL ControlServiceEx(SC_HANDLE, DWORD, DWORD, PVOID);

HKL ImmInstallIME(LPCTSTR, LPCTSTR);

UINT ImmGetDescription(HKL, LPTSTR, UINT);

UINT ImmGetIMEFileName(HKL, LPTSTR, UINT);

LONG ImmGetCompositionString(HIMC, DWORD, LPVOID, DWORD);

BOOL ImmSetCompositionString(HIMC, DWORD, LPVOID, DWORD, LPVOID, DWORD);

DWORD ImmGetCandidateListCount(HIMC, LPDWORD);

DWORD ImmGetCandidateList(HIMC, DWORD, LPCANDIDATELIST, DWORD);

DWORD ImmGetGuideLine(HIMC, DWORD, LPTSTR, DWORD);

BOOL ImmGetCompositionFont(HIMC, LPLOGFONT);

BOOL ImmSetCompositionFont(HIMC, LPLOGFONT);

BOOL ImmConfigureIME(HKL, HWND, DWORD, LPVOID);

LRESULT ImmEscape(HKL, HIMC, UINT, LPVOID);

DWORD ImmGetConversionList(HKL, HIMC, LPCTSTR, LPCANDIDATELIST, DWORD, UINT);

BOOL ImmIsUIMessage(HWND, UINT, WPARAM, LPARAM);

BOOL ImmRegisterWord(HKL, LPCTSTR, DWORD, LPCTSTR);

BOOL ImmUnregisterWord(HKL, LPCTSTR, DWORD, LPCTSTR);

UINT ImmGetRegisterWordStyle(HKL, UINT, LPSTYLEBUF);

UINT ImmEnumRegisterWord(HKL, REGISTERWORDENUMPROC, LPCTSTR, DWORD, LPCTSTR, LPVOID);

DWORD ImmGetImeMenuItems(HIMC, DWORD, DWORD, LPIMEMENUITEMINFO, LPIMEMENUITEMINFO, DWORD);