ReactOS 0.4.16-dev-1494-gd054f63
|
#include <stdarg.h>
#include <stdlib.h>
#include <stdio.h>
#include "ntstatus.h"
#include "windef.h"
#include "winbase.h"
#include "winnls.h"
#include "winternl.h"
#include "winioctl.h"
#include "ntddcdrm.h"
#include "ddk/mountmgr.h"
#include "ddk/wdm.h"
#include "kernelbase.h"
#include "wine/debug.h"
Go to the source code of this file.
Macros | |
#define | WIN32_NO_STATUS |
#define | WINE_MOUNTMGR_EXTENSIONS |
#define | BLOCK_SIZE 2048 |
#define | SUPERBLOCK_SIZE BLOCK_SIZE |
#define | SYMBOLIC_LINK_QUERY 0x0001 |
#define | CDFRAMES_PERSEC 75 |
#define | CDFRAMES_PERMIN (CDFRAMES_PERSEC * 60) |
#define | FRAME_OF_ADDR(a) ((a)[1] * CDFRAMES_PERMIN + (a)[2] * CDFRAMES_PERSEC + (a)[3]) |
#define | FRAME_OF_TOC(toc, idx) FRAME_OF_ADDR((toc)->TrackData[(idx) - (toc)->FirstTrack].Address) |
#define | GETWORD(buf, off) MAKEWORD(buf[(off)],buf[(off+1)]) |
#define | GETLONG(buf, off) MAKELONG(GETWORD(buf,off),GETWORD(buf,off+2)) |
Enumerations | |
enum | fs_type { FS_ERROR , FS_UNKNOWN , FS_FAT1216 , FS_FAT32 , FS_ISO9660 , FS_UDF } |
#define CDFRAMES_PERMIN (CDFRAMES_PERSEC * 60) |
#define FRAME_OF_ADDR | ( | a | ) | ((a)[1] * CDFRAMES_PERMIN + (a)[2] * CDFRAMES_PERSEC + (a)[3]) |
#define FRAME_OF_TOC | ( | toc, | |
idx | |||
) | FRAME_OF_ADDR((toc)->TrackData[(idx) - (toc)->FirstTrack].Address) |
#define SUPERBLOCK_SIZE BLOCK_SIZE |
Enumerator | |
---|---|
FS_ERROR | |
FS_UNKNOWN | |
FS_FAT1216 | |
FS_FAT32 | |
FS_ISO9660 | |
FS_UDF |
BOOL WINAPI DECLSPEC_HOTPATCH DefineDosDeviceW | ( | DWORD | flags, |
const WCHAR * | device, | ||
const WCHAR * | target | ||
) |
Definition at line 383 of file volume.c.
HANDLE WINAPI DECLSPEC_HOTPATCH FindFirstVolumeW | ( | LPWSTR | volume, |
DWORD | len | ||
) |
Definition at line 1043 of file volume.c.
BOOL WINAPI DECLSPEC_HOTPATCH FindVolumeClose | ( | HANDLE | handle | ) |
Definition at line 123 of file volume.c.
Referenced by GetDriveTypeW().
BOOL WINAPI DECLSPEC_HOTPATCH GetDiskFreeSpaceA | ( | LPCSTR | root, |
LPDWORD | cluster_sectors, | ||
LPDWORD | sector_bytes, | ||
LPDWORD | free_clusters, | ||
LPDWORD | total_clusters | ||
) |
Definition at line 728 of file volume.c.
BOOL WINAPI DECLSPEC_HOTPATCH GetDiskFreeSpaceExA | ( | LPCSTR | root, |
PULARGE_INTEGER | avail, | ||
PULARGE_INTEGER | total, | ||
PULARGE_INTEGER | totalfree | ||
) |
Definition at line 666 of file volume.c.
BOOL WINAPI DECLSPEC_HOTPATCH GetDiskFreeSpaceExW | ( | LPCWSTR | root, |
PULARGE_INTEGER | avail, | ||
PULARGE_INTEGER | total, | ||
PULARGE_INTEGER | totalfree | ||
) |
Definition at line 637 of file volume.c.
Referenced by GetDiskFreeSpaceExA().
BOOL WINAPI DECLSPEC_HOTPATCH GetDiskFreeSpaceW | ( | LPCWSTR | root, |
LPDWORD | cluster_sectors, | ||
LPDWORD | sector_bytes, | ||
LPDWORD | free_clusters, | ||
LPDWORD | total_clusters | ||
) |
Definition at line 679 of file volume.c.
Referenced by GetDiskFreeSpaceA().
UINT WINAPI DECLSPEC_HOTPATCH GetDriveTypeA | ( | LPCSTR | root | ) |
UINT WINAPI DECLSPEC_HOTPATCH GetDriveTypeW | ( | LPCWSTR | root | ) |
Definition at line 575 of file volume.c.
Referenced by GetDriveTypeA().
DWORD WINAPI DECLSPEC_HOTPATCH GetLogicalDrives | ( | void | ) |
Definition at line 513 of file volume.c.
Referenced by _getdrives(), create_drivecoll(), DrivesMain(), RecycleBinGeneric::EmptyRecycleBin(), fill_cdromdrive(), fill_datafile(), fill_directory(), fill_diskdrive(), fill_diskpartition(), fill_logicaldisk(), FindOtherDrive(), get_empty_cddrive(), GetLocalDisksLocations(), GetLogicalDriveStringsA(), GetLogicalDriveStringsW(), InitDialog(), CDrivesFolderEnum::Initialize(), InitializeRecycleBinDlg(), CDesktopBrowser::OnDeviceChange(), PrepareFoldersToScan(), RecycleBinGenericEnum::Reset(), search_absolute_directory(), search_directory(), START_TEST(), test_cdrom_ioctl(), test_DefineDosDeviceA(), test_GetDiskFreeSpaceA(), test_GetDiskFreeSpaceW(), test_GetDriveTypeA(), test_GetDriveTypeW(), test_InitPathA(), test_Sign_Media(), VfdChooseLetter(), VfdGetLocalLink(), VfdSetGlobalLink(), and VfdSetLocalLink().
UINT WINAPI DECLSPEC_HOTPATCH GetLogicalDriveStringsW | ( | UINT | len, |
LPWSTR | buffer | ||
) |
Definition at line 549 of file volume.c.
BOOL WINAPI GetVolumeInformationA | ( | LPCSTR | root, |
LPSTR | label, | ||
DWORD | label_len, | ||
DWORD * | serial, | ||
DWORD * | filename_len, | ||
DWORD * | flags, | ||
LPSTR | fsname, | ||
DWORD | fsname_len | ||
) |
Definition at line 221 of file volume.c.
BOOL WINAPI GetVolumeInformationByHandleW | ( | HANDLE | handle, |
WCHAR * | label, | ||
DWORD | label_len, | ||
DWORD * | serial, | ||
DWORD * | filename_len, | ||
DWORD * | flags, | ||
WCHAR * | fsname, | ||
DWORD | fsname_len | ||
) |
Definition at line 1140 of file volume.c.
Referenced by GetVolumeInformationW().
BOOL WINAPI DECLSPEC_HOTPATCH GetVolumeInformationW | ( | LPCWSTR | root, |
LPWSTR | label, | ||
DWORD | label_len, | ||
DWORD * | serial, | ||
DWORD * | filename_len, | ||
DWORD * | flags, | ||
LPWSTR | fsname, | ||
DWORD | fsname_len | ||
) |
Definition at line 155 of file volume.c.
Definition at line 251 of file volume.c.
BOOL WINAPI DECLSPEC_HOTPATCH GetVolumePathNamesForVolumeNameW | ( | LPCWSTR | volumename, |
LPWSTR | volumepathname, | ||
DWORD | buflen, | ||
PDWORD | returnlen | ||
) |
Definition at line 927 of file volume.c.
BOOL WINAPI DECLSPEC_HOTPATCH GetVolumePathNameW | ( | const WCHAR * | path, |
WCHAR * | volume_path, | ||
DWORD | length | ||
) |
Definition at line 788 of file volume.c.
|
static |
Definition at line 96 of file volume.c.
Referenced by GetDiskFreeSpaceExW(), GetDiskFreeSpaceW(), and GetDriveTypeW().
|
static |
Definition at line 903 of file volume.c.
Referenced by GetVolumePathNamesForVolumeNameW().
Definition at line 432 of file volume.c.
Definition at line 68 of file volume.c.
Referenced by GetVolumeNameForVolumeMountPointW(), and QueryDosDeviceW().
|
static |
Definition at line 748 of file volume.c.
Referenced by GetVolumePathNameW().
WINE_DEFAULT_DEBUG_CHANNEL | ( | volume | ) |