Compartilhar via


IDiaLoadCallback2::RestrictOriginalPathAccess

Determines if it is okay to look for a .pdb file in the original debug directory.

HRESULT RestrictOriginalPathAccess ();

Return Value

If successful, returns S_OK; otherwise, returns an error code.

Remarks

Any return code other than S_OK prevents looking for a .pdb file in the original debug directory. The original debug directory is the path to the symbol file compiled into the executable when debugging is turned on. This path is not necessarily the same as the path where the executable exists.

See Also

Reference

IDiaLoadCallback2