summaryrefslogtreecommitdiff
path: root/tests/src/Interop/PInvoke/DateTime/NativeDateTime.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/src/Interop/PInvoke/DateTime/NativeDateTime.cpp')
-rw-r--r--tests/src/Interop/PInvoke/DateTime/NativeDateTime.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/src/Interop/PInvoke/DateTime/NativeDateTime.cpp b/tests/src/Interop/PInvoke/DateTime/NativeDateTime.cpp
index 3d96241028..35a9ecc590 100644
--- a/tests/src/Interop/PInvoke/DateTime/NativeDateTime.cpp
+++ b/tests/src/Interop/PInvoke/DateTime/NativeDateTime.cpp
@@ -225,3 +225,8 @@ extern "C" DLL_EXPORT Datetime_Del_MarshalSeqStruct_InOut_cdecl __stdcall GetDel
{
return MarshalSeqStruct_InOut_cdecl;
}
+
+extern "C" DATE DLL_EXPORT STDMETHODCALLTYPE PassThroughDate(DATE d)
+{
+ return d;
+}