Changeset 8396 for trunk/include/win


Ignore:
Timestamp:
May 9, 2002, 3:54:39 PM (23 years ago)
Author:
sandervl
Message:

header updates

Location:
trunk/include/win
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/win/winbase.h

    r7986 r8396  
    19021902HRSRC     WINAPI FindResourceW(HMODULE,LPCWSTR,LPCWSTR);
    19031903#define     FindResource WINELIB_NAME_AW(FindResource)
    1904 VOID        WINAPI FreeLibrary16(HINSTANCE16);
     1904
     1905VOID      WINAPI FreeLibrary16(HINSTANCE16);
    19051906BOOL      WINAPI FreeLibrary(HMODULE);
    19061907#define     FreeModule(handle) FreeLibrary(handle)
     
    24942495VOID        WINAPI _LeaveSysLevel(SYSLEVEL*);
    24952496
     2497#ifdef __WIN32OS2__
     2498HANDLE WINAPI FindFirstVolumeA(LPTSTR lpszVolumeName, DWORD cchBufferLength);
     2499HANDLE WINAPI FindFirstVolumeW(LPWSTR lpszVolumeName, DWORD cchBufferLength);
     2500#define     FindFirstVolume WINELIB_NAME_AW(FindFirstVolume)
     2501
     2502BOOL   WINAPI FindNextVolumeA(HANDLE hFindVolume, LPTSTR lpszVolumeName,
     2503                              DWORD cchBufferLength);
     2504BOOL   WINAPI FindNextVolumeW(HANDLE hFindVolume, LPWSTR lpszVolumeName,
     2505                              DWORD cchBufferLength);
     2506#define     FindNextVolume WINELIB_NAME_AW(FindNextVolume)
     2507
     2508BOOL   WINAPI FindVolumeClose(HANDLE hFindVolume);
     2509
     2510HANDLE WINAPI FindFirstVolumeMountPointA(LPTSTR lpszRootPathName,
     2511                                         LPTSTR lpszVolumeMountPoint,
     2512                                         DWORD cchBufferLength);
     2513HANDLE WINAPI FindFirstVolumeMountPointW(LPWSTR lpszRootPathName,
     2514                                         LPWSTR lpszVolumeMountPoint,
     2515                                         DWORD cchBufferLength);
     2516#define     FindFirstVolumeMountPoint WINELIB_NAME_AW(FindFirstVolumeMountPoint)
     2517
     2518BOOL WINAPI FindNextVolumeMountPointA(HANDLE hFindVolumeMountPoint,
     2519                                      LPTSTR lpszVolumeMountPoint,
     2520                                      DWORD cchBufferLength);
     2521BOOL WINAPI FindNextVolumeMountPointW(HANDLE hFindVolumeMountPoint,
     2522                                      LPWSTR lpszVolumeMountPoint,
     2523                                      DWORD cchBufferLength);
     2524#define     FindNextVolumeMountPoint WINELIB_NAME_AW(FindNextVolumeMountPoint)
     2525
     2526BOOL WINAPI FindVolumeMountPointClose(HANDLE hFindVolumeMountPoint);
     2527BOOL WINAPI GetVolumeNameForVolumeMountPointA(LPCSTR lpszVolumeMountPoint,
     2528                                              LPSTR lpszVolumeName,
     2529                                              DWORD cchBufferLength);
     2530BOOL WINAPI GetVolumeNameForVolumeMountPointW(LPCWSTR lpszVolumeMountPoint,
     2531                                              LPWSTR lpszVolumeName,
     2532                                              DWORD cchBufferLength);
     2533#define     GetVolumeNameForVolumeMountPoint WINELIB_NAME_AW(GetVolumeNameForVolumeMountPoint)
     2534
     2535#endif
     2536
    24962537#ifdef __cplusplus
    24972538}
  • trunk/include/win/winioctl.h

    r7535 r8396  
    374374//Disk IOCTLs
    375375
     376typedef struct _PARTITION_INFORMATION {
     377    LARGE_INTEGER StartingOffset;
     378    LARGE_INTEGER PartitionLength;
     379    DWORD HiddenSectors;
     380    DWORD PartitionNumber;
     381    BYTE  PartitionType;
     382    BOOL  BootIndicator;
     383    BOOL  RecognizedPartition;
     384    BOOL  RewritePartition;
     385} PARTITION_INFORMATION, *PPARTITION_INFORMATION;
     386
     387typedef struct _SET_PARTITION_INFORMATION {
     388    BYTE  PartitionType;
     389} SET_PARTITION_INFORMATION, *PSET_PARTITION_INFORMATION;
     390
    376391#define IOCTL_DISK_BASE                 FILE_DEVICE_DISK
    377392#define IOCTL_DISK_GET_DRIVE_GEOMETRY   CTL_CODE(IOCTL_DISK_BASE, 0x0000, METHOD_BUFFERED, FILE_ANY_ACCESS)
     
    516531#define IOCTL_INTERNAL_GET_PARALLEL_PNP_INFO                CTL_CODE(FILE_DEVICE_PARALLEL_PORT, 21, METHOD_BUFFERED, FILE_ANY_ACCESS)
    517532
     533
     534//
     535// These IOCTLs are handled by hard disk volumes.
     536//
     537
     538#define IOCTL_VOLUME_BASE   ((DWORD) 'V')
     539
     540#define IOCTL_VOLUME_GET_VOLUME_DISK_EXTENTS    CTL_CODE(IOCTL_VOLUME_BASE, 0, METHOD_BUFFERED, FILE_ANY_ACCESS)
     541
     542//
     543// Disk extent definition.
     544//
     545
     546typedef struct _DISK_EXTENT {
     547    DWORD           DiskNumber;
     548    LARGE_INTEGER   StartingOffset;
     549    LARGE_INTEGER   ExtentLength;
     550} DISK_EXTENT, *PDISK_EXTENT;
     551
     552//
     553// Output structure for IOCTL_VOLUME_GET_VOLUME_DISK_EXTENTS.
     554//
     555
     556typedef struct _VOLUME_DISK_EXTENTS {
     557    DWORD       NumberOfDiskExtents;
     558    DISK_EXTENT Extents[1];
     559} VOLUME_DISK_EXTENTS, *PVOLUME_DISK_EXTENTS;
     560
     561
    518562#endif
Note: See TracChangeset for help on using the changeset viewer.