共用方式為


BEGIN_RDX_MAP

Marks the beginning of the Registry Data Exchange map.

BEGIN_RDX_MAP

Remarks

The following macros are used within the Registry Data Exchange map to read and write entries in the system registry:

Macro

Description

RDX_BINARY

Associates the specified registry entry with a specified member variable of type BYTE.

RDX_DWORD

Associates the specified registry entry with a specified member variable of type DWORD.

RDX_CSTRING_TEXT

Associates the specified registry entry with a specified member variable of type CString.

RDX_TEXT

Associates the specified registry entry with a specified member variable of type TCHAR.

The global function RegistryDataExchange, or the member function of the same name created by the BEGIN_RDX_MAP and END_RDX_MAP macros, should be used whenever your code needs to exchange data between the system registry and the variables specified in the RDX map.

Requirements

Header: atlplus.h

See Also

Other Resources

Registry Data Exchange Macros