Skip to main content
Table of Contents

TTMSFNCPDFLibPlatformServices.AddPlatformService Method

Registers a platform service under the specified GUID; replaces any previously registered service for that GUID.

API unit family: TMSFNCPDFCoreLibBase Declaring type: TTMSFNCPDFLibPlatformServices

Syntax

FMX.TMSFNCPDFCoreLibBase.hppPascalC++
procedure AddPlatformService(const AServiceGUID: TGUID; const AService: IInterface);
void __fastcall AddPlatformService(const GUID &AServiceGUID, const System::_di_IInterface AService);

Parameters

Name Description
AServiceGUID GUID that identifies the service interface.
AService The service interface to register.