Plug-in Reference — Structures — QUERY_STRING_INFO

# QUERY_STRING_INFO

Used by EE_QUERY_STRING_EX message.

    typedef struct _QUERY_STRING_INFO {
    	UINT cbSize;
    	UINT nCmdID;
    	UINT nFlags;
    	UINT cchBuf;
    	LPWSTR pBuf;
    } QUERY_STRING_INFO;

## Members

cbSize

Size of this data structure, in bytes. Set this member to sizeof( QUERY_STRING_INFO ).

nCmdID

Specifies an integer indicating the Command ID to execute. Only following commands can be used. See the Command Reference for details.

nID | Command Name | Return Value
4609 through 4609 + 63 | List of Recent Documents | file path and name
4864 through 4864 + 63 | List of Recent Files to Insert | file path and name
4992 through 4992 + 63 | List of Recent Folders | file path and name
5376 through 5376 + 255 | Documents List command | window title
5632 through 5632 + 255 | Plug-ins List command | plug-in file name
6656 through 6656 + 255 | List of Encodings to Reload command | encoding name
7680 through 7680 + 255 | List of Encodings to Save | encoding name
9216 through 9216 + 1023 | Macros List command | macro path and name

nFlags

Specifies one of the following values.

QUERY_STRING_LONG_TITLE | Specifies the long version of the string is needed.
QUERY_STRING_SHORT_TITLE | Specifies the short version of the string is needed.

cchBuf

Specifies the size of the buffer in characters.

pBuf

Specifies the buffer to retrieve the string.

## Version

Supported on Version 20.6 or later.