ReactOS  0.4.11-dev-465-g0e6bc23
shellext.h File Reference
#include <windows.h>
#include <winternl.h>
#include <string>
#include "../btrfs.h"
#include "../btrfsioctl.h"
Include dependency graph for shellext.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  _REPARSE_DATA_BUFFER
 
struct  _DUPLICATE_EXTENTS_DATA
 
struct  _FSCTL_GET_INTEGRITY_INFORMATION_BUFFER
 
struct  _FSCTL_SET_INTEGRITY_INFORMATION_BUFFER
 

Macros

#define ISOLATION_AWARE_ENABLED   1
 
#define STRSAFE_NO_DEPRECATE
 
#define WINVER   0x0A00
 
#define _WIN32_WINNT   0x0A00
 
#define STATUS_SUCCESS   (NTSTATUS)0x00000000
 
#define STATUS_BUFFER_OVERFLOW   (NTSTATUS)0x80000005
 
#define STATUS_END_OF_FILE   (NTSTATUS)0xc0000011
 
#define STATUS_MORE_PROCESSING_REQUIRED   (NTSTATUS)0xc0000016
 
#define STATUS_BUFFER_TOO_SMALL   (NTSTATUS)0xc0000023
 
#define STATUS_DEVICE_NOT_READY   (NTSTATUS)0xc00000a3
 
#define STATUS_CANNOT_DELETE   (NTSTATUS)0xc0000121
 
#define STATUS_NOT_FOUND   (NTSTATUS)0xc0000225
 
#define BLOCK_FLAG_DATA   0x001
 
#define BLOCK_FLAG_SYSTEM   0x002
 
#define BLOCK_FLAG_METADATA   0x004
 
#define BLOCK_FLAG_RAID0   0x008
 
#define BLOCK_FLAG_RAID1   0x010
 
#define BLOCK_FLAG_DUPLICATE   0x020
 
#define BLOCK_FLAG_RAID10   0x040
 
#define BLOCK_FLAG_RAID5   0x080
 
#define BLOCK_FLAG_RAID6   0x100
 
#define BTRFS_TYPE_FILE   1
 
#define BTRFS_TYPE_DIRECTORY   2
 
#define BTRFS_TYPE_CHARDEV   3
 
#define BTRFS_TYPE_BLOCKDEV   4
 
#define BTRFS_TYPE_FIFO   5
 
#define BTRFS_TYPE_SOCKET   6
 
#define BTRFS_TYPE_SYMLINK   7
 
#define funcname   __func__
 
#define SYMLINK_FLAG_RELATIVE   1
 
#define FSCTL_DUPLICATE_EXTENTS_TO_FILE   CTL_CODE(FILE_DEVICE_FILE_SYSTEM, 209, METHOD_BUFFERED, FILE_WRITE_ACCESS)
 
#define FSCTL_GET_INTEGRITY_INFORMATION   CTL_CODE(FILE_DEVICE_FILE_SYSTEM, 159, METHOD_BUFFERED, FILE_ANY_ACCESS)
 
#define FSCTL_SET_INTEGRITY_INFORMATION   CTL_CODE(FILE_DEVICE_FILE_SYSTEM, 160, METHOD_BUFFERED, FILE_READ_DATA | FILE_WRITE_DATA)
 

Typedefs

typedef struct _REPARSE_DATA_BUFFER REPARSE_DATA_BUFFER
 
typedef struct
_REPARSE_DATA_BUFFER
PREPARSE_DATA_BUFFER
 
typedef struct
_DUPLICATE_EXTENTS_DATA 
DUPLICATE_EXTENTS_DATA
 
typedef struct
_DUPLICATE_EXTENTS_DATA
PDUPLICATE_EXTENTS_DATA
 
typedef struct
_FSCTL_GET_INTEGRITY_INFORMATION_BUFFER 
FSCTL_GET_INTEGRITY_INFORMATION_BUFFER
 
typedef struct
_FSCTL_GET_INTEGRITY_INFORMATION_BUFFER
PFSCTL_GET_INTEGRITY_INFORMATION_BUFFER
 
typedef struct
_FSCTL_SET_INTEGRITY_INFORMATION_BUFFER 
FSCTL_SET_INTEGRITY_INFORMATION_BUFFER
 
typedef struct
_FSCTL_SET_INTEGRITY_INFORMATION_BUFFER
PFSCTL_SET_INTEGRITY_INFORMATION_BUFFER
 

Functions

NTSYSCALLAPI NTSTATUS NTAPI NtFsControlFile (HANDLE FileHandle, HANDLE Event, PIO_APC_ROUTINE ApcRoutine, PVOID ApcContext, PIO_STATUS_BLOCK IoStatusBlock, ULONG FsControlCode, PVOID InputBuffer, ULONG InputBufferLength, PVOID OutputBuffer, ULONG OutputBufferLength)
 
NTSTATUS NTAPI NtReadFile (HANDLE FileHandle, HANDLE Event, PIO_APC_ROUTINE ApcRoutine, PVOID ApcContext, PIO_STATUS_BLOCK IoStatusBlock, PVOID Buffer, ULONG Length, PLARGE_INTEGER ByteOffset, PULONG Key)
 
NTSTATUS WINAPI RtlUTF8ToUnicodeN (PWSTR UnicodeStringDestination, ULONG UnicodeStringMaxWCharCount, PULONG UnicodeStringActualWCharCount, PCCH UTF8StringSource, ULONG UTF8StringByteCount)
 
NTSTATUS WINAPI NtSetEaFile (HANDLE FileHandle, PIO_STATUS_BLOCK IoStatusBlock, PVOID Buffer, ULONG Length)
 
NTSTATUS WINAPI NtSetSecurityObject (HANDLE Handle, SECURITY_INFORMATION SecurityInformation, PSECURITY_DESCRIPTOR SecurityDescriptor)
 
NTSTATUS NTAPI NtQueryInformationFile (HANDLE hFile, PIO_STATUS_BLOCK io, PVOID ptr, ULONG len, FILE_INFORMATION_CLASS FileInformationClass)
 
void ShowError (HWND hwnd, ULONG err)
 
void ShowNtStatusError (HWND hwnd, NTSTATUS Status)
 
void ShowStringError (HWND hwndDlg, int num,...)
 
void format_size (UINT64 size, WCHAR *s, ULONG len, BOOL show_bytes)
 
void set_dpi_aware ()
 
std::wstring format_message (ULONG last_error)
 
std::wstring format_ntstatus (NTSTATUS Status)
 

Variables

HMODULE module
 

Macro Definition Documentation

#define _WIN32_WINNT   0x0A00

Definition at line 25 of file shellext.h.

#define BTRFS_TYPE_BLOCKDEV   4
#define BTRFS_TYPE_CHARDEV   3
#define BTRFS_TYPE_SOCKET   6
#define FSCTL_GET_INTEGRITY_INFORMATION   CTL_CODE(FILE_DEVICE_FILE_SYSTEM, 159, METHOD_BUFFERED, FILE_ANY_ACCESS)

Definition at line 177 of file shellext.h.

Referenced by fsctl_request(), BtrfsContextMenu::reflink_copy(), and reflink_copy2().

#define FSCTL_SET_INTEGRITY_INFORMATION   CTL_CODE(FILE_DEVICE_FILE_SYSTEM, 160, METHOD_BUFFERED, FILE_READ_DATA | FILE_WRITE_DATA)

Definition at line 178 of file shellext.h.

Referenced by fsctl_request(), BtrfsContextMenu::reflink_copy(), and reflink_copy2().

#define ISOLATION_AWARE_ENABLED   1

Definition at line 20 of file shellext.h.

#define STATUS_BUFFER_OVERFLOW   (NTSTATUS)0x80000005

Definition at line 49 of file shellext.h.

