2018-09-25 18:34:53 +03:00
|
|
|
/* -*- 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.
|
|
|
|
*
|
2020-04-17 02:40:57 +03:00
|
|
|
* This file is processed by make-windows-h-wrapper.py to generate a wrapper for
|
|
|
|
* the header which removes the defines usually implementing these aliases.
|
2018-09-25 18:34:53 +03:00
|
|
|
*
|
|
|
|
* 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);
|
|
|
|
|
2020-04-17 02:40:57 +03:00
|
|
|
HANDLE CreateFile(LPCTSTR, DWORD, DWORD, LPSECURITY_ATTRIBUTES, DWORD, DWORD,
|
|
|
|
HANDLE);
|
2018-09-25 18:34:53 +03:00
|
|
|
|
|
|
|
BOOL DeleteFile(LPCTSTR);
|
|
|
|
|
|
|
|
HANDLE FindFirstChangeNotification(LPCTSTR, BOOL, DWORD);
|
|
|
|
|
|
|
|
HANDLE FindFirstFile(LPCTSTR, LPWIN32_FIND_DATA);
|
|
|
|
|
2020-04-17 02:40:57 +03:00
|
|
|
HANDLE FindFirstFileEx(LPCTSTR, FINDEX_INFO_LEVELS, LPVOID, FINDEX_SEARCH_OPS,
|
|
|
|
LPVOID, DWORD);
|
2018-09-25 18:34:53 +03:00
|
|
|
|
|
|
|
BOOL FindNextFile(HANDLE, LPWIN32_FIND_DATA);
|
|
|
|
|
|
|
|
BOOL GetDiskFreeSpace(LPCTSTR, LPDWORD, LPDWORD, LPDWORD, LPDWORD);
|
|
|
|
|
2020-04-17 02:40:57 +03:00
|
|
|
BOOL GetDiskFreeSpaceEx(LPCTSTR, PULARGE_INTEGER, PULARGE_INTEGER,
|
|
|
|
PULARGE_INTEGER);
|
2018-09-25 18:34:53 +03:00
|
|
|
|
|
|
|
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);
|
|
|
|
|
2020-04-17 02:40:57 +03:00
|
|
|
BOOL GetVolumeInformation(LPCTSTR, LPTSTR, DWORD, LPDWORD, LPDWORD, LPDWORD,
|
|
|
|
LPTSTR, DWORD);
|
2018-09-25 18:34:53 +03:00
|
|
|
|
|
|
|
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);
|
|
|
|
|
2020-04-17 02:40:57 +03:00
|
|
|
BOOL CreateProcess(LPCTSTR, LPTSTR, LPSECURITY_ATTRIBUTES,
|
|
|
|
LPSECURITY_ATTRIBUTES, BOOL, DWORD, LPVOID, LPCTSTR,
|
|
|
|
LPSTARTUPINFO, LPPROCESS_INFORMATION);
|
2018-09-25 18:34:53 +03:00
|
|
|
|
2020-04-17 02:40:57 +03:00
|
|
|
BOOL CreateProcessAsUser(HANDLE, LPCTSTR, LPTSTR, LPSECURITY_ATTRIBUTES,
|
|
|
|
LPSECURITY_ATTRIBUTES, BOOL, DWORD, LPVOID, LPCTSTR,
|
|
|
|
LPSTARTUPINFO, LPPROCESS_INFORMATION);
|
2018-09-25 18:34:53 +03:00
|
|
|
|
|
|
|
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);
|
|
|
|
|
2020-04-17 02:40:57 +03:00
|
|
|
BOOL EnumResourceLanguagesEx(HMODULE, LPCTSTR, LPCTSTR, ENUMRESLANGPROC,
|
|
|
|
LONG_PTR, DWORD, LANGID);
|
2018-09-25 18:34:53 +03:00
|
|
|
|
2020-04-17 02:40:57 +03:00
|
|
|
BOOL EnumResourceNamesEx(HMODULE, LPCTSTR, ENUMRESNAMEPROC, LONG_PTR, DWORD,
|
|
|
|
LANGID);
|
2018-09-25 18:34:53 +03:00
|
|
|
|
|
|
|
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);
|
|
|
|
|
2020-04-17 02:40:57 +03:00
|
|
|
DWORD FormatMessage(DWORD, LPCVOID, DWORD, DWORD, LPTSTR, DWORD, va_list*);
|
2018-09-25 18:34:53 +03:00
|
|
|
|
|
|
|
HANDLE CreateMailslot(LPCTSTR, DWORD, DWORD, LPSECURITY_ATTRIBUTES);
|
|
|
|
|
|
|
|
BOOL EncryptFile(LPCTSTR);
|
|
|
|
|
|
|
|
BOOL DecryptFile(LPCTSTR, DWORD);
|
|
|
|
|
|
|
|
BOOL FileEncryptionStatus(LPCTSTR, LPDWORD);
|
|
|
|
|
2020-04-17 02:40:57 +03:00
|
|
|
DWORD OpenEncryptedFileRaw(LPCTSTR, ULONG, PVOID*);
|
2018-09-25 18:34:53 +03:00
|
|
|
|
|
|
|
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);
|
|
|
|
|
2020-04-17 02:40:57 +03:00
|
|
|
HANDLE CreateSemaphoreEx(LPSECURITY_ATTRIBUTES, LONG, LONG, LPCTSTR, DWORD,
|
|
|
|
DWORD);
|
2018-09-25 18:34:53 +03:00
|
|
|
|
|
|
|
HANDLE CreateWaitableTimerEx(LPSECURITY_ATTRIBUTES, LPCTSTR, DWORD, DWORD);
|
|
|
|
|
2020-04-17 02:40:57 +03:00
|
|
|
HANDLE CreateFileMapping(HANDLE, LPSECURITY_ATTRIBUTES, DWORD, DWORD, DWORD,
|
|
|
|
LPCTSTR);
|
2018-09-25 18:34:53 +03:00
|
|
|
|
2020-04-17 02:40:57 +03:00
|
|
|
HANDLE CreateFileMappingNuma(HANDLE, LPSECURITY_ATTRIBUTES, DWORD, DWORD, DWORD,
|
|
|
|
LPCTSTR, DWORD);
|
2018-09-25 18:34:53 +03:00
|
|
|
|
|
|
|
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);
|
|
|
|
|
2020-04-17 02:40:57 +03:00
|
|
|
BOOL EnumResourceLanguages(HMODULE, LPCTSTR, LPCTSTR, ENUMRESLANGPROC,
|
|
|
|
LONG_PTR);
|
2018-09-25 18:34:53 +03:00
|
|
|
|
|
|
|
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);
|
|
|
|
|
2020-04-17 02:40:57 +03:00
|
|
|
DWORD GetPrivateProfileString(LPCTSTR, LPCTSTR, LPCTSTR, LPTSTR, DWORD,
|
|
|
|
LPCTSTR);
|
2018-09-25 18:34:53 +03:00
|
|
|
|
|
|
|
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);
|
|
|
|
|
2020-04-17 02:40:57 +03:00
|
|
|
DWORD GetFullPathNameTransacted(LPCTSTR, DWORD, LPTSTR, LPTSTR*, HANDLE);
|
2018-09-25 18:34:53 +03:00
|
|
|
|
|
|
|
BOOL DefineDosDevice(DWORD, LPCTSTR, LPCTSTR);
|
|
|
|
|
|
|
|
DWORD QueryDosDevice(LPCTSTR, LPTSTR, DWORD);
|
|
|
|
|
2020-04-17 02:40:57 +03:00
|
|
|
HANDLE CreateFileTransacted(LPCTSTR, DWORD, DWORD, LPSECURITY_ATTRIBUTES, DWORD,
|
|
|
|
DWORD, HANDLE, HANDLE, PUSHORT, PVOID);
|
2018-09-25 18:34:53 +03:00
|
|
|
|
|
|
|
BOOL SetFileAttributesTransacted(LPCTSTR, DWORD, HANDLE);
|
|
|
|
|
2020-04-17 02:40:57 +03:00
|
|
|
BOOL GetFileAttributesTransacted(LPCTSTR, GET_FILEEX_INFO_LEVELS, LPVOID,
|
|
|
|
HANDLE);
|
2018-09-25 18:34:53 +03:00
|
|
|
|
|
|
|
DWORD GetCompressedFileSizeTransacted(LPCTSTR, LPDWORD, HANDLE);
|
|
|
|
|
|
|
|
BOOL DeleteFileTransacted(LPCTSTR, HANDLE);
|
|
|
|
|
|
|
|
BOOL CheckNameLegalDOS8Dot3(LPCTSTR, LPSTR, DWORD, PBOOL, PBOOL);
|
|
|
|
|
2020-04-17 02:40:57 +03:00
|
|
|
HANDLE FindFirstFileTransacted(LPCTSTR, FINDEX_INFO_LEVELS, LPVOID,
|
|
|
|
FINDEX_SEARCH_OPS, LPVOID, DWORD, HANDLE);
|
2018-09-25 18:34:53 +03:00
|
|
|
|
|
|
|
BOOL CopyFile(LPCTSTR, LPCTSTR, BOOL);
|
|
|
|
|
|
|
|
BOOL CopyFileEx(LPCTSTR, LPCTSTR, LPPROGRESS_ROUTINE, LPVOID, LPBOOL, DWORD);
|
|
|
|
|
2020-04-17 02:40:57 +03:00
|
|
|
BOOL CopyFileTransacted(LPCTSTR, LPCTSTR, LPPROGRESS_ROUTINE, LPVOID, LPBOOL,
|
|
|
|
DWORD, HANDLE);
|
2018-09-25 18:34:53 +03:00
|
|
|
|
|
|
|
BOOL MoveFile(LPCTSTR, LPCTSTR);
|
|
|
|
|
|
|
|
BOOL MoveFileEx(LPCTSTR, LPCTSTR, DWORD);
|
|
|
|
|
|
|
|
BOOL MoveFileWithProgress(LPCTSTR, LPCTSTR, LPPROGRESS_ROUTINE, LPVOID, DWORD);
|
|
|
|
|
2020-04-17 02:40:57 +03:00
|
|
|
BOOL MoveFileTransacted(LPCTSTR, LPCTSTR, LPPROGRESS_ROUTINE, LPVOID, DWORD,
|
|
|
|
HANDLE);
|
2018-09-25 18:34:53 +03:00
|
|
|
|
|
|
|
BOOL ReplaceFile(LPCTSTR, LPCTSTR, LPCTSTR, DWORD, LPVOID, LPVOID);
|
|
|
|
|
|
|
|
BOOL CreateHardLink(LPCTSTR, LPCTSTR, LPSECURITY_ATTRIBUTES);
|
|
|
|
|
|
|
|
BOOL CreateHardLinkTransacted(LPCTSTR, LPCTSTR, LPSECURITY_ATTRIBUTES, HANDLE);
|
|
|
|
|
2020-04-17 02:40:57 +03:00
|
|
|
HANDLE CreateNamedPipe(LPCTSTR, DWORD, DWORD, DWORD, DWORD, DWORD, DWORD,
|
|
|
|
LPSECURITY_ATTRIBUTES);
|
2018-09-25 18:34:53 +03:00
|
|
|
|
2020-04-17 02:40:57 +03:00
|
|
|
BOOL GetNamedPipeHandleState(HANDLE, LPDWORD, LPDWORD, LPDWORD, LPDWORD, LPTSTR,
|
|
|
|
DWORD);
|
2018-09-25 18:34:53 +03:00
|
|
|
|
|
|
|
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);
|
|
|
|
|
2020-04-17 02:40:57 +03:00
|
|
|
BOOL ReadEventLog(HANDLE, DWORD, DWORD, LPVOID, DWORD, DWORD*, DWORD*);
|
2018-09-25 18:34:53 +03:00
|
|
|
|
2020-04-17 02:40:57 +03:00
|
|
|
BOOL ReportEvent(HANDLE, WORD, WORD, DWORD, PSID, WORD, DWORD, LPCTSTR*,
|
|
|
|
LPVOID);
|
2018-09-25 18:34:53 +03:00
|
|
|
|
2020-04-17 02:40:57 +03:00
|
|
|
BOOL AccessCheckAndAuditAlarm(LPCTSTR, LPVOID, LPTSTR, LPTSTR,
|
|
|
|
PSECURITY_DESCRIPTOR, DWORD, PGENERIC_MAPPING,
|
|
|
|
BOOL, LPDWORD, LPBOOL, LPBOOL);
|
2018-09-25 18:34:53 +03:00
|
|
|
|
2020-04-17 02:40:57 +03:00
|
|
|
BOOL AccessCheckByTypeAndAuditAlarm(LPCTSTR, LPVOID, LPCTSTR, LPCTSTR,
|
|
|
|
PSECURITY_DESCRIPTOR, PSID, DWORD,
|
|
|
|
AUDIT_EVENT_TYPE, DWORD, POBJECT_TYPE_LIST,
|
|
|
|
DWORD, PGENERIC_MAPPING, BOOL, LPDWORD,
|
|
|
|
LPBOOL, LPBOOL);
|
2018-09-25 18:34:53 +03:00
|
|
|
|
2020-04-17 02:40:57 +03:00
|
|
|
BOOL AccessCheckByTypeResultListAndAuditAlarm(LPCTSTR, LPVOID, LPCTSTR, LPCTSTR,
|
|
|
|
PSECURITY_DESCRIPTOR, PSID, DWORD,
|
|
|
|
AUDIT_EVENT_TYPE, DWORD,
|
|
|
|
POBJECT_TYPE_LIST, DWORD,
|
|
|
|
PGENERIC_MAPPING, BOOL, LPDWORD,
|
|
|
|
LPDWORD, LPBOOL);
|
2018-09-25 18:34:53 +03:00
|
|
|
|
2020-04-17 02:40:57 +03:00
|
|
|
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);
|
2018-09-25 18:34:53 +03:00
|
|
|
|
2020-04-17 02:40:57 +03:00
|
|
|
BOOL ObjectOpenAuditAlarm(LPCTSTR, LPVOID, LPTSTR, LPTSTR, PSECURITY_DESCRIPTOR,
|
|
|
|
HANDLE, DWORD, DWORD, PPRIVILEGE_SET, BOOL, BOOL,
|
|
|
|
LPBOOL);
|
2018-09-25 18:34:53 +03:00
|
|
|
|
2020-04-17 02:40:57 +03:00
|
|
|
BOOL ObjectPrivilegeAuditAlarm(LPCTSTR, LPVOID, HANDLE, DWORD, PPRIVILEGE_SET,
|
|
|
|
BOOL);
|
2018-09-25 18:34:53 +03:00
|
|
|
|
|
|
|
BOOL ObjectCloseAuditAlarm(LPCTSTR, LPVOID, BOOL);
|
|
|
|
|
|
|
|
BOOL ObjectDeleteAuditAlarm(LPCTSTR, LPVOID, BOOL);
|
|
|
|
|
2020-04-17 02:40:57 +03:00
|
|
|
BOOL PrivilegedServiceAuditAlarm(LPCTSTR, LPCTSTR, HANDLE, PPRIVILEGE_SET,
|
|
|
|
BOOL);
|
2018-09-25 18:34:53 +03:00
|
|
|
|
|
|
|
BOOL SetFileSecurity(LPCTSTR, SECURITY_INFORMATION, PSECURITY_DESCRIPTOR);
|
|
|
|
|
2020-04-17 02:40:57 +03:00
|
|
|
BOOL GetFileSecurity(LPCTSTR, SECURITY_INFORMATION, PSECURITY_DESCRIPTOR, DWORD,
|
|
|
|
LPDWORD);
|
2018-09-25 18:34:53 +03:00
|
|
|
|
|
|
|
BOOL IsBadStringPtr(LPCTSTR, UINT_PTR);
|
|
|
|
|
2020-04-17 02:40:57 +03:00
|
|
|
BOOL LookupAccountSid(LPCTSTR, PSID, LPTSTR, LPDWORD, LPTSTR, LPDWORD,
|
|
|
|
PSID_NAME_USE);
|
2018-09-25 18:34:53 +03:00
|
|
|
|
2020-04-17 02:40:57 +03:00
|
|
|
BOOL LookupAccountName(LPCTSTR, LPCTSTR, PSID, LPDWORD, LPTSTR, LPDWORD,
|
|
|
|
PSID_NAME_USE);
|
2018-09-25 18:34:53 +03:00
|
|
|
|
2020-04-17 02:40:57 +03:00
|
|
|
BOOL LookupAccountNameLocal(LPCTSTR, PSID, LPDWORD, LPTSTR, LPDWORD,
|
|
|
|
PSID_NAME_USE);
|
2018-09-25 18:34:53 +03:00
|
|
|
|
2020-04-17 02:40:57 +03:00
|
|
|
BOOL LookupAccountSidLocal(PSID, LPTSTR, LPDWORD, LPTSTR, LPDWORD,
|
|
|
|
PSID_NAME_USE);
|
2018-09-25 18:34:53 +03:00
|
|
|
|
|
|
|
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);
|
|
|
|
|
2020-04-17 02:40:57 +03:00
|
|
|
BOOL LogonUserEx(LPCTSTR, LPCTSTR, LPCTSTR, DWORD, DWORD, PHANDLE, PSID*,
|
|
|
|
PVOID*, LPDWORD, PQUOTA_LIMITS);
|
2018-09-25 18:34:53 +03:00
|
|
|
|
|
|
|
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);
|
|
|
|
|
2020-04-17 02:40:57 +03:00
|
|
|
BOOL FindActCtxSectionString(DWORD, const GUID*, ULONG, LPCTSTR,
|
|
|
|
PACTCTX_SECTION_KEYED_DATA);
|
2018-09-25 18:34:53 +03:00
|
|
|
|
|
|
|
BOOLEAN CreateSymbolicLink(LPCTSTR, LPCTSTR, DWORD);
|
|
|
|
|
|
|
|
BOOLEAN CreateSymbolicLinkTransacted(LPCTSTR, LPCTSTR, DWORD, HANDLE);
|
|
|
|
|
|
|
|
int AddFontResource(LPCTSTR);
|
|
|
|
|
|
|
|
HMETAFILE CopyMetaFile(HMETAFILE, LPCTSTR);
|
|
|
|
|
2020-04-17 02:40:57 +03:00
|
|
|
HDC CreateDC(LPCTSTR, LPCTSTR, LPCTSTR, const DEVMODE*);
|
2018-09-25 18:34:53 +03:00
|
|
|
|
2020-04-17 02:40:57 +03:00
|
|
|
HFONT CreateFontIndirect(const LOGFONT*);
|
2018-09-25 18:34:53 +03:00
|
|
|
|
2020-04-17 02:40:57 +03:00
|
|
|
HFONT CreateFont(int, int, int, int, int, DWORD, DWORD, DWORD, DWORD, DWORD,
|
|
|
|
DWORD, DWORD, DWORD, LPCTSTR);
|
2018-09-25 18:34:53 +03:00
|
|
|
|
2020-04-17 02:40:57 +03:00
|
|
|
HDC CreateIC(LPCTSTR, LPCTSTR, LPCTSTR, const DEVMODE*);
|
2018-09-25 18:34:53 +03:00
|
|
|
|
|
|
|
HDC CreateMetaFile(LPCTSTR);
|
|
|
|
|
|
|
|
BOOL CreateScalableFontResource(DWORD, LPCTSTR, LPCTSTR, LPCTSTR);
|
|
|
|
|
2020-04-17 02:40:57 +03:00
|
|
|
int DeviceCapabilities(LPCTSTR, LPCTSTR, WORD, LPTSTR, const DEVMODE*);
|
2018-09-25 18:34:53 +03:00
|
|
|
|
|
|
|
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);
|
|
|
|
|
2020-04-17 02:40:57 +03:00
|
|
|
DWORD GetGlyphOutline(HDC, UINT, UINT, LPGLYPHMETRICS, DWORD, LPVOID,
|
|
|
|
const MAT2*);
|
2018-09-25 18:34:53 +03:00
|
|
|
|
|
|
|
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);
|
|
|
|
|
2020-04-17 02:40:57 +03:00
|
|
|
HFONT CreateFontIndirectEx(const ENUMLOGFONTEXDV*);
|
2018-09-25 18:34:53 +03:00
|
|
|
|
2020-04-17 02:40:57 +03:00
|
|
|
HDC ResetDC(HDC, const DEVMODE*);
|
2018-09-25 18:34:53 +03:00
|
|
|
|
|
|
|
BOOL RemoveFontResource(LPCTSTR);
|
|
|
|
|
|
|
|
HENHMETAFILE CopyEnhMetaFile(HENHMETAFILE, LPCTSTR);
|
|
|
|
|
2020-04-17 02:40:57 +03:00
|
|
|
HDC CreateEnhMetaFile(HDC, LPCTSTR, const RECT*, LPCTSTR);
|
2018-09-25 18:34:53 +03:00
|
|
|
|
|
|
|
HENHMETAFILE GetEnhMetaFile(LPCTSTR);
|
|
|
|
|
|
|
|
UINT GetEnhMetaFileDescription(HENHMETAFILE, UINT, LPTSTR);
|
|
|
|
|
|
|
|
BOOL GetTextMetrics(HDC, LPTEXTMETRIC);
|
|
|
|
|
2020-04-17 02:40:57 +03:00
|
|
|
int StartDoc(HDC, const DOCINFO*);
|
2018-09-25 18:34:53 +03:00
|
|
|
|
|
|
|
int GetObject(HANDLE, int, LPVOID);
|
|
|
|
|
|
|
|
BOOL TextOut(HDC, int, int, LPCTSTR, int);
|
|
|
|
|
2020-04-17 02:40:57 +03:00
|
|
|
BOOL ExtTextOut(HDC, int, int, UINT, const RECT*, LPCTSTR, UINT, const INT*);
|
2018-09-25 18:34:53 +03:00
|
|
|
|
2020-04-17 02:40:57 +03:00
|
|
|
BOOL PolyTextOut(HDC, const POLYTEXT*, int);
|
2018-09-25 18:34:53 +03:00
|
|
|
|
|
|
|
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);
|
|
|
|
|
2020-04-17 02:40:57 +03:00
|
|
|
HDESK CreateDesktop(LPCTSTR, LPCTSTR, DEVMODE*, DWORD, ACCESS_MASK,
|
|
|
|
LPSECURITY_ATTRIBUTES);
|
2018-09-25 18:34:53 +03:00
|
|
|
|
2020-04-17 02:40:57 +03:00
|
|
|
HDESK CreateDesktopEx(LPCTSTR, LPCTSTR, DEVMODE*, DWORD, ACCESS_MASK,
|
|
|
|
LPSECURITY_ATTRIBUTES, ULONG, PVOID);
|
2018-09-25 18:34:53 +03:00
|
|
|
|
|
|
|
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);
|
|
|
|
|
2020-04-17 02:40:57 +03:00
|
|
|
LRESULT DispatchMessage(const MSG*);
|
2018-09-25 18:34:53 +03:00
|
|
|
|
|
|
|
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);
|
|
|
|
|
2020-04-17 02:40:57 +03:00
|
|
|
ATOM RegisterClass(const WNDCLASS*);
|
2018-09-25 18:34:53 +03:00
|
|
|
|
|
|
|
BOOL UnregisterClass(LPCTSTR, HINSTANCE);
|
|
|
|
|
|
|
|
BOOL GetClassInfo(HINSTANCE, LPCTSTR, LPWNDCLASS);
|
|
|
|
|
2020-04-17 02:40:57 +03:00
|
|
|
ATOM RegisterClassEx(const WNDCLASSEX*);
|
2018-09-25 18:34:53 +03:00
|
|
|
|
|
|
|
BOOL GetClassInfoEx(HINSTANCE, LPCTSTR, LPWNDCLASSEX);
|
|
|
|
|
2020-04-17 02:40:57 +03:00
|
|
|
HWND CreateWindowEx(DWORD, LPCTSTR, LPCTSTR, DWORD, int, int, int, int, HWND,
|
|
|
|
HMENU, HINSTANCE, LPVOID);
|
2018-09-25 18:34:53 +03:00
|
|
|
|
2020-04-17 02:40:57 +03:00
|
|
|
HWND CreateWindow(LPCTSTR, LPCTSTR, DWORD, int, int, int, int, HWND, HMENU,
|
|
|
|
HINSTANCE, LPVOID);
|
2018-09-25 18:34:53 +03:00
|
|
|
|
|
|
|
HWND CreateDialogParam(HINSTANCE, LPCTSTR, HWND, DLGPROC, LPARAM);
|
|
|
|
|
2020-04-17 02:40:57 +03:00
|
|
|
HWND CreateDialogIndirectParam(HINSTANCE, LPCDLGTEMPLATE, HWND, DLGPROC,
|
|
|
|
LPARAM);
|
2018-09-25 18:34:53 +03:00
|
|
|
|
|
|
|
HWND CreateDialog(HINSTANCE, LPCTSTR, HWND, DLGPROC);
|
|
|
|
|
|
|
|
HWND CreateDialogIndirect(HINSTANCE, LPCDLGTEMPLATE, HWND, DLGPROC);
|
|
|
|
|
|
|
|
INT_PTR DialogBoxParam(HINSTANCE, LPCTSTR, HWND, DLGPROC, LPARAM);
|
|
|
|
|
2020-04-17 02:40:57 +03:00
|
|
|
INT_PTR DialogBoxIndirectParam(HINSTANCE, LPCDLGTEMPLATE, HWND, DLGPROC,
|
|
|
|
LPARAM);
|
2018-09-25 18:34:53 +03:00
|
|
|
|
|
|
|
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);
|
|
|
|
|
2020-04-17 02:40:57 +03:00
|
|
|
HMENU LoadMenuIndirect(const MENUTEMPLATE*);
|
2018-09-25 18:34:53 +03:00
|
|
|
|
|
|
|
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);
|
|
|
|
|
2020-04-17 02:40:57 +03:00
|
|
|
BOOL DrawState(HDC, HBRUSH, DRAWSTATEPROC, LPARAM, WPARAM, int, int, int, int,
|
|
|
|
UINT);
|
2018-09-25 18:34:53 +03:00
|
|
|
|
2020-04-17 02:40:57 +03:00
|
|
|
LONG TabbedTextOut(HDC, int, int, LPCTSTR, int, int, const INT*, int);
|
2018-09-25 18:34:53 +03:00
|
|
|
|
2020-04-17 02:40:57 +03:00
|
|
|
DWORD GetTabbedTextExtent(HDC, LPCTSTR, int, int, const INT*);
|
2018-09-25 18:34:53 +03:00
|
|
|
|
|
|
|
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);
|
|
|
|
|
2020-04-17 02:40:57 +03:00
|
|
|
int MessageBoxIndirect(const MSGBOXPARAMS*);
|
2018-09-25 18:34:53 +03:00
|
|
|
|
|
|
|
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);
|
|
|
|
|
2020-04-17 02:40:57 +03:00
|
|
|
UINT PrivateExtractIcons(LPCTSTR, int, int, int, HICON*, UINT*, UINT, UINT);
|
2018-09-25 18:34:53 +03:00
|
|
|
|
|
|
|
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);
|
|
|
|
|
2020-04-17 02:40:57 +03:00
|
|
|
HWND CreateMDIWindow(LPCTSTR, LPCTSTR, DWORD, int, int, int, int, HWND,
|
|
|
|
HINSTANCE, LPARAM);
|
2018-09-25 18:34:53 +03:00
|
|
|
|
|
|
|
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);
|
|
|
|
|
2020-04-17 02:40:57 +03:00
|
|
|
int GetNumberFormat(LCID, DWORD, LPCTSTR, const NUMBERFMT*, LPTSTR, int);
|
2018-09-25 18:34:53 +03:00
|
|
|
|
2020-04-17 02:40:57 +03:00
|
|
|
int GetCurrencyFormat(LCID, DWORD, LPCTSTR, const CURRENCYFMT*, LPTSTR, int);
|
2018-09-25 18:34:53 +03:00
|
|
|
|
|
|
|
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);
|
|
|
|
|
2020-04-17 02:40:57 +03:00
|
|
|
BOOL EnumLanguageGroupLocales(LANGGROUPLOCALE_ENUMPROC, LGRPID, DWORD,
|
|
|
|
LONG_PTR);
|
2018-09-25 18:34:53 +03:00
|
|
|
|
|
|
|
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);
|
|
|
|
|
2020-04-17 02:40:57 +03:00
|
|
|
BOOL ScrollConsoleScreenBuffer(HANDLE, const SMALL_RECT*, const SMALL_RECT*,
|
|
|
|
COORD, const CHAR_INFO*);
|
2018-09-25 18:34:53 +03:00
|
|
|
|
|
|
|
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);
|
|
|
|
|
2020-04-17 02:40:57 +03:00
|
|
|
DWORD VerInstallFile(DWORD, LPTSTR, LPTSTR, LPTSTR, LPTSTR, LPTSTR, LPTSTR,
|
|
|
|
PUINT);
|
2018-09-25 18:34:53 +03:00
|
|
|
|
|
|
|
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);
|
|
|
|
|
2020-04-17 02:40:57 +03:00
|
|
|
BOOL VerQueryValue(LPCVOID, LPCTSTR, LPVOID*, PUINT);
|
2018-09-25 18:34:53 +03:00
|
|
|
|
|
|
|
LSTATUS RegConnectRegistry(LPCTSTR, HKEY, PHKEY);
|
|
|
|
|
|
|
|
LSTATUS RegConnectRegistryEx(LPCTSTR, HKEY, ULONG, PHKEY);
|
|
|
|
|
|
|
|
LSTATUS RegCreateKey(HKEY, LPCTSTR, PHKEY);
|
|
|
|
|
2020-04-17 02:40:57 +03:00
|
|
|
LSTATUS RegCreateKeyEx(HKEY, LPCTSTR, DWORD, LPTSTR, DWORD, REGSAM,
|
|
|
|
const LPSECURITY_ATTRIBUTES, PHKEY, LPDWORD);
|
2018-09-25 18:34:53 +03:00
|
|
|
|
2020-04-17 02:40:57 +03:00
|
|
|
LSTATUS RegCreateKeyTransacted(HKEY, LPCTSTR, DWORD, LPTSTR, DWORD, REGSAM,
|
|
|
|
const LPSECURITY_ATTRIBUTES, PHKEY, LPDWORD,
|
|
|
|
HANDLE, PVOID);
|
2018-09-25 18:34:53 +03:00
|
|
|
|
|
|
|
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);
|
|
|
|
|
2020-04-17 02:40:57 +03:00
|
|
|
LSTATUS RegEnumKeyEx(HKEY, DWORD, LPTSTR, LPDWORD, LPDWORD, LPTSTR, LPDWORD,
|
|
|
|
PFILETIME);
|
2018-09-25 18:34:53 +03:00
|
|
|
|
2020-04-17 02:40:57 +03:00
|
|
|
LSTATUS RegEnumValue(HKEY, DWORD, LPTSTR, LPDWORD, LPDWORD, LPDWORD, LPBYTE,
|
|
|
|
LPDWORD);
|
2018-09-25 18:34:53 +03:00
|
|
|
|
|
|
|
LSTATUS RegLoadKey(HKEY, LPCTSTR, LPCTSTR);
|
|
|
|
|
|
|
|
LSTATUS RegOpenKey(HKEY, LPCTSTR, PHKEY);
|
|
|
|
|
|
|
|
LSTATUS RegOpenKeyEx(HKEY, LPCTSTR, DWORD, REGSAM, PHKEY);
|
|
|
|
|
2020-04-17 02:40:57 +03:00
|
|
|
LSTATUS RegOpenKeyTransacted(HKEY, LPCTSTR, DWORD, REGSAM, PHKEY, HANDLE,
|
|
|
|
PVOID);
|
2018-09-25 18:34:53 +03:00
|
|
|
|
2020-04-17 02:40:57 +03:00
|
|
|
LSTATUS RegQueryInfoKey(HKEY, LPTSTR, LPDWORD, LPDWORD, LPDWORD, LPDWORD,
|
|
|
|
LPDWORD, LPDWORD, LPDWORD, LPDWORD, LPDWORD, PFILETIME);
|
2018-09-25 18:34:53 +03:00
|
|
|
|
|
|
|
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);
|
|
|
|
|
2020-04-17 02:40:57 +03:00
|
|
|
BOOL ChangeServiceConfig(SC_HANDLE, DWORD, DWORD, DWORD, LPCTSTR, LPCTSTR,
|
|
|
|
LPDWORD, LPCTSTR, LPCTSTR, LPCTSTR, LPCTSTR);
|
2018-09-25 18:34:53 +03:00
|
|
|
|
|
|
|
BOOL ChangeServiceConfig2(SC_HANDLE, DWORD, LPVOID);
|
|
|
|
|
2020-04-17 02:40:57 +03:00
|
|
|
SC_HANDLE CreateService(SC_HANDLE, LPCTSTR, LPCTSTR, DWORD, DWORD, DWORD, DWORD,
|
|
|
|
LPCTSTR, LPCTSTR, LPDWORD, LPCTSTR, LPCTSTR, LPCTSTR);
|
2018-09-25 18:34:53 +03:00
|
|
|
|
2020-04-17 02:40:57 +03:00
|
|
|
BOOL EnumDependentServices(SC_HANDLE, DWORD, LPENUM_SERVICE_STATUS, DWORD,
|
|
|
|
LPDWORD, LPDWORD);
|
2018-09-25 18:34:53 +03:00
|
|
|
|
2020-04-17 02:40:57 +03:00
|
|
|
BOOL EnumServicesStatus(SC_HANDLE, DWORD, DWORD, LPENUM_SERVICE_STATUS, DWORD,
|
|
|
|
LPDWORD, LPDWORD, LPDWORD);
|
2018-09-25 18:34:53 +03:00
|
|
|
|
2020-04-17 02:40:57 +03:00
|
|
|
BOOL EnumServicesStatusEx(SC_HANDLE, SC_ENUM_TYPE, DWORD, DWORD, LPBYTE, DWORD,
|
|
|
|
LPDWORD, LPDWORD, LPDWORD, LPCTSTR);
|
2018-09-25 18:34:53 +03:00
|
|
|
|
|
|
|
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);
|
|
|
|
|
2020-04-17 02:40:57 +03:00
|
|
|
BOOL QueryServiceLockStatus(SC_HANDLE, LPQUERY_SERVICE_LOCK_STATUS, DWORD,
|
|
|
|
LPDWORD);
|
2018-09-25 18:34:53 +03:00
|
|
|
|
|
|
|
SERVICE_STATUS_HANDLE RegisterServiceCtrlHandler(LPCTSTR, LPHANDLER_FUNCTION);
|
|
|
|
|
2020-04-17 02:40:57 +03:00
|
|
|
SERVICE_STATUS_HANDLE RegisterServiceCtrlHandlerEx(LPCTSTR,
|
|
|
|
LPHANDLER_FUNCTION_EX,
|
|
|
|
LPVOID);
|
2018-09-25 18:34:53 +03:00
|
|
|
|
2020-04-17 02:40:57 +03:00
|
|
|
BOOL StartServiceCtrlDispatcher(const SERVICE_TABLE_ENTRY*);
|
2018-09-25 18:34:53 +03:00
|
|
|
|
2020-04-17 02:40:57 +03:00
|
|
|
BOOL StartService(SC_HANDLE, DWORD, LPCTSTR*);
|
2018-09-25 18:34:53 +03:00
|
|
|
|
|
|
|
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);
|
|
|
|
|
2020-04-17 02:40:57 +03:00
|
|
|
UINT ImmEnumRegisterWord(HKL, REGISTERWORDENUMPROC, LPCTSTR, DWORD, LPCTSTR,
|
|
|
|
LPVOID);
|
2018-09-25 18:34:53 +03:00
|
|
|
|
2020-04-17 02:40:57 +03:00
|
|
|
DWORD ImmGetImeMenuItems(HIMC, DWORD, DWORD, LPIMEMENUITEMINFO,
|
|
|
|
LPIMEMENUITEMINFO, DWORD);
|