-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathWSManInternalClass.cs
More file actions
25 lines (23 loc) · 991 Bytes
/
WSManInternalClass.cs
File metadata and controls
25 lines (23 loc) · 991 Bytes
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
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
namespace WSManAutomation
{
// Token: 0x0200000A RID: 10
[Guid("7DE087A5-5DCB-4DF7-BB12-0924AD8FBD9A")]
[TypeLibType(TypeLibTypeFlags.FCanCreate)]
[ClassInterface(ClassInterfaceType.None)]
[ComImport]
public class WSManInternalClass : IWSManInternal, WSManInternal
{
// ComImport 特性标记的类 不能拥有用户定义的构造函数 MethodImpl(MethodImplOptions.InternalCall) 内部调用
// https://docs.microsoft.com/en-us/dotnet/csharp/misc/cs0669
// Token: 0x060000AD RID: 173
//[MethodImpl(MethodImplOptions.InternalCall)]
//public extern WSManInternalClass();
// Token: 0x060000AE RID: 174
[MethodImpl(MethodImplOptions.InternalCall)]
[return: MarshalAs(UnmanagedType.BStr)]
public virtual extern string ConfigSDDL([MarshalAs(UnmanagedType.IDispatch)][In] object session, [MarshalAs(UnmanagedType.Struct)][In] object resourceUri, [In] int flags = 0);
}
}