Referenced by _Dispatch_type_(), _Function_class_(), _Success_(), _test_file_name(), AcpiRegQueryValue(), ApphelpCacheRead(), Basep8BitStringToDynamicUnicodeString(), Basep8BitStringToStaticUnicodeString(), BasepMoveFileDelayed(), BdaPropertyTemplateConnections(), CdQueryFsAttributeInfo(), CdQueryNameInfo(), CdRomGetDeviceType(), CdRompGetConfiguration(), ClassDeviceControl(), CmpQueryKeyData(), CmpQueryKeyValueData(), CmpQueryNameInformation(), ConcatPathsV(), Control(), CreateDirectoryExW(), CSR_API(), BtrfsDeviceResize::DeviceResizeDlgProc(), DGDeliverData(), DoQuery(), DumpRegistryData(), ExpConvertLdrModuleToRtlModule(), ExpLoadBootSymbols(), Ext2FillEntry(), Ext2GetReparsePoint(), Ext2GetRetrievalPointers(), Ext2InspectReparseData(), Ext2LinuxError(), Ext2ProcessEntry(), Ext2QueryDirectory(), Ext2QueryEa(), Ext2QueryFileInformation(), Ext2QueryVolumeInformation(), FatGetCompatibilityModeValue(), FatGetStatistics(), FatIsFujitsuFMR(), FatQueryFsAttributeInfo(), FatQueryFsVolumeInfo(), FatUnicodeToUpcaseOem(), FFSQueryInformation(), FFSQueryVolumeInformation(), file_desc_fileref(), FilenameA2W(), fileref_get_filename(), fill_in_file_name_information(), fill_in_file_network_open_information(), fill_in_file_stream_information(), fill_in_hard_link_information(), find_devices(), FindDeviceDescForAdapter(), FindNextFileW(), finish_removing_device(), FltGetVolumeProperties(), FltpReadRegistryValue(), fsctl_get_xattrs(), FsdGetFsAttributeInformation(), FsdGetFsVolumeInformation(), get_devices(), get_file_ids(), get_inode_info(), get_mountdev_name(), get_registry_locale_info(), get_registry_value(), get_reparse_point(), get_subvol_path(), get_usage(), GetComputerIdentifier(), GetComputerNameFromRegistry(), GetConsoleInputExeNameA(), CHubController::GetHubControllerSymbolicLink(), GetVolumeBitmap(), CHCDController::HandleDeviceControl(), IKsPin_PinAllocatorFramingPropertyHandler(), BtrfsVolPropSheet::Initialize(), InitializeFmIfsOnce(), IntCopyRegistryKey(), IntCopyRegistryValue(), InternalGetAtomName(), InternalReadNonResidentAttributes(), IopDetectResourceConflict(), IopEnumerateDetectedDevices(), IopGetRegistryValue(), IopGetSetSecurityObject(), IopInstallCriticalDevice(), IopIsFirmwareMapperDisabled(), IopQueryBusDescription(), IopQueryDeviceDescription(), IopQueryNameInternal(), IopUpdateResourceMap(), IoQueryFileDosDeviceName(), IoVolumeDeviceToDosName(), is_btrfs_volume(), is_mounted_multi_device(), IsAcpiComputer(), KsGetBusEnumIdentifier(), KsGetImageNameAndResourceId(), KsHandleSizedListQuery(), KspHandleDataIntersection(), KspPinPropertyHandler(), KsTopologyPropertyHandler(), LdrQueryImageFileKeyOption(), LsapGetObjectAttribute(), LsapRegEnumerateSubKey(), LsapRegEnumerateValue(), LsapRegQueryValue(), map_querydir_errors(), map_setea_error(), map_symlink_errors(), mountmgr_process_drive(), MountMgrQueryDosVolumePath(), MountMgrQueryDosVolumePaths(), MountMgrVolumeMountPointChanged(), MsfsQueryMailslotInformation(), MsfsSetMailslotInformation(), ndisBindMiniportsToProtocol(), NdisIAddDevice(), NdisOpenConfigurationKeyByIndex(), NdisReadConfiguration(), nfs41_QueryEaInformation(), nfs41_QuerySecurityInformation(), nfs41_QueryVolumeInformation(), notify_change_directory(), NpCommonQuerySecurityInfo(), NpPeek(), NpQueryFsAttributeInfo(), NpQueryFsVolumeInfo(), NpQueryNameInfo(), NpReadDataQueue(), NpWriteDataQueue(), NtCreateProfile(), NtfsGetBothDirectoryInformation(), NtfsGetDirectoryInformation(), NtfsGetFsAttributeInformation(), NtfsGetFsDeviceInformation(), NtfsGetFsSizeInformation(), NtfsGetFsVolumeInformation(), NtfsGetFullDirectoryInformation(), NtfsGetNameInformation(), NtfsGetNamesInformation(), NtfsGetSteamInformation(), NtfsQueryDirectory(), NtReadFile(), one_RtlInt64ToUnicodeString_test(), one_RtlIntegerToUnicodeString_test(), BtrfsScrub::PauseScrub(), PciBuildHackTable(), PeekNamedPipe(), Phase1InitializationDiscard(), PinIntersectHandler(), BtrfsDeviceAdd::populate_device_tree(), ProcessorSetFriendlyName(), PropertyHandler_ChannelConfig(), PropertyHandler_ComponentId(), PropertyHandler_Private(), query_dir_item(), query_filesystems(), query_info(), query_scrub(), query_uuid(), QueryDeviceInformation(), QueryPointsFromMemory(), QueryPointsFromSymbolicLinkName(), QuerySuggestedLinkName(), QueryVolumeName(), RawQueryFsAttributeInfo(), RawQueryFsDeviceInfo(), RawQueryFsSizeInfo(), RawQueryInformation(), read_pipe_test(), read_registry(), BtrfsContextMenu::reflink_copy(), reflink_copy2(), BtrfsVolPropSheet::RefreshDevList(), BtrfsScrub::RefreshScrubDlg(), BtrfsVolPropSheet::RefreshUsage(), RegEnumValueW(), RegpCopyTree(), RegQueryInfoKeyW(), RegQueryValue(), RegQueryValueExW(), remove_drive_letter(), remove_volume_child(), BtrfsVolPropSheet::ResetStats(), RfsdQueryInformation(), RfsdQueryVolumeInformation(), rpcrt4_conn_np_read(), RtlAnsiStringToUnicodeString(), RtlDnsHostNameToComputerName(), RtlDowncaseUnicodeString(), RtlIntegerToChar(), RtlLargeIntegerToChar(), RtlOemStringToCountedUnicodeString(), RtlOemStringToUnicodeString(), RtlpNtEnumerateSubKey(), RtlpNtQueryValueKey(), RtlQueryRegistryValues(), RtlStringCatExWorkerA(), RtlStringCatExWorkerW(), RtlStringCatNExWorkerA(), RtlStringCatNExWorkerW(), RtlStringCbCatExA(), RtlStringCbCatExW(), RtlStringCbCatNExA(), RtlStringCbCatNExW(), RtlStringCbCopyExA(), RtlStringCbCopyExW(), RtlStringCbCopyNExA(), RtlStringCbCopyNExW(), RtlStringCbPrintfExA(), RtlStringCbPrintfExW(), RtlStringCbVPrintfExA(), RtlStringCbVPrintfExW(), RtlStringCopyExWorkerA(), RtlStringCopyExWorkerW(), RtlStringCopyNExWorkerA(), RtlStringCopyNExWorkerW(), RtlStringCopyNWorkerA(), RtlStringCopyNWorkerW(), RtlStringCopyWorkerA(), RtlStringCopyWorkerW(), RtlStringVPrintfExWorkerA(), RtlStringVPrintfExWorkerW(), RtlStringVPrintfWorkerA(), RtlStringVPrintfWorkerW(), RtlUnicodeStringToAnsiString(), RtlUnicodeStringToCountedOemString(), RtlUnicodeStringToOemString(), RtlUpcaseUnicodeString(), RtlUpcaseUnicodeStringToAnsiString(), RtlUpcaseUnicodeStringToCountedOemString(), RtlUpcaseUnicodeStringToOemString(), run_error_tests(), RxCommonQueryInformation(), RxLowIoIoCtlShellCompletion(), RxQueryNameInfo(), SampCreateAccountSid(), SampDeleteAccountDbObject(), SampGetLogonHoursAttribute(), SampGetObjectAttributeString(), SampRegEnumerateSubKey(), SampRegEnumerateValue(), SampRegQueryValue(), SamrQuerySecurityObject(), SatisfyPacketRecvRequest(), ScsiClassDeviceControl(), ScsiPortDeviceControl(), SeInitializeProcessAuditName(), send_notification_fcb(), send_notification_fileref(), SerialQueryInformation(), set_rename_information(), SetConsoleInputExeNameA(), BtrfsBalance::ShowBalance(), SpiStatusSrbToNt(), StartBalanceW(), test_file_all_name_information(), test_file_name_information(), Test_KeyFullInformation(), test_name_limits(), test_NtQueryDirectoryFile(), test_NtQueryDirectoryFile_classes(), test_NtQueryKey(), test_NtQueryValueKey(), test_query_object(), test_queryvirtualmemory(), test_ReadFile(), test_RtlIntegerToChar(), test_RtlLargeIntegerToChar(), TestAllInformation(), TestCommonRead(), TestFileFsAttributeInformation(), TestFileFsVolumeInformation(), TestFileInfo(), TestGetReturnStatus(), TestIrpHandler(), TestMessageHandler(), TestRead(), TestVolumeInfo(), TranslateNtStatusError(), UDFGetAltNameInformation(), UDFGetBasicInformation(), UDFGetEaInformation(), UDFGetFileStreamInformation(), UDFGetFullNameInformation(), UDFGetInternalInformation(), UDFGetNetworkInformation(), UDFGetPositionInformation(), UDFGetStandardInformation(), UDFGetStatistics(), UDFInitializeVCB(), UDFQueryDirectory(), UDFQueryFsAttributeInfo(), UDFQueryFsVolumeInfo(), BtrfsScrub::UpdateTextBox(), BtrfsVolPropSheet::UsageDlgProc(), UsbAudioPinDataIntersect(), USBD_GetPdoRegistryParameter(), ValidatePropertyRequest(), VfatGetAllInformation(), VfatGetBasicInformation(), VfatGetFileBothInformation(), VfatGetFileDirectoryInformation(), VfatGetFileFullDirectoryInformation(), VfatGetFileNamesInformation(), VfatGetInternalInformation(), VfatGetNameInformation(), VfatGetNetworkOpenInformation(), VfatGetPositionInformation(), VfatGetStandardInformation(), VfatGetStatistics(), VfatQueryInformation(), VfdDeviceControl(), VfdQueryImage(), VideoPortForwardDeviceControl(), VideoPortIsNoVesa(), vol_get_disk_extents(), vol_query_device_name(), vol_query_unique_id(), and WdmAudGetDeviceInterface().

#define STATUS_BUFFER_TOO_SMALL   (NTSTATUS)0xc0000023

Definition at line 52 of file shellext.h.

