IDMPropertySheet Interface

Version: 2.0
MetaBase II custom provider interface

GUID: {673A9FB1-9A0B-11D4-B2A4-FD6847C75367}

DM2003 software may be seamlessly integrated with custom metadata providers. For example, you can consider storing file descriptions in the Microsoft Access database. To interact with DM2003, metadata provider must:

  1. Implement IShellPropSheetExt and IDMPropertySheet interfaces;

  2. Register its CLSID with DM2003: make a string-type value named PropertySheetClass under "HKU\Software\RRR\DM2003\Data Master" registry key.

Notice: to display correct property pages in the file managers you should also recreate file types associated with DM2003 since appropriate registry record includes property page handler CLSID as well. Also keep in mind that DM2003 scripting action provider (scripter.dll unit) doesn’t rely on proppage.dll interfaces to handle column titles; instead, it just read appropriate INI file.

Members:

Kind Name Description
Initialize Initialize provider with DMApplication reference
InitializeFileName Initialize provider with DMApplication and file name

Syntax:

function Initialize(const DM: IDispatch): HResult; stdcall;

DM2003 invokes this method after creating property page handler object to pass the DMApplication object reference. Provider must use DM2003 object model to obtain file name of active document. On the other hand, Windows Shell (file managers) uses IShellExtInit.Initialize() member instead.

Syntax:

function InitializeFileName(const DM: IDispatch; const FileName: WideString): HResult; stdcall;

DM2003 invokes this method after creating property page handler object to pass the DMApplication object reference and file name. This member allows to display property pages for ANY files, even ones not loaded into DM2003!