VirtualBox

Changeset 11961 in vbox for trunk


Ignore:
Timestamp:
Sep 2, 2008 8:10:46 AM (16 years ago)
Author:
vboxsync
Message:

VRDPAuth.h: explain binary UUID representation in comment

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/VBox/VRDPAuth.h

    r8155 r11961  
    5454typedef unsigned char VRDPAUTHUUID[16];
    5555typedef VRDPAUTHUUID *PVRDPAUTHUUID;
    56 
     56/*
     57Note: VirtualBox uses a consistent binary representation of UUIDs on all platforms. For this reason
     58the integer fields comprising the UUID are stored as little endian values. If you want to pass such
     59UUIDs to code which assumes that the integer fields are big endian (often also called network byte
     60order), you need to adjust the contents of the UUID to e.g. achieve the same string representation.
     61The required changes are:
     62 * reverse the order of byte 0, 1, 2 and 3
     63 * reverse the order of byte 4 and 5
     64 * reverse the order of byte 6 and 7.
     65Using this conversion you will get identical results when converting the binary UUID to the string
     66representation.
     67*/
    5768
    5869/* The library entry point calling convention. */
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