2002-03-10 00:29:33 +01:00
|
|
|
/*
|
|
|
|
* Copyright 1995 Martin von Loewis
|
|
|
|
*
|
|
|
|
* This library is free software; you can redistribute it and/or
|
|
|
|
* modify it under the terms of the GNU Lesser General Public
|
|
|
|
* License as published by the Free Software Foundation; either
|
|
|
|
* version 2.1 of the License, or (at your option) any later version.
|
|
|
|
*
|
|
|
|
* This library is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
|
|
* Lesser General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU Lesser General Public
|
|
|
|
* License along with this library; if not, write to the Free Software
|
2006-05-18 14:49:52 +02:00
|
|
|
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
|
2002-03-10 00:29:33 +01:00
|
|
|
*/
|
|
|
|
|
2001-07-24 01:50:18 +02:00
|
|
|
#ifndef __WINE_OLEAUT32_OLE2DISP_H
|
|
|
|
#define __WINE_OLEAUT32_OLE2DISP_H
|
|
|
|
|
2003-09-06 01:08:26 +02:00
|
|
|
#include <stdarg.h>
|
|
|
|
|
|
|
|
#include "windef.h"
|
|
|
|
#include "winbase.h"
|
2001-07-24 01:50:18 +02:00
|
|
|
#include "wtypes.h"
|
2001-12-26 21:47:33 +01:00
|
|
|
#include "wine/windef16.h"
|
2001-07-24 01:50:18 +02:00
|
|
|
|
2004-01-23 23:51:41 +01:00
|
|
|
typedef CHAR OLECHAR16;
|
|
|
|
typedef LPSTR LPOLESTR16;
|
|
|
|
typedef LPCSTR LPCOLESTR16;
|
|
|
|
typedef OLECHAR16 *BSTR16;
|
|
|
|
typedef BSTR16 *LPBSTR16;
|
|
|
|
|
2001-07-24 01:50:18 +02:00
|
|
|
BSTR16 WINAPI SysAllocString16(LPCOLESTR16);
|
|
|
|
BSTR16 WINAPI SysAllocStringLen16(const char*, int);
|
|
|
|
VOID WINAPI SysFreeString16(BSTR16);
|
|
|
|
INT16 WINAPI SysReAllocString16(LPBSTR16,LPCOLESTR16);
|
|
|
|
int WINAPI SysReAllocStringLen16(BSTR16*, const char*, int);
|
|
|
|
int WINAPI SysStringLen16(BSTR16);
|
|
|
|
|
2016-01-05 16:46:34 +01:00
|
|
|
typedef struct tagVARIANT16 {
|
|
|
|
VARTYPE vt;
|
|
|
|
WORD wReserved1;
|
|
|
|
WORD wReserved2;
|
|
|
|
WORD wReserved3;
|
|
|
|
union {
|
|
|
|
BYTE bVal;
|
|
|
|
SHORT iVal;
|
|
|
|
LONG lVal;
|
|
|
|
FLOAT fltVal;
|
|
|
|
DOUBLE dblVal;
|
|
|
|
VARIANT_BOOL boolVal;
|
|
|
|
SCODE scode;
|
|
|
|
DATE date;
|
|
|
|
/* BSTR16 */ SEGPTR bstrVal;
|
|
|
|
CY cyVal;
|
|
|
|
/* IUnknown* */ SEGPTR punkVal;
|
|
|
|
/* IDispatch* */ SEGPTR pdispVal;
|
|
|
|
/* SAFEARRAY* */ SEGPTR parray;
|
|
|
|
/* BYTE* */ SEGPTR pbVal;
|
|
|
|
/* SHORT* */ SEGPTR piVal;
|
|
|
|
/* LONG* */ SEGPTR plVal;
|
|
|
|
/* FLOAT* */ SEGPTR pfltVal;
|
|
|
|
/* DOUBLE* */ SEGPTR pdblVal;
|
|
|
|
/* VARIANT_BOOL* */ SEGPTR pboolVal;
|
|
|
|
/* SCODE* */ SEGPTR pscode;
|
|
|
|
/* DATE* */ SEGPTR pdate;
|
|
|
|
/* BSTR16* */ SEGPTR pbstrVal;
|
|
|
|
/* VARIANT16* */ SEGPTR pvarVal;
|
|
|
|
/* void* */ SEGPTR byref;
|
|
|
|
/* CY* */ SEGPTR pcyVal;
|
|
|
|
/* IUnknown** */ SEGPTR ppunkVal;
|
|
|
|
/* IDispatch** */ SEGPTR ppdispVal;
|
|
|
|
/* SAFEARRAY** */ SEGPTR pparray;
|
|
|
|
} u;
|
|
|
|
} VARIANT16;
|
|
|
|
|
|
|
|
typedef VARIANT16 VARIANTARG16;
|
|
|
|
|
2001-07-24 01:50:18 +02:00
|
|
|
#endif /* !defined(__WINE_OLEAUT32_OLE2DISP_H) */
|