Table of Contents

TTMSFNCPDFLibPlatformServices.SupportsPlatformService Method

Returns True when a service for the specified GUID is registered.

API unit family: TMSFNCPDFCoreLibBase Declaring type: TTMSFNCPDFLibPlatformServices

Overloads

Overload 1

Returns True when a service for the specified GUID is registered.

function SupportsPlatformService(const AServiceGUID: TGUID): Boolean; overload;

Parameters

Name Description
AServiceGUID GUID to check.

Returns

True if a service is registered for the given GUID; False otherwise.

Overload 2

Returns True when a service is registered; also returns the service interface in AService.

function SupportsPlatformService(const AServiceGUID: TGUID; var AService: IInterface): Boolean; overload;

Parameters

Name Description
AServiceGUID GUID identifying the requested service.
AService Receives the registered service interface, or nil if not found.

Returns

True if a service is registered for the given GUID; False otherwise.