MT4智能交易编程教程-FileGetInteger函数
Gets an integer property of a file. There are two variants of the function. 1. Get a property by the handle of a file. long FileGetInteger(
int file_handle, // File handle
ENUM_FILE_PROPERTY_INTEGER property_id // Property ID
); |
2. Get a property by the file name. long FileGetInteger(
const string file_name, // File name
ENUM_FILE_PROPERTY_INTEGER property_id, // Property ID
bool common_folder=false // The file is viewed in a local folder (false)
); // or a common folder of all terminals (true) |
|