Plug-in Reference — Inline Functions — Editor_DocInfo

# Editor_DocInfo

Retrieves or sets the value of one of the information parameters used by EmEditor. You can use this inline function or explicitly send the EE_INFO message.

Editor_DocInfo( HWND hwnd, int iDoc, int nCmd, LPARAM lParam );

## Parameters

nCmd

Specifies a parameter to retrieve or set. Please see the EE_INFO message for the list of commands.

iDoc

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

lParam

Depends on the parameter specified.

## Return Values

Depends on the parameter specified.

## Version

Supported on EmEditor Professional Version 5.00 or later.