PACK.H
资源名称:MSDN_VC98.zip [点击查看]
上传用户:bangxh
上传日期:2007-01-31
资源大小:42235k
文件大小:1k
源码类别:
Windows编程
开发平台:
Visual C++
- /*++
- Copyright (c) 1996 Microsoft Corporation
- Module Name:
- Pack.h
- Abstract:
- Author:
- Environment:
- User mode
- Revision History :
- --*/
- #ifndef _PACK_H_
- #define _PACK_H_
- HRESULT
- PackStringinVariant(
- BSTR bstrString,
- VARIANT * pvarInputData
- );
- HRESULT
- UnpackStringfromVariant(
- VARIANT varSrcData,
- BSTR * pbstrDestString
- );
- HRESULT
- PackLONGinVariant(
- LONG lValue,
- VARIANT * pvarInputData
- );
- HRESULT
- UnpackLONGfromVariant(
- VARIANT varSrcData,
- LONG * plValue
- );
- HRESULT
- PackDATEinVariant(
- DATE daValue,
- VARIANT * pvarInputData
- );
- HRESULT
- UnpackDATEfromVariant(
- VARIANT varSrcData,
- DATE * pdaValue
- );
- HRESULT
- PackVARIANT_BOOLinVariant(
- VARIANT_BOOL fValue,
- VARIANT * pvarInputData
- );
- HRESULT
- UnpackVARIANT_BOOLfromVariant(
- VARIANT varSrcData,
- VARIANT_BOOL * pfValue
- );
- HRESULT
- PackVARIANTinVariant(
- VARIANT vaValue,
- VARIANT * pvarInputData
- );
- HRESULT
- UnpackVARIANTfromVariant(
- VARIANT varSrcData,
- VARIANT * pvaValue
- );
- #endif