EMS.Services.IEMSServices.TryGetService

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function TryGetService(const Service: TGUID; out Svc): Boolean; overload;

C++

virtual bool __fastcall TryGetService(const GUID &Service, /* out */ void *Svc) = 0 /* overload */;

Properties

Type Visibility Source Unit Parent
function public
EMS.Services.pas
EMS.Services.hpp
EMS.Services IEMSServices

Description

Fills Svc with an object interface for the specified service GUID and returns True on success, or False if the RAD Server Engine (EMS Server) does not support the target service.

The specified GUID may be the GUID of any of the service interfaces of the EMS.Services unit.

See Also