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.h28
1 files changed, 28 insertions, 0 deletions
diff --git a/src/classlibnative/bcltype/windowsruntimebufferhelper.h b/src/classlibnative/bcltype/windowsruntimebufferhelper.h
new file mode 100644
index 0000000000..f6f8c3e985
--- /dev/null
+++ b/src/classlibnative/bcltype/windowsruntimebufferhelper.h
@@ -0,0 +1,28 @@
+//
+// Copyright (c) Microsoft. All rights reserved.
+// Licensed under the MIT license. See LICENSE file in the project root for full license 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_