Click to Rate and Give Feedback
MSDN
MSDN Library
Visual Studio 2005
Visual Studio
Visual C++
Reference
Libraries Reference
ATL
Macros
 PROP_ENTRY_EX
This page is specific to
Microsoft Visual Studio 2005/.NET Framework 2.0

Other versions are also available for the following:
ATL Library Reference 
PROP_ENTRY_EX 

Similar to PROP_ENTRY, but allows you specify a particular IID if your object supports multiple dual interfaces.

PROP_ENTRY_EX( 
      szDesc, 
      dispid, 
      clsid, 
      iidDispatch  
)

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.

iidDispatch

[in] The IID of the dual interface defining the property.

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

The following example groups entries for IMyDual1 followed by an entry for IMyDual2. Grouping by dual interface will improve performance.

BEGIN_PROP_MAP( CMyClass )
   PROP_ENTRY_EX( "Caption", DISPID_CAPTION, 
                  CLSID_CMyProps, IID_IMyDual1 )
   PROP_ENTRY_EX( "Enabled", DISPID_ENABLED, 
                  CLSID_CMyProps, IID_IMyDual1 )
   PROP_ENTRY_EX( "Width", DISPID_WIDTH, 
                  CLSID_CMyProps, IID_IMyDual2 )
END_PROP_MAP( )

Reference

PROP_PAGE

Other Resources

Property Map Macros
ATL Macros

Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2008 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker