|Important||This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here. ArchiveDisclaimer|
Opens and prepares a program database (.pdb) file as a debug data source.
[in] The path to the .pdb file.
If successful, returns S_OK; otherwise, returns an error code. The following table shows the possible return values for this method.
Failed to open the file, or determined that the file has an invalid format.
Attempted to access a file with an obsolete format.
Data source has already been prepared.