Share via


IDiaLoadCallback2::RestrictReferencePathAccess

Determines if looking for a .pdb file is allowed in the path where the .exe file is located.

HRESULT RestrictReferencePathAccess();

Return Value

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

Remarks

Any return code other than S_OK to prevent looking for a .pdb file in the path where the .exe file is located.

See Also

Reference

IDiaLoadCallback2