Winapi.Mtx.CreateSharedPropertyGroupManager
Delphi
function CreateSharedPropertyGroupManager: ISharedPropertyGroupManager;
C++
extern DELPHI_PACKAGE _di_ISharedPropertyGroupManager __fastcall CreateSharedPropertyGroupManager(void);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | Winapi.Mtx.pas Winapi.Mtx.hpp |
Winapi.Mtx | Winapi.Mtx |
Description
Returns an interface for a new shared property group manager that creates and coordinates shared properties of MTS objects.
Call CreateSharedPropertyGroupManager before creating shared property groups if you are not using the CreateSharedPropertyGroup function. The ISharedPropertyGroupManager interface lets you create and access shared properties with more control that is provided by CreateSharedPropertyGroup.
By using shared property groups, you eliminate name collisions because they establish unique name spaces for the shared properties they contain. The Shared Property Manager also implements locks and semaphores to protect shared properties from simultaneous access, which could result in lost updates and could leave the properties in an unpredictable state.
For more information about the ISharedPropertyGroupManager interface, see the MTS documentation.