VirtualBox

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

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

Devices/Main: vmsvga updates

  • 屬性 svn:eol-style 設為 native
  • 屬性 svn:keywords 設為 Author Date Id Revision
檔案大小: 3.1 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#ifndef DO_NO_IMPORTS
20import "unknwn.idl";
21import "ocidl.idl";
22import "oleidl.idl";
23import "oaidl.idl";
24#endif
25
26cpp_quote("#define E_IDENTITIES_DISABLED _HRESULT_TYPEDEF_(0x80007110)")
27cpp_quote("#define S_IDENTITIES_DISABLED _HRESULT_TYPEDEF_(0x00007110)")
28cpp_quote("#define E_NO_CURRENT_IDENTITY _HRESULT_TYPEDEF_(0x80007111)")
29cpp_quote("#define E_USER_CANCELLED _HRESULT_TYPEDEF_(0x80007112)")
30cpp_quote("#define E_PROCESS_CANCELLED_SWITCH _HRESULT_TYPEDEF_(0x80007113)")
31cpp_quote("#define E_IDENTITY_NOT_FOUND _HRESULT_TYPEDEF_(0x80007114)")
32cpp_quote("#define E_IDENTITY_EXISTS _HRESULT_TYPEDEF_(0x80007115)")
33cpp_quote("#define E_IDENTITY_CHANGING _HRESULT_TYPEDEF_(0x80007116)")
34
35[
36 uuid(a9ae6c8e-1d1b-11d2-b21a-00c04fa357fa),
37]
38interface IUserIdentity : IUnknown
39{
40 HRESULT GetCookie([out] GUID *puidCookie);
41
42 HRESULT GetName(
43 [in] WCHAR *pszName,
44 [in] ULONG ulBuffSize);
45
46 [local]
47 HRESULT OpenIdentityRegKey(
48 [in]DWORD dwDesiredAccess,
49 [out] HKEY *phKey);
50
51 HRESULT GetIdentityFolder(
52 [in] DWORD dwFlags,
53 [in] WCHAR *pszPath,
54 [in] ULONG ulBuffSize);
55
56cpp_quote("#define GIF_ROAMING_FOLDER 0x0001")
57cpp_quote("#define GIF_NON_ROAMING_FOLDER 0x0002")
58}
59
60[
61 uuid(a9ae6c8f-1d1b-11d2-b21a-00c04fa357fa),
62 odl
63]
64interface IEnumUserIdentity : IUnknown
65{
66 HRESULT Next(
67 [in] ULONG celt,
68 [out, size_is(celt), length_is(*pceltFetched)] IUnknown **rgelt,
69 [out] ULONG *pceltFetched);
70
71 HRESULT Skip([in] ULONG celt);
72 HRESULT Reset();
73 HRESULT Clone([out] IEnumUserIdentity **ppenum);
74 HRESULT GetCount([out] ULONG *pnCount);
75}
76
77[
78 uuid(a9ae6c90-1d1b-11d2-b21a-00c04fa357fa)
79]
80interface IUserIdentityManager : IUnknown
81{
82 HRESULT EnumIdentities([out] IEnumUserIdentity **ppEnumUser);
83 HRESULT ManageIdentities([in] HWND hwndParent, [in] DWORD dwFlags);
84
85cpp_quote("#define UIMI_CREATE_NEW_IDENTITY 0x0001")
86 HRESULT Logon([in] HWND hwndParent, [in] DWORD dwFlags, [out] IUserIdentity **ppIdentity);
87
88cpp_quote("#define UIL_FORCE_UI 0x80000001")
89 HRESULT Logoff([in] HWND hwndParent);
90
91 HRESULT GetIdentityByCookie([in] GUID *uidCookie, [out] IUserIdentity **ppIdentity);
92}
93
94cpp_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