ReactOS 0.4.16-dev-338-g34e76ad
IDataConvert Interface Reference
Inheritance diagram for IDataConvert:
Collaboration diagram for IDataConvert:

Public Types

enum  DBDATACONVERTENUM {
  DBDATACONVERT_DEFAULT = 0 , DBDATACONVERT_SETDATABEHAVIOR = 1 , DBDATACONVERT_LENGTHFROMNTS = 2 , DBDATACONVERT_DSTISFIXEDLENGTH = 4 ,
  DBDATACONVERT_DECIMALSCALE = 8
}
 
typedef DWORD DBDATACONVERT
 
- Public Types inherited from IUnknown
typedef IUnknownLPUNKNOWN
 

Public Member Functions

HRESULT DataConvert ([in] DBTYPE wSrcType, [in] DBTYPE wDstType, [in] DBLENGTH cbSrcLength, [in, out] DBLENGTH *pcbDstLength, [in] void *pSrc, [out] void *pDst, [in] DBLENGTH cbDstMaxLength, [in] DBSTATUS dbsSrcStatus, [out] DBSTATUS *pdbsDstStatus, [in] BYTE bPrecision, [in] BYTE bScale, [in] DBDATACONVERT dwFlags)
 
HRESULT CanConvert ([in] DBTYPE wSrcType, [in] DBTYPE wDstType)
 
HRESULT GetConversionSize ([in] DBTYPE wSrcType, [in] DBTYPE wDstType, [in] DBLENGTH *pcbSrcLength, [out] DBLENGTH *pcbDstLength, [in, size_is(*pcbSrcLength)] void *pSrc)
 
- Public Member Functions inherited from IUnknown
HRESULT QueryInterface ([in] REFIID riid, [out, iid_is(riid)] void **ppvObject)
 
ULONG AddRef ()
 
ULONG Release ()
 

Detailed Description

Definition at line 28 of file msdadc.idl.

Member Typedef Documentation

◆ DBDATACONVERT

Definition at line 30 of file msdadc.idl.

Member Enumeration Documentation

◆ DBDATACONVERTENUM

Enumerator
DBDATACONVERT_DEFAULT 
DBDATACONVERT_SETDATABEHAVIOR 
DBDATACONVERT_LENGTHFROMNTS 
DBDATACONVERT_DSTISFIXEDLENGTH 
DBDATACONVERT_DECIMALSCALE 

Definition at line 32 of file msdadc.idl.

Member Function Documentation

◆ CanConvert()

HRESULT IDataConvert::CanConvert ( [in] DBTYPE  wSrcType,
[in] DBTYPE  wDstType 
)

◆ DataConvert()

HRESULT IDataConvert::DataConvert ( [in] DBTYPE  wSrcType,
[in] DBTYPE  wDstType,
[in] DBLENGTH  cbSrcLength,
[in, out] DBLENGTH pcbDstLength,
[in] void pSrc,
[out] void pDst,
[in] DBLENGTH  cbDstMaxLength,
[in] DBSTATUS  dbsSrcStatus,
[out] DBSTATUS pdbsDstStatus,
[in] BYTE  bPrecision,
[in] BYTE  bScale,
[in] DBDATACONVERT  dwFlags 
)

◆ GetConversionSize()

HRESULT IDataConvert::GetConversionSize ( [in] DBTYPE  wSrcType,
[in] DBTYPE  wDstType,
[in] DBLENGTH pcbSrcLength,
[out] DBLENGTH pcbDstLength,
[in, size_is(*pcbSrcLength)] void pSrc 
)

The documentation for this interface was generated from the following file: