CWINAPP :: SetRegistryKey

zhaozj2021-02-08  341

CWINAPP :: SetRegistryKey Void SetRegistryKey; Void SetRegistryKey;

parameter

LPSZREGISTRYKEY

The string pointer contains the name of the key.

NidRegistryKey

The ID / index of the key key in the registry.

Comment

This function saves the application's settings in the registry instead of the INI file. This function sets M_PSZREGISTRY KEY, which is used by CWINAPP member functions GetProfileint, GetProfileString, WriteProfileint, and WriteProfileString. If this function is called, the recently used (MRU) file is also saved in the registry. Usually the key to the registry is the name of the company. It is saved in the following form: HKEY_CURRENT_USER / SOFTWARE / / /

.

Cwinapp Overview | Class Members | Hierarchy Chart

See CWINAPP :: InitInstance, Cwinapp :: getprofileint, cwinapp :: getprofilestring, cwinapp :: writeprofileint, cwinapp :: writeprofilestring

转载请注明原文地址:https://www.9cbs.com/read-3418.html

New Post(0)