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
|
import "Unknwn.idl", "oaidl.idl";
[
object,
uuid(5DDE9FF0-AC48-11E2-9E96-0800200C9A66),
dual,
oleautomation
]
interface IMsOutlookAddrBookServer : IUnknown
{
HRESULT foreachMailUser(
[in] BSTR query);
HRESULT IMAPIProp_GetProps(
[in] BSTR entryId,
[in] int nbPropIds,
[in] SAFEARRAY(long) propIds,
[in] long flags,
[out] SAFEARRAY(byte) * props,
[out] SAFEARRAY(unsigned long) * propsLength,
[out] SAFEARRAY(byte) * propsType);
HRESULT createContact(
[out] BSTR * id);
HRESULT deleteContact(
[in] BSTR id);
HRESULT IMAPIProp_DeleteProp(
[in] long propId,
[in] BSTR entryId);
HRESULT IMAPIProp_SetPropString(
[in] long propId,
[in] BSTR value,
[in] BSTR entryId);
};
[
uuid(158586d0-acfa-11e2-9e96-0800200c9a66),
version(1.0),
helpstring("IMsOutlookAddrBookServer Type Library"),
]
library IMsOutlookAddrBookServerTypeLib
{
importlib("stdole32.tlb");
interface IMsOutlookAddrBookServer;
};
|