EmEditor Home - EmEditor Help - Plug-in Reference - Structures

REG_QUERY_VALUE_INFO

Used by EE_REG_QUERY_VALUE message.

typedef struct _REG_QUERY_VALUE_INFO {
    size_t cbSize;
    DWORD dwKey;
    LPCWSTR pszConfig;
    LPCWSTR pszValue;
    DWORD dwType;
    BYTE* lpData;
    DWORD* lpcbData;
    DWORD dwFlags;
} REG_QUERY_VALUE_INFO;
 

Members

cbSize

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

dwKey

Specifies one of the following values to specify a key. EEREG_CONFIG and EEREG_EMEDITORPLUGIN require the pszConfig parameter to specify the key.

EEREG_COMMON HKEY_CURRENT_USER\Software\EmSoft\EmEditor v3\Common or eeCommon.ini\[Common]
EEREG_REGIST HKEY_CURRENT_USER\Software\EmSoft\Regist or eeCommon.ini\[Regist]
EEREG_MACROS HKEY_CURRENT_USER\Software\EmSoft\EmEditor v3\Macros or eeCommon.ini\[Macros]
EEREG_PLUGINS HKEY_CURRENT_USER\Software\EmSoft\EmEditor v3\PlugIns or eeCommon.ini\[PlugIns]
EEREG_RECENT_FILE_LIST HKEY_CURRENT_USER\Software\EmSoft\EmEditor v3\Recent File List or eeCommon.ini\[Recent File List]
EEREG_RECENT_FOLDER_LIST HKEY_CURRENT_USER\Software\EmSoft\EmEditor v3\Recent Folder List or eeCommon.ini\[Recent Folder List]
EEREG_RECENT_FONT_LIST HKEY_CURRENT_USER\Software\EmSoft\EmEditor v3\Recent Font List or eeCommon.ini\[Recent Font List]
EEREG_RECENT_INSERT_LIST HKEY_CURRENT_USER\Software\EmSoft\EmEditor v3\Recent Insert List or eeCommon.ini\[Recent Insert List]
EEREG_AUTOSAVE HKEY_CURRENT_USER\Software\EmSoft\EmEditor v3\AutoSave or eeCommon.ini\[AutoSave]
EEREG_LM_COMMON HKEY_LOCAL_MACHINE\SOFTWARE\EmSoft\EmEditor v3\Common or eeLM.ini\[Common]
EEREG_LM_REGIST HKEY_LOCAL_MACHINE\SOFTWARE\EmSoft\Regist or eeLM.ini\[Regist]
EEREG_CONFIG HKEY_CURRENT_USER\Software\EmSoft\EmEditor v3\Config\(pszConfig) or eeConfig.ini\[(pszConfig)]
EEREG_EMEDITORPLUGIN HKEY_CURRENT_USER\Software\EmSoft\EmEditorPlugIns\(pszConfig) or eePlugins.ini\[(pszConfig)]
EEREG_EMEDITORUSERS HKEY_CURRENT_USER\Software\EmSoft\EmEditorUsers\(pszConfig) or eeUsers.ini\[(pszConfig)]

pszConfig

Specifies an additional string to specify the key when EEREG_CONFIG, EEREG_EMEDITORPLUGIN, or EEREG_EMEDITORUSERS is selected.

pszValue

Specifies the name of the value to be retrieved.

dwType

Specifies one of the following values to specify the type of data pointed to by the lpData parameter.

REG_BINARY Binary data in any form.
REG_DWORD A 32-bit number.
REG_SZ A null-terminated Unicode string.

lpData

A pointer to a buffer that receives the value's data. This parameter can be NULL only if the data is of type REG_BINARY.

lpcbData

A pointer to a variable that specifies the size of the buffer pointed to by the lpData parameter, in bytes. When the function returns, this variable contains the size of the data copied to lpData.

dwFlags

This parameter is reserved and must be zero.

Version

Supported on Version 7.00 or later.

Copyright 2003-2014 by Emurasoft, Inc.