/usr/include/wine/windows/imnact.idl is in libwine-dev 1.8.7-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
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 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 | /*
* 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(0A06BD31-166F-11D0-81B9-00C04FD85AB4),
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(8D0AED11-1638-11D0-81B9-00C04FD85AB4),
pointer_default(unique)
]
interface IImnAdviseMigrateServer : IUnknown
{
HRESULT MigrateServer(
[in] DWORD dwSrvType,
[in] IImnAccount *pAccount);
}
[
object,
uuid(FD465483-1384-11D0-ABBD-0020AFDFD10A),
pointer_default(unique)
]
interface IImnEnumAccounts : IUnknown
{
HRESULT GetCount(
[out] ULONG *pcItems);
HRESULT SortByAccountName();
HRESULT GetNext(
[out] IImnAccount **ppAccount);
HRESULT Reset();
}
[
object,
uuid(FD465481-1384-11D0-ABBD-0020AFDFD10A),
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-62BB-11D2-A727-00C04F79E7C8),
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-11D0-ABBD-0020AFDFD10A),
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-11D0-ABBD-0020AFDFD10A),
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);")
|