VirtualBox

Ignore:
Timestamp:
Jun 22, 2011 7:30:06 PM (14 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
72442
Message:

*: RTFILE becomes a pointer, RTFileOpen++ expands it's flags paramter from uint32_t to uint64_t.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/HostDrivers/Support/win/SUPLib-win.cpp

    r33540 r37596  
    139139     * We're done.
    140140     */
    141     pThis->hDevice = (RTFILE)hDevice;
     141    pThis->hDevice = hDevice;
    142142    return VINF_SUCCESS;
    143143}
     
    475475     * Check if we're inited at all.
    476476     */
    477     if (pThis->hDevice != NIL_RTFILE)
     477    if (pThis->hDevice != NULL)
    478478    {
    479479        if (!CloseHandle((HANDLE)pThis->hDevice))
    480480            AssertFailed();
    481         pThis->hDevice = NIL_RTFILE;
     481        pThis->hDevice = NIL_RTFILE; /* yes, that's right */
    482482    }
    483483
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