Show/Hide Toolbars

EmEditor Help

Navigation: EmEditor Help > Plug-in Reference > Structures

EmEditor Plug-in Reference: LOAD_FILE_INFO_EXO

Scroll Prev Top Next More
EmEditor Home - EmEditor Help - Plug-in Reference - Structures

LOAD_FILE_INFO_EX

Used by Editor_LoadFileA and Editor_LoadFileW inline functions (EE_LOAD_FILEA and EE_LOAD_FILEW messages).

typedef struct _LOAD_FILE_INFO_EX {

   UINT cbSize;

   UINT nCP;

   BOOL bDetectUnicode;

   BOOL bDetectAll;

   BOOL bDetectCharset;

   BOOL bDetectUTF8;

   UINT nFlags;

} LOAD_FILE_INFO_EX;

Fields

cbSize

Must be sizeof(LOAD_FILE_INFO_EX).

nCP

Specifies a code page by which a file is opened.

CODEPAGE_ANSI

Normal ANSI

CODEPAGE_UNICODE

Unicode little endian

CODEPAGE_UNICODE_BIGENDIAN

Unicode big endian

CODEPAGE_UTF8

UTF-8

CODEPAGE_UTF7

UTF-7

CODEPAGE_932

Japanese Shift JIS

CODEPAGE_JIS

Japanese JIS

CODEPAGE_EUC

Japanese EUC

CODEPAGE_AUTO_SJIS_JIS

Converts from Japanese Shift JIS and JIS.

CODEPAGE_AUTO_SJIS_JIS_EUC

Converts from Japanese Shift JIS、JIS、EUC.

Others

All code pages you can use by system.

bDetectUnicode

If TRUE, Unicode will be detected.

bDetectAll

If TRUE, all code pages will be detected.

bDetectCharset

If TRUE, HTML/XML Charset will be detected.

bDetectUTF8

If TRUE, UTF-8 will be detected.

nFlags

Specifies a combination of the following values.

LFI_ALLOW_ASYNC_OPEN

Allows a file to be opened asynchronously.

LFI_ALLOW_NEW_WINDOW

Opens a file in a new window.

Copyright © 2003-2016 by Emurasoft, Inc.