1 | // Licensed to the .NET Foundation under one or more agreements. |
2 | // The .NET Foundation licenses this file to you under the MIT license. |
3 | // See the LICENSE file in the project root for more information. |
4 | // |
5 | |
6 | // |
7 | // =========================================================================== |
8 | // File: variant.cpp |
9 | // |
10 | // PALRT variant conversion functions |
11 | // =========================================================================== |
12 | |
13 | #include "common.h" |
14 | |
15 | /*** |
16 | *PUBLIC void VariantInit(VARIANT*) |
17 | *Purpose: |
18 | * Initialize the given VARIANT to VT_EMPTY. |
19 | * |
20 | *Entry: |
21 | * None |
22 | * |
23 | *Exit: |
24 | * return value = void |
25 | * |
26 | * pvarg = pointer to initialized VARIANT |
27 | * |
28 | ***********************************************************************/ |
29 | STDAPI_(void) |
30 | VariantInit(VARIANT FAR* pvarg) |
31 | { |
32 | V_VT(pvarg) = VT_EMPTY; |
33 | } |
34 | |