PropVariantInit function

void PropVariantInit(
  1. Pointer<PROPVARIANT> pvar
)

The PropVariantInit function initializes a PROPVARIANT structure.

Implementation

//
// #define PropVariantInit(pvar) memset ( (pvar), 0, sizeof(PROPVARIANT) )
void PropVariantInit(Pointer<PROPVARIANT> pvar) {
  ZeroMemory(pvar, sizeOf<PROPVARIANT>());
  pvar.ref.vt = VARENUM.VT_EMPTY;
}