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

procedure AddPlatformService(const AServiceGUID: TGUID; const AService: IInterface);

Parameters

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