Jump to content
  • Advertisement
Sign in to follow this  
rsegal

Definition of _COM_SMARTPTR_TYPEDEF in MSXML?

This topic is 4810 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Anyone happen to know what the _COM_SMARTPTR_TYPEDEF macro expands out to related to MSXML? I only know that it's a smart pointer wrapper macro for MSXML data types such as IXMLDOMNode, IXMLDOMDocument, etc. At least in my case it is. I'm sure the Win32 API may use this wrapper for other parts of the API. Thoughts?

Share this post


Link to post
Share on other sites
Advertisement
I believe it's something like:

typedef _com_ptr_t<_com_IID<IXMLDOMNode, 0x0> > IXMLDOMNodePtr

and so on...

The typedef is generated automatically for COM classes, and the MSXML classes are no different.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!