Referenced by _Dispatch_type_(), _IRQL_requires_max_(), _Success_(), ACPIDispatchDeviceControl(), AcpiRegQueryValue(), add_device(), AddDiskToList(), AfdGetContextSize(), AfdGetPeerName(), AfdGetTdiHandles(), AfdSetConnectDataSize(), AfdSetConnectOptionsSize(), AfdSetDisconnectDataSize(), AfdSetDisconnectOptionsSize(), BasepComputeProcessPath(), BasepIsCurDirAllowedForPlainExeNames(), BasepMoveFileDelayed(), BaseQuerySystemFirmware(), BatteryClassIoctl(), BcdEnumerateAndUnpackElements(), BdaPropertyNodeTypes(), BdaPropertyPinTypes(), BiConvertBcdElements(), BiConvertRegistryDataToElement(), BiEnumerateElements(), BiEnumerateSubObjectElements(), BlImgLoadImageWithProgress2(), BlMmGetMemoryMap(), BlSecureBootCheckForFactoryReset(), BmGetOptionList(), BmpProcessBadMemory(), BuildDesktopNameList(), BuildWindowStationNameList(), Bus_AddDevice(), Bus_PDO_EvalMethod(), Bus_PDO_QueryInterface(), CallNt(), CdCommonDevControl(), CdRomDeviceControl(), CdRomDeviceControlDispatch(), check_nfs41_getreparse_args(), CheckDirectorySecurity__(), CheckKeySecurity__(), ClassDeviceControl(), ClassRead(), ClassWmiCompleteRequest(), CmBattQueryInformation(), CmpQueryFlagsInformation(), CmpQueryKeyData(), CmpQueryKeyDataFromCache(), CmpQueryKeyValueData(), CmpQueryNameInformation(), CmpQuerySecurityDescriptor(), CompBattQueryInformation(), Control(), ConvertLargeMCBToDataRuns(), ConvertSidToStringSidW(), CreateDirectoryExW(), CreateFileW(), CSR_API(), DeviceIoctlPassive(), disk_arrival(), DiskDetermineMediaTypes(), DiskDeviceControl(), DiskFdoExecuteWmiMethod(), DiskFdoQueryWmiDataBlock(), DiskIoctlGetDriveGeometryEx(), DiskIoctlGetDriveLayout(), DiskIoctlGetDriveLayoutEx(), DiskIoctlGetLengthInfo(), DiskIoctlGetPartitionInfo(), DiskIoctlGetPartitionInfoEx(), DispTdiQueryInformation(), DoAdminUnlock(), duplicate_extents(), DxDdStartupDxGraphics(), EfiGetEfiStatusCode(), EfiGetNtStatusCode(), EfiInitpAppendPathString(), ElfReadRecord(), ElfrGetLogInformation(), EnumNamesW(), EventThread(), ExpandEnvironmentStringsA(), ExpandEnvironmentStringsW(), ExpGetRawSMBiosTable(), Ext2GetReparsePoint(), Ext2GetRetrievalPointerBase(), Ext2GetRetrievalPointers(), Ext2LinuxError(), Ext2QueryEa(), Ext2WinntError(), FatGetStatistics(), FatQueryBpb(), find_actctx_dll(), find_devices(), FindDeviceDescForAdapter(), FindFirstStreamW(), FindProductName(), FltGetVolumeProperties(), FltpEnumerateFileSystemVolumes(), FltpReadRegistryValue(), FreeBT_DispatchDevCtrl(), FreeBT_DispatchWrite(), FreeBT_QueryWmiDataBlock(), fs_get_statistics(), FsRtlGetTunnelParameterValue(), generic_alg_property(), get_alg_property(), get_buffer(), get_file_security(), get_registry_value(), get_security_descriptor(), get_top_level_sd(), GetDllList(), GetEnvironmentVariableA(), GetEnvironmentVariableW(), GetFileSystem(), GetFilterAltitude(), GetKeyName(), GetLogicalProcessorInformation(), GetNtfsFileRecord(), GetProcessImageFileNameA(), GetProcessImageFileNameW(), GetSiteSidFromToken(), GetStringElement(), GetSysAudioDevicePnpName(), GetUserSid(), GetUserSidStringFromToken(), GetVDMCurrentDirectories(), GetVolumeBitmap(), CHCDController::HandleDeviceControl(), CPortPinWaveRT::HandleKsProperty(), HandlePhysicalConnection(), HandleSysAudioFilterPinProperties(), i8042KbdInternalDeviceControl(), i8042MouInternalDeviceControl(), I_RpcMapWin32Status(), IKsAllocator_fnDeviceIoControl(), IKsPin_PinAllocatorFramingPropertyHandler(), IKsPin_PinDataFormatPropertyHandler(), ImgpInitializeBootApplicationParameters(), ImgpLoadPEImage(), init_device(), InitializeProvider(), InstallDevice(), IntCopyRegistryKey(), IntCopyRegistryValue(), IntGetConsoleAlias(), IntKeyboardGetIndicatorTrans(), IoEnumerateDeviceObjectList(), IoEnumerateRegisteredFiltersList(), IoGetDeviceInterfaces(), IoGetDeviceProperty(), IoOpenDeviceRegistryKey(), IopDetectResourceConflict(), IopEnumerateDetectedDevices(), IopGetDeviceProperty(), IopGetDeviceRelations(), IopGetRegistryValue(), IopGetRelatedDevice(), IopGetSetSecurityObject(), IopInstallCriticalDevice(), IopIsFirmwareMapperDisabled(), IopQueryBusDescription(), IopQueryDeviceDescription(), IopUpdateResourceMap(), IsAcpiComputer(), IsTokenRestricted(), KbdHid_InternalDeviceControl(), KsGetBusEnumIdentifier(), KsHandleSizedListQuery(), KspHandleDataIntersection(), KsPinDataIntersection(), KspMethodHandlerWithAllocator(), KspPinPropertyHandler(), KspPropertyHandler(), KspReadMediaCategory(), LanAdapterInfo(), LanEnumAdapters(), LogfReadEvents(), LookupPrivilegeDisplayNameW(), LookupPrivilegeNameW(), LsapCreateAccountSd(), LsapCreatePolicySd(), LsapCreateSecretSd(), LsarQuerySecurityObject(), LsaSetSecurityObject(), map_setea_error(), map_symlink_errors(), MmFwGetMemoryMap(), MouHid_InternalDeviceControl(), MupGetProviderInformation(), ndisBindMiniportsToProtocol(), NdisIAddDevice(), NdisOpenConfigurationKeyByIndex(), NdisReadConfiguration(), nfs41_GetReparsePoint(), nfs41_QueryDirectory(), nfs41_QueryEaInformation(), nfs41_QueryFileInformation(), nfs41_QuerySecurityInformation(), nfs41_QueryVolumeInformation(), NpCommonQuerySecurityInfo(), NtAccessCheck(), NtAdjustPrivilegesToken(), NtCreateProfile(), NtfsGetBasicInformation(), NtfsGetInternalInformation(), NtfsGetNameInformation(), NtfsGetNetworkOpenInformation(), NtfsGetPositionInformation(), NtfsGetStandardInformation(), NtfsGetSteamInformation(), NtGetPlugPlayEvent(), NtPowerInformation(), NtQueryDirectoryObject(), NtQueryInformationToken(), NtQuerySymbolicLinkObject(), NtStatusToCrError(), NtUserEnumDisplaySettings(), NtUserGetObjectInformation(), ObGetObjectSecurity(), OslpGetSetBootStatusData(), PciAcpiFindRsdt(), PciBuildHackTable(), PciGetDeviceProperty(), PciGetIrqRoutingTableFromRegistry(), PciGetRegistryValue(), PdoQueryInterface(), PiGetDeviceRegistryProperty(), PinIntersectHandler(), PnpEventThread(), ProcessorSetFriendlyName(), PropertyHandler_ChannelConfig(), PropertyHandler_ComponentId(), PropertyHandler_CpuResources(), PropertyHandler_Private(), PushCircularBufferEntry(), QSI_DEF(), query_ranges(), query_scrub(), QueryAdapterOid(), QueryBinding(), QueryCygwinEA(), QueryCygwinSymlink(), QueryDosDeviceW(), QueryKeyValue(), QueryVolumeName(), RamdiskDeviceControl(), RamdiskGetPartitionInfo(), read_registry(), ReadKeyValue(), RegEnumValueW(), RegOpenUserClassesRoot(), RegQueryValue(), ResolveArcNameManually(), ResolveArcNameNtSymLink(), RQueryServiceObjectSecurity(), RtlAcquirePrivilege(), RtlAddAce(), RtlAllocateHeap(), RtlAppendAsciizToString(), RtlAppendStringToString(), RtlAppendUnicodeStringToString(), RtlAppendUnicodeToString(), RtlAtomTestThread(), RtlConvertSidToUnicodeString(), RtlCopySid(), RtlCopySidAndAttributesArray(), RtlCreateAcl(), RtlDefaultNpAcl(), RtlDosSearchPath_Ustr(), RtlExpandEnvironmentStrings_U(), RtlGetFullPathName_Ustr(), RtlGetFullPathName_UstrEx(), RtlGetSetBootStatusData(), RtlInitializeRXact(), RtlIntegerToUnicode(), RtlMakeSelfRelativeSD(), RtlNewSecurityGrantedAccess(), RtlpCallQueryRegistryRoutine(), RtlpCompressBufferLZNT1(), RtlpQueryRegistryDirect(), RtlpSysVolCheckOwnerAndSecurity(), RtlQueryAtomInAtomTable(), RtlQueryEnvironmentVariable_U(), RtlQueryHeapInformation(), RtlQueryInformationAcl(), RtlQueryInformationActivationContext(), RtlQueryRegistryValues(), RtlSelfRelativeToAbsoluteSD(), RtlSelfRelativeToAbsoluteSD2(), RtlSetHeapInformation(), RtlSetInformationAcl(), RtlUnicodeToUTF8N(), RtlUTF8ToUnicodeN(), run_error_tests(), SampCreateAccountDomainSD(), SampCreateAliasSD(), SampCreateBuiltinDomainSD(), SampCreateGroupSD(), SampCreateServerSD(), SampCreateUserSD(), SamrQuerySecurityObject(), SamSetSecurityObject(), ScmConvertToBootPathName(), ScmCreateDefaultServiceSD(), ScmDecryptPassword(), ScmEncryptPassword(), ScsiClassDeviceControl(), ScsiDiskDeviceControl(), ScsiPortDeviceControl(), SearchPathW(), SeCaptureLuidAndAttributesArray(), SeCaptureSidAndAttributesArray(), SeInitializeProcessAuditName(), SepPropagateAcl(), SepSelectAcl(), SerialDeviceControl(), SerialWrite(), SermouseInternalDeviceControl(), SeSetWorldSecurityDescriptor(), SetAdapterOid(), SetServiceObjectSecurity(), SmpAcquirePrivilege(), SmpParseCommandLine(), SpiGetInquiryData(), START_TEST(), StatusToName(), SysAudioHandleProperty(), SystemFunction004(), SystemFunction005(), TCPTranslateError(), test_directory(), test_Global(), test_I_RpcMapWin32Status(), Test_KeyFullInformation(), Test_KeyNameInformation(), test_md5(), test_name_limits(), test_NtAtom(), test_NtQueryKey(), test_NtQueryLicenseKey(), test_NtQueryValueKey(), test_query_processor_power_info(), test_RtlCompressBuffer(), test_RtlMakeSelfRelativeSD(), test_RtlUnicodeToUTF8N(), test_RtlUTF8ToUnicodeN(), test_sha1(), test_sha256(), test_sha384(), test_sha512(), test_SystemFunction004(), test_SystemFunction005(), TestBuffers(), testExpand(), testQuery(), TestQueryLink(), TranslateNtStatusError(), TranslateStatusForUpperLayer(), UDFCommonDeviceControl(), UDFGetFileAllocModeFromICB(), UDFGetRetrievalPointers(), UDFGetStatistics(), UDFGetVolumeBitmap(), UDFIsVolumeDirty(), UDFSetFileAllocModeFromICB(), unmarshal_nfs41_attrget(), unmarshal_nfs41_dirquery(), unmarshal_nfs41_getacl(), unmarshal_nfs41_symlink(), USBD_GetDeviceInformationEx(), USBD_GetPdoRegistryParameter(), USBDI_QueryBusInformation(), USBH_GetDeviceType(), USBH_IoctlGetDescriptor(), USBH_IoctlGetNodeConnectionAttributes(), USBH_IoctlGetNodeConnectionDriverKeyName(), USBH_IoctlGetNodeConnectionInformation(), USBH_IoctlGetNodeInformation(), USBH_IoctlGetNodeName(), USBHI_GetControllerInformation(), USBHI_GetExtendedHubInformation(), USBHI_QueryDeviceInformation(), USBHUB_FdoHandleDeviceControl(), USBPORT_GetUnicodeName(), USBPORT_UserGetHcName(), USBPORT_UserGetRootHubName(), UserGetClassName(), ValidatePropertyRequest(), VcdRead(), VfatGetRetrievalPointers(), VfatGetStatistics(), VfdDeviceControl(), VfdQueryImage(), ViCreateDevice(), VideoPortForwardDeviceControl(), VideoPortInitWin32kCallbacks(), VideoPortIsNoVesa(), VideoPortUseDeviceInSession(), ViEnumerateDrives(), ViGetDriveGeometry(), ViGetImagePath(), ViGetLastSession(), ViReadToc(), ViReadTocEx(), vol_get_device_number(), vol_get_disk_extents(), vol_get_drive_geometry(), vol_get_gpt_attributes(), vol_get_length(), vol_query_device_name(), vol_query_unique_id(), and WmipQueryRawSMBiosTables().

#define STATUS_MORE_PROCESSING_REQUIRED   (NTSTATUS)0xc0000016

Definition at line 51 of file shellext.h.

Referenced by _Function_class_(), Bus_CompletionRoutine(), CdMultiAsyncCompletionRoutine(), CdMultiSyncCompletionRoutine(), CdPnpCompletionRoutine(), CdRomClassIoctlCompletion(), CdRomDeviceControlCompletion(), CdRomDvdEndAllSessionsCompletion(), CdRomMediaChangeCompletion(), CdRomRerunRequest(), CdRomSetVolumeIntermediateCompletion(), CdRomShutdownFlushCompletion(), CdRomSwitchModeCompletion(), CdRomUpdateGeometryCompletion(), CdRomUpdateMmcDriveCapabilitiesCompletion(), CdRomXACompletion(), CdSingleSyncCompletionRoutine(), CdSyncCompletionRoutine(), ClassAsynchronousCompletion(), ClassCheckVerifyComplete(), ClassCompletionRoutine(), ClassIoComplete(), ClassIoCompleteAssociated(), ClasspMediaChangeDetectionCompletion(), ClasspPowerDownCompletion(), ClasspPowerUpCompletion(), ClasspSendSynchronousCompletion(), ClassReleaseQueueCompletion(), ClassSignalCompletion(), CmBattIoCompletion(), CommonForwardedIoCompletionRoutine(), CompletionRoutine(), DiskInfoExceptionComplete(), BtrfsDeviceResize::do_resize(), Ext2ReadWriteBlockSyncCompletionRoutine(), FatCallSelfCompletionRoutine(), FatDeviceControlCompletionRoutine(), FatHijackCompletionRoutine(), FatMarkVolumeCompletionRoutine(), FatMultiAsyncCompletionRoutine(), FatMultiSyncCompletionRoutine(), FatPagingFileCompletionRoutineCatch(), FatPagingFileErrorHandler(), FatPnpCompletionRoutine(), FatSingleAsyncCompletionRoutine(), FatSingleSyncCompletionRoutine(), FDO_QueryCapabilitiesCompletionRoutine(), FFSReadWriteBlockSyncCompletionRoutine(), FinishDevPoUpIrp(), ForwardedIoCompletionRoutine(), ForwardIrpAndWaitCompletion(), ForwardIrpCompletion(), FreeBT_WriteCompletion(), HDA_SyncForwardIrpCompletionRoutine(), Hid_PnpCompletion(), HidClass_ReadCompleteIrp(), HidClassFDO_DispatchRequestSynchronousCompletion(), HidClassFDO_QueryCapabilitiesCompletionRoutine(), HidUsb_ReadReportCompletion(), IdleNotificationRequestComplete(), IntVideoPortForwardIrpAndWaitCompletionRoutine(), IofCompleteRequest(), IopSynchronousCompletion(), IrpCompletionRoutine(), KbdHid_CreateCompletion(), KbdHid_ReadCompletion(), KbdHid_StartDeviceCompletion(), KspForwardIrpSynchronousCompletion(), KspSetGetBusDataCompletion(), MiCowCacheSectionPage(), MmNotPresentFaultCachePage(), MmNotPresentFaultCacheSectionInner(), MmpPageOutPhysicalAddress(), MmpSectionAccessFaultInner(), MouHid_CreateCompletion(), MouHid_ReadCompletion(), MouHid_StartDeviceCompletion(), NdisIForwardIrpAndWaitCompletionRoutine(), nfs41_CollapseOpen(), nfs41_DevFcbXXXControlFile(), nfs41_ShouldTryToCollapseThisOpen(), NpCommonWrite(), NpCompleteTransceiveIrp(), NpTransceive(), NpWriteDataQueue(), PciIdeXGenericCompletion(), PciSetEventCompletion(), PopRequestPowerIrpCompletion(), QueryPathCompletionRoutine(), RamdiskIoCompletionRoutine(), resize_device(), RfsdReadWriteBlockSyncCompletionRoutine(), run_error_tests(), RxCanonicalizeFileNameByServerSpecs(), RxCanonicalizeNameAndObtainNetRoot(), RxCheckVNetRootCredentials(), RxCommonCreate(), RxCreateFromNetRoot(), RxFindOrConstructVirtualNetRoot(), RxLowIoCompletionTail(), RxLowIoReadShell(), RxScavengeFobxsForNetRoot(), ScsiClassAsynchronousCompletion(), ScsiClassCheckVerifyComplete(), ScsiClassIoComplete(), ScsiClassIoCompleteAssociated(), SpiCompletionRoutine(), StatusChangeEndpointCompletion(), SyncForwardIrpCompletionRoutine(), SysPoCompletionRoutine(), ToshibaProcessErrorCompletion(), TransferPktComplete(), UDFAsyncCompletionRoutine(), UDFPnpCompletionRoutine(), UniqueIdChangeNotifyCompletion(), UrbCompletion(), UsbAudioCaptureComplete(), UsbAudioRenderComplete(), USBH_ChangeIndication(), USBH_ChangeIndicationAckChangeComplete(), USBH_ChangeIndicationProcessChange(), USBH_FdoIdleNotificationRequestComplete(), USBH_FdoWWIrpIoCompletion(), USBH_HubPnPIrpComplete(), USBH_IrpCompletion(), USBH_PowerIrpCompletion(), USBPORT_FdoStartCompletion(), USBSTOR_CBWCompletionRoutine(), USBSTOR_CompletionRoutine(), USBSTOR_CSWCompletionRoutine(), USBSTOR_DataCompletionRoutine(), USBSTOR_QueueWorkItem(), USBSTOR_SyncForwardIrpCompletionRoutine(), VfatReadWritePartialCompletion(), and WaitWakeCompletionRoutine().

