summaryrefslogtreecommitdiff
path: root/src/classlibnative/bcltype/windowsruntimebufferhelper.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/classlibnative/bcltype/windowsruntimebufferhelper.h')
-rw-r--r--src/classlibnative/bcltype/windowsruntimebufferhelper.h27
1 files changed, 27 insertions, 0 deletions
diff --git a/src/classlibnative/bcltype/windowsruntimebufferhelper.h b/src/classlibnative/bcltype/windowsruntimebufferhelper.h
new file mode 100644
index 0000000000..42596515a0
--- /dev/null
+++ b/src/classlibnative/bcltype/windowsruntimebufferhelper.h
@@ -0,0 +1,27 @@
+// Licensed to the .NET Foundation under one or more agreements.
+// The .NET Foundation licenses this file to you under the MIT license.
+// See the LICENSE file in the project root for more information.
+
+#ifndef _WINDOWSRUNTIMEBUFFERHELPER_H_
+#define _WINDOWSRUNTIMEBUFFERHELPER_H_
+
+#ifdef FEATURE_COMINTEROP
+
+#include "nativeoverlapped.h"
+#include "qcall.h"
+
+class WindowsRuntimeBufferHelper {
+
+private:
+
+
+public:
+
+ static void QCALLTYPE StoreOverlappedPtrInCCW(QCall::ObjectHandleOnStack winRtBuffer, LPOVERLAPPED lpOverlapped);
+ static void ReleaseOverlapped(LPOVERLAPPED lpOverlapped);
+
+};
+
+#endif // ifdef FEATURE_COMINTEROP
+
+#endif // _WINDOWSRUNTIMEBUFFERHELPER_H_