VirtualBox

Changeset 85875 in vbox for trunk/include


Ignore:
Timestamp:
Aug 24, 2020 4:22:01 PM (4 years ago)
Author:
vboxsync
Message:

Main: bugref:9224: Added RTFileQuerySectorSize into IPRT

Location:
trunk/include/iprt
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/iprt/file.h

    r82968 r85875  
    594594
    595595/**
     596 * Queries the sector size (/ logical block size) for a disk or similar.
     597 *
     598 * @returns IPRT status code.
     599 * @retval  VERR_INVALID_FUNCTION if not a disk/similar.  Could also be returned
     600 *          if not really implemented.
     601 * @param   hFile       Handle to the disk.  This must typically be a device
     602 *                      rather than a file or directory, though this may vary
     603 *                      from OS to OS.
     604 * @param   pcbSector   Where to store the sector size.
     605 */
     606RTDECL(int) RTFileQuerySectorSize(RTFILE hFile, uint32_t *pcbSector);
     607
     608/**
    596609 * Gets the current file position.
    597610 *
  • trunk/include/iprt/mangling.h

    r85616 r85875  
    965965# define RTFileQueryFsSizes                             RT_MANGLER(RTFileQueryFsSizes)
    966966# define RTFileQueryInfo                                RT_MANGLER(RTFileQueryInfo)
     967# define RTFileQuerySectorSize                          RT_MANGLER(RTFileQuerySectorSize)
    967968# define RTFileQuerySize                                RT_MANGLER(RTFileQuerySize)
    968969# define RTFileRead                                     RT_MANGLER(RTFileRead)
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette