VirtualBox

source: vbox/trunk/src/VBox/Devices/Graphics/shaderlib/wine/include/msident.idl@ 104831

最後變更 在這個檔案從104831是 53206,由 vboxsync 提交於 10 年 前

Devices/vmsvga: header fixes

  • 屬性 svn:eol-style 設為 native
  • 屬性 svn:keywords 設為 Author Date Id Revision
檔案大小: 3.6 KB
 
1/*
2 * Copyright 2012 Jacek Caban for CodeWeavers
3 *
4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Lesser General Public
6 * License as published by the Free Software Foundation; either
7 * version 2.1 of the License, or (at your option) any later version.
8 *
9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * Lesser General Public License for more details.
13 *
14 * You should have received a copy of the GNU Lesser General Public
15 * License along with this library; if not, write to the Free Software
16 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
17 */
18
19/*
20 * Oracle LGPL Disclaimer: For the avoidance of doubt, except that if any license choice
21 * other than GPL or LGPL is available it will apply instead, Oracle elects to use only
22 * the Lesser General Public License version 2.1 (LGPLv2) at this time for any software where
23 * a choice of LGPL license versions is made available with the language indicating
24 * that LGPLv2 or any later version may be used, or where a choice of which version
25 * of the LGPL is applied is otherwise unspecified.
26 */
27
28#ifndef DO_NO_IMPORTS
29import "unknwn.idl";
30import "ocidl.idl";
31import "oleidl.idl";
32import "oaidl.idl";
33#endif
34
35cpp_quote("#define E_IDENTITIES_DISABLED _HRESULT_TYPEDEF_(0x80007110)")
36cpp_quote("#define S_IDENTITIES_DISABLED _HRESULT_TYPEDEF_(0x00007110)")
37cpp_quote("#define E_NO_CURRENT_IDENTITY _HRESULT_TYPEDEF_(0x80007111)")
38cpp_quote("#define E_USER_CANCELLED _HRESULT_TYPEDEF_(0x80007112)")
39cpp_quote("#define E_PROCESS_CANCELLED_SWITCH _HRESULT_TYPEDEF_(0x80007113)")
40cpp_quote("#define E_IDENTITY_NOT_FOUND _HRESULT_TYPEDEF_(0x80007114)")
41cpp_quote("#define E_IDENTITY_EXISTS _HRESULT_TYPEDEF_(0x80007115)")
42cpp_quote("#define E_IDENTITY_CHANGING _HRESULT_TYPEDEF_(0x80007116)")
43
44[
45 uuid(a9ae6c8e-1d1b-11d2-b21a-00c04fa357fa),
46]
47interface IUserIdentity : IUnknown
48{
49 HRESULT GetCookie([out] GUID *puidCookie);
50
51 HRESULT GetName(
52 [in] WCHAR *pszName,
53 [in] ULONG ulBuffSize);
54
55 [local]
56 HRESULT OpenIdentityRegKey(
57 [in]DWORD dwDesiredAccess,
58 [out] HKEY *phKey);
59
60 HRESULT GetIdentityFolder(
61 [in] DWORD dwFlags,
62 [in] WCHAR *pszPath,
63 [in] ULONG ulBuffSize);
64
65cpp_quote("#define GIF_ROAMING_FOLDER 0x0001")
66cpp_quote("#define GIF_NON_ROAMING_FOLDER 0x0002")
67}
68
69[
70 uuid(a9ae6c8f-1d1b-11d2-b21a-00c04fa357fa),
71 odl
72]
73interface IEnumUserIdentity : IUnknown
74{
75 HRESULT Next(
76 [in] ULONG celt,
77 [out, size_is(celt), length_is(*pceltFetched)] IUnknown **rgelt,
78 [out] ULONG *pceltFetched);
79
80 HRESULT Skip([in] ULONG celt);
81 HRESULT Reset();
82 HRESULT Clone([out] IEnumUserIdentity **ppenum);
83 HRESULT GetCount([out] ULONG *pnCount);
84}
85
86[
87 uuid(a9ae6c90-1d1b-11d2-b21a-00c04fa357fa)
88]
89interface IUserIdentityManager : IUnknown
90{
91 HRESULT EnumIdentities([out] IEnumUserIdentity **ppEnumUser);
92 HRESULT ManageIdentities([in] HWND hwndParent, [in] DWORD dwFlags);
93
94cpp_quote("#define UIMI_CREATE_NEW_IDENTITY 0x0001")
95 HRESULT Logon([in] HWND hwndParent, [in] DWORD dwFlags, [out] IUserIdentity **ppIdentity);
96
97cpp_quote("#define UIL_FORCE_UI 0x80000001")
98 HRESULT Logoff([in] HWND hwndParent);
99
100 HRESULT GetIdentityByCookie([in] GUID *uidCookie, [out] IUserIdentity **ppIdentity);
101}
102
103cpp_quote("DEFINE_GUID(CLSID_UserIdentityManager, 0xa9ae6c91,0x1d1b,0x11d2,0xb2,0x1a,0x00,0xc0,0x4f,0xa3,0x57,0xfa);")
注意: 瀏覽 TracBrowser 來幫助您使用儲存庫瀏覽器

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette