Plug-in Reference — Inline Functions — Editor_DocGetConfigW

# Editor_DocGetConfigW

Retrieves the selected configuration name for the specified document as a Unicode string. You can use this inline function or explicitly send the EE_GET_CONFIGW message.

Editor_DocGetConfigW( HWND hwnd, int iDoc, LPWSTR 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 buffer that will receive the configuration name. The buffer size must be at least MAX_CONFIG_NAME in words.

## Return Values

The return value is not used.

## Version

Supported on EmEditor Professional Version 5.00 or later.