#define STATUS_NOT_FOUND   (NTSTATUS)0xc0000225

Definition at line 55 of file shellext.h.

Referenced by add_checksum_entry(), add_device(), add_volume_device(), ApphelpCacheLookupEntry(), ApphelpCacheRemoveEntryNolock(), balance_data_chunk(), BaseSrvGetConsoleRecord(), BcdDeleteElement(), BdaCreatePin(), BdaCreateTopology(), BiEnumerateElements(), BiEnumerateSubObjectElements(), BlFwEnumerateDevice(), BlGetBootOptionBoolean(), BlGetBootOptionDevice(), BlGetBootOptionGuid(), BlGetBootOptionGuidList(), BlGetBootOptionInteger(), BlGetBootOptionString(), BlHtDelete(), BlHtLookup(), BlPdQueryData(), BlpGetBootOptionIntegerList(), BlUtlGetAcpiTable(), BmMain(), BmOpenBootIni(), BmpPopulateBootEntryList(), BmpTransferExecution(), ChanMgrGetByHandle(), ChanMgrGetByHandleAndFileObject(), ChanMgrGetByIndex(), ChanMgrGetChannelByName(), ChanMgrGetChannelCount(), ChanMgrGetNextActiveChannel(), ChanMgrIsUniqueName(), CheckForValidPEAndVendor(), CheckValidation(), ClassDeviceControl(), BtrfsRecv::cmd_clone(), BtrfsRecv::cmd_snapshot(), ConMgrChannelOWrite(), CpInitialize(), CSR_API(), drop_chunk(), EfiGetEfiStatusCode(), EfiGetNtStatusCode(), EfipGetSystemTable(), ElfReadRecord(), ExpWin32SessionCallout(), FilterGeneralComponentIdHandler(), FilterPinPropertyHandler(), find_item(), find_item_in_tree(), find_item_to_level(), find_subvol(), FindBootStore(), FindFastMethodHandler(), FindFastPropertyHandler(), FindMatchingCreateItem(), FindMethodHandler(), FindPropertyHandler(), CUSBQueue::FindTransferDescriptorInEndpoint(), CUSBQueue::FindTransferDescriptorInInterruptHeadEndpoints(), CUSBQueue::FindTransferDescriptorInIsochronousHeadEndpoints(), get_device_pnp_name(), get_device_pnp_name_guid(), GetConsoleRecordBySessionId(), GetResourceListInterrupt(), HalpAcpiFindRsdtPhase0(), HalpAssignSlotResources(), HalpSetupAcpiPhase0(), CPortPinWavePci::HandleKsProperty(), HandlePhysicalConnection(), IKsPin_PinAllocatorFramingPropertyHandler(), InitEnv(), insert_tree_item(), IntGetFontLocalizedName(), KmtUnregisterIrpHandler(), KmtUnregisterMessageHandler(), KspPinPropertyHandler(), KsTopologyPropertyHandler(), LdrpCreateDllSection(), LdrpSearchPath(), load_free_space_cache(), load_stored_free_space_cache(), load_stored_free_space_tree(), LogfReadEvents(), look_for_balance_item(), MiBuildImportsForBootDrivers(), MiniportFindAdapter(), MmPaAllocatePages(), mount_vol(), MountMgrQueryDosVolumePath(), next_item2(), NtApphelpCacheControl(), NtCreatePagingFile(), OutTableData(), PcUnregisterIoTimeout(), PropertyItemDispatch(), QuerySymbolicLinkNamesFromStorage(), remove_device(), remove_drive_letter(), ResFindDataEntryFromImage(), RtlFindCharInUnicodeString(), run_error_tests(), RunApphelpCacheControlTests(), RxCollapseOrCreateSrvOpen(), RxpDispatchChangeBufferingStateRequests(), RxpLookupSrvOpenForRequestLite(), RxSearchForCollapsibleOpen(), scrub_chunk(), scrub_chunk_raid56_stripe_run(), skip_to_difference(), StartComponentRegistration(), test_RtlQueryPackageIdentity(), TestFindCharInUnicodeString(), TextIntRealizeFont(), UDFCommonCreate(), UDFGetOpenParamsByFileId(), UDFOpenStreamDir__(), UDFReadSecurity(), UDFWriteSecurity(), UniataChipDetect(), UniataFindBusMasterController(), and write_metadata_items().

#define STATUS_SUCCESS   (NTSTATUS)0x00000000

Definition at line 48 of file shellext.h.

#define STRSAFE_NO_DEPRECATE

Definition at line 21 of file shellext.h.

#define WINVER   0x0A00

Definition at line 24 of file shellext.h.

Typedef Documentation

Function Documentation

std::wstring format_message ( ULONG  last_error)

Definition at line 240 of file main.cpp.

Referenced by format_ntstatus().

240  {
241  WCHAR* buf;
242  std::wstring s;
243 
245  last_error, 0, (WCHAR*)&buf, 0, NULL) == 0) {
246  return L"(error retrieving message)";
247  }
248 
249  s = buf;
250 
251  LocalFree(buf);
252 
253  // remove trailing newline
254  while (s.length() > 0 && (s.substr(s.length() - 1, 1) == L"\r" || s.substr(s.length() - 1, 1) == L"\n"))
255  s = s.substr(0, s.length() - 1);
256 
257  return s;
258 }
GLenum GLuint GLenum GLsizei const GLchar * buf
Definition: glext.h:7751
__wchar_t WCHAR
Definition: xmlstorage.h:180
DWORD WINAPI FormatMessageW(DWORD dwFlags, LPCVOID lpSource, DWORD dwMessageId, DWORD dwLanguageId, LPWSTR lpBuffer, DWORD nSize, __ms_va_list *args)
Definition: format_msg.c:583
#define FORMAT_MESSAGE_ALLOCATE_BUFFER
Definition: winbase.h:400
smooth NULL
Definition: ftsmooth.c:416
#define FORMAT_MESSAGE_FROM_SYSTEM
Definition: winbase.h:404
static const WCHAR L[]
Definition: oid.c:1087
GLdouble s
Definition: gl.h:2039
#define FORMAT_MESSAGE_IGNORE_INSERTS
Definition: winbase.h:401
HLOCAL NTAPI LocalFree(HLOCAL hMem)
Definition: heapmem.c:1577
std::wstring format_ntstatus ( NTSTATUS  Status)

Definition at line 260 of file main.cpp.

Referenced by BtrfsSend::AddClone(), BtrfsSend::BrowseParent(), BtrfsRecv::cmd_chmod(), BtrfsRecv::cmd_chown(), BtrfsRecv::cmd_clone(), BtrfsRecv::cmd_mkfile(), BtrfsRecv::cmd_removexattr(), BtrfsRecv::cmd_setxattr(), BtrfsRecv::cmd_snapshot(), BtrfsRecv::cmd_subvol(), BtrfsRecv::do_recv(), BtrfsBalance::RefreshBalanceDlg(), BtrfsSend::Thread(), and BtrfsRecv::utf8_to_utf16().

260  {
262  std::wstring s;
263  HMODULE ntdll = LoadLibraryW(L"ntdll.dll");
264 
265  if (!ntdll)
266  return L"(error loading ntdll.dll)";
267 
268  RtlNtStatusToDosError = (_RtlNtStatusToDosError)GetProcAddress(ntdll, "RtlNtStatusToDosError");
269 
270  if (!RtlNtStatusToDosError) {
271  FreeLibrary(ntdll);
272  return L"(error loading RtlNtStatusToDosError)";
273  }
274 
276 
277  FreeLibrary(ntdll);
278 
279  return s;
280 }
ULONG(WINAPI * _RtlNtStatusToDosError)(NTSTATUS Status)
Definition: main.cpp:43
#define LoadLibraryW(x)
Definition: compat.h:404
std::wstring format_message(ULONG last_error)
Definition: main.cpp:240
#define FreeLibrary(x)
Definition: compat.h:405
static const WCHAR L[]
Definition: oid.c:1087
GLdouble s
Definition: gl.h:2039
Status
Definition: gdiplustypes.h:24
NTSYSAPI ULONG WINAPI RtlNtStatusToDosError(NTSTATUS)
HANDLE HMODULE
Definition: typedefs.h:75
#define GetProcAddress(x, y)
Definition: compat.h:410
void format_size ( UINT64  size,
WCHAR s,
ULONG  len,
BOOL  show_bytes 
)

Definition at line 126 of file main.cpp.

Referenced by BtrfsDeviceResize::DeviceResizeDlgProc(), BtrfsDeviceResize::do_resize(), BtrfsVolPropSheet::FormatUsage(), BtrfsDeviceAdd::populate_device_tree(), BtrfsVolPropSheet::RefreshDevList(), BtrfsPropSheet::set_size_on_disk(), BtrfsPropSheet::update_size_details_dialog(), and BtrfsScrub::UpdateTextBox().

