Partager via


IProcessDebugManager::GetDefaultApplication

Returns a default application object for the current process.

Syntax

HRESULT GetDefaultApplication(  
   IDebugApplication**  ppda  
);  

Parameters

ppda
[out] The debug application object for this application.

Return Value

The method returns an HRESULT. Possible values include, but are not limited to, those in the following table.

Value Description
S_OK The method succeeded.

Remarks

This method creates a new debug application object and adds it to the running application list, if necessary.

Language engines should use the application specified by the GetDefaultApplication method if they are running on a host that does not provide an application.

See also

IProcessDebugManager Interface