summaryrefslogtreecommitdiff
path: root/TtfInfo.idl
blob: f682a4db95b5d3a05541b0ecc4cd07629ac55b3e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
// TtfInfo.idl : IDL source for TtfInfo.dll
//

// This file will be processed by the MIDL tool to
// produce the type library (TtfInfo.tlb) and marshalling code.

import "oaidl.idl";
import "ocidl.idl";

	[
		object,
		uuid(F6CC491D-26B2-11D1-ACED-204C4F4F5020),
		dual,
		helpstring("ITrueTypeFontInfo Interface"),
		pointer_default(unique)
	]
	interface ITrueTypeFontInfo : IDispatch
	{
		[hidden, propget, id(0), helpstring("default property")] HRESULT _FileName([out, retval] BSTR *pVal);
		[hidden, propput, id(0), helpstring("default property")] HRESULT _FileName([in] BSTR newVal);
		[propget, id(1), helpstring("property FileName")] HRESULT FileName([out, retval] BSTR *pVal);
		[propput, id(1), helpstring("property FileName")] HRESULT FileName([in] BSTR newVal);
		[propget, id(2), helpstring("property Copyright")] HRESULT Copyright([out, retval] BSTR *pVal);
		[propget, id(3), helpstring("property Family")] HRESULT Family([out, retval] BSTR *pVal);
		[propget, id(4), helpstring("property ID")] HRESULT ID([out, retval] BSTR *pVal);
		[propget, id(5), helpstring("property Name")] HRESULT Name([out, retval] BSTR *pVal);
		[propget, id(6), helpstring("property PostscriptName")] HRESULT PostscriptName([out, retval] BSTR *pVal);
		[propget, id(7), helpstring("property Subfamily")] HRESULT Subfamily([out, retval] BSTR *pVal);
		[propget, id(8), helpstring("property Trademark")] HRESULT Trademark([out, retval] BSTR *pVal);
		[propget, id(9), helpstring("property Version")] HRESULT Version([out, retval] BSTR *pVal);
		[propget, id(10), helpstring("property RegisteredFileName")] HRESULT RegisteredFileName([out, retval] BSTR *pVal);
		[id(11), helpstring("method GetFontsDirectory")] HRESULT GetFontsDirectory([out, retval] BSTR* pVal);
		[id(12), helpstring("method Install")] HRESULT Install([in, optional] VARIANT_BOOL bPermanent);
		[id(13), helpstring("method Uninstall")] HRESULT Uninstall([in, optional] VARIANT_BOOL bPermanent);
	};
[
	uuid(F6CC4910-26B2-11D1-ACED-204C4F4F5020),
	version(1.0),
	helpstring("TtfInfo 1.0 Type Library")
]
library TtfInfoLib
{
	importlib("stdole32.tlb");
	importlib("stdole2.tlb");

	[
		uuid(F6CC491E-26B2-11D1-ACED-204C4F4F5020),
		helpstring("FontInfo Class")
	]
	coclass FontInfo
	{
		[default] interface ITrueTypeFontInfo;
	};
};