Partager via


IConfigManager::GetUninstallDocument (Compact 7)

3/12/2014

Use this method to retrieve the XML document that has the uninstall script.

Syntax

virtual HRESULT STDMETHODCALLTYPE GetUninstallDocument( 
    IXMLDOMDocument **ppDoc
) = 0;

Parameters

Return Value

Returns E_INVALIDARG if ppDoc is invalid; otherwise, returns S_OK.

Remarks

When you use IConfigManager to install an application, call this method if you want to store this uninstall script to uninstall the application at a later time.

Requirements

Header

cfgmgr.h,
msxml2.h,
msxml2.idl

sysgen

SYSGEN_CONFIGMGR

See Also

Reference

IConfigManager