Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
08050758
Commit
08050758
authored
Nov 02, 2007
by
Rob Shearman
Committed by
Alexandre Julliard
Nov 05, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
include: Add imnact.idl and imnxport.idl.
parent
a54a990b
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
303 additions
and
0 deletions
+303
-0
.gitignore
.gitignore
+2
-0
Makefile.in
include/Makefile.in
+2
-0
imnact.idl
include/imnact.idl
+299
-0
imnxport.idl
include/imnxport.idl
+0
-0
No files found.
.gitignore
View file @
08050758
...
...
@@ -577,6 +577,8 @@ include/hlink.h
include/htiframe.h
include/iads.h
include/icftypes.h
include/imnact.h
include/imnxport.h
include/indexsrv.h
include/mediaobj.h
include/mimeinfo.h
...
...
include/Makefile.in
View file @
08050758
...
...
@@ -24,6 +24,8 @@ IDL_H_SRCS = \
htiframe.idl
\
iads.idl
\
icftypes.idl
\
imnact.idl
\
imnxport.idl
\
indexsrv.idl
\
mediaobj.idl
\
mimeinfo.idl
\
...
...
include/imnact.idl
0 → 100644
View file @
08050758
/*
*
Copyright
2006
Robert
Shearman
for
CodeWeavers
*
*
This
library
is
free
software
; you can redistribute it and/or
*
modify
it
under
the
terms
of
the
GNU
Lesser
General
Public
*
License
as
published
by
the
Free
Software
Foundation
; either
*
version
2.1
of
the
License
,
or
(
at
your
option
)
any
later
version
.
*
*
This
library
is
distributed
in
the
hope
that
it
will
be
useful
,
*
but
WITHOUT
ANY
WARRANTY
; without even the implied warranty of
*
MERCHANTABILITY
or
FITNESS
FOR
A
PARTICULAR
PURPOSE
.
See
the
GNU
*
Lesser
General
Public
License
for
more
details
.
*
*
You
should
have
received
a
copy
of
the
GNU
Lesser
General
Public
*
License
along
with
this
library
; if not, write to the Free Software
*
Foundation
,
Inc
.
,
51
Franklin
St
,
Fifth
Floor
,
Boston
,
MA
02110
-
1301
,
USA
*/
import
"objidl.idl"
;
interface
IImnAccount
;
cpp_quote
(
"#ifndef HR_E"
)
cpp_quote
(
"#define HR_E(n) MAKE_SCODE(SEVERITY_ERROR, FACILITY_INTERNET, n)"
)
cpp_quote
(
"#endif"
)
cpp_quote
(
"#ifndef HR_S"
)
cpp_quote
(
"#define HR_S(n) MAKE_SCODE(SEVERITY_SUCCESS, FACILITY_INTERNET, n)"
)
cpp_quote
(
"#endif"
)
typedef
enum
tagSMTPAUTHTYPE
{
SMTP_AUTH_NONE
,
SMTP_AUTH_SICILY
,
SMTP_AUTH_USE_POP3ORIMAP_SETTINGS
,
SMTP_AUTH_USE_SMTP_SETTINGS
,
}
SMTPAUTHTYPE
;
const
SHORT
CCHMAX_ORG_NAME
=
256
;
const
SHORT
CCHMAX_DISPLAY_NAME
=
256
;
const
SHORT
CCHMAX_ACCOUNT_NAME
=
256
;
const
SHORT
CCHMAX_SERVER_NAME
=
256
;
const
SHORT
CCHMAX_PASSWORD
=
256
;
const
SHORT
CCHMAX_USERNAME
=
256
;
const
SHORT
CCHMAX_EMAIL_ADDRESS
=
256
;
const
SHORT
CCHMAX_CONNECTOID
=
256
;
const
SHORT
CCHMAX_SEARCH_BASE
=
256
;
const
SHORT
CCHMAX_ROOT_FOLDER
=
256
;
const
SHORT
CCHMAX_SIGNATURE
=
16
;
const
SHORT
CCHMAX_SERVICE
=
256
;
[
object
,
uuid
(
0
A06BD31
-
166
F
-
11
D0
-
81B9
-
00
C04FD85AB4
),
pointer_default
(
unique
)
]
interface
IImnAdviseAccount
:
IUnknown
{
typedef
enum
{
ACCT_NEWS
,
ACCT_MAIL
,
ACCT_DIR_SERV
,
ACCT_LAST
}
ACCTTYPE
;
typedef
struct
tagAccountContext
{
ACCTTYPE
AcctType
;
LPSTR
pszAccountID
;
LPSTR
pszOldName
;
DWORD
dwServerType
;
}
ACTX
;
HRESULT
AdviseAccount
(
[
in
]
DWORD
dwAdviseType
,
[
in
]
ACTX
*
pAcctCtx
)
;
}
[
object
,
uuid
(
8
D0AED11
-
1638
-
11
D0
-
81B9
-
00
C04FD85AB4
),
pointer_default
(
unique
)
]
interface
IImnAdviseMigrateServer
:
IUnknown
{
HRESULT
MigrateServer
(
[
in
]
DWORD
dwSrvType
,
[
in
]
IImnAccount
*
pAccount
)
;
}
[
object
,
uuid
(
FD465483
-
1384
-
11
D0
-
ABBD
-
0020
AFDFD10A
),
pointer_default
(
unique
)
]
interface
IImnEnumAccounts
:
IUnknown
{
HRESULT
GetCount
(
[
out
]
ULONG
*
pcItems
)
;
HRESULT
SortByAccountName
()
;
HRESULT
GetNext
(
[
out
]
IImnAccount
**
ppAccount
)
;
HRESULT
Reset
()
;
}
[
object
,
uuid
(
FD465481
-
1384
-
11
D0
-
ABBD
-
0020
AFDFD10A
),
pointer_default
(
unique
)
]
interface
IImnAccountManager
:
IUnknown
{
typedef
struct
tagACCTLISTINFO
{
DWORD
cbSize
;
ACCTTYPE
AcctTypeInit
;
DWORD
dwAcctFlags
;
DWORD
dwFlags
;
}
ACCTLISTINFO
;
HRESULT
Init
(
[
in
]
IImnAdviseMigrateServer
*
pAdviseMigrateServer
)
;
HRESULT
CreateAccountObject
(
[
in
]
ACCTTYPE
AcctType
,
[
out
]
IImnAccount
**
ppAccount
)
;
HRESULT
Enumerate
(
[
in
]
DWORD
dwSrvTypes
,
[
out
]
IImnEnumAccounts
**
ppEnumAccounts
)
;
HRESULT
GetAccountCount
(
[
in
]
ACCTTYPE
AcctType
,
[
out
]
ULONG
*
pcServers
)
;
HRESULT
FindAccount
(
[
in
]
DWORD
dwPropTag
,
[
in
]
LPCSTR
pszSearchData
,
[
out
]
IImnAccount
**
ppAccount
)
;
HRESULT
GetDefaultAccountName
(
[
in
]
ACCTTYPE
AcctType
,
[
in
,
ref
]
LPSTR
pszAccount
,
[
in
]
ULONG
cchMax
)
;
HRESULT
ProcessNotification
(
[
in
]
UINT
uMsg
,
[
in
]
WPARAM
wParam
,
[
in
]
LPARAM
lParam
)
;
HRESULT
ValidateDefaultSendAccount
()
;
HRESULT
AccountListDialog
(
[
in
]
HWND
hwnd
,
[
in
]
ACCTLISTINFO
*
pinfo
)
;
HRESULT
Advise
(
[
in
]
IImnAdviseAccount
*
pAdviseAccount
,
[
out
]
DWORD
*
pdwConnection
)
;
HRESULT
Unadvise
(
[
in
]
DWORD
dwConnection
)
;
HRESULT
GetUniqueAccountName
(
[
in
]
LPSTR
szName
,
[
in
]
UINT
cch
)
;
HRESULT
InitEx
(
[
in
]
IImnAdviseMigrateServer
*
pAdviseMigrateServer
,
[
in
]
DWORD
dwFlags
)
;
}
[
object
,
uuid
(
C43DFC6F
-
62B
B
-
11
D2
-
A727
-
00
C04F79E7C8
),
pointer_default
(
unique
)
]
interface
IImnAccountManager2
:
IImnAccountManager
{
HRESULT
InitUser
(
[
in
]
IImnAdviseMigrateServer
*
pAdviseMigrateServer
,
[
in
]
REFGUID
rguidID
,
[
in
]
DWORD
dwFlags
)
;
HRESULT
GetIncompleteAccount
(
[
in
]
ACCTTYPE
AcctType
,
[
in
,
ref
]
LPSTR
pszAccountId
,
[
in
]
ULONG
cchMax
)
;
HRESULT
SetIncompleteAccount
(
[
in
]
ACCTTYPE
AcctType
,
[
in
]
LPCSTR
pszAccountId
)
;
}
[
object
,
uuid
(
FD465484
-
1384
-
11
D0
-
ABBD
-
0020
AFDFD10A
),
pointer_default
(
unique
)
]
interface
IPropertyContainer
:
IUnknown
{
typedef
enum
{
TYPE_ERROR
=
1000
,
TYPE_DWORD
,
TYPE_LONG
,
TYPE_WORD
,
TYPE_SHORT
,
TYPE_BYTE
,
TYPE_CHAR
,
TYPE_FILETIME
,
TYPE_STRING
,
TYPE_BINARY
,
TYPE_FLAGS
,
TYPE_STREAM
,
TYPE_WSTRING
,
TYPE_BOOL
,
TYPE_PASS
,
TYPE_LAST
}
PROPTYPE
;
cpp_quote
(
"#ifdef WINE_NO_UNICODE_MACROS"
)
cpp_quote
(
"#undef GetProp"
)
cpp_quote
(
"#undef SetProp"
)
cpp_quote
(
"#endif"
)
HRESULT
GetProp
(
[
in
]
DWORD
dwPropTag
,
[
in
,
size_is
(
*
pcb
),
ref
]
BYTE
*
pb
,
[
in
]
ULONG
*
pcb
)
;
HRESULT
GetPropDw
(
[
in
]
DWORD
dwPropTag
,
[
out
]
DWORD
*
pdw
)
;
HRESULT
GetPropSz
(
[
in
]
DWORD
dwPropTag
,
[
in
,
ref
]
LPSTR
psz
,
[
in
]
ULONG
cchMax
)
;
HRESULT
SetProp
(
[
in
]
DWORD
dwPropTag
,
[
in
,
size_is
(
cb
)
]
BYTE
*
pb
,
[
in
]
ULONG
cb
)
;
HRESULT
SetPropDw
(
[
in
]
DWORD
dwPropTag
,
[
in
]
DWORD
dw
)
;
HRESULT
SetPropSz
(
[
in
]
DWORD
dwPropTag
,
[
in
]
LPSTR
psz
)
;
}
[
object
,
uuid
(
FD465482
-
1384
-
11
D0
-
ABBD
-
0020
AFDFD10A
),
pointer_default
(
unique
)
]
interface
IImnAccount
:
IPropertyContainer
{
HRESULT
Exist
()
;
HRESULT
SetAsDefault
()
;
HRESULT
Delete
()
;
HRESULT
SaveChanges
()
;
HRESULT
GetAccountType
(
[
out
]
ACCTTYPE
*
pAcctType
)
;
HRESULT
GetServerTypes
(
[
out
]
DWORD
*
pdwSrvTypes
)
;
HRESULT
ShowProperties
(
[
in
]
HWND
hwnd
,
[
in
]
DWORD
dwFlags
)
;
HRESULT
ValidateProperty
(
[
in
]
DWORD
dwPropTag
,
[
in
,
size_is
(
cb
)
]
BYTE
*
pb
,
[
in
]
ULONG
cb
)
;
HRESULT
DoWizard
(
[
in
]
HWND
hwnd
,
[
in
]
DWORD
dwFlags
)
;
HRESULT
DoImportWizard
(
[
in
]
HWND
hwnd
,
[
in
]
CLSID
clsid
,
[
in
]
DWORD
dwFlags
)
;
}
cpp_quote
(
"HRESULT WINAPI HrCreateAccountManager(IImnAccountManager **ppAccountManager);"
)
cpp_quote
(
"HRESULT WINAPI ValidEmailAddress(LPSTR lpAddress);"
)
include/imnxport.idl
0 → 100644
View file @
08050758
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment