Partager via


PROP_ENTRY_TYPE

Use this macro to enter a property description, property DISPID, and property page CLSID into the object's property map.

PROP_ENTRY_TYPE( 
   szDesc, 
   dispid, 
   clsid, 
   vt 
)

Parameters

  • szDesc
    [in] The property description.

  • dispid
    [in] The property's DISPID.

  • clsid
    [in] The CLSID of the associated property page. Use the special value CLSID_NULL for a property that does not have an associated property page.

  • vt
    [in] The property's type.

Remarks

The PROP_ENTRY macro was insecure and deprecated. It has been replaced with PROP_ENTRY_TYPE.

The BEGIN_PROP_MAP macro marks the beginning of the property map; the END_PROP_MAP macro marks the end.

Example

See the example for BEGIN_PROP_MAP.

Requirements

Header: atlcom.h

See Also

Reference

PROP_ENTRY_TYPE_EX

PROP_PAGE

PROP_ENTRY_INTERFACE

PROP_ENTRY_INTERFACE_EX

PROP_ENTRY_INTERFACE_CALLBACK

PROP_ENTRY_INTERFACE_CALLBACK_EX

Other Resources

Property Map Macros

ATL Macros