OrgApps::FindInstalledApp

 

Version

Minimum Origin Version Required: Origin 2017 SR0

Description

Finds the installed app by given ID

Syntax

BOOL FindInstalledApp( OrgAppInfo & appInstalled, int ID )

Parameters

appInstalled
[output] Reference to an OrgAppInfo object.
ID
[input] The ID of the app to search

Return

TRUE on success, FALSE on failure

Examples

void TestFindInstalledApp()
{
        OrgAppInfo appInstalled;
        if ( OrgApps.FindInstalledApp(appInstalled, 100) )
                printf("Author is:%s\r\n", appInstalled.Author);
}

Remark

See Also

Header to Included

origin.h