windows-nt/Source/XPSP1/NT/base/remoteboot/admin/varconv.h

41 lines
636 B
C
Raw Normal View History

2020-09-26 03:20:57 -05:00
//
// Copyright 1997 - Microsoft
//
//
// VARCONV.CPP - Handlers for converting from/to VARIANTs.
//
#ifndef _VARCONV_H_
#define _VARCONV_H_
HRESULT
StringArrayToVariant(
VARIANT * pvData,
LPWSTR lpszDatap[], // array of LPWSTRs
DWORD dwCount ); // number of items in the array
HRESULT
PackStringToVariant(
VARIANT * pvData,
LPWSTR lpszData );
HRESULT
PackBytesToVariant(
VARIANT* pvData,
LPBYTE lpData,
DWORD cbBytes );
HRESULT
PackDWORDToVariant(
VARIANT * pvData,
DWORD dwData );
HRESULT
PackBOOLToVariant(
VARIANT * pvData,
BOOL fData );
#endif // _VARCONV_H_