VirtualBox

Changeset 26761 in vbox for trunk/src/VBox/Runtime/r3/win


Ignore:
Timestamp:
Feb 24, 2010 6:57:58 PM (15 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
58018
Message:

IPRT: Implemented RTFileOpenBitBucket.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/r3/win/fileio-win.cpp

    r25642 r26761  
    356356
    357357
     358RTR3DECL(int)  RTFileOpenBitBucket(PRTFILE phFile, uint32_t fAccess)
     359{
     360    AssertReturn(   fAccess == RTFILE_O_READ
     361                 || fAccess == RTFILE_O_WRITE
     362                 || fAccess == RTFILE_O_READWRITE,
     363                 VERR_INVALID_PARAMETER);
     364    return RTFileOpen(phFile, "NUL", fAccess | RTFILE_O_DENY_NONE | RTFILE_O_OPEN);
     365}
     366
     367
    358368RTR3DECL(int)  RTFileClose(RTFILE File)
    359369{
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