Difference between revisions of "MJServicesAutomation"
From JRiverWiki
Line 12: | Line 12: | ||
* '''bstrServiceName''': the name of the service | * '''bstrServiceName''': the name of the service | ||
'''Return Value:''' a MJServiceAutomation interface | '''Return Value:''' a MJServiceAutomation interface | ||
+ | |||
+ | [[Category:COM Automation]] |
Latest revision as of 00:41, 4 May 2015
Interface for working with services
Functions
VARIANT_BOOL GetLicense(string bstrFilename)
Description: Get a license for a content file
Parameters:
- bstrFilename: the name of the content file
Return Value: true if the license was retrieved, false otherwise
IMJServiceAutomation *GetService(string bstrServiceName)
Description: Get a service by name
Parameters:
- bstrServiceName: the name of the service
Return Value: a MJServiceAutomation interface