-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathProgram.cs
More file actions
24 lines (21 loc) · 963 Bytes
/
Program.cs
File metadata and controls
24 lines (21 loc) · 963 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
// See https://aka.ms/new-console-template for more information
using System.Runtime.InteropServices;
using System.Runtime.InteropServices.Marshalling;
namespace Repro
{
[Guid("00000000-0000-0000-0000-000000000011"), InterfaceType(ComInterfaceType.InterfaceIsIUnknown), GeneratedComInterface]
public partial interface IBaseInterface
{
unsafe void BaseMethod(void* pBuffer);
}
[Guid("00000000-0000-0000-0000-000000000012"), InterfaceType(ComInterfaceType.InterfaceIsIUnknown), GeneratedComInterface]
public partial interface IDerivedInterface : IBaseInterface
{
void DerivedMethod();
}
//[Guid("00000000-0000-0000-0000-000000000013"), InterfaceType(ComInterfaceType.InterfaceIsIUnknown), GeneratedComInterface]
//public partial interface ISizeParamIndexProblem
//{
// unsafe void SizeParamIndex([Out][MarshalAs(UnmanagedType.I4, SizeParamIndex = 1)] int[] elements, out uint size);
//}
}