1 /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
2 /* vim: set ts=2 et sw=2 tw=80: */
3 /* This Source Code Form is subject to the terms of the Mozilla Public
4 * License, v. 2.0. If a copy of the MPL was not distributed with this
5 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
8 * This file contains a series of C-style function prototypes for A/W-suffixed
9 * Win32 APIs defined by windows.h.
11 * This file is processed by make-windows-h-wrapper.py to generate a wrapper for
12 * the header which removes the defines usually implementing these aliases.
14 * Wrappers defined in this file will have the 'stdcall' calling convention,
15 * will be defined as 'inline', and will only be defined if the corresponding
16 * #define directive has not been #undef-ed.
18 * NOTE: This is *NOT* a real C header, but rather an input to the avove script.
19 * Only basic declarations in the form found here are allowed.
22 LPTSTR
GetCommandLine();
24 BOOL
FreeEnvironmentStrings(LPTCH
);
26 DWORD
GetEnvironmentVariable(LPCTSTR
, LPTSTR
, DWORD
);
28 BOOL
SetEnvironmentVariable(LPCTSTR
, LPCTSTR
);
30 DWORD
ExpandEnvironmentStrings(LPCTSTR
, LPTSTR
, DWORD
);
32 BOOL
SetCurrentDirectory(LPCTSTR
);
34 DWORD
GetCurrentDirectory(DWORD
, LPTSTR
);
36 DWORD
SearchPath(LPCTSTR
, LPCTSTR
, LPCTSTR
, DWORD
, LPTSTR
, LPTSTR
*);
38 BOOL
NeedCurrentDirectoryForExePath(LPCTSTR
);
40 BOOL
CreateDirectory(LPCTSTR
, LPSECURITY_ATTRIBUTES
);
42 HANDLE
CreateFile(LPCTSTR
, DWORD
, DWORD
, LPSECURITY_ATTRIBUTES
, DWORD
, DWORD
,
45 BOOL
DeleteFile(LPCTSTR
);
47 HANDLE
FindFirstChangeNotification(LPCTSTR
, BOOL
, DWORD
);
49 HANDLE
FindFirstFile(LPCTSTR
, LPWIN32_FIND_DATA
);
51 HANDLE
FindFirstFileEx(LPCTSTR
, FINDEX_INFO_LEVELS
, LPVOID
, FINDEX_SEARCH_OPS
,
54 BOOL
FindNextFile(HANDLE
, LPWIN32_FIND_DATA
);
56 BOOL
GetDiskFreeSpace(LPCTSTR
, LPDWORD
, LPDWORD
, LPDWORD
, LPDWORD
);
58 BOOL
GetDiskFreeSpaceEx(LPCTSTR
, PULARGE_INTEGER
, PULARGE_INTEGER
,
61 UINT
GetDriveType(LPCTSTR
);
63 DWORD
GetFileAttributes(LPCTSTR
);
65 BOOL
GetFileAttributesEx(LPCTSTR
, GET_FILEEX_INFO_LEVELS
, LPVOID
);
67 DWORD
GetFinalPathNameByHandle(HANDLE
, LPTSTR
, DWORD
, DWORD
);
69 DWORD
GetFullPathName(LPCTSTR
, DWORD
, LPTSTR
, LPTSTR
*);
71 DWORD
GetLongPathName(LPCTSTR
, LPTSTR
, DWORD
);
73 BOOL
RemoveDirectory(LPCTSTR
);
75 BOOL
SetFileAttributes(LPCTSTR
, DWORD
);
77 DWORD
GetCompressedFileSize(LPCTSTR
, LPDWORD
);
79 DWORD
GetTempPath(DWORD
, LPTSTR
);
81 BOOL
GetVolumeInformation(LPCTSTR
, LPTSTR
, DWORD
, LPDWORD
, LPDWORD
, LPDWORD
,
84 UINT
GetTempFileName(LPCTSTR
, LPCTSTR
, UINT
, LPTSTR
);
86 void OutputDebugString(LPCTSTR
);
88 void FatalAppExit(UINT
, LPCTSTR
);
90 HANDLE
CreateMutex(LPSECURITY_ATTRIBUTES
, BOOL
, LPCTSTR
);
92 HANDLE
CreateEvent(LPSECURITY_ATTRIBUTES
, BOOL
, BOOL
, LPCTSTR
);
94 HANDLE
OpenEvent(DWORD
, BOOL
, LPCTSTR
);
96 HANDLE
CreateMutexEx(LPSECURITY_ATTRIBUTES
, LPCTSTR
, DWORD
, DWORD
);
98 HANDLE
CreateEventEx(LPSECURITY_ATTRIBUTES
, LPCTSTR
, DWORD
, DWORD
);
100 BOOL
CreateProcess(LPCTSTR
, LPTSTR
, LPSECURITY_ATTRIBUTES
,
101 LPSECURITY_ATTRIBUTES
, BOOL
, DWORD
, LPVOID
, LPCTSTR
,
102 LPSTARTUPINFO
, LPPROCESS_INFORMATION
);
104 BOOL
CreateProcessAsUser(HANDLE
, LPCTSTR
, LPTSTR
, LPSECURITY_ATTRIBUTES
,
105 LPSECURITY_ATTRIBUTES
, BOOL
, DWORD
, LPVOID
, LPCTSTR
,
106 LPSTARTUPINFO
, LPPROCESS_INFORMATION
);
108 UINT
GetSystemDirectory(LPTSTR
, UINT
);
110 UINT
GetWindowsDirectory(LPTSTR
, UINT
);
112 UINT
GetSystemWindowsDirectory(LPTSTR
, UINT
);
114 BOOL
GetComputerNameEx(COMPUTER_NAME_FORMAT
, LPTSTR
, LPDWORD
);
116 BOOL
GetVersionEx(LPOSVERSIONINFO
);
118 BOOL
SetComputerName(LPCTSTR
);
120 BOOL
SetComputerNameEx(COMPUTER_NAME_FORMAT
, LPCTSTR
);
122 BOOL
LoadEnclaveImage(LPVOID
, LPCTSTR
);
124 UINT
GetSystemWow64Directory(LPTSTR
, UINT
);
126 DWORD
GetModuleFileName(HMODULE
, LPTSTR
, DWORD
);
128 HMODULE
GetModuleHandle(LPCTSTR
);
130 BOOL
GetModuleHandleEx(DWORD
, LPCTSTR
, HMODULE
*);
132 HMODULE
LoadLibraryEx(LPCTSTR
, HANDLE
, DWORD
);
134 int LoadString(HINSTANCE
, UINT
, LPTSTR
, int);
136 BOOL
EnumResourceLanguagesEx(HMODULE
, LPCTSTR
, LPCTSTR
, ENUMRESLANGPROC
,
137 LONG_PTR
, DWORD
, LANGID
);
139 BOOL
EnumResourceNamesEx(HMODULE
, LPCTSTR
, ENUMRESNAMEPROC
, LONG_PTR
, DWORD
,
142 BOOL
EnumResourceTypesEx(HMODULE
, ENUMRESTYPEPROC
, LONG_PTR
, DWORD
, LANGID
);
144 HMODULE
LoadLibrary(LPCTSTR
);
146 BOOL
GetBinaryType(LPCTSTR
, LPDWORD
);
148 DWORD
GetShortPathName(LPCTSTR
, LPTSTR
, DWORD
);
150 DWORD
GetLongPathNameTransacted(LPCTSTR
, LPTSTR
, DWORD
, HANDLE
);
152 BOOL
SetEnvironmentStrings(LPTCH
);
154 BOOL
SetFileShortName(HANDLE
, LPCTSTR
);
156 DWORD
FormatMessage(DWORD
, LPCVOID
, DWORD
, DWORD
, LPTSTR
, DWORD
, va_list*);
158 HANDLE
CreateMailslot(LPCTSTR
, DWORD
, DWORD
, LPSECURITY_ATTRIBUTES
);
160 BOOL
EncryptFile(LPCTSTR
);
162 BOOL
DecryptFile(LPCTSTR
, DWORD
);
164 BOOL
FileEncryptionStatus(LPCTSTR
, LPDWORD
);
166 DWORD
OpenEncryptedFileRaw(LPCTSTR
, ULONG
, PVOID
*);
168 HANDLE
OpenMutex(DWORD
, BOOL
, LPCTSTR
);
170 HANDLE
CreateSemaphore(LPSECURITY_ATTRIBUTES
, LONG
, LONG
, LPCTSTR
);
172 HANDLE
OpenSemaphore(DWORD
, BOOL
, LPCTSTR
);
174 HANDLE
CreateWaitableTimer(LPSECURITY_ATTRIBUTES
, BOOL
, LPCTSTR
);
176 HANDLE
OpenWaitableTimer(DWORD
, BOOL
, LPCTSTR
);
178 HANDLE
CreateSemaphoreEx(LPSECURITY_ATTRIBUTES
, LONG
, LONG
, LPCTSTR
, DWORD
,
181 HANDLE
CreateWaitableTimerEx(LPSECURITY_ATTRIBUTES
, LPCTSTR
, DWORD
, DWORD
);
183 HANDLE
CreateFileMapping(HANDLE
, LPSECURITY_ATTRIBUTES
, DWORD
, DWORD
, DWORD
,
186 HANDLE
CreateFileMappingNuma(HANDLE
, LPSECURITY_ATTRIBUTES
, DWORD
, DWORD
, DWORD
,
189 HANDLE
OpenFileMapping(DWORD
, BOOL
, LPCTSTR
);
191 DWORD
GetLogicalDriveStrings(DWORD
, LPTSTR
);
193 void GetStartupInfo(LPSTARTUPINFO
);
195 DWORD
GetFirmwareEnvironmentVariable(LPCTSTR
, LPCTSTR
, PVOID
, DWORD
);
197 BOOL
SetFirmwareEnvironmentVariable(LPCTSTR
, LPCTSTR
, PVOID
, DWORD
);
199 HRSRC
FindResource(HMODULE
, LPCTSTR
, LPCTSTR
);
201 HRSRC
FindResourceEx(HMODULE
, LPCTSTR
, LPCTSTR
, WORD
);
203 BOOL
EnumResourceTypes(HMODULE
, ENUMRESTYPEPROC
, LONG_PTR
);
205 BOOL
EnumResourceNames(HMODULE
, LPCTSTR
, ENUMRESNAMEPROC
, LONG_PTR
);
207 BOOL
EnumResourceLanguages(HMODULE
, LPCTSTR
, LPCTSTR
, ENUMRESLANGPROC
,
210 HANDLE
BeginUpdateResource(LPCTSTR
, BOOL
);
212 BOOL
UpdateResource(HANDLE
, LPCTSTR
, LPCTSTR
, WORD
, LPVOID
, DWORD
);
214 BOOL
EndUpdateResource(HANDLE
, BOOL
);
216 ATOM
GlobalAddAtom(LPCTSTR
);
218 ATOM
GlobalAddAtomEx(LPCTSTR
, DWORD
);
220 ATOM
GlobalFindAtom(LPCTSTR
);
222 UINT
GlobalGetAtomName(ATOM
, LPTSTR
, int);
224 ATOM
AddAtom(LPCTSTR
);
226 ATOM
FindAtom(LPCTSTR
);
228 UINT
GetAtomName(ATOM
, LPTSTR
, int);
230 UINT
GetProfileInt(LPCTSTR
, LPCTSTR
, INT
);
232 DWORD
GetProfileString(LPCTSTR
, LPCTSTR
, LPCTSTR
, LPTSTR
, DWORD
);
234 BOOL
WriteProfileString(LPCTSTR
, LPCTSTR
, LPCTSTR
);
236 DWORD
GetProfileSection(LPCTSTR
, LPTSTR
, DWORD
);
238 BOOL
WriteProfileSection(LPCTSTR
, LPCTSTR
);
240 UINT
GetPrivateProfileInt(LPCTSTR
, LPCTSTR
, INT
, LPCTSTR
);
242 DWORD
GetPrivateProfileString(LPCTSTR
, LPCTSTR
, LPCTSTR
, LPTSTR
, DWORD
,
245 BOOL
WritePrivateProfileString(LPCTSTR
, LPCTSTR
, LPCTSTR
, LPCTSTR
);
247 DWORD
GetPrivateProfileSection(LPCTSTR
, LPTSTR
, DWORD
, LPCTSTR
);
249 BOOL
WritePrivateProfileSection(LPCTSTR
, LPCTSTR
, LPCTSTR
);
251 DWORD
GetPrivateProfileSectionNames(LPTSTR
, DWORD
, LPCTSTR
);
253 BOOL
GetPrivateProfileStruct(LPCTSTR
, LPCTSTR
, LPVOID
, UINT
, LPCTSTR
);
255 BOOL
WritePrivateProfileStruct(LPCTSTR
, LPCTSTR
, LPVOID
, UINT
, LPCTSTR
);
257 BOOL
SetDllDirectory(LPCTSTR
);
259 DWORD
GetDllDirectory(DWORD
, LPTSTR
);
261 BOOL
CreateDirectoryEx(LPCTSTR
, LPCTSTR
, LPSECURITY_ATTRIBUTES
);
263 BOOL
CreateDirectoryTransacted(LPCTSTR
, LPCTSTR
, LPSECURITY_ATTRIBUTES
, HANDLE
);
265 BOOL
RemoveDirectoryTransacted(LPCTSTR
, HANDLE
);
267 DWORD
GetFullPathNameTransacted(LPCTSTR
, DWORD
, LPTSTR
, LPTSTR
*, HANDLE
);
269 BOOL
DefineDosDevice(DWORD
, LPCTSTR
, LPCTSTR
);
271 DWORD
QueryDosDevice(LPCTSTR
, LPTSTR
, DWORD
);
273 HANDLE
CreateFileTransacted(LPCTSTR
, DWORD
, DWORD
, LPSECURITY_ATTRIBUTES
, DWORD
,
274 DWORD
, HANDLE
, HANDLE
, PUSHORT
, PVOID
);
276 BOOL
SetFileAttributesTransacted(LPCTSTR
, DWORD
, HANDLE
);
278 BOOL
GetFileAttributesTransacted(LPCTSTR
, GET_FILEEX_INFO_LEVELS
, LPVOID
,
281 DWORD
GetCompressedFileSizeTransacted(LPCTSTR
, LPDWORD
, HANDLE
);
283 BOOL
DeleteFileTransacted(LPCTSTR
, HANDLE
);
285 BOOL
CheckNameLegalDOS8Dot3(LPCTSTR
, LPSTR
, DWORD
, PBOOL
, PBOOL
);
287 HANDLE
FindFirstFileTransacted(LPCTSTR
, FINDEX_INFO_LEVELS
, LPVOID
,
288 FINDEX_SEARCH_OPS
, LPVOID
, DWORD
, HANDLE
);
290 BOOL
CopyFile(LPCTSTR
, LPCTSTR
, BOOL
);
292 BOOL
CopyFileEx(LPCTSTR
, LPCTSTR
, LPPROGRESS_ROUTINE
, LPVOID
, LPBOOL
, DWORD
);
294 BOOL
CopyFileTransacted(LPCTSTR
, LPCTSTR
, LPPROGRESS_ROUTINE
, LPVOID
, LPBOOL
,
297 BOOL
MoveFile(LPCTSTR
, LPCTSTR
);
299 BOOL
MoveFileEx(LPCTSTR
, LPCTSTR
, DWORD
);
301 BOOL
MoveFileWithProgress(LPCTSTR
, LPCTSTR
, LPPROGRESS_ROUTINE
, LPVOID
, DWORD
);
303 BOOL
MoveFileTransacted(LPCTSTR
, LPCTSTR
, LPPROGRESS_ROUTINE
, LPVOID
, DWORD
,
306 BOOL
ReplaceFile(LPCTSTR
, LPCTSTR
, LPCTSTR
, DWORD
, LPVOID
, LPVOID
);
308 BOOL
CreateHardLink(LPCTSTR
, LPCTSTR
, LPSECURITY_ATTRIBUTES
);
310 BOOL
CreateHardLinkTransacted(LPCTSTR
, LPCTSTR
, LPSECURITY_ATTRIBUTES
, HANDLE
);
312 HANDLE
CreateNamedPipe(LPCTSTR
, DWORD
, DWORD
, DWORD
, DWORD
, DWORD
, DWORD
,
313 LPSECURITY_ATTRIBUTES
);
315 BOOL
GetNamedPipeHandleState(HANDLE
, LPDWORD
, LPDWORD
, LPDWORD
, LPDWORD
, LPTSTR
,
318 BOOL
CallNamedPipe(LPCTSTR
, LPVOID
, DWORD
, LPVOID
, DWORD
, LPDWORD
, DWORD
);
320 BOOL
WaitNamedPipe(LPCTSTR
, DWORD
);
322 BOOL
GetNamedPipeClientComputerName(HANDLE
, LPTSTR
, ULONG
);
324 BOOL
SetVolumeLabel(LPCTSTR
, LPCTSTR
);
326 BOOL
ClearEventLog(HANDLE
, LPCTSTR
);
328 BOOL
BackupEventLog(HANDLE
, LPCTSTR
);
330 HANDLE
OpenEventLog(LPCTSTR
, LPCTSTR
);
332 HANDLE
RegisterEventSource(LPCTSTR
, LPCTSTR
);
334 HANDLE
OpenBackupEventLog(LPCTSTR
, LPCTSTR
);
336 BOOL
ReadEventLog(HANDLE
, DWORD
, DWORD
, LPVOID
, DWORD
, DWORD
*, DWORD
*);
338 BOOL
ReportEvent(HANDLE
, WORD
, WORD
, DWORD
, PSID
, WORD
, DWORD
, LPCTSTR
*,
341 BOOL
AccessCheckAndAuditAlarm(LPCTSTR
, LPVOID
, LPTSTR
, LPTSTR
,
342 PSECURITY_DESCRIPTOR
, DWORD
, PGENERIC_MAPPING
,
343 BOOL
, LPDWORD
, LPBOOL
, LPBOOL
);
345 BOOL
AccessCheckByTypeAndAuditAlarm(LPCTSTR
, LPVOID
, LPCTSTR
, LPCTSTR
,
346 PSECURITY_DESCRIPTOR
, PSID
, DWORD
,
347 AUDIT_EVENT_TYPE
, DWORD
, POBJECT_TYPE_LIST
,
348 DWORD
, PGENERIC_MAPPING
, BOOL
, LPDWORD
,
351 BOOL
AccessCheckByTypeResultListAndAuditAlarm(LPCTSTR
, LPVOID
, LPCTSTR
, LPCTSTR
,
352 PSECURITY_DESCRIPTOR
, PSID
, DWORD
,
353 AUDIT_EVENT_TYPE
, DWORD
,
354 POBJECT_TYPE_LIST
, DWORD
,
355 PGENERIC_MAPPING
, BOOL
, LPDWORD
,
358 BOOL
AccessCheckByTypeResultListAndAuditAlarmByHandle(
359 LPCTSTR
, LPVOID
, HANDLE
, LPCTSTR
, LPCTSTR
, PSECURITY_DESCRIPTOR
, PSID
,
360 DWORD
, AUDIT_EVENT_TYPE
, DWORD
, POBJECT_TYPE_LIST
, DWORD
, PGENERIC_MAPPING
,
361 BOOL
, LPDWORD
, LPDWORD
, LPBOOL
);
363 BOOL
ObjectOpenAuditAlarm(LPCTSTR
, LPVOID
, LPTSTR
, LPTSTR
, PSECURITY_DESCRIPTOR
,
364 HANDLE
, DWORD
, DWORD
, PPRIVILEGE_SET
, BOOL
, BOOL
,
367 BOOL
ObjectPrivilegeAuditAlarm(LPCTSTR
, LPVOID
, HANDLE
, DWORD
, PPRIVILEGE_SET
,
370 BOOL
ObjectCloseAuditAlarm(LPCTSTR
, LPVOID
, BOOL
);
372 BOOL
ObjectDeleteAuditAlarm(LPCTSTR
, LPVOID
, BOOL
);
374 BOOL
PrivilegedServiceAuditAlarm(LPCTSTR
, LPCTSTR
, HANDLE
, PPRIVILEGE_SET
,
377 BOOL
SetFileSecurity(LPCTSTR
, SECURITY_INFORMATION
, PSECURITY_DESCRIPTOR
);
379 BOOL
GetFileSecurity(LPCTSTR
, SECURITY_INFORMATION
, PSECURITY_DESCRIPTOR
, DWORD
,
382 BOOL
IsBadStringPtr(LPCTSTR
, UINT_PTR
);
384 BOOL
LookupAccountSid(LPCTSTR
, PSID
, LPTSTR
, LPDWORD
, LPTSTR
, LPDWORD
,
387 BOOL
LookupAccountName(LPCTSTR
, LPCTSTR
, PSID
, LPDWORD
, LPTSTR
, LPDWORD
,
390 BOOL
LookupAccountNameLocal(LPCTSTR
, PSID
, LPDWORD
, LPTSTR
, LPDWORD
,
393 BOOL
LookupAccountSidLocal(PSID
, LPTSTR
, LPDWORD
, LPTSTR
, LPDWORD
,
396 BOOL
LookupPrivilegeValue(LPCTSTR
, LPCTSTR
, PLUID
);
398 BOOL
LookupPrivilegeName(LPCTSTR
, PLUID
, LPTSTR
, LPDWORD
);
400 BOOL
LookupPrivilegeDisplayName(LPCTSTR
, LPCTSTR
, LPTSTR
, LPDWORD
, LPDWORD
);
402 BOOL
BuildCommDCB(LPCTSTR
, LPDCB
);
404 BOOL
BuildCommDCBAndTimeouts(LPCTSTR
, LPDCB
, LPCOMMTIMEOUTS
);
406 BOOL
CommConfigDialog(LPCTSTR
, HWND
, LPCOMMCONFIG
);
408 BOOL
GetDefaultCommConfig(LPCTSTR
, LPCOMMCONFIG
, LPDWORD
);
410 BOOL
SetDefaultCommConfig(LPCTSTR
, LPCOMMCONFIG
, DWORD
);
412 BOOL
GetComputerName(LPTSTR
, LPDWORD
);
414 BOOL
DnsHostnameToComputerName(LPCTSTR
, LPTSTR
, LPDWORD
);
416 BOOL
GetUserName(LPTSTR
, LPDWORD
);
418 BOOL
LogonUser(LPCTSTR
, LPCTSTR
, LPCTSTR
, DWORD
, DWORD
, PHANDLE
);
420 BOOL
LogonUserEx(LPCTSTR
, LPCTSTR
, LPCTSTR
, DWORD
, DWORD
, PHANDLE
, PSID
*,
421 PVOID
*, LPDWORD
, PQUOTA_LIMITS
);
423 HANDLE
CreatePrivateNamespace(LPSECURITY_ATTRIBUTES
, LPVOID
, LPCTSTR
);
425 HANDLE
OpenPrivateNamespace(LPVOID
, LPCTSTR
);
427 HANDLE
CreateBoundaryDescriptor(LPCTSTR
, ULONG
);
429 BOOL
GetCurrentHwProfile(LPHW_PROFILE_INFO
);
431 BOOL
VerifyVersionInfo(LPOSVERSIONINFOEX
, DWORD
, DWORDLONG
);
433 HANDLE
CreateJobObject(LPSECURITY_ATTRIBUTES
, LPCTSTR
);
435 HANDLE
OpenJobObject(DWORD
, BOOL
, LPCTSTR
);
437 HANDLE
FindFirstVolume(LPTSTR
, DWORD
);
439 BOOL
FindNextVolume(HANDLE
, LPTSTR
, DWORD
);
441 HANDLE
FindFirstVolumeMountPoint(LPCTSTR
, LPTSTR
, DWORD
);
443 BOOL
FindNextVolumeMountPoint(HANDLE
, LPTSTR
, DWORD
);
445 BOOL
SetVolumeMountPoint(LPCTSTR
, LPCTSTR
);
447 BOOL
DeleteVolumeMountPoint(LPCTSTR
);
449 BOOL
GetVolumeNameForVolumeMountPoint(LPCTSTR
, LPTSTR
, DWORD
);
451 BOOL
GetVolumePathName(LPCTSTR
, LPTSTR
, DWORD
);
453 BOOL
GetVolumePathNamesForVolumeName(LPCTSTR
, LPTCH
, DWORD
, PDWORD
);
455 HANDLE
CreateActCtx(PCACTCTX
);
457 BOOL
FindActCtxSectionString(DWORD
, const GUID
*, ULONG
, LPCTSTR
,
458 PACTCTX_SECTION_KEYED_DATA
);
460 BOOLEAN
CreateSymbolicLink(LPCTSTR
, LPCTSTR
, DWORD
);
462 BOOLEAN
CreateSymbolicLinkTransacted(LPCTSTR
, LPCTSTR
, DWORD
, HANDLE
);
464 int AddFontResource(LPCTSTR
);
466 HMETAFILE
CopyMetaFile(HMETAFILE
, LPCTSTR
);
468 HDC
CreateDC(LPCTSTR
, LPCTSTR
, LPCTSTR
, const DEVMODE
*);
470 HFONT
CreateFontIndirect(const LOGFONT
*);
472 HFONT
CreateFont(int, int, int, int, int, DWORD
, DWORD
, DWORD
, DWORD
, DWORD
,
473 DWORD
, DWORD
, DWORD
, LPCTSTR
);
475 HDC
CreateIC(LPCTSTR
, LPCTSTR
, LPCTSTR
, const DEVMODE
*);
477 HDC
CreateMetaFile(LPCTSTR
);
479 BOOL
CreateScalableFontResource(DWORD
, LPCTSTR
, LPCTSTR
, LPCTSTR
);
481 int DeviceCapabilities(LPCTSTR
, LPCTSTR
, WORD
, LPTSTR
, const DEVMODE
*);
483 int EnumFontFamiliesEx(HDC
, LPLOGFONT
, FONTENUMPROC
, LPARAM
, DWORD
);
485 int EnumFontFamilies(HDC
, LPCTSTR
, FONTENUMPROC
, LPARAM
);
487 int EnumFonts(HDC
, LPCTSTR
, FONTENUMPROC
, LPARAM
);
489 BOOL
GetCharWidth(HDC
, UINT
, UINT
, LPINT
);
491 BOOL
GetCharWidth32(HDC
, UINT
, UINT
, LPINT
);
493 BOOL
GetCharWidthFloat(HDC
, UINT
, UINT
, PFLOAT
);
495 BOOL
GetCharABCWidths(HDC
, UINT
, UINT
, LPABC
);
497 BOOL
GetCharABCWidthsFloat(HDC
, UINT
, UINT
, LPABCFLOAT
);
499 DWORD
GetGlyphOutline(HDC
, UINT
, UINT
, LPGLYPHMETRICS
, DWORD
, LPVOID
,
502 HMETAFILE
GetMetaFile(LPCTSTR
);
504 UINT
GetOutlineTextMetrics(HDC
, UINT
, LPOUTLINETEXTMETRIC
);
506 BOOL
GetTextExtentPoint(HDC
, LPCTSTR
, int, LPSIZE
);
508 BOOL
GetTextExtentPoint32(HDC
, LPCTSTR
, int, LPSIZE
);
510 BOOL
GetTextExtentExPoint(HDC
, LPCTSTR
, int, int, LPINT
, LPINT
, LPSIZE
);
512 DWORD
GetCharacterPlacement(HDC
, LPCTSTR
, int, int, LPGCP_RESULTS
, DWORD
);
514 DWORD
GetGlyphIndices(HDC
, LPCTSTR
, int, LPWORD
, DWORD
);
516 int AddFontResourceEx(LPCTSTR
, DWORD
, PVOID
);
518 BOOL
RemoveFontResourceEx(LPCTSTR
, DWORD
, PVOID
);
520 HFONT
CreateFontIndirectEx(const ENUMLOGFONTEXDV
*);
522 HDC
ResetDC(HDC
, const DEVMODE
*);
524 BOOL
RemoveFontResource(LPCTSTR
);
526 HENHMETAFILE
CopyEnhMetaFile(HENHMETAFILE
, LPCTSTR
);
528 HDC
CreateEnhMetaFile(HDC
, LPCTSTR
, const RECT
*, LPCTSTR
);
530 HENHMETAFILE
GetEnhMetaFile(LPCTSTR
);
532 UINT
GetEnhMetaFileDescription(HENHMETAFILE
, UINT
, LPTSTR
);
534 BOOL
GetTextMetrics(HDC
, LPTEXTMETRIC
);
536 int StartDoc(HDC
, const DOCINFO
*);
538 int GetObject(HANDLE
, int, LPVOID
);
540 BOOL
TextOut(HDC
, int, int, LPCTSTR
, int);
542 BOOL
ExtTextOut(HDC
, int, int, UINT
, const RECT
*, LPCTSTR
, UINT
, const INT
*);
544 BOOL
PolyTextOut(HDC
, const POLYTEXT
*, int);
546 int GetTextFace(HDC
, int, LPTSTR
);
548 DWORD
GetKerningPairs(HDC
, DWORD
, LPKERNINGPAIR
);
550 BOOL
GetLogColorSpace(HCOLORSPACE
, LPLOGCOLORSPACE
, DWORD
);
552 HCOLORSPACE
CreateColorSpace(LPLOGCOLORSPACE
);
554 BOOL
GetICMProfile(HDC
, LPDWORD
, LPTSTR
);
556 BOOL
SetICMProfile(HDC
, LPTSTR
);
558 int EnumICMProfiles(HDC
, ICMENUMPROC
, LPARAM
);
560 BOOL
UpdateICMRegKey(DWORD
, LPTSTR
, LPTSTR
, UINT
);
562 HKL
LoadKeyboardLayout(LPCTSTR
, UINT
);
564 BOOL
GetKeyboardLayoutName(LPTSTR
);
566 HDESK
CreateDesktop(LPCTSTR
, LPCTSTR
, DEVMODE
*, DWORD
, ACCESS_MASK
,
567 LPSECURITY_ATTRIBUTES
);
569 HDESK
CreateDesktopEx(LPCTSTR
, LPCTSTR
, DEVMODE
*, DWORD
, ACCESS_MASK
,
570 LPSECURITY_ATTRIBUTES
, ULONG
, PVOID
);
572 HDESK
OpenDesktop(LPCTSTR
, DWORD
, BOOL
, ACCESS_MASK
);
574 BOOL
EnumDesktops(HWINSTA
, DESKTOPENUMPROC
, LPARAM
);
576 HWINSTA
CreateWindowStation(LPCTSTR
, DWORD
, ACCESS_MASK
, LPSECURITY_ATTRIBUTES
);
578 HWINSTA
OpenWindowStation(LPCTSTR
, BOOL
, ACCESS_MASK
);
580 BOOL
EnumWindowStations(WINSTAENUMPROC
, LPARAM
);
582 BOOL
GetUserObjectInformation(HANDLE
, int, PVOID
, DWORD
, LPDWORD
);
584 BOOL
SetUserObjectInformation(HANDLE
, int, PVOID
, DWORD
);
586 UINT
RegisterWindowMessage(LPCTSTR
);
588 BOOL
GetMessage(LPMSG
, HWND
, UINT
, UINT
);
590 LRESULT
DispatchMessage(const MSG
*);
592 BOOL
PeekMessage(LPMSG
, HWND
, UINT
, UINT
, UINT
);
594 LRESULT
SendMessage(HWND
, UINT
, WPARAM
, LPARAM
);
596 LRESULT
SendMessageTimeout(HWND
, UINT
, WPARAM
, LPARAM
, UINT
, UINT
, PDWORD_PTR
);
598 BOOL
SendNotifyMessage(HWND
, UINT
, WPARAM
, LPARAM
);
600 BOOL
SendMessageCallback(HWND
, UINT
, WPARAM
, LPARAM
, SENDASYNCPROC
, ULONG_PTR
);
602 long BroadcastSystemMessageEx(DWORD
, LPDWORD
, UINT
, WPARAM
, LPARAM
, PBSMINFO
);
604 long BroadcastSystemMessage(DWORD
, LPDWORD
, UINT
, WPARAM
, LPARAM
);
606 HDEVNOTIFY
RegisterDeviceNotification(HANDLE
, LPVOID
, DWORD
);
608 BOOL
PostMessage(HWND
, UINT
, WPARAM
, LPARAM
);
610 BOOL
PostThreadMessage(DWORD
, UINT
, WPARAM
, LPARAM
);
612 BOOL
PostAppMessage(DWORD
, UINT
, WPARAM
, LPARAM
);
614 LRESULT
DefWindowProc(HWND
, UINT
, WPARAM
, LPARAM
);
616 LRESULT
CallWindowProc(WNDPROC
, HWND
, UINT
, WPARAM
, LPARAM
);
618 ATOM
RegisterClass(const WNDCLASS
*);
620 BOOL
UnregisterClass(LPCTSTR
, HINSTANCE
);
622 BOOL
GetClassInfo(HINSTANCE
, LPCTSTR
, LPWNDCLASS
);
624 ATOM
RegisterClassEx(const WNDCLASSEX
*);
626 BOOL
GetClassInfoEx(HINSTANCE
, LPCTSTR
, LPWNDCLASSEX
);
628 HWND
CreateWindowEx(DWORD
, LPCTSTR
, LPCTSTR
, DWORD
, int, int, int, int, HWND
,
629 HMENU
, HINSTANCE
, LPVOID
);
631 HWND
CreateWindow(LPCTSTR
, LPCTSTR
, DWORD
, int, int, int, int, HWND
, HMENU
,
634 HWND
CreateDialogParam(HINSTANCE
, LPCTSTR
, HWND
, DLGPROC
, LPARAM
);
636 HWND
CreateDialogIndirectParam(HINSTANCE
, LPCDLGTEMPLATE
, HWND
, DLGPROC
,
639 HWND
CreateDialog(HINSTANCE
, LPCTSTR
, HWND
, DLGPROC
);
641 HWND
CreateDialogIndirect(HINSTANCE
, LPCDLGTEMPLATE
, HWND
, DLGPROC
);
643 INT_PTR
DialogBoxParam(HINSTANCE
, LPCTSTR
, HWND
, DLGPROC
, LPARAM
);
645 INT_PTR
DialogBoxIndirectParam(HINSTANCE
, LPCDLGTEMPLATE
, HWND
, DLGPROC
,
648 INT_PTR
DialogBox(HINSTANCE
, LPCTSTR
, HWND
, DLGPROC
);
650 INT_PTR
DialogBoxIndirect(HINSTANCE
, LPCDLGTEMPLATE
, HWND
, DLGPROC
);
652 BOOL
SetDlgItemText(HWND
, int, LPCTSTR
);
654 UINT
GetDlgItemText(HWND
, int, LPTSTR
, int);
656 LRESULT
SendDlgItemMessage(HWND
, int, UINT
, WPARAM
, LPARAM
);
658 LRESULT
DefDlgProc(HWND
, UINT
, WPARAM
, LPARAM
);
660 BOOL
CallMsgFilter(LPMSG
, int);
662 UINT
RegisterClipboardFormat(LPCTSTR
);
664 int GetClipboardFormatName(UINT
, LPTSTR
, int);
666 BOOL
CharToOem(LPCTSTR
, LPSTR
);
668 BOOL
OemToChar(LPCSTR
, LPTSTR
);
670 BOOL
CharToOemBuff(LPCTSTR
, LPSTR
, DWORD
);
672 BOOL
OemToCharBuff(LPCSTR
, LPTSTR
, DWORD
);
674 LPTSTR
CharUpper(LPTSTR
);
676 DWORD
CharUpperBuff(LPTSTR
, DWORD
);
678 LPTSTR
CharLower(LPTSTR
);
680 DWORD
CharLowerBuff(LPTSTR
, DWORD
);
682 LPTSTR
CharNext(LPCTSTR
);
684 LPTSTR
CharPrev(LPCTSTR
, LPCTSTR
);
686 BOOL
IsCharAlpha(CHAR
);
688 BOOL
IsCharAlphaNumeric(CHAR
);
690 BOOL
IsCharUpper(CHAR
);
692 BOOL
IsCharLower(CHAR
);
694 int GetKeyNameText(LONG
, LPTSTR
, int);
696 SHORT
VkKeyScan(CHAR
);
698 SHORT
VkKeyScanEx(CHAR
, HKL
);
700 UINT
MapVirtualKey(UINT
, UINT
);
702 UINT
MapVirtualKeyEx(UINT
, UINT
, HKL
);
704 HACCEL
LoadAccelerators(HINSTANCE
, LPCTSTR
);
706 HACCEL
CreateAcceleratorTable(LPACCEL
, int);
708 int CopyAcceleratorTable(HACCEL
, LPACCEL
, int);
710 int TranslateAccelerator(HWND
, HACCEL
, LPMSG
);
712 HMENU
LoadMenu(HINSTANCE
, LPCTSTR
);
714 HMENU
LoadMenuIndirect(const MENUTEMPLATE
*);
716 BOOL
ChangeMenu(HMENU
, UINT
, LPCTSTR
, UINT
, UINT
);
718 int GetMenuString(HMENU
, UINT
, LPTSTR
, int, UINT
);
720 BOOL
InsertMenu(HMENU
, UINT
, UINT
, UINT_PTR
, LPCTSTR
);
722 BOOL
AppendMenu(HMENU
, UINT
, UINT_PTR
, LPCTSTR
);
724 BOOL
ModifyMenu(HMENU
, UINT
, UINT
, UINT_PTR
, LPCTSTR
);
726 BOOL
InsertMenuItem(HMENU
, UINT
, BOOL
, LPCMENUITEMINFO
);
728 BOOL
GetMenuItemInfo(HMENU
, UINT
, BOOL
, LPMENUITEMINFO
);
730 BOOL
SetMenuItemInfo(HMENU
, UINT
, BOOL
, LPCMENUITEMINFO
);
732 int DrawText(HDC
, LPCTSTR
, int, LPRECT
, UINT
);
734 int DrawTextEx(HDC
, LPTSTR
, int, LPRECT
, UINT
, LPDRAWTEXTPARAMS
);
736 BOOL
GrayString(HDC
, HBRUSH
, GRAYSTRINGPROC
, LPARAM
, int, int, int, int, int);
738 BOOL
DrawState(HDC
, HBRUSH
, DRAWSTATEPROC
, LPARAM
, WPARAM
, int, int, int, int,
741 LONG
TabbedTextOut(HDC
, int, int, LPCTSTR
, int, int, const INT
*, int);
743 DWORD
GetTabbedTextExtent(HDC
, LPCTSTR
, int, int, const INT
*);
745 BOOL
SetProp(HWND
, LPCTSTR
, HANDLE
);
747 HANDLE
GetProp(HWND
, LPCTSTR
);
749 HANDLE
RemoveProp(HWND
, LPCTSTR
);
751 int EnumPropsEx(HWND
, PROPENUMPROCEX
, LPARAM
);
753 int EnumProps(HWND
, PROPENUMPROC
);
755 BOOL
SetWindowText(HWND
, LPCTSTR
);
757 int GetWindowText(HWND
, LPTSTR
, int);
759 int GetWindowTextLength(HWND
);
761 int MessageBox(HWND
, LPCTSTR
, LPCTSTR
, UINT
);
763 int MessageBoxEx(HWND
, LPCTSTR
, LPCTSTR
, UINT
, WORD
);
765 int MessageBoxIndirect(const MSGBOXPARAMS
*);
767 LONG
GetWindowLong(HWND
, int);
769 LONG
SetWindowLong(HWND
, int, LONG
);
771 LONG_PTR
GetWindowLongPtr(HWND
, int);
773 LONG_PTR
SetWindowLongPtr(HWND
, int, LONG_PTR
);
775 DWORD
GetClassLong(HWND
, int);
777 DWORD
SetClassLong(HWND
, int, LONG
);
779 ULONG_PTR
GetClassLongPtr(HWND
, int);
781 ULONG_PTR
SetClassLongPtr(HWND
, int, LONG_PTR
);
783 HWND
FindWindow(LPCTSTR
, LPCTSTR
);
785 HWND
FindWindowEx(HWND
, HWND
, LPCTSTR
, LPCTSTR
);
787 int GetClassName(HWND
, LPTSTR
, int);
789 HHOOK
SetWindowsHook(int, HOOKPROC
);
791 HHOOK
SetWindowsHookEx(int, HOOKPROC
, HINSTANCE
, DWORD
);
793 HBITMAP
LoadBitmap(HINSTANCE
, LPCTSTR
);
795 HCURSOR
LoadCursor(HINSTANCE
, LPCTSTR
);
797 HCURSOR
LoadCursorFromFile(LPCTSTR
);
799 HICON
LoadIcon(HINSTANCE
, LPCTSTR
);
801 UINT
PrivateExtractIcons(LPCTSTR
, int, int, int, HICON
*, UINT
*, UINT
, UINT
);
803 HANDLE
LoadImage(HINSTANCE
, LPCTSTR
, UINT
, int, int, UINT
);
805 BOOL
GetIconInfoEx(HICON
, PICONINFOEX
);
807 BOOL
IsDialogMessage(HWND
, LPMSG
);
809 int DlgDirList(HWND
, LPTSTR
, int, int, UINT
);
811 BOOL
DlgDirSelectEx(HWND
, LPTSTR
, int, int);
813 int DlgDirListComboBox(HWND
, LPTSTR
, int, int, UINT
);
815 BOOL
DlgDirSelectComboBoxEx(HWND
, LPTSTR
, int, int);
817 LRESULT
DefFrameProc(HWND
, HWND
, UINT
, WPARAM
, LPARAM
);
819 LRESULT
DefMDIChildProc(HWND
, UINT
, WPARAM
, LPARAM
);
821 HWND
CreateMDIWindow(LPCTSTR
, LPCTSTR
, DWORD
, int, int, int, int, HWND
,
824 BOOL
WinHelp(HWND
, LPCTSTR
, UINT
, ULONG_PTR
);
826 LONG
ChangeDisplaySettings(DEVMODE
*, DWORD
);
828 LONG
ChangeDisplaySettingsEx(LPCTSTR
, DEVMODE
*, HWND
, DWORD
, LPVOID
);
830 BOOL
EnumDisplaySettings(LPCTSTR
, DWORD
, DEVMODE
*);
832 BOOL
EnumDisplaySettingsEx(LPCTSTR
, DWORD
, DEVMODE
*, DWORD
);
834 BOOL
EnumDisplayDevices(LPCTSTR
, DWORD
, PDISPLAY_DEVICE
, DWORD
);
836 BOOL
SystemParametersInfo(UINT
, UINT
, PVOID
, UINT
);
838 BOOL
GetMonitorInfo(HMONITOR
, LPMONITORINFO
);
840 UINT
GetWindowModuleFileName(HWND
, LPTSTR
, UINT
);
842 UINT
RealGetWindowClass(HWND
, LPTSTR
, UINT
);
844 BOOL
GetAltTabInfo(HWND
, int, PALTTABINFO
, LPTSTR
, UINT
);
846 UINT
GetRawInputDeviceInfo(HANDLE
, UINT
, LPVOID
, PUINT
);
848 int GetDateFormat(LCID
, DWORD
, const SYSTEMTIME
*, LPCTSTR
, LPTSTR
, int);
850 int GetTimeFormat(LCID
, DWORD
, const SYSTEMTIME
*, LPCTSTR
, LPTSTR
, int);
852 BOOL
GetCPInfoEx(UINT
, DWORD
, LPCPINFOEX
);
854 int CompareString(LCID
, DWORD
, PCNZTCH
, int, PCNZTCH
, int);
856 int GetLocaleInfo(LCID
, LCTYPE
, LPTSTR
, int);
858 BOOL
SetLocaleInfo(LCID
, LCTYPE
, LPCTSTR
);
860 int GetCalendarInfo(LCID
, CALID
, CALTYPE
, LPTSTR
, int, LPDWORD
);
862 BOOL
SetCalendarInfo(LCID
, CALID
, CALTYPE
, LPCTSTR
);
864 int GetNumberFormat(LCID
, DWORD
, LPCTSTR
, const NUMBERFMT
*, LPTSTR
, int);
866 int GetCurrencyFormat(LCID
, DWORD
, LPCTSTR
, const CURRENCYFMT
*, LPTSTR
, int);
868 BOOL
EnumCalendarInfo(CALINFO_ENUMPROC
, LCID
, CALID
, CALTYPE
);
870 BOOL
EnumCalendarInfoEx(CALINFO_ENUMPROCEX
, LCID
, CALID
, CALTYPE
);
872 BOOL
EnumTimeFormats(TIMEFMT_ENUMPROC
, LCID
, DWORD
);
874 BOOL
EnumDateFormats(DATEFMT_ENUMPROC
, LCID
, DWORD
);
876 BOOL
EnumDateFormatsEx(DATEFMT_ENUMPROCEX
, LCID
, DWORD
);
878 int GetGeoInfo(GEOID
, GEOTYPE
, LPTSTR
, int, LANGID
);
880 BOOL
GetStringTypeEx(LCID
, DWORD
, LPCTSTR
, int, LPWORD
);
882 int FoldString(DWORD
, LPCTSTR
, int, LPTSTR
, int);
884 BOOL
EnumSystemLocales(LOCALE_ENUMPROC
, DWORD
);
886 BOOL
EnumSystemLanguageGroups(LANGUAGEGROUP_ENUMPROC
, DWORD
, LONG_PTR
);
888 BOOL
EnumLanguageGroupLocales(LANGGROUPLOCALE_ENUMPROC
, LGRPID
, DWORD
,
891 BOOL
EnumUILanguages(UILANGUAGE_ENUMPROC
, DWORD
, LONG_PTR
);
893 BOOL
EnumSystemCodePages(CODEPAGE_ENUMPROC
, DWORD
);
895 BOOL
ReadConsoleInput(HANDLE
, PINPUT_RECORD
, DWORD
, LPDWORD
);
897 BOOL
PeekConsoleInput(HANDLE
, PINPUT_RECORD
, DWORD
, LPDWORD
);
899 BOOL
ReadConsole(HANDLE
, LPVOID
, DWORD
, LPDWORD
, PCONSOLE_READCONSOLE_CONTROL
);
901 BOOL
WriteConsole(HANDLE
, const void*, DWORD
, LPDWORD
, LPVOID
);
903 BOOL
FillConsoleOutputCharacter(HANDLE
, CHAR
, DWORD
, COORD
, LPDWORD
);
905 BOOL
WriteConsoleOutputCharacter(HANDLE
, LPCTSTR
, DWORD
, COORD
, LPDWORD
);
907 BOOL
ReadConsoleOutputCharacter(HANDLE
, LPTSTR
, DWORD
, COORD
, LPDWORD
);
909 BOOL
WriteConsoleInput(HANDLE
, const INPUT_RECORD
*, DWORD
, LPDWORD
);
911 BOOL
ScrollConsoleScreenBuffer(HANDLE
, const SMALL_RECT
*, const SMALL_RECT
*,
912 COORD
, const CHAR_INFO
*);
914 BOOL
WriteConsoleOutput(HANDLE
, const CHAR_INFO
*, COORD
, COORD
, PSMALL_RECT
);
916 BOOL
ReadConsoleOutput(HANDLE
, PCHAR_INFO
, COORD
, COORD
, PSMALL_RECT
);
918 DWORD
GetConsoleTitle(LPTSTR
, DWORD
);
920 DWORD
GetConsoleOriginalTitle(LPTSTR
, DWORD
);
922 BOOL
SetConsoleTitle(LPCTSTR
);
924 BOOL
AddConsoleAlias(LPTSTR
, LPTSTR
, LPTSTR
);
926 DWORD
GetConsoleAlias(LPTSTR
, LPTSTR
, DWORD
, LPTSTR
);
928 DWORD
GetConsoleAliasesLength(LPTSTR
);
930 DWORD
GetConsoleAliasExesLength();
932 DWORD
GetConsoleAliases(LPTSTR
, DWORD
, LPTSTR
);
934 DWORD
GetConsoleAliasExes(LPTSTR
, DWORD
);
936 void ExpungeConsoleCommandHistory(LPTSTR
);
938 BOOL
SetConsoleNumberOfCommands(DWORD
, LPTSTR
);
940 DWORD
GetConsoleCommandHistoryLength(LPTSTR
);
942 DWORD
GetConsoleCommandHistory(LPTSTR
, DWORD
, LPTSTR
);
944 DWORD
VerFindFile(DWORD
, LPTSTR
, LPTSTR
, LPTSTR
, LPTSTR
, PUINT
, LPTSTR
, PUINT
);
946 DWORD
VerInstallFile(DWORD
, LPTSTR
, LPTSTR
, LPTSTR
, LPTSTR
, LPTSTR
, LPTSTR
,
949 DWORD
GetFileVersionInfoSize(LPCTSTR
, LPDWORD
);
951 BOOL
GetFileVersionInfo(LPCTSTR
, DWORD
, DWORD
, LPVOID
);
953 DWORD
GetFileVersionInfoSizeEx(DWORD
, LPCTSTR
, LPDWORD
);
955 BOOL
GetFileVersionInfoEx(DWORD
, LPCTSTR
, DWORD
, DWORD
, LPVOID
);
957 DWORD
VerLanguageName(DWORD
, LPTSTR
, DWORD
);
959 BOOL
VerQueryValue(LPCVOID
, LPCTSTR
, LPVOID
*, PUINT
);
961 LSTATUS
RegConnectRegistry(LPCTSTR
, HKEY
, PHKEY
);
963 LSTATUS
RegConnectRegistryEx(LPCTSTR
, HKEY
, ULONG
, PHKEY
);
965 LSTATUS
RegCreateKey(HKEY
, LPCTSTR
, PHKEY
);
967 LSTATUS
RegCreateKeyEx(HKEY
, LPCTSTR
, DWORD
, LPTSTR
, DWORD
, REGSAM
,
968 const LPSECURITY_ATTRIBUTES
, PHKEY
, LPDWORD
);
970 LSTATUS
RegCreateKeyTransacted(HKEY
, LPCTSTR
, DWORD
, LPTSTR
, DWORD
, REGSAM
,
971 const LPSECURITY_ATTRIBUTES
, PHKEY
, LPDWORD
,
974 LSTATUS
RegDeleteKey(HKEY
, LPCTSTR
);
976 LSTATUS
RegDeleteKeyEx(HKEY
, LPCTSTR
, REGSAM
, DWORD
);
978 LSTATUS
RegDeleteKeyTransacted(HKEY
, LPCTSTR
, REGSAM
, DWORD
, HANDLE
, PVOID
);
980 LSTATUS
RegDeleteValue(HKEY
, LPCTSTR
);
982 LSTATUS
RegEnumKey(HKEY
, DWORD
, LPTSTR
, DWORD
);
984 LSTATUS
RegEnumKeyEx(HKEY
, DWORD
, LPTSTR
, LPDWORD
, LPDWORD
, LPTSTR
, LPDWORD
,
987 LSTATUS
RegEnumValue(HKEY
, DWORD
, LPTSTR
, LPDWORD
, LPDWORD
, LPDWORD
, LPBYTE
,
990 LSTATUS
RegLoadKey(HKEY
, LPCTSTR
, LPCTSTR
);
992 LSTATUS
RegOpenKey(HKEY
, LPCTSTR
, PHKEY
);
994 LSTATUS
RegOpenKeyEx(HKEY
, LPCTSTR
, DWORD
, REGSAM
, PHKEY
);
996 LSTATUS
RegOpenKeyTransacted(HKEY
, LPCTSTR
, DWORD
, REGSAM
, PHKEY
, HANDLE
,
999 LSTATUS
RegQueryInfoKey(HKEY
, LPTSTR
, LPDWORD
, LPDWORD
, LPDWORD
, LPDWORD
,
1000 LPDWORD
, LPDWORD
, LPDWORD
, LPDWORD
, LPDWORD
, PFILETIME
);
1002 LSTATUS
RegQueryValue(HKEY
, LPCTSTR
, LPTSTR
, PLONG
);
1004 LSTATUS
RegQueryMultipleValues(HKEY
, PVALENT
, DWORD
, LPTSTR
, LPDWORD
);
1006 LSTATUS
RegQueryValueEx(HKEY
, LPCTSTR
, LPDWORD
, LPDWORD
, LPBYTE
, LPDWORD
);
1008 LSTATUS
RegReplaceKey(HKEY
, LPCTSTR
, LPCTSTR
, LPCTSTR
);
1010 LSTATUS
RegRestoreKey(HKEY
, LPCTSTR
, DWORD
);
1012 LSTATUS
RegSaveKey(HKEY
, LPCTSTR
, const LPSECURITY_ATTRIBUTES
);
1014 LSTATUS
RegSetValue(HKEY
, LPCTSTR
, DWORD
, LPCTSTR
, DWORD
);
1016 LSTATUS
RegSetValueEx(HKEY
, LPCTSTR
, DWORD
, DWORD
, const BYTE
*, DWORD
);
1018 LSTATUS
RegUnLoadKey(HKEY
, LPCTSTR
);
1020 LSTATUS
RegDeleteKeyValue(HKEY
, LPCTSTR
, LPCTSTR
);
1022 LSTATUS
RegSetKeyValue(HKEY
, LPCTSTR
, LPCTSTR
, DWORD
, LPCVOID
, DWORD
);
1024 LSTATUS
RegDeleteTree(HKEY
, LPCTSTR
);
1026 LSTATUS
RegCopyTree(HKEY
, LPCTSTR
, HKEY
);
1028 LSTATUS
RegGetValue(HKEY
, LPCTSTR
, LPCTSTR
, DWORD
, LPDWORD
, PVOID
, LPDWORD
);
1030 LSTATUS
RegLoadMUIString(HKEY
, LPCTSTR
, LPTSTR
, DWORD
, LPDWORD
, DWORD
, LPCTSTR
);
1032 LSTATUS
RegLoadAppKey(LPCTSTR
, PHKEY
, REGSAM
, DWORD
, DWORD
);
1034 BOOL
InitiateSystemShutdown(LPTSTR
, LPTSTR
, DWORD
, BOOL
, BOOL
);
1036 BOOL
AbortSystemShutdown(LPTSTR
);
1038 BOOL
InitiateSystemShutdownEx(LPTSTR
, LPTSTR
, DWORD
, BOOL
, BOOL
, DWORD
);
1040 DWORD
InitiateShutdown(LPTSTR
, LPTSTR
, DWORD
, DWORD
, DWORD
);
1042 LSTATUS
RegSaveKeyEx(HKEY
, LPCTSTR
, const LPSECURITY_ATTRIBUTES
, DWORD
);
1044 DWORD
MultinetGetConnectionPerformance(LPNETRESOURCE
, LPNETCONNECTINFOSTRUCT
);
1046 BOOL
ChangeServiceConfig(SC_HANDLE
, DWORD
, DWORD
, DWORD
, LPCTSTR
, LPCTSTR
,
1047 LPDWORD
, LPCTSTR
, LPCTSTR
, LPCTSTR
, LPCTSTR
);
1049 BOOL
ChangeServiceConfig2(SC_HANDLE
, DWORD
, LPVOID
);
1051 SC_HANDLE
CreateService(SC_HANDLE
, LPCTSTR
, LPCTSTR
, DWORD
, DWORD
, DWORD
, DWORD
,
1052 LPCTSTR
, LPCTSTR
, LPDWORD
, LPCTSTR
, LPCTSTR
, LPCTSTR
);
1054 BOOL
EnumDependentServices(SC_HANDLE
, DWORD
, LPENUM_SERVICE_STATUS
, DWORD
,
1057 BOOL
EnumServicesStatus(SC_HANDLE
, DWORD
, DWORD
, LPENUM_SERVICE_STATUS
, DWORD
,
1058 LPDWORD
, LPDWORD
, LPDWORD
);
1060 BOOL
EnumServicesStatusEx(SC_HANDLE
, SC_ENUM_TYPE
, DWORD
, DWORD
, LPBYTE
, DWORD
,
1061 LPDWORD
, LPDWORD
, LPDWORD
, LPCTSTR
);
1063 BOOL
GetServiceKeyName(SC_HANDLE
, LPCTSTR
, LPTSTR
, LPDWORD
);
1065 BOOL
GetServiceDisplayName(SC_HANDLE
, LPCTSTR
, LPTSTR
, LPDWORD
);
1067 SC_HANDLE
OpenSCManager(LPCTSTR
, LPCTSTR
, DWORD
);
1069 SC_HANDLE
OpenService(SC_HANDLE
, LPCTSTR
, DWORD
);
1071 BOOL
QueryServiceConfig(SC_HANDLE
, LPQUERY_SERVICE_CONFIG
, DWORD
, LPDWORD
);
1073 BOOL
QueryServiceConfig2(SC_HANDLE
, DWORD
, LPBYTE
, DWORD
, LPDWORD
);
1075 BOOL
QueryServiceLockStatus(SC_HANDLE
, LPQUERY_SERVICE_LOCK_STATUS
, DWORD
,
1078 SERVICE_STATUS_HANDLE
RegisterServiceCtrlHandler(LPCTSTR
, LPHANDLER_FUNCTION
);
1080 SERVICE_STATUS_HANDLE
RegisterServiceCtrlHandlerEx(LPCTSTR
,
1081 LPHANDLER_FUNCTION_EX
,
1084 BOOL
StartServiceCtrlDispatcher(const SERVICE_TABLE_ENTRY
*);
1086 BOOL
StartService(SC_HANDLE
, DWORD
, LPCTSTR
*);
1088 DWORD
NotifyServiceStatusChange(SC_HANDLE
, DWORD
, PSERVICE_NOTIFY
);
1090 BOOL
ControlServiceEx(SC_HANDLE
, DWORD
, DWORD
, PVOID
);
1092 HKL
ImmInstallIME(LPCTSTR
, LPCTSTR
);
1094 UINT
ImmGetDescription(HKL
, LPTSTR
, UINT
);
1096 UINT
ImmGetIMEFileName(HKL
, LPTSTR
, UINT
);
1098 LONG
ImmGetCompositionString(HIMC
, DWORD
, LPVOID
, DWORD
);
1100 BOOL
ImmSetCompositionString(HIMC
, DWORD
, LPVOID
, DWORD
, LPVOID
, DWORD
);
1102 DWORD
ImmGetCandidateListCount(HIMC
, LPDWORD
);
1104 DWORD
ImmGetCandidateList(HIMC
, DWORD
, LPCANDIDATELIST
, DWORD
);
1106 DWORD
ImmGetGuideLine(HIMC
, DWORD
, LPTSTR
, DWORD
);
1108 BOOL
ImmGetCompositionFont(HIMC
, LPLOGFONT
);
1110 BOOL
ImmSetCompositionFont(HIMC
, LPLOGFONT
);
1112 BOOL
ImmConfigureIME(HKL
, HWND
, DWORD
, LPVOID
);
1114 LRESULT
ImmEscape(HKL
, HIMC
, UINT
, LPVOID
);
1116 DWORD
ImmGetConversionList(HKL
, HIMC
, LPCTSTR
, LPCANDIDATELIST
, DWORD
, UINT
);
1118 BOOL
ImmIsUIMessage(HWND
, UINT
, WPARAM
, LPARAM
);
1120 BOOL
ImmRegisterWord(HKL
, LPCTSTR
, DWORD
, LPCTSTR
);
1122 BOOL
ImmUnregisterWord(HKL
, LPCTSTR
, DWORD
, LPCTSTR
);
1124 UINT
ImmGetRegisterWordStyle(HKL
, UINT
, LPSTYLEBUF
);
1126 UINT
ImmEnumRegisterWord(HKL
, REGISTERWORDENUMPROC
, LPCTSTR
, DWORD
, LPCTSTR
,
1129 DWORD
ImmGetImeMenuItems(HIMC
, DWORD
, DWORD
, LPIMEMENUITEMINFO
,
1130 LPIMEMENUITEMINFO
, DWORD
);