EmEditor Home - EmEditor Help - Plug-in Reference - Messages


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.

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



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


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.

Copyright 2003-2016 by Emurasoft, Inc.