GetSystemFiles

 

Description

List all files of a specified file type found in the Origin App Data folder and/or in the Origin software folder.

Syntax

BOOL GetSystemFiles( StringArray & saResult, LPCSTR lpcszExt )

Parameters

saResult
[output] the referrence of string array will receive the finding results
lpcszExt
[input] the file extension name to matach file finding.

Return

Returns TRUE for success, otherwise FALSE.

Examples

EX1

int GetSystemFiles_ex1()
{
    int iRetCode;
    StringArray saResult;
    iRetCode = GetSystemFiles(saResult, "otw");
    return 0;
}

Remark

See Also

header to Include

origin.h

Reference