Skip to main content
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.

FMX.TMSFNCPDFCoreLibBase.hppPascalC++
function SupportsPlatformService(const AServiceGUID: TGUID): Boolean; overload;
bool __fastcall SupportsPlatformService(const GUID &AServiceGUID)/* 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.

FMX.TMSFNCPDFCoreLibBase.hppPascalC++
function SupportsPlatformService(const AServiceGUID: TGUID; var AService: IInterface): Boolean; overload;
bool __fastcall SupportsPlatformService(const GUID &AServiceGUID, System::_di_IInterface &AService)/* 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.