-
Notifications
You must be signed in to change notification settings - Fork 214
/
Copy pathIStandardActivator.idl
68 lines (62 loc) · 2.07 KB
/
IStandardActivator.idl
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
import "oaidl.idl";
import "ocidl.idl";
[
object,
local,
uuid(000001b8-0000-0000-C000-000000000046),
pointer_default(unique)
]
interface IStandardActivator : IUnknown
{
HRESULT StandardGetClassObject([in] REFCLSID rclsid,
[in] DWORD dwClsCtx,
[in] COSERVERINFO* pServerInfo,
[in] REFIID riid,
[out, iid_is(riid)] void** ppv);
HRESULT StandardCreateInstance([in] REFCLSID Clsid,
[in] IUnknown* punkOuter,
[in] DWORD dwClsCtx,
[in] COSERVERINFO* pServerInfo,
[in] DWORD dwCount,
[in, size_is(dwCount)] MULTI_QI* pResults);
HRESULT StandardGetInstanceFromFile(
[in] COSERVERINFO* pServerInfo,
[in] CLSID* pclsidOverride,
[in] IUnknown* punkOuter,
[in] DWORD dwClsCtx,
[in] DWORD grfMode,
[in] OLECHAR* pwszName,
[in] DWORD dwCount,
[in, size_is(dwCount)] MULTI_QI* pResults);
HRESULT StandardGetInstanceFromIStorage(
[in] COSERVERINFO* pServerInfo,
[in] CLSID* pclsidOverride,
[in] IUnknown* punkOuter,
[in] DWORD dwClsCtx,
[in] IStorage* pstg,
[in] DWORD dwCount,
[in, size_is(dwCount)] MULTI_QI* pResults);
HRESULT Reset();
}
[
object,
local,
uuid(000001b9-0000-0000-C000-000000000046),
pointer_default(unique)
]
interface ISpecialSystemProperties : IUnknown
{
HRESULT SetSessionId([in] ULONG dwSessionId, [in]BOOL bUseConsole, [in] BOOL fRemoteThisSessionId);
HRESULT GetSessionId([out] ULONG* pdwSessionId, [out]BOOL* pbUseConsole);
HRESULT GetSessionId2([out] ULONG* pdwSessionId, [out]BOOL* pbUseConsole, [out] BOOL* pfRemoteThisSessionId);
HRESULT SetClientImpersonating([in]BOOL fClientImpersonating);
HRESULT GetClientImpersonating([out]BOOL* pfClientImpersonating);
HRESULT SetPartitionId([in] REFGUID guidPartiton);
HRESULT GetPartitionId([out] GUID* pguidPartiton);
HRESULT SetProcessRequestType([in] DWORD dwPRT);
HRESULT GetProcessRequestType([out] DWORD* pdwPRT);
HRESULT SetOrigClsctx([in] DWORD dwClsctx);
HRESULT GetOrigClsctx([out] DWORD* dwClsctx);
HRESULT GetDefaultAuthenticationLevel([out] DWORD* pdwAuthnLevel);
HRESULT SetDefaultAuthenticationLevel([in] DWORD dwAuthnLevel);
}