Plug-in Reference — Inline Functions — Editor_DocSetConfigA

# Editor_DocSetConfigA

Changes the specified document to a configuration specified by an ANSI string. You can use this inline function or explicitly send the EE_SET_CONFIGA message.

Editor_SetConfigA( HWND hwnd, int iDoc, LPCSTR szConfigName );

## Parameters

hwnd

Specifies the window handle of the view or frame of EmEditor.

iDoc

Specifies the index of the target document. If -1 is specified, the currently active document will be targeted.

szConfigName

Specifies a configuration by an ANSI string.

## Return Values

The return value is not used.

## Version

Supported on EmEditor Professional Version 5.00 or later.