Changeset 8396 for trunk/include/win
- Timestamp:
- May 9, 2002, 3:54:39 PM (23 years ago)
- Location:
- trunk/include/win
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/win/winbase.h
r7986 r8396 1902 1902 HRSRC WINAPI FindResourceW(HMODULE,LPCWSTR,LPCWSTR); 1903 1903 #define FindResource WINELIB_NAME_AW(FindResource) 1904 VOID WINAPI FreeLibrary16(HINSTANCE16); 1904 1905 VOID WINAPI FreeLibrary16(HINSTANCE16); 1905 1906 BOOL WINAPI FreeLibrary(HMODULE); 1906 1907 #define FreeModule(handle) FreeLibrary(handle) … … 2494 2495 VOID WINAPI _LeaveSysLevel(SYSLEVEL*); 2495 2496 2497 #ifdef __WIN32OS2__ 2498 HANDLE WINAPI FindFirstVolumeA(LPTSTR lpszVolumeName, DWORD cchBufferLength); 2499 HANDLE WINAPI FindFirstVolumeW(LPWSTR lpszVolumeName, DWORD cchBufferLength); 2500 #define FindFirstVolume WINELIB_NAME_AW(FindFirstVolume) 2501 2502 BOOL WINAPI FindNextVolumeA(HANDLE hFindVolume, LPTSTR lpszVolumeName, 2503 DWORD cchBufferLength); 2504 BOOL WINAPI FindNextVolumeW(HANDLE hFindVolume, LPWSTR lpszVolumeName, 2505 DWORD cchBufferLength); 2506 #define FindNextVolume WINELIB_NAME_AW(FindNextVolume) 2507 2508 BOOL WINAPI FindVolumeClose(HANDLE hFindVolume); 2509 2510 HANDLE WINAPI FindFirstVolumeMountPointA(LPTSTR lpszRootPathName, 2511 LPTSTR lpszVolumeMountPoint, 2512 DWORD cchBufferLength); 2513 HANDLE WINAPI FindFirstVolumeMountPointW(LPWSTR lpszRootPathName, 2514 LPWSTR lpszVolumeMountPoint, 2515 DWORD cchBufferLength); 2516 #define FindFirstVolumeMountPoint WINELIB_NAME_AW(FindFirstVolumeMountPoint) 2517 2518 BOOL WINAPI FindNextVolumeMountPointA(HANDLE hFindVolumeMountPoint, 2519 LPTSTR lpszVolumeMountPoint, 2520 DWORD cchBufferLength); 2521 BOOL WINAPI FindNextVolumeMountPointW(HANDLE hFindVolumeMountPoint, 2522 LPWSTR lpszVolumeMountPoint, 2523 DWORD cchBufferLength); 2524 #define FindNextVolumeMountPoint WINELIB_NAME_AW(FindNextVolumeMountPoint) 2525 2526 BOOL WINAPI FindVolumeMountPointClose(HANDLE hFindVolumeMountPoint); 2527 BOOL WINAPI GetVolumeNameForVolumeMountPointA(LPCSTR lpszVolumeMountPoint, 2528 LPSTR lpszVolumeName, 2529 DWORD cchBufferLength); 2530 BOOL WINAPI GetVolumeNameForVolumeMountPointW(LPCWSTR lpszVolumeMountPoint, 2531 LPWSTR lpszVolumeName, 2532 DWORD cchBufferLength); 2533 #define GetVolumeNameForVolumeMountPoint WINELIB_NAME_AW(GetVolumeNameForVolumeMountPoint) 2534 2535 #endif 2536 2496 2537 #ifdef __cplusplus 2497 2538 } -
trunk/include/win/winioctl.h
r7535 r8396 374 374 //Disk IOCTLs 375 375 376 typedef 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 387 typedef struct _SET_PARTITION_INFORMATION { 388 BYTE PartitionType; 389 } SET_PARTITION_INFORMATION, *PSET_PARTITION_INFORMATION; 390 376 391 #define IOCTL_DISK_BASE FILE_DEVICE_DISK 377 392 #define IOCTL_DISK_GET_DRIVE_GEOMETRY CTL_CODE(IOCTL_DISK_BASE, 0x0000, METHOD_BUFFERED, FILE_ANY_ACCESS) … … 516 531 #define IOCTL_INTERNAL_GET_PARALLEL_PNP_INFO CTL_CODE(FILE_DEVICE_PARALLEL_PORT, 21, METHOD_BUFFERED, FILE_ANY_ACCESS) 517 532 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 546 typedef 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 556 typedef struct _VOLUME_DISK_EXTENTS { 557 DWORD NumberOfDiskExtents; 558 DISK_EXTENT Extents[1]; 559 } VOLUME_DISK_EXTENTS, *PVOLUME_DISK_EXTENTS; 560 561 518 562 #endif
Note:
See TracChangeset
for help on using the changeset viewer.