126  {
127  WCHAR nb[255], nb2[255], t[255], bytes[255];
128  WCHAR kb[255];
129  ULONG sr;
130  float f;
131  NUMBERFMTW fmt;
132  WCHAR thou[4], grouping[64], *c;
133 
134  _i64tow(size, nb, 10);
135 
136  GetLocaleInfoW(LOCALE_USER_DEFAULT, LOCALE_STHOUSAND, thou, sizeof(thou) / sizeof(WCHAR));
137 
138  fmt.NumDigits = 0;
139  fmt.LeadingZero = 1;
140  fmt.lpDecimalSep = (LPWSTR)L"."; // not used
141  fmt.lpThousandSep = thou;
142  fmt.NegativeOrder = 0;
143 
144  // Grouping code copied from dlls/shlwapi/string.c in Wine - thank you
145 
146  fmt.Grouping = 0;
147  GetLocaleInfoW(LOCALE_USER_DEFAULT, LOCALE_SGROUPING, grouping, sizeof(grouping) / sizeof(WCHAR));
148 
149  c = grouping;
150  while (*c) {
151  if (*c >= '0' && *c < '9') {
152  fmt.Grouping *= 10;
153  fmt.Grouping += *c - '0';
154  }
155 
156  c++;
157  }
158 
159  if (fmt.Grouping % 10 == 0)
160  fmt.Grouping /= 10;
161  else
162  fmt.Grouping *= 10;
163 
164  GetNumberFormatW(LOCALE_USER_DEFAULT, 0, nb, &fmt, nb2, sizeof(nb2) / sizeof(WCHAR));
165 
166  if (size < 1024) {
167  if (!LoadStringW(module, size == 1 ? IDS_SIZE_BYTE : IDS_SIZE_BYTES, t, sizeof(t) / sizeof(WCHAR))) {
169  return;
170  }
171 
174  return;
175  }
176 
177  return;
178  }
179 
180  if (show_bytes) {
181  if (!LoadStringW(module, IDS_SIZE_BYTES, t, sizeof(t) / sizeof(WCHAR))) {
183  return;
184  }
185 
186  if (StringCchPrintfW(bytes, sizeof(bytes) / sizeof(WCHAR), t, nb2) == STRSAFE_E_INSUFFICIENT_BUFFER) {
188  return;
189  }
190  }
191 
192  if (size >= 1152921504606846976) {
193  sr = IDS_SIZE_EB;
194  f = (float)size / 1152921504606846976.0f;
195  } else if (size >= 1125899906842624) {
196  sr = IDS_SIZE_PB;
197  f = (float)size / 1125899906842624.0f;
198  } else if (size >= 1099511627776) {
199  sr = IDS_SIZE_TB;
200  f = (float)size / 1099511627776.0f;
201  } else if (size >= 1073741824) {
202  sr = IDS_SIZE_GB;
203  f = (float)size / 1073741824.0f;
204  } else if (size >= 1048576) {
205  sr = IDS_SIZE_MB;
206  f = (float)size / 1048576.0f;
207  } else {
208  sr = IDS_SIZE_KB;
209  f = (float)size / 1024.0f;
210  }
211 
212  if (!LoadStringW(module, sr, t, sizeof(t) / sizeof(WCHAR))) {
214  return;
215  }
216 
217  if (show_bytes) {
218  if (StringCchPrintfW(kb, sizeof(kb) / sizeof(WCHAR), t, f) == STRSAFE_E_INSUFFICIENT_BUFFER) {
220  return;
221  }
222 
223  if (!LoadStringW(module, IDS_SIZE_LARGE, t, sizeof(t) / sizeof(WCHAR))) {
225  return;
226  }
227 
228  if (StringCchPrintfW(s, len, t, kb, bytes) == STRSAFE_E_INSUFFICIENT_BUFFER) {
230  return;
231  }
232  } else {
235  return;
236  }
237  }
238 }
#define IDS_SIZE_KB
Definition: resource.h:32
LPWSTR lpThousandSep
Definition: winnls.h:627
#define LOCALE_SGROUPING
Definition: winnls.h:44
#define IDS_SIZE_BYTES
Definition: resource.h:31
LPWSTR lpDecimalSep
Definition: winnls.h:626
__wchar_t WCHAR
Definition: xmlstorage.h:180
#define LOCALE_USER_DEFAULT
#define IDS_SIZE_PB
Definition: resource.h:36
const char * fmt
Definition: wsprintf.c:30
UINT Grouping
Definition: winnls.h:625
GLdouble GLdouble t
Definition: gl.h:2047
DWORD WINAPI GetLastError(VOID)
Definition: except.c:1059
void ShowError(HWND hwnd, ULONG err)
Definition: main.cpp:49
#define WCHAR
Definition: msvc.h:43
int WINAPI LoadStringW(_In_opt_ HINSTANCE hInstance, _In_ UINT uID, _Out_writes_to_(cchBufferMax, return+1) LPWSTR lpBuffer, _In_ int cchBufferMax)
#define STRSAFE_E_INSUFFICIENT_BUFFER
Definition: strsafe.h:103
UINT NegativeOrder
Definition: winnls.h:628
__MINGW_EXTENSION _CRTIMP wchar_t *__cdecl _i64tow(_In_ __int64 _Val, _Pre_notnull_ _Post_z_ wchar_t *_DstBuf, _In_ int _Radix)
INT WINAPI GetLocaleInfoW(LCID lcid, LCTYPE lctype, LPWSTR buffer, INT len)
Definition: lang.c:807
#define LOCALE_STHOUSAND
Definition: winnls.h:43
static unsigned char bytes[4]
Definition: adnsresfilter.c:74
UINT NumDigits
Definition: winnls.h:623
smooth NULL
Definition: ftsmooth.c:416
GLsizeiptr size
Definition: glext.h:5919
#define IDS_SIZE_TB
Definition: resource.h:35
static const WCHAR L[]
Definition: oid.c:1087
#define IDS_SIZE_BYTE
Definition: resource.h:30
GLdouble s
Definition: gl.h:2039
GLenum GLsizei len
Definition: glext.h:6722
#define IDS_SIZE_EB
Definition: resource.h:37
#define IDS_SIZE_LARGE
Definition: resource.h:42
#define f
Definition: ke_i.h:83
STRSAFEAPI StringCchPrintfW(STRSAFE_LPWSTR pszDest, size_t cchDest, STRSAFE_LPCWSTR pszFormat,...)
Definition: strsafe.h:530
#define c
Definition: ke_i.h:80
unsigned int ULONG
Definition: retypes.h:1
UINT LeadingZero
Definition: winnls.h:624
INT WINAPI GetNumberFormatW(LCID lcid, DWORD dwFlags, LPCWSTR lpszValue, const NUMBERFMTW *lpFormat, LPWSTR lpNumberStr, int cchOut)
Definition: lcformat.c:1135
#define IDS_SIZE_GB
Definition: resource.h:34
WCHAR * LPWSTR
Definition: xmlstorage.h:184
#define ERROR_INSUFFICIENT_BUFFER
Definition: dderror.h:10
#define IDS_SIZE_MB
Definition: resource.h:33
NTSYSCALLAPI NTSTATUS NTAPI NtFsControlFile ( HANDLE  FileHandle,
HANDLE  Event,
PIO_APC_ROUTINE  ApcRoutine,
PVOID  ApcContext,
PIO_STATUS_BLOCK  IoStatusBlock,
ULONG  FsControlCode,
PVOID  InputBuffer,
ULONG  InputBufferLength,
PVOID  OutputBuffer,
ULONG  OutputBufferLength 
)

Referenced by _test_peek_pipe(), BtrfsSend::AddClone(), BtrfsDeviceAdd::AddDevice(), BtrfsPropSheet::apply_changes_file(), BtrfsSend::BrowseParent(), BtrfsPropSheet::check_file(), BtrfsRecv::cmd_chmod(), BtrfsRecv::cmd_chown(), BtrfsRecv::cmd_clone(), BtrfsRecv::cmd_mkfile(), BtrfsRecv::cmd_removexattr(), BtrfsRecv::cmd_setxattr(), BtrfsRecv::cmd_snapshot(), BtrfsRecv::cmd_subvol(), ConnectNamedPipe(), create_snapshot(), create_snapshot2(), create_subvol(), CreateDirectoryExW(), DeviceIoControl(), BtrfsDeviceResize::DeviceResizeDlgProc(), DisconnectNamedPipe(), BtrfsRecv::do_recv(), BtrfsDeviceResize::do_resize(), BtrfsPropSheet::do_search(), Ext2DisMountVolume(), Ext2LockVolume(), Ext2UnLockVolume(), FsRtlpRegisterProviderWithMUP(), ImpersonateNamedPipeClient(), init_func_ptrs(), BtrfsContextMenu::Initialize(), BtrfsVolPropSheet::Initialize(), BtrfsContextMenu::InvokeCommand(), BtrfsIconOverlay::IsMemberOf(), PauseBalanceW(), BtrfsScrub::PauseScrub(), PeekNamedPipe(), BtrfsContextMenu::reflink_copy(), reflink_copy2(), BtrfsBalance::RefreshBalanceDlg(), BtrfsVolPropSheet::RefreshDevList(), BtrfsScrub::RefreshScrubDlg(), BtrfsVolPropSheet::RefreshUsage(), RemoveDeviceW(), BtrfsVolPropSheet::ResetStats(), ResetStatsW(), rpcrt4_protseq_np_get_wait_array(), send_subvol(), BtrfsPropSheet::set_cmdline(), BtrfsBalance::ShowBalance(), StartBalanceW(), BtrfsScrub::StartScrub(), StartScrubW(), StopBalanceW(), BtrfsScrub::StopScrub(), StopScrubW(), test_ioctl(), test_peek(), BtrfsSend::Thread(), TransactNamedPipe(), BtrfsScrub::UpdateTextBox(), BtrfsVolPropSheet::UsageDlgProc(), VfatFormat(), and WaitNamedPipeW().

