diff options
Diffstat (limited to 'src/coreclr/palrt/variant.cpp')
-rw-r--r-- | src/coreclr/palrt/variant.cpp | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/src/coreclr/palrt/variant.cpp b/src/coreclr/palrt/variant.cpp new file mode 100644 index 00000000000..f96d1defdd1 --- /dev/null +++ b/src/coreclr/palrt/variant.cpp @@ -0,0 +1,32 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// + +// +// =========================================================================== +// File: variant.cpp +// +// PALRT variant conversion functions +// =========================================================================== + +#include "common.h" + +/*** +*PUBLIC void VariantInit(VARIANT*) +*Purpose: +* Initialize the given VARIANT to VT_EMPTY. +* +*Entry: +* None +* +*Exit: +* return value = void +* +* pvarg = pointer to initialized VARIANT +* +***********************************************************************/ +STDAPI_(void) +VariantInit(VARIANT FAR* pvarg) +{ + V_VT(pvarg) = VT_EMPTY; +} |