TBSAVEPARAMSA structure (commctrl.h)

Specifies the location in the registry where the TB_SAVERESTORE message stores and retrieves information about the state of a toolbar.

Syntax

typedef struct tagTBSAVEPARAMSA {
  HKEY   hkr;
  LPCSTR pszSubKey;
  LPCSTR pszValueName;
} TBSAVEPARAMSA, *LPTBSAVEPARAMSA;

Members

hkr

Type: HKEY

Handle to the registry key.

pszSubKey

Type: LPCTSTR

Subkey name.

pszValueName

Type: LPCTSTR

Value name.

Remarks

Note

The commctrl.h header defines TBSAVEPARAMS as an alias that automatically selects the ANSI or Unicode version of this function based on the definition of the UNICODE preprocessor constant. Mixing usage of the encoding-neutral alias with code that is not encoding-neutral can lead to mismatches that result in compilation or runtime errors. For more information, see Conventions for Function Prototypes.

Requirements

Requirement Value
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2003 [desktop apps only]
Header commctrl.h