EE_LOAD_FILEW

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_LoadFileW inline function.

EE_LOAD_FILEW
wParam = (WPARAM) (LOAD_FILE_INFO_EX*) pLoadFileInfo;
lParam = (LPARAM) (LPCWSTR) szFileName;

Parameters

pLoadFileInfo

Pointer to a LOAD_FILE_INFO_EX structure. If this parameter is NULL, EE_LOAD_FILEW 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_FILEW 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.