NTSTATUS WINAPI NtSetEaFile ( HANDLE  FileHandle,
PIO_STATUS_BLOCK  IoStatusBlock,
PVOID  Buffer,
ULONG  Length 
)
NTSTATUS WINAPI RtlUTF8ToUnicodeN ( PWSTR  UnicodeStringDestination,
ULONG  UnicodeStringMaxWCharCount,
PULONG  UnicodeStringActualWCharCount,
PCCH  UTF8StringSource,
ULONG  UTF8StringByteCount 
)

Definition at line 21 of file reactos.cpp.

Referenced by _Dispatch_type_(), get_reparse_block(), get_reparse_point(), load_dir_children(), log_file_checksum_error(), open_fcb(), open_fileref_by_inode(), and BtrfsRecv::utf8_to_utf16().

24 {
26  ULONG i, j;
27  ULONG written;
28  ULONG ch;
29  ULONG utf8_trail_bytes;
30  WCHAR utf16_ch[3];
31  ULONG utf16_ch_len;
32 
33  if (!utf8_src)
35  if (!uni_bytes_written)
37 
38  written = 0;
39  status = STATUS_SUCCESS;
40 
41  for (i = 0; i < utf8_bytes; i++)
42  {
43  /* read UTF-8 lead byte */
44  ch = (BYTE)utf8_src[i];
45  utf8_trail_bytes = 0;
46  if (ch >= 0xf5)
47  {
48  ch = 0xfffd;
49  status = STATUS_SOME_NOT_MAPPED;
50  }
51  else if (ch >= 0xf0)
52  {
53  ch &= 0x07;
54  utf8_trail_bytes = 3;
55  }
56  else if (ch >= 0xe0)
57  {
58  ch &= 0x0f;
59  utf8_trail_bytes = 2;
60  }
61  else if (ch >= 0xc2)
62  {
63  ch &= 0x1f;
64  utf8_trail_bytes = 1;
65  }
66  else if (ch >= 0x80)
67  {
68  /* overlong or trail byte */
69  ch = 0xfffd;
70  status = STATUS_SOME_NOT_MAPPED;
71  }
72 
73  /* read UTF-8 trail bytes */
74  if (i + utf8_trail_bytes < utf8_bytes)
75  {
76  for (j = 0; j < utf8_trail_bytes; j++)
77  {
78  if ((utf8_src[i + 1] & 0xc0) == 0x80)
79  {
80  ch <<= 6;
81  ch |= utf8_src[i + 1] & 0x3f;
82  i++;
83  }
84  else
85  {
86  ch = 0xfffd;
87  utf8_trail_bytes = 0;
88  status = STATUS_SOME_NOT_MAPPED;
89  break;
90  }
91  }
92  }
93  else
94  {
95  ch = 0xfffd;
96  utf8_trail_bytes = 0;
97  status = STATUS_SOME_NOT_MAPPED;
98  i = utf8_bytes;
99  }
100 
101  /* encode ch as UTF-16 */
102  if ((ch > 0x10ffff) ||
103  (ch >= 0xd800 && ch <= 0xdfff) ||
104  (utf8_trail_bytes == 2 && ch < 0x00800) ||
105  (utf8_trail_bytes == 3 && ch < 0x10000))
106  {
107  /* invalid codepoint or overlong encoding */
108  utf16_ch[0] = 0xfffd;
109  utf16_ch[1] = 0xfffd;
110  utf16_ch[2] = 0xfffd;
111  utf16_ch_len = utf8_trail_bytes;
112  status = STATUS_SOME_NOT_MAPPED;
113  }
114  else if (ch >= 0x10000)
115  {
116  /* surrogate pair */
117  ch -= 0x010000;
118  utf16_ch[0] = 0xd800 + (ch >> 10 & 0x3ff);
119  utf16_ch[1] = 0xdc00 + (ch >> 0 & 0x3ff);
120  utf16_ch_len = 2;
121  }
122  else
123  {
124  /* single unit */
125  utf16_ch[0] = ch;
126  utf16_ch_len = 1;
127  }
128 
129  if (!uni_dest)
130  {
131  written += utf16_ch_len;
132  continue;
133  }
134 
135  for (j = 0; j < utf16_ch_len; j++)
136  {
137  if (uni_bytes_max >= sizeof(WCHAR))
138  {
139  *uni_dest++ = utf16_ch[j];
140  uni_bytes_max -= sizeof(WCHAR);
141  written++;
142  }
143  else
144  {
145  uni_bytes_max = 0;
146  status = STATUS_BUFFER_TOO_SMALL;
147  }
148  }
149  }
150 
151  *uni_bytes_written = written * sizeof(WCHAR);
152  return status;
153 }
GLenum GLclampf GLint GLenum GLuint GLenum GLenum GLsizei GLenum const GLvoid GLfloat GLfloat GLfloat GLfloat GLclampd GLint GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLint GLint GLint GLshort GLshort GLshort GLubyte GLubyte GLubyte GLuint GLuint GLuint GLushort GLushort GLushort GLbyte GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLfloat GLint GLint GLint GLint GLshort GLshort GLshort GLshort GLubyte GLubyte GLubyte GLubyte GLuint GLuint GLuint GLuint GLushort GLushort GLushort GLushort GLboolean GLboolean GLboolean GLboolean GLint GLenum GLsizei const GLvoid GLenum GLint GLenum GLint GLint GLsizei GLint GLenum GLint GLint GLint GLint GLsizei GLenum GLsizei const GLuint GLboolean GLenum GLenum GLint GLsizei GLenum GLsizei GLenum const GLvoid GLboolean const GLboolean GLenum const GLdouble const GLfloat const GLdouble const GLfloat GLenum GLint GLint GLint GLint GLint GLint j
Definition: glfuncs.h:98
#define STATUS_INVALID_PARAMETER
Definition: udferr_usr.h:135
__wchar_t WCHAR
Definition: xmlstorage.h:180
#define WCHAR
Definition: msvc.h:43
#define STATUS_BUFFER_TOO_SMALL
Definition: shellext.h:52
GLenum GLclampf GLint i
Definition: glfuncs.h:14
LONG NTSTATUS
Definition: precomp.h:26
unsigned char BYTE
Definition: ntddk_ex.h:96
#define STATUS_SOME_NOT_MAPPED
Definition: ntstatus.h:86
unsigned int ULONG
Definition: retypes.h:1
#define STATUS_INVALID_PARAMETER_4
Definition: ntstatus.h:464
return STATUS_SUCCESS
Definition: btrfs.c:2710
static SERVICE_STATUS status
Definition: service.c:31
void set_dpi_aware ( )

Definition at line 111 of file main.cpp.

Referenced by AddDeviceW(), RecvSubvolGUIW(), RemoveDeviceW(), ResetStatsW(), ResizeDeviceW(), SendSubvolGUIW(), ShowPropSheetW(), and ShowScrubW().

111  {
112  _SetProcessDpiAwareness SetProcessDpiAwareness;
113  HMODULE shcore = LoadLibraryW(L"shcore.dll");
114 
115  if (!shcore)
116  return;
117 
118  SetProcessDpiAwareness = (_SetProcessDpiAwareness)GetProcAddress(shcore, "SetProcessDpiAwareness");
119 
120  if (!SetProcessDpiAwareness)
121  return;
122 
123  SetProcessDpiAwareness(PROCESS_PER_MONITOR_DPI_AWARE);
124 }
HRESULT(WINAPI * _SetProcessDpiAwareness)(PROCESS_DPI_AWARENESS value)
Definition: main.cpp:44
#define LoadLibraryW(x)
Definition: compat.h:404
static const WCHAR L[]
Definition: oid.c:1087
HANDLE HMODULE
Definition: typedefs.h:75
#define GetProcAddress(x, y)
Definition: compat.h:410
void ShowError ( HWND  hwnd,
ULONG  err 
)

Definition at line 49 of file main.cpp.

Referenced by add_lv_column(), BtrfsDeviceAdd::AddDevice(), AddDeviceW(), BtrfsPropSheet::apply_changes_file(), BtrfsBalance::BalanceOptsDlgProc(), create_snapshot(), BtrfsVolPropSheet::DeviceDlgProc(), BtrfsDeviceResize::do_resize(), find_devices(), format_size(), BtrfsVolPropSheet::FormatUsage(), BtrfsPropSheet::init_propsheet(), BtrfsPropSheet::Initialize(), BtrfsContextMenu::InvokeCommand(), BtrfsSend::Open(), BtrfsRecv::Open(), BtrfsPropSheet::open_as_admin(), BtrfsBalance::PauseBalance(), PauseBalanceW(), BtrfsScrub::PauseScrub(), BtrfsDeviceAdd::populate_device_tree(), BtrfsRecv::recv_thread(), BtrfsRecv::RecvProgressDlgProc(), RecvSubvolGUIW(), BtrfsContextMenu::reflink_copy(), BtrfsBalance::RefreshBalanceDlg(), BtrfsVolPropSheet::RefreshDevList(), BtrfsScrub::RefreshScrubDlg(), RemoveDeviceW(), BtrfsVolPropSheet::ResetStats(), ResetStatsW(), ResizeDeviceW(), SendSubvolGUIW(), BtrfsPropSheet::set_cmdline(), BtrfsPropSheet::set_size_on_disk(), BtrfsBalance::ShowBalance(), ShowNtStatusError(), BtrfsRecv::ShowRecvError(), BtrfsVolPropSheet::ShowScrub(), ShowScrubW(), BtrfsSend::ShowSendError(), ShowStringError(), BtrfsBalance::StartBalance(), StartBalanceW(), BtrfsScrub::StartScrub(), BtrfsSend::StartSend(), BtrfsBalance::StopBalance(), StopBalanceW(), BtrfsScrub::StopScrub(), and BtrfsScrub::UpdateTextBox().

