Changeset 59524 in vbox for trunk/include
- Timestamp:
- Jan 30, 2016 1:28:29 AM (9 years ago)
- Location:
- trunk/include/iprt
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/iprt/mangling.h
r59480 r59524 2207 2207 # define RTVfsDirRetain RT_MANGLER(RTVfsDirRetain) 2208 2208 # define RTVfsFileFlush RT_MANGLER(RTVfsFileFlush) 2209 # define RTVfsFileFromBuffer RT_MANGLER(RTVfsFileFromBuffer) 2209 2210 # define RTVfsFileFromRTFile RT_MANGLER(RTVfsFileFromRTFile) 2210 2211 # define RTVfsFileGetSize RT_MANGLER(RTVfsFileGetSize) … … 2255 2256 # define RTVfsLockReleaseWriteSlow RT_MANGLER(RTVfsLockReleaseWriteSlow) 2256 2257 # define RTVfsLockRetain RT_MANGLER(RTVfsLockRetain) 2258 # define RTVfsMemFileCreate RT_MANGLER(RTVfsMemFileCreate) 2257 2259 # define RTVfsMemorizeIoStreamAsFile RT_MANGLER(RTVfsMemorizeIoStreamAsFile) 2258 2260 # define RTVfsNew RT_MANGLER(RTVfsNew) -
trunk/include/iprt/vfs.h
r57944 r59524 903 903 904 904 /** 905 * Creates a VFS file from a memory buffer. 906 * 907 * @returns VBox status code. 908 * 909 * @param hVfsIos The VFS I/O stream to memorize. This will be read 910 * to the end on success, on failure its position is 911 * undefined. 912 * @param fFlags A combination of RTFILE_O_READ and RTFILE_O_WRITE. 913 * @param pvBuf The buffer. This will be copied and not referenced 914 * after this function returns. 915 * @param cbBuf The buffer size. 916 * @param phVfsFile Where to return the handle to the memory file on 917 * success. 918 */ 919 RTDECL(int) RTVfsFileFromBuffer(RTVFSIOSTREAM hVfsIos, uint32_t fFlags, void const *pvBuf, size_t cbBuf, PRTVFSFILE phVfsFile); 920 921 /** 922 * Creates a memory backed VFS file object for read and write. 923 * 924 * @returns VBox status code. 925 * 926 * @param hVfsIos The VFS I/O stream to memorize. This will be read 927 * to the end on success, on failure its position is 928 * undefined. 929 * @param cbEstimate The estimated file size. 930 * @param phVfsFile Where to return the handle to the memory file on 931 * success. 932 */ 933 RTDECL(int) RTVfsMemFileCreate(RTVFSIOSTREAM hVfsIos, size_t cbEstimate, PRTVFSFILE phVfsFile); 934 935 /** 905 936 * Pumps data from one I/O stream to another. 906 937 *
Note:
See TracChangeset
for help on using the changeset viewer.