| Index | Manual | Download | Source | Macros | Embedded word Case ins.
Sitemap | Links | Forum | Tests | Projects

# winansi.htm
Enumerations
%WinANSI

This file contains enumeration of MS Windows Application Programming Interface (WinAPI) functions which have both ANSI and WIDE variant.

The list was created from core dynamic libraries installed in MS Windows 10 using DLL2ANSI utility.

> Function names are sorted alphabetically, though it would be better to keep the most frequently used names near the beginning for better performance of WinAPI.

    winansi HEAD

↑ %WinANSI
  %WinANSI is a preprocessing %variable which holds the list with names of WinAPI functions which have both ANSI and WIDE version.
  If a Windows function from this list is invoked by WinAPI or WinABI macro without explicit specification of its character width `~A` or `~W`, the sufix will be automatically selected depending on the current %^UNICODE value.
Used by
  macroinstructions WinAPI 32bit and WinABI 64bit.

    %WinANSI %SET \
       \ 199 ANSI+WIDE functions exported by kernel32.dll:
    AddAtom,AddConsoleAlias,AddLocalAlternateComputerName,BeginUpdateResource,    \
    BuildCommDCBAndTimeouts,BuildCommDCB,CallNamedPipe,CheckNameLegalDOS8Dot3,    \
    CommConfigDialog,CompareString,CopyFileEx,CopyFile,CreateActCtx,              \
    CreateDirectoryEx,CreateDirectory,CreateEvent,CreateFile,CreateFileMapping,   \
    CreateHardLink,CreateJobObject,CreateMailslot,CreateMutex,CreateNamedPipe,    \
    CreateProcessInternal,CreateProcess,CreateSemaphore,CreateWaitableTimer,      \
    DefineDosDevice,DeleteFile,DeleteVolumeMountPoint,DnsHostnameToComputerName,  \
    DosPathToSessionPath,EndUpdateResource,EnumCalendarInfoEx,EnumCalendarInfo,   \
    EnumDateFormats,EnumDateFormatsEx,EnumLanguageGroupLocales,                   \
    EnumResourceLanguages,EnumResourceNames,EnumResourceTypes,EnumSystemCodePages,\
    EnumSystemLanguageGroups,EnumSystemLocales,EnumTimeFormats,EnumUILanguages,   \
    EnumerateLocalComputerNames,ExpandEnvironmentStrings,                         \
    ExpungeConsoleCommandHistory,FatalAppExit,FillConsoleOutputCharacter,         \
    FindActCtxSectionString,FindAtom,FindFirstChangeNotification,FindFirstFileEx, \
    FindFirstFile,FindFirstVolumeMountPoint,FindFirstVolume,FindNextFile,         \
    FindNextVolumeMountPoint,FindNextVolume,FindResource,FindResourceEx,          \
    FoldString,FormatMessage,FreeEnvironmentStrings,GetAtomName,GetBinaryType,    \
    GetCPInfoEx,GetCalendarInfo,GetCommandLine,GetCompressedFileSize,             \
    GetComputerNameEx,GetComputerName,GetConsoleAlias,GetConsoleAliasExesLength,  \
    GetConsoleAliasExes,GetConsoleAliases,GetConsoleAliasesLength,                \
    GetConsoleCommandHistoryLength,GetConsoleCommandHistory,                      \
    GetConsoleInputExeName,GetConsoleKeyboardLayoutName,GetConsoleTitle,          \
    GetCurrencyFormat,GetCurrentDirectory,GetDateFormat,GetDefaultCommConfig,     \
    GetDiskFreeSpaceEx,GetDiskFreeSpace,GetDllDirectory,GetDriveType,             \
    GetEnvironmentStrings,GetEnvironmentVariable,GetExpandedName,                 \
    GetFileAttributes,GetFileAttributesEx,GetFirmwareEnvironmentVariable,         \
    GetFullPathName,GetGeoInfo,GetLocaleInfo,GetLogicalDriveStrings,              \
    GetLongPathName,GetModuleFileName,GetModuleHandleEx,GetModuleHandle,          \
    GetNamedPipeHandleState,GetNumberFormat,GetPrivateProfileInt,                 \
    GetPrivateProfileSection,GetPrivateProfileSectionNames,                       \
    GetPrivateProfileString,GetPrivateProfileStruct,GetProfileInt,                \
    GetProfileSection,GetProfileString,GetShortPathName,GetStartupInfo,           \
    GetStringType,GetStringTypeEx,GetSystemDirectory,GetSystemWindowsDirectory,   \
    GetSystemWow64Directory,GetTempFileName,GetTempPath,GetTimeFormat,            \
    GetVersionEx,GetVolumeInformation,GetVolumeNameForVolumeMountPoint,           \
    GetVolumePathName,GetVolumePathNamesForVolumeName,GetWindowsDirectory,        \
    GlobalAddAtom,GlobalFindAtom,GlobalGetAtomName,IsBadStringPtr,LCMapString,    \
    LZOpenFile,LoadLibraryEx,LoadLibrary,MoveFile,MoveFileEx,MoveFileWithProgress,\
    OpenEvent,OpenFileMapping,OpenJobObject,OpenMutex,OpenSemaphore,              \
    OpenWaitableTimer,OutputDebugString,PeekConsoleInput,QueryDosDevice,          \
    ReadConsole,ReadConsoleInput,ReadConsoleInputEx,ReadConsoleOutputCharacter,   \
    ReadConsoleOutput,RemoveDirectory,RemoveLocalAlternateComputerName,           \
    ReplaceFile,ScrollConsoleScreenBuffer,SearchPath,SetCalendarInfo,             \
    SetComputerName,SetComputerNameEx,SetConsoleInputExeName,                     \
    SetConsoleNumberOfCommands,SetConsoleTitle,SetCurrentDirectory,               \
    SetDefaultCommConfig,SetDllDirectory,SetEnvironmentVariable,SetFileAttributes,\
    SetFileShortName,SetFirmwareEnvironmentVariable,SetLocalPrimaryComputerName,  \
    SetLocaleInfo,SetVolumeLabel,SetVolumeMountPoint,UpdateResource,              \
    VerLanguageName,VerifyVersionInfo,WaitNamedPipe,WriteConsoleInput,            \
    WriteConsoleInputVDM,WriteConsoleOutputCharacter,WriteConsoleOutput,          \
    WriteConsole,WritePrivateProfileSection,WritePrivateProfileString,            \
    WritePrivateProfileStruct,WriteProfileSection,WriteProfileString,lstrcat,     \
    lstrcmp,lstrcmpi,lstrcpyn,lstrcpy,lstrlen,                                    \
       \ 141 ANSI+WIDE functions exported by user32.dll:
    AppendMenu,BroadcastSystemMessage,BroadcastSystemMessageEx,CallMsgFilter,     \
    CallWindowProc,ChangeDisplaySettings,ChangeDisplaySettingsEx,ChangeMenu,      \
    CharLower,CharLowerBuff,CharNext,CharPrev,CharToOemBuff,CharToOem,CharUpper,  \
    CharUpperBuff,CopyAcceleratorTable,CreateAcceleratorTable,CreateDesktop,      \
    CreateDialogIndirectParam,CreateDialogParam,CreateMDIWindow,CreateWindowEx,   \
    CreateWindowStation,DdeCreateStringHandle,DdeInitialize,DdeQueryString,       \
    DefDlgProc,DefFrameProc,DefMDIChildProc,DefWindowProc,DialogBoxIndirectParam, \
    DialogBoxParam,DispatchMessage,DlgDirListComboBox,DlgDirList,                 \
    DlgDirSelectComboBoxEx,DlgDirSelectEx,DrawCaptionTemp,DrawState,DrawText,     \
    DrawTextEx,EnumDesktops,EnumDisplayDevices,EnumDisplaySettingsEx,             \
    EnumDisplaySettings,EnumProps,EnumPropsEx,EnumWindowStations,FindWindowEx,    \
    FindWindow,GetAltTabInfo,GetClassInfo,GetClassInfoEx,GetClassLong,            \
    GetClassName,GetClipboardFormatName,GetDlgItemText,GetKeyNameText,            \
    GetKeyboardLayoutName,GetMenuItemInfo,GetMenuString,GetMessage,GetMonitorInfo,\
    GetProp,GetRawInputDeviceInfo,GetTabbedTextExtent,GetUserObjectInformation,   \
    GetWindowLong,GetWindowModuleFileName,GetWindowText,GetWindowTextLength,      \
    GrayString,IMPGetIME,IMPQueryIME,IMPSetIME,InsertMenu,InsertMenuItem,         \
    IsCharAlpha,IsCharAlphaNumeric,IsCharLower,IsCharUpper,IsDialogMessage,       \
    LoadAccelerators,LoadBitmap,LoadCursor,LoadCursorFromFile,LoadIcon,LoadImage, \
    LoadKeyboardLayout,LoadMenuIndirect,LoadMenu,LoadString,MapVirtualKey,        \
    MapVirtualKeyEx,MenuWindowProc,MessageBox,MessageBoxEx,MessageBoxIndirect,    \
    MessageBoxTimeout,ModifyMenu,OemToChar,OemToCharBuff,OpenDesktop,             \
    OpenWindowStation,PeekMessage,PostMessage,PostThreadMessage,                  \
    PrivateExtractIconEx,PrivateExtractIcons,RealGetWindowClass,RegisterClassEx,  \
    RegisterClass,RegisterClipboardFormat,RegisterDeviceNotification,             \
    RegisterWindowMessage,RemoveProp,SendDlgItemMessage,SendIMEMessageEx,         \
    SendMessage,SendMessageCallback,SendMessageTimeout,SendNotifyMessage,         \
    SetClassLong,SetDlgItemText,SetMenuItemInfo,SetProp,SetUserObjectInformation, \
    SetWindowLong,SetWindowText,SetWindowsHook,SetWindowsHookEx,                  \
    SystemParametersInfo,TabbedTextOut,TranslateAccelerator,UnregisterClass,      \
    VkKeyScanEx,VkKeyScan,WinHelp,wsprintf,wvsprintf,                             \
       \ 45 ANSI+WIDE functions exported by gdi32.dll:
    AddFontResource,AddFontResourceEx,CopyEnhMetaFile,CopyMetaFile,               \
    CreateColorSpace,CreateDC,CreateEnhMetaFile,CreateFont,CreateFontIndirectEx,  \
    CreateFontIndirect,CreateIC,CreateMetaFile,CreateScalableFontResource,        \
    DeviceCapabilitiesEx,EnumFontFamilies,EnumFontFamiliesEx,EnumFonts,           \
    EnumICMProfiles,ExtTextOut,GetCharABCWidthsFloat,GetCharWidth32,              \
    GetCharWidthFloat,GetCharacterPlacement,GetEnhMetaFile,                       \
    GetEnhMetaFileDescription,GetGlyphIndices,GetGlyphOutline,GetICMProfile,      \
    GetKerningPairs,GetLogColorSpace,GetMetaFile,GetObject,GetOutlineTextMetrics, \
    GetStringBitmap,GetTextExtentPoint32,GetTextFace,GetTextMetrics,PolyTextOut,  \
    RemoveFontResourceEx,RemoveFontResource,ResetDC,SetICMProfile,StartDoc,       \
    TextOut,UpdateICMRegKey,                                                      \
       \ 10 ANSI+WIDE functions exported by comdlg32.dll:
    ChooseColor,ChooseFont,FindText,GetFileTitle,GetOpenFileName,GetSaveFileName, \
    PageSetupDlg,PrintDlg,PrintDlgEx,ReplaceText,                                 \
       \ 5 ANSI+WIDE functions exported by comctl32.dll:
    CreatePropertySheetPage,CreateStatusWindow,DrawStatusText,ImageList_LoadImage,\
    PropertySheet,                                                                \
       \ 65 ANSI+WIDE functions exported by shell32.dll:
    CheckEscapes,Control_FillCache_RunDLL,Control_RunDLL,DoEnvironmentSubst,      \
    DragQueryFile,ExtractAssociatedIcon,ExtractAssociatedIconEx,ExtractIcon,      \
    ExtractIconEx,ExtractIconResInfo,FindExecutable,ILCreateFromPath,             \
    InternalExtractIconList,IsLFNDrive,OpenAs_RunDLL,Options_RunDLL,PathIsSlow,   \
    PrintersGetCommand_RunDLL,RealShellExecuteEx,RealShellExecute,                \
    SHBrowseForFolder,SHCreateDirectoryEx,SHDefExtractIcon,SHEmptyRecycleBin,     \
    SHFileOperation,SHGetDataFromIDList,SHGetDiskFreeSpaceEx,SHGetFileInfo,       \
    SHGetFolderPathAndSubDir,SHGetFolderPath,SHGetIconOverlayIndex,               \
    SHGetNewLinkInfo,SHGetPathFromIDList,SHGetSpecialFolderPath,                  \
    SHHelpShortcuts_RunDLL,SHInvokePrinterCommand,SHPathPrepareForWrite,          \
    SHQueryRecycleBin,SHUpdateImage,SheChangeDir,SheChangeDirEx,SheFullPath,      \
    SheGetDir,SheRemoveQuotes,SheShortenPath,ShellAbout,ShellExec_RunDLL,         \
    ShellExecute,ShellExecuteEx,ShellMessageBox,Shell_NotifyIcon,StrChr,StrChrI,  \
    StrCmpNI,StrCmpN,StrCpyN,StrNCmp,StrNCmpI,StrNCpy,StrRChrI,StrRChr,StrRStr,   \
    StrRStrI,StrStr,StrStrI,                                                      \
       \ 162 ANSI+WIDE functions exported by advapi32.dll:
    AbortSystemShutdown,AccessCheckAndAuditAlarm,AccessCheckByTypeAndAuditAlarm,  \
    AccessCheckByTypeResultListAndAuditAlarm,                                     \
    AccessCheckByTypeResultListAndAuditAlarmByHandle,BackupEventLog,              \
    BuildExplicitAccessWithName,BuildImpersonateExplicitAccessWithName,           \
    BuildImpersonateTrustee,BuildSecurityDescriptor,BuildTrusteeWithName,         \
    BuildTrusteeWithObjectsAndName,BuildTrusteeWithObjectsAndSid,                 \
    BuildTrusteeWithSid,ChangeServiceConfig,ChangeServiceConfig2,ClearEventLog,   \
    ControlTrace,ConvertAccessToSecurityDescriptor,ConvertSDToStringSDRootDomain, \
    ConvertSecurityDescriptorToAccess,ConvertSecurityDescriptorToAccessNamed,     \
    ConvertSecurityDescriptorToStringSecurityDescriptor,ConvertSidToStringSid,    \
    ConvertStringSDToSDDomain,ConvertStringSDToSDRootDomain,                      \
    ConvertStringSecurityDescriptorToSecurityDescriptor,ConvertStringSidToSid,    \
    CreateProcessAsUser,CreateService,CredDelete,CredEnumerate,CredGetTargetInfo, \
    CredIsMarshaledCredential,CredMarshalCredential,CredReadDomainCredentials,    \
    CredRead,CredRename,CredUnmarshalCredential,CredWrite,                        \
    CredWriteDomainCredentials,CryptAcquireContext,CryptEnumProviderTypes,        \
    CryptEnumProviders,CryptGetDefaultProvider,CryptSetProvider,                  \
    CryptSetProviderEx,CryptSignHash,CryptVerifySignature,DecryptFile,            \
    ElfBackupEventLogFile,ElfClearEventLogFile,ElfOpenBackupEventLog,             \
    ElfOpenEventLog,ElfReadEventLog,ElfRegisterEventSource,ElfReportEvent,        \
    EncryptFile,EnumDependentServices,EnumServicesStatus,EnumServicesStatusEx,    \
    FileEncryptionStatus,FlushTrace,GetAccessPermissionsForObject,                \
    GetAuditedPermissionsFromAcl,GetCurrentHwProfile,GetEffectiveRightsFromAcl,   \
    GetExplicitEntriesFromAcl,GetFileSecurity,GetInheritanceSource,               \
    GetMultipleTrustee,GetMultipleTrusteeOperation,GetNamedSecurityInfoEx,        \
    GetNamedSecurityInfo,GetSecurityInfoEx,GetServiceDisplayName,                 \
    GetServiceKeyName,GetTrusteeForm,GetTrusteeName,GetTrusteeType,GetUserName,   \
    I_ScSetServiceBits,InitiateSystemShutdown,InitiateSystemShutdownEx,LogonUser, \
    LogonUserEx,LookupAccountName,LookupAccountSid,LookupPrivilegeDisplayName,    \
    LookupPrivilegeName,LookupPrivilegeValue,LookupSecurityDescriptorParts,       \
    ObjectCloseAuditAlarm,ObjectDeleteAuditAlarm,ObjectOpenAuditAlarm,            \
    ObjectPrivilegeAuditAlarm,OpenBackupEventLog,OpenEncryptedFileRaw,            \
    OpenEventLog,OpenSCManager,OpenService,OpenTrace,PrivilegedServiceAuditAlarm, \
    QueryAllTraces,QueryServiceConfig,QueryServiceConfig2,QueryServiceLockStatus, \
    QueryTrace,ReadEventLog,RegConnectRegistry,RegCreateKeyEx,RegCreateKey,       \
    RegDeleteKey,RegDeleteValue,RegEnumKey,RegEnumKeyEx,RegEnumValue,RegLoadKey,  \
    RegOpenKey,RegOpenKeyEx,RegQueryInfoKey,RegQueryMultipleValues,               \
    RegQueryValueEx,RegQueryValue,RegReplaceKey,RegRestoreKey,RegSaveKey,         \
    RegSaveKeyEx,RegSetValueEx,RegSetValue,RegUnLoadKey,RegisterEventSource,      \
    RegisterServiceCtrlHandlerEx,RegisterServiceCtrlHandler,RegisterTraceGuids,   \
    ReportEvent,SetEntriesInAccessList,SetEntriesInAcl,SetEntriesInAuditList,     \
    SetFileSecurity,SetNamedSecurityInfoEx,SetNamedSecurityInfo,SetSecurityInfoEx,\
    StartService,StartServiceCtrlDispatcher,StartTrace,StopTrace,                 \
    TreeResetNamedSecurityInfo,TrusteeAccessToObject,UpdateTrace,                 \
    WmiDevInstToInstanceName,WmiExecuteMethod,WmiFileHandleToInstanceName,        \
    WmiMofEnumerateResources,WmiNotificationRegistration,WmiQueryAllDataMultiple, \
    WmiQueryAllData,WmiQuerySingleInstance,WmiQuerySingleInstanceMultiple,        \
    WmiReceiveNotifications,WmiSetSingleInstance,WmiSetSingleItem,                \
       \ 12 ANSI+WIDE functions exported by ws2_32.dll:
    WSAAddressToString,WSADuplicateSocket,WSAEnumNameSpaceProviders,              \
    WSAEnumProtocols,WSAGetServiceClassInfo,WSAGetServiceClassNameByClassId,      \
    WSAInstallServiceClass,WSALookupServiceBegin,WSALookupServiceNext,            \
    WSASetService,WSASocket,WSAStringToAddress,                                   \
       \ 11 ANSI+WIDE functions exported by netapi32.dll:
    DsAddressToSiteNames,DsAddressToSiteNamesEx,DsDeregisterDnsHostRecords,       \
    DsEnumerateDomainTrusts,DsGetDcName,DsGetDcNameWithAccount,DsGetDcNext,       \
    DsGetDcOpen,DsGetDcSiteCoverage,DsGetSiteName,DsValidateSubnetName,           \
       \ 65 ANSI+WIDE functions exported by shell32.dll:
    CheckEscapes,Control_FillCache_RunDLL,Control_RunDLL,DoEnvironmentSubst,      \
    DragQueryFile,ExtractAssociatedIcon,ExtractAssociatedIconEx,ExtractIcon,      \
    ExtractIconEx,ExtractIconResInfo,FindExecutable,ILCreateFromPath,             \
    InternalExtractIconList,IsLFNDrive,OpenAs_RunDLL,Options_RunDLL,PathIsSlow,   \
    PrintersGetCommand_RunDLL,RealShellExecuteEx,RealShellExecute,                \
    SHBrowseForFolder,SHCreateDirectoryEx,SHDefExtractIcon,SHEmptyRecycleBin,     \
    SHFileOperation,SHGetDataFromIDList,SHGetDiskFreeSpaceEx,SHGetFileInfo,       \
    SHGetFolderPathAndSubDir,SHGetFolderPath,SHGetIconOverlayIndex,               \
    SHGetNewLinkInfo,SHGetPathFromIDList,SHGetSpecialFolderPath,                  \
    SHHelpShortcuts_RunDLL,SHInvokePrinterCommand,SHPathPrepareForWrite,          \
    SHQueryRecycleBin,SHUpdateImage,SheChangeDir,SheChangeDirEx,SheFullPath,      \
    SheGetDir,SheRemoveQuotes,SheShortenPath,ShellAbout,ShellExec_RunDLL,         \
    ShellExecute,ShellExecuteEx,ShellMessageBox,Shell_NotifyIcon,StrChr,StrChrI,  \
    StrCmpNI,StrCmpN,StrCpyN,StrNCmp,StrNCmpI,StrNCpy,StrRChrI,StrRChr,StrRStr,   \
    StrRStrI,StrStr,StrStrI,                                                      \
    ;

       ENDHEAD winansi

▲Back to the top▲