49  {
50  WCHAR* buf;
51 
53  err, 0, (WCHAR*)&buf, 0, NULL) == 0) {
54  MessageBoxW(hwnd, L"FormatMessage failed", L"Error", MB_ICONERROR);
55  return;
56  }
57 
58  MessageBoxW(hwnd, buf, L"Error", MB_ICONERROR);
59 
60  LocalFree(buf);
61 }
const DOCKBAR PVOID HWND HWND * hwnd
Definition: tooldock.h:22
GLenum GLuint GLenum GLsizei const GLchar * buf
Definition: glext.h:7751
__wchar_t WCHAR
Definition: xmlstorage.h:180
DWORD WINAPI FormatMessageW(DWORD dwFlags, LPCVOID lpSource, DWORD dwMessageId, DWORD dwLanguageId, LPWSTR lpBuffer, DWORD nSize, __ms_va_list *args)
Definition: format_msg.c:583
int int int * err
Definition: fci.h:172
#define FORMAT_MESSAGE_ALLOCATE_BUFFER
Definition: winbase.h:400
smooth NULL
Definition: ftsmooth.c:416
#define FORMAT_MESSAGE_FROM_SYSTEM
Definition: winbase.h:404
int WINAPI MessageBoxW(_In_opt_ HWND, _In_opt_ LPCWSTR, _In_opt_ LPCWSTR, _In_ UINT)
static const WCHAR L[]
Definition: oid.c:1087
#define MB_ICONERROR
Definition: winuser.h:781
#define FORMAT_MESSAGE_IGNORE_INSERTS
Definition: winbase.h:401
HLOCAL NTAPI LocalFree(HLOCAL hMem)
Definition: heapmem.c:1577
void ShowNtStatusError ( HWND  hwnd,
NTSTATUS  Status 
)

Definition at line 89 of file main.cpp.

Referenced by BtrfsDeviceAdd::AddDevice(), BtrfsPropSheet::apply_changes_file(), create_snapshot(), BtrfsDeviceResize::do_resize(), BtrfsContextMenu::InvokeCommand(), PauseBalanceW(), BtrfsScrub::PauseScrub(), BtrfsContextMenu::reflink_copy(), BtrfsBalance::RefreshBalanceDlg(), BtrfsScrub::RefreshScrubDlg(), RemoveDeviceW(), ResetStatsW(), BtrfsBalance::ShowBalance(), StartBalanceW(), BtrfsScrub::StartScrub(), StopBalanceW(), BtrfsScrub::StopScrub(), and BtrfsScrub::UpdateTextBox().

89  {
91  HMODULE ntdll = LoadLibraryW(L"ntdll.dll");
92 
93  if (!ntdll) {
94  MessageBoxW(hwnd, L"Error loading ntdll.dll", L"Error", MB_ICONERROR);
95  return;
96  }
97 
98  RtlNtStatusToDosError = (_RtlNtStatusToDosError)GetProcAddress(ntdll, "RtlNtStatusToDosError");
99 
100  if (!RtlNtStatusToDosError) {
101  MessageBoxW(hwnd, L"Error loading RtlNtStatusToDosError in ntdll.dll", L"Error", MB_ICONERROR);
102  FreeLibrary(ntdll);
103  return;
104  }
105 
107 
108  FreeLibrary(ntdll);
109 }
const DOCKBAR PVOID HWND HWND * hwnd
Definition: tooldock.h:22
ULONG(WINAPI * _RtlNtStatusToDosError)(NTSTATUS Status)
Definition: main.cpp:43
void ShowError(HWND hwnd, ULONG err)
Definition: main.cpp:49
#define LoadLibraryW(x)
Definition: compat.h:404
#define FreeLibrary(x)
Definition: compat.h:405
int WINAPI MessageBoxW(_In_opt_ HWND, _In_opt_ LPCWSTR, _In_opt_ LPCWSTR, _In_ UINT)
static const WCHAR L[]
Definition: oid.c:1087
#define MB_ICONERROR
Definition: winuser.h:781
Status
Definition: gdiplustypes.h:24
NTSYSAPI ULONG WINAPI RtlNtStatusToDosError(NTSTATUS)
HANDLE HMODULE
Definition: typedefs.h:75
#define GetProcAddress(x, y)
Definition: compat.h:410
void ShowStringError ( HWND  hwndDlg,
int  num,
  ... 
)

Definition at line 63 of file main.cpp.

Referenced by BtrfsSend::AddClone(), BtrfsSend::BrowseParent(), RecvSubvolGUIW(), RemoveDeviceW(), BtrfsBalance::SaveBalanceOpts(), StartBalanceW(), BtrfsScrub::StartScrub(), and BtrfsVolPropSheet::StatsDlgProc().

63  {
64  WCHAR title[255], s[1024], t[1024];
65  va_list ap;
66 
67  if (!LoadStringW(module, IDS_ERROR, title, sizeof(title) / sizeof(WCHAR))) {
68  ShowError(hwndDlg, GetLastError());
69  return;
70  }
71 
72  if (!LoadStringW(module, num, s, sizeof(s) / sizeof(WCHAR))) {
73  ShowError(hwndDlg, GetLastError());
74  return;
75  }
76 
77  va_start(ap, num);
78 #ifndef __REACTOS__
79  vswprintf(t, sizeof(t) / sizeof(WCHAR), s, ap);
80 #else
81  vsnwprintf(t, sizeof(t) / sizeof(WCHAR), s, ap);
82 #endif
83 
84  MessageBoxW(hwndDlg, t, title, MB_ICONERROR);
85 
86  va_end(ap);
87 }
__wchar_t WCHAR
Definition: xmlstorage.h:180
GLdouble GLdouble t
Definition: gl.h:2047
DWORD WINAPI GetLastError(VOID)
Definition: except.c:1059
void ShowError(HWND hwnd, ULONG err)
Definition: main.cpp:49
int WINAPI LoadStringW(_In_opt_ HINSTANCE hInstance, _In_ UINT uID, _Out_writes_to_(cchBufferMax, return+1) LPWSTR lpBuffer, _In_ int cchBufferMax)
#define va_end(ap)
Definition: acmsvcex.h:90
char * va_list
Definition: acmsvcex.h:78
int WINAPI MessageBoxW(_In_opt_ HWND, _In_opt_ LPCWSTR, _In_opt_ LPCWSTR, _In_ UINT)
__CRT_INLINE int __cdecl vsnwprintf(wchar_t *s, size_t n, const wchar_t *format, va_list arg)
Definition: stdio.h:930
GLuint GLuint num
Definition: glext.h:9618
#define MB_ICONERROR
Definition: winuser.h:781
GLdouble s
Definition: gl.h:2039
#define va_start(ap, A)
Definition: acmsvcex.h:91
#define IDS_ERROR
Definition: resource.h:18
void int int ULONGLONG int va_list * ap
Definition: winesup.h:32
_CRTIMP int __cdecl vswprintf(_Out_ wchar_t *, const wchar_t *, va_list)
static char title[]
Definition: ps.c:92

Variable Documentation

Definition at line 46 of file main.cpp.

Referenced by BtrfsVolPropSheet::AddPages(), BtrfsPropSheet::AddPages(), af_face_globals_new(), BtrfsSend::Browse(), cache_connection(), cff_size_get_globals_funcs(), cff_slot_init(), cid_size_get_globals_funcs(), cid_slot_init(), DECLARE_INTERFACE_(), do_register_dll(), dsound_enum(), dwarf2_parse(), dwarf2_parse_compilation_unit(), FT_Add_Module(), ft_add_renderer(), FT_Get_Module_Interface(), get_process_name_from_pid(), http_release_netconn(), InternalIsOS2OrOldWin(), ITERATE_RegisterTypeLibraries(), ITypeInfo_fnAddressOfMember(), load_libglu(), LoadShimDLL2(), module_find_by_addr(), module_find_by_nameW(), module_get_containee(), module_get_container(), module_is_already_loaded(), module_is_container_loaded(), module_new(), pe_load_builtin_module(), pe_load_debug_directory(), pe_load_native_module(), RecvSubvolGUIW(), ResProtocolInfo_ParseUrl(), RtlCreateActivationContext(), setup_dll(), ShowPropSheetW(), source_new(), stabs_parse_typedef(), START_TEST(), SymEnumerateModulesW64(), SymFromName(), SymFunctionTableAccess64(), SymGetModuleBase64(), SymGetModuleInfoW64(), SymUnloadModule(), SymUnloadModule64(), T1_GlyphSlot_Init(), T1_Size_Get_Globals_Funcs(), test_comctl32_class(), test_FakeDLL(), test_HashLinks(), test_md5_ctx(), test_queryvirtualmemory(), test_thread_start_address(), TIFFError(), TIFFErrorExt(), TIFFWarning(), TIFFWarningExt(), x86_64_fetch_minidump_module(), xsltGetExtData(), xsltInitCtxtExt(), xsltRegisterExtModuleFull(), xsltRegisterExtPrefix(), xsltShutdownCtxtExt(), xsltShutdownExt(), and xsltStyleInitializeStylesheetModule().