Skip to content

Latest commit

 

History

History
36 lines (26 loc) · 1.05 KB

idialoadcallback2-restrictoriginalpathaccess.md

File metadata and controls

36 lines (26 loc) · 1.05 KB
description title ms.date ms.topic dev_langs helpviewer_keywords author ms.author manager ms.subservice
Determines if it is okay to look for a .pdb file in the original debug directory.
IDiaLoadCallback2::RestrictOriginalPathAccess
11/04/2016
reference
C++
IDiaLoadCallback2::RestrictOriginalPathAccess method
mikejo5000
mikejo
mijacobs
debug-diagnostics

IDiaLoadCallback2::RestrictOriginalPathAccess

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

Syntax

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