Share

acedFindTrustedFile

C++

inline int acedFindTrustedFile(
    const ACHAR * fname, 
    ACHAR * result, 
    size_t nBufLen
);

File

acedads.h

Description

Deprecated. Searches the AutoCAD trusted file paths for the specified file. The command looks for the file in the regular AutoCAD search path. If a match is found, it verifies if the file path is part of trustedpaths. If the file is not present in any of the directories in the trusted file paths, the function returns NULL.

Parameters

Parameters Description
fname File name to search for
result Points to a buffer that holds the qualified file name
nBufLen The total size of the buffer.

Previous Declaration

int acedFindTrustedFile(const ACHAR * fname, ACHAR * result);

Use Instead

ACCORE_PORT int acedFindTrustedFile(const ACHAR * fname, AcString & sResult);

Was this information helpful?