Partager via


DECLARE_REGISTRY_APPID_RESOURCEID

Specifies the information required to automatically register the appid.

DECLARE_REGISTRY_APPID_RESOURCEID( 
      resid, 
      appid  
)

Parameters

  • resid
    The resource id of the .rgs file that contains information about the appid.

  • appid
    A GUID.

Remarks

Use DECLARE_REGISTRY_APPID_RESOURCEID in a CAtlModuleT-derived class.

Example

Classes added to ATL projects with the Add Class code wizard will have a sample of using this macro.

Requirements

Header: atlbase.h

See Also

Concepts

Registry Macros

ATL Macros

CAtlModuleT Class