ReactOS Fundraising Campaign 2012
 
€ 4,410 / € 30,000

Information | Donate

Home | Info | Community | Development | myReactOS | Contact Us

  1. Home
  2. Community
  3. Development
  4. myReactOS
  5. Fundraiser 2012

  1. Main Page
  2. Alphabetical List
  3. Data Structures
  4. Directories
  5. File List
  6. Data Fields
  7. Globals
  8. Related Pages

ReactOS Development > Doxygen

msdadc.idl
Go to the documentation of this file.
00001 /*
00002  * Copyright 2009 Huw Davies
00003  *
00004  * This library is free software; you can redistribute it and/or
00005  * modify it under the terms of the GNU Lesser General Public
00006  * License as published by the Free Software Foundation; either
00007  * version 2.1 of the License, or (at your option) any later version.
00008  *
00009  * This library is distributed in the hope that it will be useful,
00010  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00011  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00012  * Lesser General Public License for more details.
00013  *
00014  * You should have received a copy of the GNU Lesser General Public
00015  * License along with this library; if not, write to the Free Software
00016  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
00017  */
00018 
00019 import "oaidl.idl";
00020 import "ocidl.idl";
00021 import "oledb.idl";
00022 
00023 [
00024     object,
00025     pointer_default(unique),
00026     uuid(0c733a8d-2a1c-11ce-ade5-00aa0044773d)
00027 ]
00028 interface IDataConvert : IUnknown
00029 {
00030     typedef DWORD DBDATACONVERT;
00031 
00032     enum DBDATACONVERTENUM
00033     {
00034         DBDATACONVERT_DEFAULT = 0,
00035         DBDATACONVERT_SETDATABEHAVIOR = 1,
00036         DBDATACONVERT_LENGTHFROMNTS = 2,
00037         DBDATACONVERT_DSTISFIXEDLENGTH = 4,
00038         DBDATACONVERT_DECIMALSCALE = 8
00039     };
00040 
00041     [local] HRESULT DataConvert([in] DBTYPE wSrcType,
00042                                 [in] DBTYPE wDstType,
00043                                 [in] DBLENGTH cbSrcLength,
00044                                 [in, out] DBLENGTH *pcbDstLength,
00045                                 [in] void *pSrc,
00046                                 [out] void *pDst,
00047                                 [in] DBLENGTH cbDstMaxLength,
00048                                 [in] DBSTATUS dbsSrcStatus,
00049                                 [out] DBSTATUS *pdbsDstStatus,
00050                                 [in] BYTE bPrecision,
00051                                 [in] BYTE bScale,
00052                                 [in] DBDATACONVERT dwFlags);
00053 
00054 
00055     HRESULT CanConvert([in] DBTYPE wSrcType,
00056                        [in] DBTYPE wDstType);
00057 
00058 
00059     [local] HRESULT GetConversionSize([in] DBTYPE wSrcType,
00060                                       [in] DBTYPE wDstType,
00061                                       [in] DBLENGTH *pcbSrcLength,
00062                                       [out] DBLENGTH *pcbDstLength,
00063                                       [in, size_is(*pcbSrcLength)] void *pSrc);
00064 };
00065 
00066 [
00067     object,
00068     pointer_default(unique),
00069     uuid(0c733a9c-2a1c-11ce-ade5-00aa0044773d)
00070 ]
00071 interface IDCInfo : IUnknown
00072 {
00073     typedef DWORD DCINFOTYPE;
00074 
00075     enum DCINFOTYPEENUM
00076     {
00077         DCINFOTYPE_VERSION = 1
00078     };
00079 
00080     typedef struct tagDCINFO
00081     {
00082         DCINFOTYPE eInfoType;
00083         VARIANT vData;
00084     } DCINFO;
00085 
00086     HRESULT GetInfo([in] ULONG cInfo,
00087                     [in, size_is(cInfo)] DCINFOTYPE rgeInfoType[],
00088                     [out, size_is(cInfo)] DCINFO **prgInfo);
00089 
00090     HRESULT SetInfo([in] ULONG cInfo,
00091                     [in, size_is(cInfo)] DCINFO prgInfo[]);
00092 };

Generated on Sun May 27 2012 04:31:42 for ReactOS by doxygen 1.7.6.1

ReactOS is a registered trademark or a trademark of ReactOS Foundation in the United States and other countries.