VirtualBox

Changeset 91671 in vbox


Ignore:
Timestamp:
Oct 11, 2021 8:22:35 PM (3 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
147398
Message:

iprt/nt/vid.h: Seems VidGetPartitionProperty and VidGetExoPartitionProperty takes a 64-bit property code, so added type of that. bugref:10118

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/iprt/nt/vid.h

    r91651 r91671  
    124124/** @} */
    125125
     126/** A 64-bit version of HV_PARTITION_PROPERTY_CODE. */
     127typedef int64_t VID_PARTITION_PROPERTY_CODE;
     128
    126129
    127130#ifdef IN_RING3
     
    162165 * @returns Success indicator (details in LastErrorValue).
    163166 * @param   hPartition  The partition handle.
    164  * @param   enmProperty The property to get.
     167 * @param   enmProperty The property to get.  Is a HV_PARTITION_PROPERTY_CODE
     168 *                      type, but seems to be passed around as a 64-bit integer
     169 *                      for some reason.
    165170 * @param   puValue     Where to return the property value.
    166171 */
    167 DECLIMPORT(BOOL) VIDAPI VidGetPartitionProperty(VID_PARTITION_HANDLE hPartition, HV_PARTITION_PROPERTY_CODE enmProperty,
     172DECLIMPORT(BOOL) VIDAPI VidGetPartitionProperty(VID_PARTITION_HANDLE hPartition, VID_PARTITION_PROPERTY_CODE enmProperty,
    168173                                                PHV_PARTITION_PROPERTY puValue);
    169174
     
    172177 * @note Currently (Windows 11 GA) identical to VidGetPartitionProperty.
    173178 */
    174 DECLIMPORT(BOOL) VIDAPI VidGetExoPartitionProperty(VID_PARTITION_HANDLE hPartition, HV_PARTITION_PROPERTY_CODE enmProperty,
     179DECLIMPORT(BOOL) VIDAPI VidGetExoPartitionProperty(VID_PARTITION_HANDLE hPartition, VID_PARTITION_PROPERTY_CODE enmProperty,
    175180                                                   PHV_PARTITION_PROPERTY puValue);
    176181
Note: See TracChangeset for help on using the changeset viewer.

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