EE_LOAD_FILEA

Loads a specified file into EmEditor. The file name is specified by an ANSI string. You can send this message explicitly or use the Editor_LoadFileA inline function.

EE_LOAD_FILEA
wParam = (WPARAM) (LOAD_FILE_INFO_EX*) pLoadFileInfo;
lParam = (LPARAM) (LPCSTR) szFileName;

Parameters

pLoadFileInfo

Pointer to a LOAD_FILE_INFO_EX structure. If this parameter is NULL, EE_LOAD_FILEA will open a file by a method predefined by the properties.

szFileName

Specifies a full path file name in bytes. If a non-existing file is specified, EE_LOAD_FILEA will fail.

Return Values

If the command is enable, the return value is nonzero. If the command it not enable, the return value is zero.