forked from https-github-com-Surachai-kent/runtime
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathvariant.cpp
More file actions
32 lines (29 loc) · 728 Bytes
/
variant.cpp
File metadata and controls
32 lines (29 loc) · 728 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
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;
}