VirtualBox

Changeset 100909 in vbox for trunk/include/iprt


Ignore:
Timestamp:
Aug 19, 2023 2:58:26 AM (20 months ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
158846
Message:

IPRT: Added a virtual file system view of PDB files.

Location:
trunk/include/iprt
Files:
1 added
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/iprt/fsvfs.h

    r98103 r100909  
    197197
    198198
     199/** @name RTFSPDB_F_XXX - PDB mount flags.
     200 * @{ */
     201/** Don't provide module names, just plain stream numbering. */
     202#define RTFSPDB_F_NO_NAMES          RT_BIT_32(0)
    199203/** @} */
    200204
     205/**
     206 * Opens an PDB container volume.
     207 *
     208 * The program database container files are used by the Microsoft Visual C++
     209 * toolchain for storing debug information (.pdb), intermediate compiler state
     210 * (.idb) and possibly other things.  They are supposedly a win9x alternative to
     211 * using NTFS file streams, so the container contains "streams" rather than
     212 * "files".
     213 *
     214 * The streams are numbered and can all be opened by their number, e.g. "1" will
     215 * open the PDB metadata header stream.  If the stream is special or have an
     216 * name map entry, the name will be appended to the stream number together with
     217 * a dash. So, stream "1" can also be accessed as "1-Pdb".
     218 *
     219 * The PDB version can be obtained by querying RTVFSQIEX_VOL_LABEL_ALT, which
     220 * will return "pdb-v2" or "pdb-v7"
     221 *
     222 * @returns IPRT status code.
     223 * @param   hVfsFileIn      The file or device backing the volume.
     224 * @param   fFlags          RTFSPDB_F_XXX.
     225 * @param   phVfs           Where to return the virtual file system handle.
     226 * @param   pErrInfo        Where to return additional error information.
     227 */
     228RTDECL(int) RTFsPdbVolOpen(RTVFSFILE hVfsFileIn, uint32_t fFlags, PRTVFS phVfs, PRTERRINFO pErrInfo);
     229
     230/** @} */
     231
    201232RT_C_DECLS_END
    202233
  • trunk/include/iprt/mangling.h

    r100528 r100909  
    11151115# define RTFsIsoMakerCmdEx                              RT_MANGLER(RTFsIsoMakerCmdEx)
    11161116# define RTFsNtfsVolOpen                                RT_MANGLER(RTFsNtfsVolOpen)
     1117# define RTFsPdbVolOpen                                 RT_MANGLER(RTFsPdbVolOpen)
    11171118# define RTFtpServerCreate                              RT_MANGLER(RTFtpServerCreate)
    11181119# define RTFtpServerDestroy                             RT_MANGLER(RTFtpServerDestroy)
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