[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 191
  • Last Modified:

I would like to know where I can get the documentation of ,Microsoft Powerpoint API

Hello experts,

I have a question in Powerpoint API. I am opening a powerpoint using COM programming as follows

    CComPtr<PowerPoint::Presentations> presentations;
/* pptApplication is already set to valid pointer */
hr = pptApplication->get_Presentations(&presentations);

    CComPtr<PowerPoint::_Presentation> thePresentation;
    hr = presentations->Open((BSTR)szFileName, msoTrue, msoFalse, msoTrue, &thePresentation);
/* thePresentation is returned as NULL for some test case*/
 BSTR szName;
    hr = thePresentation->get_Name(&szName);
/* szName is returned as NULL  for some test case */

I would like to know where I can get the documentation of these APIs. I have googled, but it did not get me any usefule links.I want to know if it is valid for these APIs to return NULL values under some conditions,which means I would need to check the validity of the pointers before using them.

Thanks and Regards,
Ramanan
0
ramanan_r
Asked:
ramanan_r
1 Solution
 
Mechanic_KharkovCommented:
0
 
GlennaShawCommented:
Developing COM Add-Ins for Microsoft Office
http://www.codeproject.com/KB/vb/ComAddins_VBNET.aspx

0

Featured Post

Upgrade your Question Security!

Add Premium security features to your question to ensure its privacy or anonymity. Learn more about your ability to control Question Security today.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now