共用方式為


RDX_DWORD

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

RDX_DWORD( 
   rootkey, 
   subkey, 
   valuename, 
   member, 
   member_size  
)

Parameters

  • rootkey
    The registry key root.

  • subkey
    The registry subkey.

  • valuename
    The registry key.

  • member
    The member variable to associate with the specified registry entry.

  • member_size
    The size, in bytes, of the member variable.

Remarks

This macro is used in conjunction with the BEGIN_RDX_MAP and END_RDX_MAP macros to associate a member variable with a given registry entry. 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 to perform exchange of data between the system registry and the member variables in the RDX map.

Requirements

Header: atlplus.h

See Also

Other Resources

Registry Data Exchange Macros