Edit

Share via


PACK.CPP

In the example provider component, a code example of packing and unpacking data types into VARIANTs is found in pack.cpp. The following functions are used when properties are loaded to, and removed from, the property cache:

  • PackStringinVariant
  • UnpackStringinVariant
  • PackLONGinVariant
  • UnpackLONGfromVariant
  • PackDATEinVariant
  • UnpackDATEinVariant
  • PackVARIANT_BOOLinVariant
  • UnpackVARIANT_BOOLfromVariant
  • PackVARIANTinVariant
  • UnpackVARIANTfromVariant