PyIServiceProvider.QueryService

PyIUnknown = QueryService(clsid, iid )

Creates or accesses the specified service and returns an interface object to the specified interface for the service.

Parameters

clsid : PyIID

Unique identifier for the requested service.

iid : PyIID

Unique identifier for the requested interface on the service.