Sync with trunk head

svn path=/branches/header-work/; revision=46021
This commit is contained in:
Amine Khaldi 2010-03-09 00:19:55 +00:00
commit a00acb2a1b
1006 changed files with 161728 additions and 16722 deletions

79
include/psdk/access.idl Normal file
View file

@ -0,0 +1,79 @@
/*
* Copyright (C) 2009 Huw Davies
*
* 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
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
[
object,
uuid(0c733a8c-2a1c-11ce-ade5-00aa0044773d),
pointer_default(unique)
]
interface IAccessor : IUnknown
{
typedef DWORD DBACCESSORFLAGS;
typedef DWORD DBBINDSTATUS;
[local]
HRESULT AddRefAccessor([in] HACCESSOR hAccessor,
[in, out, unique, annotation("__out_opt")] DBREFCOUNT *pcRefCount);
[call_as(AddRefAccessor)]
HRESULT RemoteAddRefAccessor([in] HACCESSOR hAccessor,
[in, out, unique, annotation("__out_opt")] DBREFCOUNT *pcRefCount,
[out] IErrorInfo **ppErrorInfoRem);
[local]
HRESULT CreateAccessor([in] DBACCESSORFLAGS dwAccessorFlags,
[in] DBCOUNTITEM cBindings,
[in, size_is(cBindings), annotation("__in_ecount(cBindings)")] const DBBINDING rgBindings[],
[in] DBLENGTH cbRowSize,
[out, annotation("__out")] HACCESSOR *phAccessor,
[out, size_is(cBindings), annotation("__out_ecount_opt(cBindings)")] DBBINDSTATUS rgStatus[]);
[call_as(CreateAccessor)]
HRESULT RemoteCreateAccessor([in] DBACCESSORFLAGS dwAccessorFlags,
[in] DBCOUNTITEM cBindings,
[in, unique, size_is(cBindings)] DBBINDING *rgBindings,
[in] DBLENGTH cbRowSize,
[out] HACCESSOR *phAccessor,
[in, out, unique, size_is(cBindings)] DBBINDSTATUS *rgStatus,
[out] IErrorInfo **ppErrorInfoRem);
[local]
HRESULT GetBindings([in] HACCESSOR hAccessor,
[out, annotation("__out")] DBACCESSORFLAGS *pdwAccessorFlags,
[in, out, annotation("__out_opt")] DBCOUNTITEM *pcBindings,
[out, size_is(,*pcBindings), annotation("__deref_out_ecount_opt(*pcBindings)")] DBBINDING **prgBindings);
[call_as(GetBindings)]
HRESULT RemoteGetBindings([in] HACCESSOR hAccessor,
[out] DBACCESSORFLAGS *pdwAccessorFlags,
[in, out] DBCOUNTITEM *pcBindings,
[out, size_is(,*pcBindings)] DBBINDING **prgBindings,
[out] IErrorInfo **ppErrorInfoRem);
[local]
HRESULT ReleaseAccessor([in] HACCESSOR hAccessor,
[in, out, unique, annotation("__out_opt")] DBREFCOUNT *pcRefCount);
[call_as(ReleaseAccessor)]
HRESULT RemoteReleaseAccessor([in] HACCESSOR hAccessor,
[in, out, unique] DBREFCOUNT *pcRefCount,
[out] IErrorInfo **ppErrorInfoRem);
};

59
include/psdk/asynot.idl Normal file
View file

@ -0,0 +1,59 @@
/*
* Copyright (C) 2009 Huw Davies
*
* 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
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
[
object,
uuid(0c733a96-2a1c-11ce-ade5-00aa0044773d),
pointer_default(unique)
]
interface IDBAsynchNotify : IUnknown
{
[local]
HRESULT OnLowResource([in] DB_DWRESERVE dwReserved);
[call_as(OnLowResource)]
HRESULT RemoteOnLowResource([in] DB_DWRESERVE dwReserved);
[local]
HRESULT OnProgress([in] HCHAPTER hChapter,
[in] DBASYNCHOP eOperation,
[in] DBCOUNTITEM ulProgress,
[in] DBCOUNTITEM ulProgressMax,
[in] DBASYNCHPHASE eAsynchPhase,
[in, annotation("__in_opt")] LPOLESTR pwszStatusText);
[call_as(OnProgress)]
HRESULT RemoteOnProgress([in] HCHAPTER hChapter,
[in] DBASYNCHOP eOperation,
[in] DBCOUNTITEM ulProgress,
[in] DBCOUNTITEM ulProgressMax,
[in] DBASYNCHPHASE eAsynchPhase,
[in, unique, string] LPOLESTR pwszStatusText);
[local]
HRESULT OnStop([in] HCHAPTER hChapter,
[in] DBASYNCHOP eOperation,
[in] HRESULT hrStatus,
[in, annotation("__in_opt")] LPOLESTR pwszStatusText);
[call_as(OnStop)]
HRESULT RemoteOnStop([in] HCHAPTER hChapter,
[in] DBASYNCHOP eOperation,
[in] HRESULT hrStatus,
[in, unique, string] LPOLESTR pwszStatusText);
}

51
include/psdk/asysta.idl Normal file
View file

@ -0,0 +1,51 @@
/*
* Copyright (C) 2009 Huw Davies
*
* 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
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
[
object,
uuid(0c733a95-2a1c-11ce-ade5-00aa0044773d),
pointer_default(unique)
]
interface IDBAsynchStatus : IUnknown
{
[local]
HRESULT Abort([in] HCHAPTER hChapter,
[in] DBASYNCHOP eOperation);
[call_as(Abort)]
HRESULT RemoteAbort([in] HCHAPTER hChapter,
[in] DBASYNCHOP eOperation,
[out] IErrorInfo **ppErrorInfoRem);
[local]
HRESULT GetStatus([in] HCHAPTER hChapter,
[in] DBASYNCHOP eOperation,
[out, annotation("__out_opt")] DBCOUNTITEM *pulProgress,
[out, annotation("__out_opt")] DBCOUNTITEM *pulProgressMax,
[out, annotation("__out")] DBASYNCHPHASE *peAsynchPhase,
[out, annotation("__deref_opt_inout_opt")] LPOLESTR *ppwszStatusText);
[call_as(GetStatus)]
HRESULT RemoteGetStatus([in] HCHAPTER hChapter,
[in] DBASYNCHOP eOperation,
[in, out, unique] DBCOUNTITEM *pulProgress,
[in, out, unique] DBCOUNTITEM *pulProgressMax,
[in, out, unique] DBASYNCHPHASE *peAsynchPhase,
[in, out, unique] LPOLESTR *ppwszStatusText,
[out] IErrorInfo **ppErrorInfoRem);
}

49
include/psdk/binres.idl Normal file
View file

@ -0,0 +1,49 @@
/*
* Copyright (C) 2009 Huw Davies
*
* 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
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
[
object,
uuid(0c733ab1-2a1c-11ce-ade5-00aa0044773d),
pointer_default(unique)
]
interface IBindResource : IUnknown
{
[local]
HRESULT Bind([in] IUnknown *pUnkOuter,
[in] LPCOLESTR pwszURL,
[in] DBBINDURLFLAG dwBindURLFlags,
[in] REFGUID rguid,
[in] REFIID riid,
[in] IAuthenticate *pAuthenticate,
[in, out, unique] DBIMPLICITSESSION *pImplSession,
[in, out, unique] DBBINDURLSTATUS *pdwBindStatus,
[out, iid_is(riid)] IUnknown **ppUnk);
[call_as(Bind)]
HRESULT RemoteBind([in] IUnknown *pUnkOuter,
[in] LPCOLESTR pwszURL,
[in] DBBINDURLFLAG dwBindURLFlags,
[in] REFGUID rguid,
[in] REFIID riid,
[in] IAuthenticate *pAuthenticate,
[in] IUnknown *pSessionUnkOuter,
[in, unique] IID *piid,
[in, out, unique, iid_is(piid)] IUnknown **ppSession,
[in, out, unique] DBBINDURLSTATUS *pdwBindStatus,
[out, iid_is(riid)] IUnknown **ppUnk);
}

View file

@ -30,6 +30,10 @@ cpp_quote("#define BG_NOTIFY_JOB_ERROR 0x0002")
cpp_quote("#define BG_NOTIFY_DISABLE 0x0004")
cpp_quote("#define BG_NOTIFY_JOB_MODIFICATION 0x0008")
cpp_quote("#ifdef WINE_NO_UNICODE_MACROS")
cpp_quote("#undef EnumJobs")
cpp_quote("#undef GetJob")
cpp_quote("#endif")
#define BG_ENUM_SIZEIS(maxcount) maxcount
#define BG_ENUM_LENGTHIS(maxcount,lengthptr) lengthptr ? *lengthptr : maxcount

62
include/psdk/cmdbas.idl Normal file
View file

@ -0,0 +1,62 @@
/*
* Copyright (C) 2009 Huw Davies
*
* 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
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
[
object,
uuid(0c733a63-2a1c-11ce-ade5-00aa0044773d),
pointer_default(unique)
]
interface ICommand : IUnknown
{
[local]
HRESULT Cancel();
[call_as(Cancel)]
HRESULT RemoteCancel([out] IErrorInfo **ppErrorInfoRem);
[local]
HRESULT Execute([in, annotation("__in_opt")] IUnknown *pUnkOuter,
[in] REFIID riid,
[in, out, annotation("__inout_opt")] DBPARAMS *pParams,
[out, annotation("__out_opt")] DBROWCOUNT *pcRowsAffected,
[out, iid_is(riid), annotation("__deref_opt_out")] IUnknown **ppRowset);
[call_as(Execute)]
HRESULT RemoteExecute([in] IUnknown *pUnkOuter,
[in] REFIID riid,
[in] HACCESSOR hAccessor,
[in] DB_UPARAMS cParamSets,
[in, unique] GUID *pGuid,
[in] ULONG ulGuidOffset,
[in, unique] RMTPACK *pInputParams,
[in, out, unique] RMTPACK *pOutputParams,
[in] DBCOUNTITEM cBindings,
[in, unique, size_is(cBindings)] DBBINDING *rgBindings,
[in, out, unique, size_is(cBindings)] DBSTATUS *rgStatus,
[in, out, unique] DBROWCOUNT *pcRowsAffected,
[in, out, unique, iid_is(riid)] IUnknown **ppRowset);
[local]
HRESULT GetDBSession([in] REFIID riid,
[out, iid_is(riid), annotation("__deref_out_opt")] IUnknown **ppSession);
[call_as(GetDBSession)]
HRESULT RemoteGetDBSession([in] REFIID riid,
[out, iid_is(riid)] IUnknown **ppSession,
[out] IErrorInfo **ppErrorInfoRem);
};

44
include/psdk/cmdtxt.idl Normal file
View file

@ -0,0 +1,44 @@
/*
* Copyright (C) 2009 Huw Davies
*
* 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
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
[
object,
uuid(0c733a27-2a1c-11ce-ade5-00aa0044773d),
pointer_default(unique)
]
interface ICommandText : ICommand
{
[local]
HRESULT GetCommandText([in, out /*, annotation("__inout_opt")*/] GUID *pguidDialect,
[out /*, annotation("__deref_out")*/] LPOLESTR *ppwszCommand);
[call_as(GetCommandText)]
HRESULT RemoteGetCommandText([in, out, unique] GUID *pguidDialect,
[out] LPOLESTR *ppwszCommand,
[out] IErrorInfo **ppErrorInfoRem);
[local]
HRESULT SetCommandText([in] REFGUID rguidDialect,
[in, unique /*, annotation("__in_z_opt")*/] LPCOLESTR pwszCommand);
[call_as(SetCommandText)]
HRESULT RemoteSetCommandText([in] REFGUID rguidDialect,
[in, unique] LPCOLESTR pwszCommand,
[out] IErrorInfo **ppErrorInfoRem);
};

View file

@ -27,7 +27,7 @@ interface IMediaEvent;
interface IMediaEventEx;
interface IMediaPosition;
typedef long OAFilterState;
typedef LONG OAFilterState;
typedef LONG_PTR OAHWND;
typedef LONG_PTR OAEVENT;
@ -68,10 +68,10 @@ interface IMediaControl : IDispatch
]
interface IBasicAudio : IDispatch
{
[propput] HRESULT Volume( [in] long lVolume );
[propget] HRESULT Volume( [out] long *plVolume );
[propput] HRESULT Balance( [in] long lBalance );
[propget] HRESULT Balance( [out] long *plBalance );
[propput] HRESULT Volume( [in] LONG lVolume );
[propget] HRESULT Volume( [out] LONG *plVolume );
[propput] HRESULT Balance( [in] LONG lBalance );
[propget] HRESULT Balance( [out] LONG *plBalance );
}
@ -87,43 +87,43 @@ interface IVideoWindow : IDispatch
{
[propput] HRESULT Caption( [in] BSTR strCaption );
[propget] HRESULT Caption( [out] BSTR *strCaption );
[propput] HRESULT WindowStyle( [in] long WindowStyle );
[propget] HRESULT WindowStyle( [out] long *WindowStyle );
[propput] HRESULT WindowStyleEx( [in] long WindowStyleEx );
[propget] HRESULT WindowStyleEx( [out] long *WindowStyleEx );
[propput] HRESULT AutoShow( [in] long AutoShow );
[propget] HRESULT AutoShow( [out] long *AutoShow );
[propput] HRESULT WindowState( [in] long WindowState );
[propget] HRESULT WindowState( [out] long *WindowState );
[propput] HRESULT BackgroundPalette( [in] long BackgroundPalette );
[propget] HRESULT BackgroundPalette( [out] long *pBackgroundPalette );
[propput] HRESULT Visible( [in] long Visible );
[propget] HRESULT Visible( [out] long *pVisible );
[propput] HRESULT Left( [in] long Left );
[propget] HRESULT Left( [out] long *pLeft );
[propput] HRESULT Width( [in] long Width );
[propget] HRESULT Width( [out] long *pWidth );
[propput] HRESULT Top( [in] long Top );
[propget] HRESULT Top( [out] long *pTop );
[propput] HRESULT Height( [in] long Height );
[propget] HRESULT Height( [out] long *pHeight );
[propput] HRESULT WindowStyle( [in] LONG WindowStyle );
[propget] HRESULT WindowStyle( [out] LONG *WindowStyle );
[propput] HRESULT WindowStyleEx( [in] LONG WindowStyleEx );
[propget] HRESULT WindowStyleEx( [out] LONG *WindowStyleEx );
[propput] HRESULT AutoShow( [in] LONG AutoShow );
[propget] HRESULT AutoShow( [out] LONG *AutoShow );
[propput] HRESULT WindowState( [in] LONG WindowState );
[propget] HRESULT WindowState( [out] LONG *WindowState );
[propput] HRESULT BackgroundPalette( [in] LONG BackgroundPalette );
[propget] HRESULT BackgroundPalette( [out] LONG *pBackgroundPalette );
[propput] HRESULT Visible( [in] LONG Visible );
[propget] HRESULT Visible( [out] LONG *pVisible );
[propput] HRESULT Left( [in] LONG Left );
[propget] HRESULT Left( [out] LONG *pLeft );
[propput] HRESULT Width( [in] LONG Width );
[propget] HRESULT Width( [out] LONG *pWidth );
[propput] HRESULT Top( [in] LONG Top );
[propget] HRESULT Top( [out] LONG *pTop );
[propput] HRESULT Height( [in] LONG Height );
[propget] HRESULT Height( [out] LONG *pHeight );
[propput] HRESULT Owner( [in] OAHWND Owner );
[propget] HRESULT Owner( [out] OAHWND *Owner );
[propput] HRESULT MessageDrain( [in] OAHWND Drain );
[propget] HRESULT MessageDrain( [out] OAHWND *Drain );
[propget] HRESULT BorderColor( [out] long *Color );
[propput] HRESULT BorderColor( [in] long Color );
[propget] HRESULT FullScreenMode( [out] long *FullScreenMode );
[propput] HRESULT FullScreenMode( [in] long FullScreenMode );
HRESULT SetWindowForeground( [in] long Focus );
HRESULT NotifyOwnerMessage( [in] OAHWND hwnd, [in] long uMsg, [in] LONG_PTR wParam, [in] LONG_PTR lParam );
HRESULT SetWindowPosition( [in] long Left, [in] long Top, [in] long Width, [in] long Height );
HRESULT GetWindowPosition( [out] long *pLeft, [out] long *pTop, [out] long *pWidth, [out] long *pHeight );
HRESULT GetMinIdealImageSize( [out] long *pWidth, [out] long *pHeight );
HRESULT GetMaxIdealImageSize( [out] long *pWidth, [out] long *pHeight );
HRESULT GetRestorePosition( [out] long *pLeft, [out] long *pTop, [out] long *pWidth, [out] long *pHeight );
HRESULT HideCursor( [in] long HideCursor );
HRESULT IsCursorHidden( [out] long *CursorHidden );
[propget] HRESULT BorderColor( [out] LONG *Color );
[propput] HRESULT BorderColor( [in] LONG Color );
[propget] HRESULT FullScreenMode( [out] LONG *FullScreenMode );
[propput] HRESULT FullScreenMode( [in] LONG FullScreenMode );
HRESULT SetWindowForeground( [in] LONG Focus );
HRESULT NotifyOwnerMessage( [in] OAHWND hwnd, [in] LONG uMsg, [in] LONG_PTR wParam, [in] LONG_PTR lParam );
HRESULT SetWindowPosition( [in] LONG Left, [in] LONG Top, [in] LONG Width, [in] LONG Height );
HRESULT GetWindowPosition( [out] LONG *pLeft, [out] LONG *pTop, [out] LONG *pWidth, [out] LONG *pHeight );
HRESULT GetMinIdealImageSize( [out] LONG *pWidth, [out] LONG *pHeight );
HRESULT GetMaxIdealImageSize( [out] LONG *pWidth, [out] LONG *pHeight );
HRESULT GetRestorePosition( [out] LONG *pLeft, [out] LONG *pTop, [out] LONG *pWidth, [out] LONG *pHeight );
HRESULT HideCursor( [in] LONG HideCursor );
HRESULT IsCursorHidden( [out] LONG *CursorHidden );
}
@ -138,39 +138,39 @@ interface IVideoWindow : IDispatch
interface IBasicVideo : IDispatch
{
[propget] HRESULT AvgTimePerFrame( [out] REFTIME *pAvgTimePerFrame );
[propget] HRESULT BitRate( [out] long *pBitRate );
[propget] HRESULT BitErrorRate( [out] long *pBitErrorRate );
[propget] HRESULT VideoWidth( [out] long *pVideoWidth );
[propget] HRESULT VideoHeight( [out] long *pVideoHeight );
[propput] HRESULT SourceLeft( [in] long SourceLeft );
[propget] HRESULT SourceLeft( [out] long *pSourceLeft );
[propput] HRESULT SourceWidth( [in] long SourceWidth );
[propget] HRESULT SourceWidth( [out] long *pSourceWidth );
[propput] HRESULT SourceTop( [in] long SourceTop );
[propget] HRESULT SourceTop( [out] long *pSourceTop );
[propput] HRESULT SourceHeight( [in] long SourceHeight );
[propget] HRESULT SourceHeight( [out] long *pSourceHeight );
[propput] HRESULT DestinationLeft( [in] long DestinationLeft );
[propget] HRESULT DestinationLeft( [out] long *pDestinationLeft );
[propput] HRESULT DestinationWidth( [in] long DestinationWidth );
[propget] HRESULT DestinationWidth( [out] long *pDestinationWidth );
[propput] HRESULT DestinationTop( [in] long DestinationTop );
[propget] HRESULT DestinationTop( [out] long *pDestinationTop );
[propput] HRESULT DestinationHeight( [in] long DestinationHeight );
[propget] HRESULT DestinationHeight( [out] long *pDestinationHeight );
HRESULT SetSourcePosition( [in] long Left, [in] long Top, [in] long Width, [in] long Height );
HRESULT GetSourcePosition( [out] long *pLeft, [out] long *pTop, [out] long *pWidth, [out] long *pHeight );
[propget] HRESULT BitRate( [out] LONG *pBitRate );
[propget] HRESULT BitErrorRate( [out] LONG *pBitErrorRate );
[propget] HRESULT VideoWidth( [out] LONG *pVideoWidth );
[propget] HRESULT VideoHeight( [out] LONG *pVideoHeight );
[propput] HRESULT SourceLeft( [in] LONG SourceLeft );
[propget] HRESULT SourceLeft( [out] LONG *pSourceLeft );
[propput] HRESULT SourceWidth( [in] LONG SourceWidth );
[propget] HRESULT SourceWidth( [out] LONG *pSourceWidth );
[propput] HRESULT SourceTop( [in] LONG SourceTop );
[propget] HRESULT SourceTop( [out] LONG *pSourceTop );
[propput] HRESULT SourceHeight( [in] LONG SourceHeight );
[propget] HRESULT SourceHeight( [out] LONG *pSourceHeight );
[propput] HRESULT DestinationLeft( [in] LONG DestinationLeft );
[propget] HRESULT DestinationLeft( [out] LONG *pDestinationLeft );
[propput] HRESULT DestinationWidth( [in] LONG DestinationWidth );
[propget] HRESULT DestinationWidth( [out] LONG *pDestinationWidth );
[propput] HRESULT DestinationTop( [in] LONG DestinationTop );
[propget] HRESULT DestinationTop( [out] LONG *pDestinationTop );
[propput] HRESULT DestinationHeight( [in] LONG DestinationHeight );
[propget] HRESULT DestinationHeight( [out] LONG *pDestinationHeight );
HRESULT SetSourcePosition( [in] LONG Left, [in] LONG Top, [in] LONG Width, [in] LONG Height );
HRESULT GetSourcePosition( [out] LONG *pLeft, [out] LONG *pTop, [out] LONG *pWidth, [out] LONG *pHeight );
HRESULT SetDefaultSourcePosition();
HRESULT SetDestinationPosition( [in] long Left, [in] long Top, [in] long Width, [in] long Height );
HRESULT GetDestinationPosition( [out] long *pLeft, [out] long *pTop, [out] long *pWidth, [out] long *pHeight );
HRESULT SetDestinationPosition( [in] LONG Left, [in] LONG Top, [in] LONG Width, [in] LONG Height );
HRESULT GetDestinationPosition( [out] LONG *pLeft, [out] LONG *pTop, [out] LONG *pWidth, [out] LONG *pHeight );
HRESULT SetDefaultDestinationPosition();
HRESULT GetVideoSize( [out] long *pWidth, [out] long *pHeight );
HRESULT GetVideoPaletteEntries( [in] long StartIndex,
[in] long Entries,
[out] long *pRetrieved,
[out, size_is(Entries), length_is(*pRetrieved)] long *pPalette );
HRESULT GetCurrentImage( [in, out] long *pBufferSize,
[out, size_is(*pBufferSize), length_is(*pBufferSize)] long *pDIBImage );
HRESULT GetVideoSize( [out] LONG *pWidth, [out] LONG *pHeight );
HRESULT GetVideoPaletteEntries( [in] LONG StartIndex,
[in] LONG Entries,
[out] LONG *pRetrieved,
[out, size_is(Entries), length_is(*pRetrieved)] LONG *pPalette );
HRESULT GetCurrentImage( [in, out] LONG *pBufferSize,
[out, size_is(*pBufferSize), length_is(*pBufferSize)] LONG *pDIBImage );
HRESULT IsUsingDefaultSource();
HRESULT IsUsingDefaultDestination();
}
@ -198,11 +198,11 @@ interface IBasicVideo2 : IBasicVideo
interface IMediaEvent : IDispatch
{
HRESULT GetEventHandle( [out] OAEVENT *hEvent );
HRESULT GetEvent( [out] long *lEventCode, [out] LONG_PTR *lParam1, [out] LONG_PTR *lParam2, [in] long msTimeout );
HRESULT WaitForCompletion( [in] long msTimeout, [out] long *pEvCode );
HRESULT CancelDefaultHandling( [in] long lEvCode );
HRESULT RestoreDefaultHandling( [in] long lEvCode );
HRESULT FreeEventParams( [in] long lEvCode, [in] LONG_PTR lParam1, [in] LONG_PTR lParam2 );
HRESULT GetEvent( [out] LONG *lEventCode, [out] LONG_PTR *lParam1, [out] LONG_PTR *lParam2, [in] LONG msTimeout );
HRESULT WaitForCompletion( [in] LONG msTimeout, [out] LONG *pEvCode );
HRESULT CancelDefaultHandling( [in] LONG lEvCode );
HRESULT RestoreDefaultHandling( [in] LONG lEvCode );
HRESULT FreeEventParams( [in] LONG lEvCode, [in] LONG_PTR lParam1, [in] LONG_PTR lParam2 );
}
@ -216,9 +216,9 @@ interface IMediaEvent : IDispatch
]
interface IMediaEventEx : IMediaEvent
{
HRESULT SetNotifyWindow( [in] OAHWND hwnd, [in] long lMsg, [in] LONG_PTR lInstanceData );
HRESULT SetNotifyFlags( [in] long lNoNotifyFlags );
HRESULT GetNotifyFlags( [out] long *lplNoNotifyFlags );
HRESULT SetNotifyWindow( [in] OAHWND hwnd, [in] LONG lMsg, [in] LONG_PTR lInstanceData );
HRESULT SetNotifyFlags( [in] LONG lNoNotifyFlags );
HRESULT GetNotifyFlags( [out] LONG *lplNoNotifyFlags );
}

51
include/psdk/crtrow.idl Normal file
View file

@ -0,0 +1,51 @@
/*
* Copyright (C) 2009 Huw Davies
*
* 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
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
[
object,
uuid(0c733ab2-2a1c-11ce-ade5-00aa0044773d),
pointer_default(unique)
]
interface ICreateRow : IUnknown
{
[local]
HRESULT CreateRow([in, unique] IUnknown *pUnkOuter,
[in] LPCOLESTR pwszURL,
[in] DBBINDURLFLAG dwBindURLFlags,
[in] REFGUID rguid,
[in] REFIID riid,
[in, unique] IAuthenticate *pAuthenticate,
[in, out, unique] DBIMPLICITSESSION *pImplSession,
[in, out, unique] DBBINDURLSTATUS *pdwBindStatus,
[out, annotation("__deref_opt_out_opt")] LPOLESTR *ppwszNewURL,
[out, iid_is(riid)] IUnknown **ppUnk);
[call_as(CreateRow)]
HRESULT RemoteCreateRow([in] IUnknown *pUnkOuter,
[in] LPCOLESTR pwszURL,
[in] DBBINDURLFLAG dwBindURLFlags,
[in] REFGUID rguid,
[in] REFIID riid,
[in] IAuthenticate *pAuthenticate,
[in] IUnknown *pSessionUnkOuter,
[in, unique] IID *piid,
[in, out, unique, iid_is(piid)] IUnknown **ppSession,
[in, out, unique] DBBINDURLSTATUS *pdwBindStatus,
[in, out, unique] LPOLESTR *ppwszNewURL,
[out, iid_is(riid)] IUnknown **ppUnk);
}

73
include/psdk/ctfutb.idl Normal file
View file

@ -0,0 +1,73 @@
/*
* Copyright 2010 Justin Chevrier
*
* 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
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#ifndef DO_NO_IMPORTS
import "oaidl.idl";
#endif
interface ITfLangBarEventSink;
interface ITfLangBarItemMgr;
interface ITfInputProcessorProfiles;
[
object,
uuid(87955690-e627-11d2-8ddb-00105a2799b5),
pointer_default(unique)
]
interface ITfLangBarMgr: IUnknown
{
HRESULT AdviseEventSink(
[in] ITfLangBarEventSink *pSink,
[in] HWND hwnd,
[in] DWORD dwflags,
[in] DWORD *pdwCookie);
HRESULT UnAdviseEventSink(
[in] DWORD dwCookie);
HRESULT GetThreadMarshalInterface(
[in] DWORD dwThreadId,
[in] DWORD dwType,
[in] REFIID riid,
[out] IUnknown **ppunk);
HRESULT GetThreadLangBarItemMgr(
[in] DWORD dwThreadId,
[out] ITfLangBarItemMgr **pplbie,
[out] DWORD *pdwThreadid);
HRESULT GetInputProcessorProfiles(
[in] DWORD dwThreadId,
[out] ITfInputProcessorProfiles **ppaip,
[out] DWORD *pdwThreadid);
HRESULT RestoreLastFocus(
[out] DWORD *dwThreadId,
[in] BOOL fPrev);
HRESULT SetModalInput(
[in] ITfLangBarEventSink *pSink,
[in] DWORD dwThreadId,
[in] DWORD dwFlags);
HRESULT ShowFloating(
[in] DWORD dwFlags);
HRESULT GetShowFloatingStatus(
[out] DWORD *pdwFlags);
};

36
include/psdk/dbccmd.idl Normal file
View file

@ -0,0 +1,36 @@
/*
* Copyright (C) 2009 Huw Davies
*
* 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
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
[
object,
uuid(0c733a1d-2a1c-11ce-ade5-00aa0044773d),
pointer_default(unique)
]
interface IDBCreateCommand : IUnknown
{
[local]
HRESULT CreateCommand([in] IUnknown *pUnkOuter,
[in] REFIID riid,
[out, iid_is(riid)] IUnknown **ppCommand);
[call_as(CreateCommand)]
HRESULT RemoteCreateCommand([in] IUnknown *pUnkOuter,
[in] REFIID riid,
[out, iid_is(riid)] IUnknown **ppCommand,
[out] IErrorInfo **ppErrorInfoRem);
}

36
include/psdk/dbcses.idl Normal file
View file

@ -0,0 +1,36 @@
/*
* Copyright (C) 2009 Huw Davies
*
* 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
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
[
object,
uuid(0c733a5d-2a1c-11ce-ade5-00aa0044773d),
pointer_default(unique)
]
interface IDBCreateSession : IUnknown
{
[local]
HRESULT CreateSession([in] IUnknown *pUnkOuter,
[in] REFIID riid,
[out, iid_is(riid)] IUnknown **ppDBSession);
[call_as(CreateSession)]
HRESULT RemoteCreateSession([in] IUnknown *pUnkOuter,
[in] REFIID riid,
[out, iid_is(riid)] IUnknown **ppDBSession,
[out] IErrorInfo **ppErrorInfoRem);
}

75
include/psdk/dbdsad.idl Normal file
View file

@ -0,0 +1,75 @@
/*
* Copyright (C) 2009 Huw Davies
*
* 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
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
[
object,
uuid(0c733a7a-2a1c-11ce-ade5-00aa0044773d),
pointer_default(unique)
]
interface IDBDataSourceAdmin : IUnknown
{
[local]
HRESULT CreateDataSource([in] ULONG cPropertySets,
[in, out, size_is(cPropertySets)] DBPROPSET rgPropertySets[],
[in] IUnknown *pUnkOuter,
[in] REFIID riid,
[out, iid_is(riid)] IUnknown **ppDBSession);
[call_as(CreateDataSource)]
HRESULT RemoteCreateDataSource([in] ULONG cPropertySets,
[in, unique, size_is(cPropertySets)] DBPROPSET *rgPropertySets,
[in] IUnknown *pUnkOuter,
[in] REFIID riid,
[in, out, unique, iid_is(riid)] IUnknown **ppDBSession,
[in] ULONG cTotalProps,
[out, size_is(cTotalProps)] DBPROPSTATUS *rgPropStatus,
[out] IErrorInfo **ppErrorInfoRem);
[local]
HRESULT DestroyDataSource();
[call_as(DestroyDataSource)]
HRESULT RemoteDestroyDataSource([out] IErrorInfo **ppErrorInfoRem);
[local]
HRESULT GetCreationProperties([in] ULONG cPropertyIDSets,
[in, size_is(cPropertyIDSets)] const DBPROPIDSET rgPropertyIDSets[],
[in, out] ULONG *pcPropertyInfoSets,
[out, size_is(,*pcPropertyInfoSets)] DBPROPINFOSET **prgPropertyInfoSets,
[out, annotation("__deref_out_z_opt")] OLECHAR **ppDescBuffer);
[call_as(GetCreationProperties)]
HRESULT RemoteGetCreationProperties([in] ULONG cPropertyIDSets,
[in, unique, size_is(cPropertyIDSets)] const DBPROPIDSET *rgPropertyIDSets,
[in, out] ULONG *pcPropertyInfoSets,
[out, size_is(,*pcPropertyInfoSets)] DBPROPINFOSET **prgPropertyInfoSets,
[in, out] DBCOUNTITEM *pcOffsets,
[out, size_is(,(ULONG)*pcOffsets)] DBBYTEOFFSET **prgDescOffsets,
[in, out] ULONG *pcbDescBuffer,
[in, out, unique, size_is(,*pcbDescBuffer)] OLECHAR **ppDescBuffer,
[out] IErrorInfo **ppErrorInfoRem);
[local]
HRESULT ModifyDataSource([in] ULONG cPropertySets,
[in, size_is(cPropertySets)] DBPROPSET rgPropertySets[]);
[call_as(ModifyDataSource)]
HRESULT RemoteModifyDataSource([in] ULONG cPropertySets,
[in, size_is(cPropertySets)] DBPROPSET *rgPropertySets,
[out] IErrorInfo **ppErrorInfoRem);
}

View file

@ -30,7 +30,7 @@ interface IDBProperties : IUnknown {
[call_as(GetProperties)] HRESULT RemoteGetProperties(
[in] ULONG cPropertyIDSets,
[in, size_is(cPropertyIDSets)] const DBPROPIDSET rgPropertyIDSets[],
[in, unique, size_is(cPropertyIDSets)] const DBPROPIDSET *rgPropertyIDSets,
[in, out] ULONG *pcPropertySets,
[out, size_is(,*pcPropertySets)] DBPROPSET **prgPropertySets,
[out] IErrorInfo **ppErrorInfoRem);
@ -39,17 +39,18 @@ interface IDBProperties : IUnknown {
[in] ULONG cPropertyIDSets,
[in, size_is(cPropertyIDSets)] const DBPROPIDSET rgPropertyIDSets[],
[in, out] ULONG *pcPropertyInfoSets,
[out, size_is(,*pcPropertyInfoSets)] DBPROPINFOSET **prgPropertyInfoSets);
[out, size_is(,*pcPropertyInfoSets)] DBPROPINFOSET **prgPropertyInfoSets,
[out, annotation("__deref_out_z_opt")] OLECHAR **ppDescBuffer);
[call_as(GetPropertyInfo)] HRESULT RemoteGetPropertyInfo(
[in] ULONG cPropertyIDSets,
[in,size_is(cPropertyIDSets)] const DBPROPIDSET *rgPropertyIDSets,
[in, unique, size_is(cPropertyIDSets)] const DBPROPIDSET *rgPropertyIDSets,
[in, out] ULONG *pcPropertyInfoSets,
[out, size_is(,*pcPropertyInfoSets)] DBPROPINFOSET **prgPropertyInfoSets,
[in, out] ULONG *pcOffsets,
[out, size_is(,*pcOffsets)] DBBYTEOFFSET **prgDescOffsets,
[in, out] ULONG *pcbDescBuffer,
[out, size_is(,*pcbDescBuffer)] OLECHAR **ppDescBuffer,
[in, out, unique, size_is(,*pcbDescBuffer)] OLECHAR **ppDescBuffer,
[out] IErrorInfo **ppErrorInfoRem);
[local] HRESULT SetProperties(
@ -58,7 +59,7 @@ interface IDBProperties : IUnknown {
[call_as(SetProperties)] HRESULT RemoteSetProperties(
[in] ULONG cPropertySets,
[in, out, size_is(cPropertySets)] DBPROPSET *rgPropertySets,
[in, unique, size_is(cPropertySets)] DBPROPSET *rgPropertySets,
[in] ULONG cTotalProps,
[out, size_is(cTotalProps)] DBPROPSTATUS *rgPropStatus,
[out] IErrorInfo **ppErrorInfoRem);

View file

@ -99,3 +99,247 @@ typedef struct tagDBPROPINFOSET {
ULONG cPropertyInfos;
GUID guidPropertySet;
} DBPROPINFOSET;
typedef DWORD DBBINDURLFLAG;
typedef DWORD DBBINDURLSTATUS;
typedef struct tagDBIMPLICITSESSION
{
IUnknown *pUnkOuter;
IID *piid;
IUnknown *pSession;
} DBIMPLICITSESSION;
typedef WORD DBTYPE;
enum DBTYPEENUM
{
DBTYPE_EMPTY = 0,
DBTYPE_NULL = 1,
DBTYPE_I2 = 2,
DBTYPE_I4 = 3,
DBTYPE_R4 = 4,
DBTYPE_R8 = 5,
DBTYPE_CY = 6,
DBTYPE_DATE = 7,
DBTYPE_BSTR = 8,
DBTYPE_IDISPATCH = 9,
DBTYPE_ERROR = 10,
DBTYPE_BOOL = 11,
DBTYPE_VARIANT = 12,
DBTYPE_IUNKNOWN = 13,
DBTYPE_DECIMAL = 14,
DBTYPE_I1 = 16,
DBTYPE_UI1 = 17,
DBTYPE_UI2 = 18,
DBTYPE_UI4 = 19,
DBTYPE_I8 = 20,
DBTYPE_UI8 = 21,
DBTYPE_GUID = 72,
DBTYPE_BYTES = 128,
DBTYPE_STR = 129,
DBTYPE_WSTR = 130,
DBTYPE_NUMERIC = 131,
DBTYPE_UDT = 132,
DBTYPE_DBDATE = 133,
DBTYPE_DBTIME = 134,
DBTYPE_DBTIMESTAMP = 135,
DBTYPE_VECTOR = 0x1000,
DBTYPE_ARRAY = 0x2000,
DBTYPE_BYREF = 0x4000,
DBTYPE_RESERVED = 0x8000
};
enum DBTYPEENUM15
{
DBTYPE_HCHAPTER = 136
};
enum DBTYPEENUM20
{
DBTYPE_FILETIME = 64,
DBTYPE_PROPVARIANT = 138,
DBTYPE_VARNUMERIC = 139
};
typedef DWORD DBSTATUS;
enum DBSTATUSENUM
{
DBSTATUS_S_OK = 0,
DBSTATUS_E_BADACCESSOR = 1,
DBSTATUS_E_CANTCONVERTVALUE = 2,
DBSTATUS_S_ISNULL = 3,
DBSTATUS_S_TRUNCATED = 4,
DBSTATUS_E_SIGNMISMATCH = 5,
DBSTATUS_E_DATAOVERFLOW = 6,
DBSTATUS_E_CANTCREATE = 7,
DBSTATUS_E_UNAVAILABLE = 8,
DBSTATUS_E_PERMISSIONDENIED = 9,
DBSTATUS_E_INTEGRITYVIOLATION = 10,
DBSTATUS_E_SCHEMAVIOLATION = 11,
DBSTATUS_E_BADSTATUS = 12,
DBSTATUS_S_DEFAULT = 13
};
cpp_quote("#ifdef DBINITCONSTANTS")
cpp_quote("#ifdef __cplusplus")
cpp_quote("#define DEFINE_DBGUID(name, l, w1, w2, b1, b2, b3, b4, b5, b6, b7, b8) \\")
cpp_quote(" EXTERN_C const GUID name DECLSPEC_HIDDEN; \\")
cpp_quote(" EXTERN_C const GUID name = \\")
cpp_quote(" { l, w1, w2, { b1, b2, b3, b4, b5, b6, b7, b8 } }")
cpp_quote("#else")
cpp_quote("#define DEFINE_DBGUID(name, l, w1, w2, b1, b2, b3, b4, b5, b6, b7, b8) \\")
cpp_quote(" const GUID name DECLSPEC_HIDDEN; \\")
cpp_quote(" const GUID name = \\")
cpp_quote(" { l, w1, w2, { b1, b2, b3, b4, b5, b6, b7, b8 } }")
cpp_quote("#endif")
cpp_quote("#else")
cpp_quote("#define DEFINE_DBGUID(name, l, w1, w2, b1, b2, b3, b4, b5, b6, b7, b8) \\")
cpp_quote(" EXTERN_C const GUID name DECLSPEC_HIDDEN")
cpp_quote("#endif")
cpp_quote("DEFINE_DBGUID(DBGUID_SESSION, 0xc8b522f5, 0x5cf3, 0x11ce, 0xad, 0xe5, 0x00, 0xaa, 0x00, 0x44, 0x77, 0x3d);")
cpp_quote("DEFINE_DBGUID(DBGUID_ROWSET, 0xc8b522f6, 0x5cf3, 0x11ce, 0xad, 0xe5, 0x00, 0xaa, 0x00, 0x44, 0x77, 0x3d);")
cpp_quote("DEFINE_DBGUID(DBGUID_ROW, 0xc8b522f7, 0x5cf3, 0x11ce, 0xad, 0xe5, 0x00, 0xaa, 0x00, 0x44, 0x77, 0x3d);")
cpp_quote("DEFINE_DBGUID(DBGUID_STREAM, 0xc8b522f9, 0x5cf3, 0x11ce, 0xad, 0xe5, 0x00, 0xaa, 0x00, 0x44, 0x77, 0x3d);")
typedef struct tagDBCOLUMNACCESS
{
void *pData;
DBID columnid;
DBLENGTH cbDataLen;
DBSTATUS dwStatus;
DBLENGTH cbMaxLen;
DB_DWRESERVE dwReserved;
DBTYPE wType;
BYTE bPrecision;
BYTE bScale;
} DBCOLUMNACCESS;
typedef DWORD DBROWSTATUS;
enum DBROWSTATUSENUM
{
DBROWSTATUS_S_OK = 0,
/* FIXME */
DBROWSTATUS_E_FAIL = 19,
};
typedef DWORD DBPART;
enum DBPARTENUM
{
DBPART_INVALID = 0,
DBPART_VALUE = 1,
DBPART_LENGTH = 2,
DBPART_STATUS = 4,
};
typedef DWORD DBPARAMIO;
enum DBPARAMIOENUM
{
DBPARAMIO_NOTPARAM = 0,
DBPARAMIO_INPUT = 1,
DBPARAMIO_OUTPUT = 2,
};
typedef DWORD DBMEMOWNER;
enum DBMEMOWNERENUM
{
DBMEMOWNER_CLIENTOWNED = 0,
DBMEMOWNER_PROVIDEROWNED = 1,
};
typedef struct tagDBOBJECT
{
DWORD dwFlags;
IID iid;
} DBOBJECT;
typedef struct tagDBBINDEXT
{
[size_is((ULONG)ulExtension)] BYTE *pExtension;
DBCOUNTITEM ulExtension;
} DBBINDEXT;
typedef struct tagDBBINDING
{
DBORDINAL iOrdinal;
DBBYTEOFFSET obValue;
DBBYTEOFFSET obLength;
DBBYTEOFFSET obStatus;
ITypeInfo *pTypeInfo;
DBOBJECT *pObject;
DBBINDEXT *pBindExt;
DBPART dwPart;
DBMEMOWNER dwMemOwner;
DBPARAMIO eParamIO;
DBLENGTH cbMaxLen;
DWORD dwFlags;
DBTYPE wType;
BYTE bPrecision;
BYTE bScale;
} DBBINDING;
typedef ULONG_PTR HACCESSOR;
cpp_quote("#define DB_INVALID_HACCESSOR 0x00")
typedef ULONG_PTR HROW;
cpp_quote("#define DB_NULL_HROW 0x00")
typedef ULONG_PTR HWATCHREGION;
cpp_quote("#define DBWATCHREGION_NULL NULL")
typedef ULONG_PTR HCHAPTER;
cpp_quote("#define DB_NULL_HCHAPTER 0x00")
typedef struct tagDBPARAMS
{
void *pData;
DB_UPARAMS cParamSets;
HACCESSOR hAccessor;
} DBPARAMS;
typedef DWORD DBASYNCHOP;
enum DBASYNCHOPENUM
{
DBSYNCHOP_OPEN,
};
typedef DWORD DBASYNCHPHASE;
enum DBASYNCHPHASEENUM
{
DBASYNCHPHASE_INITIALIZATION,
DBASYNCHPHASE_POPULATION,
DBASYNCHPHASE_COMPLETE,
DBASYNCHPHASE_CANCELED,
};
typedef struct tagRMTPACK
{
ISequentialStream *pISeqStream;
ULONG cbData;
ULONG cBSTR;
[size_is(cBSTR)] BSTR *rgBSTR;
ULONG cVARIANT;
[size_is(cVARIANT)] VARIANT *rgVARIANT;
ULONG cIDISPATCH;
[size_is(cIDISPATCH)] IDispatch **rgIDISPATCH;
ULONG cIUNKNOWN;
[size_is(cIUNKNOWN)] IUnknown **rgIUNKNOWN;
ULONG cPROPVARIANT;
[size_is(cPROPVARIANT)] PROPVARIANT *rgPROPVARIANT;
ULONG cArray;
[size_is(cArray)] VARIANT *rgArray;
} RMTPACK;

View file

@ -24,8 +24,6 @@ cpp_quote("#include <imm.h>")
cpp_quote("#if 0")
typedef WORD LANGID;
typedef struct {
LPSTR lpReading;
LPSTR lpWord;

View file

@ -23,6 +23,9 @@ import "oaidl.idl";
import "servprov.idl";
#endif
cpp_quote("DEFINE_GUID(SID_VariantConversion, 0x1f101481,0xbccd,0x11d0,0x93,0x36,0x00,0xa0,0xc9,0xd,0xca,0xa9);")
cpp_quote("DEFINE_GUID(SID_GetCaller, 0x4717cc40,0xbcb9,0x11d0,0x93,0x36,0x00,0xa0,0xc9,0xd,0xca,0xa9);")
cpp_quote("#define fdexNameCaseSensitive 0x00000001L")
cpp_quote("#define fdexNameEnsure 0x00000002L")
cpp_quote("#define fdexNameImplicit 0x00000004L")
@ -78,13 +81,13 @@ interface IDispatchEx : IDispatch
[local]
HRESULT InvokeEx(
[in] DISPID id,
[in] LCID lcid,
[in] WORD wFlags,
[in] DISPPARAMS *pdp,
[out] VARIANT *pvarRes,
[out] EXCEPINFO *pei,
[in, unique] IServiceProvider *pspCaller);
[in, annotation("__in")] DISPID id,
[in, annotation("__in")] LCID lcid,
[in, annotation("__in")] WORD wFlags,
[in, annotation("__in")] DISPPARAMS *pdp,
[out, annotation("__out_opt")] VARIANT *pvarRes,
[out, annotation("__out_opt")] EXCEPINFO *pei,
[in, unique, annotation("__in_opt")] IServiceProvider *pspCaller);
[call_as(InvokeEx)]
HRESULT RemoteInvokeEx(
@ -188,3 +191,15 @@ interface ICanHandleException : IUnknown
[in] EXCEPINFO *pExcepInfo,
[in] VARIANT *pvar);
}
[
object,
uuid(10e2414a-ec59-49d2-bc51-5add2c36febc),
pointer_default(unique)
]
interface IProvideRuntimeContext : IUnknown
{
HRESULT GetCurrentSourceContext(
[out] DWORD_PTR *pdwContext,
[out] VARIANT_BOOL *pfExecutingGlobalCode);
}

View file

@ -45,7 +45,7 @@ enum ColorAdjustType
struct ColorMap
{
Color oldColor;
Color newCOlor;
Color newColor;
};
#ifndef __cplusplus

View file

@ -151,7 +151,7 @@ interface IHlink: IUnknown
}
/*****************************************************************************
* IHlink interface
* IHlinkSite interface
*/
[
object,

View file

@ -22,6 +22,7 @@ DWORD WINAPI GetAdapterIndex(LPWSTR,PULONG);
DWORD WINAPI GetAdaptersInfo(PIP_ADAPTER_INFO,PULONG);
DWORD WINAPI GetBestInterface(IPAddr,PDWORD);
DWORD WINAPI GetBestRoute(DWORD,DWORD,PMIB_IPFORWARDROW);
DWORD WINAPI GetExtendedTcpTable(PVOID,PDWORD,BOOL,ULONG,TCP_TABLE_CLASS,ULONG);
DWORD WINAPI GetFriendlyIfIndex(DWORD);
DWORD WINAPI GetIcmpStatistics(PMIB_ICMP);
DWORD WINAPI GetIfEntry(PMIB_IFROW);
@ -34,6 +35,7 @@ DWORD WINAPI GetIpStatistics(PMIB_IPSTATS);
DWORD WINAPI GetIpStatisticsEx(PMIB_IPSTATS,DWORD);
DWORD WINAPI GetNetworkParams(PFIXED_INFO,PULONG);
DWORD WINAPI GetNumberOfInterfaces(PDWORD);
DWORD WINAPI GetOwnerModuleFromTcpEntry(PMIB_TCPROW_OWNER_MODULE,TCPIP_OWNER_MODULE_INFO_CLASS,PVOID,PDWORD);
DWORD WINAPI GetPerAdapterInfo(ULONG,PIP_PER_ADAPTER_INFO, PULONG);
BOOL WINAPI GetRTTAndHopCount(IPAddr,PULONG,ULONG,PULONG);
DWORD WINAPI GetTcpStatistics(PMIB_TCPSTATS);

View file

@ -25,6 +25,9 @@
#define MAXLEN_IFDESCR 256
#define MAXLEN_PHYSADDR 8
//It should be 16 according to Lei Shen blog (http://www.mychinaworks.com/blog/lshen/2008/04/16/220/
#define TCPIP_OWNING_MODULE_SIZE 16
typedef struct _MIB_IFROW
{
WCHAR wszName[MAX_INTERFACE_NAME_LEN];
@ -286,4 +289,31 @@ typedef struct _MIB_IPNETTABLE
MIB_IPNETROW table[1];
} MIB_IPNETTABLE, *PMIB_IPNETTABLE;
typedef struct _MIB_TCPROW_OWNER_MODULE {
DWORD dwState;
DWORD dwLocalAddr;
DWORD dwLocalPort;
DWORD dwRemoteAddr;
DWORD dwRemotePort;
DWORD dwOwningPid;
LARGE_INTEGER liCreateTimestamp;
ULONGLONG OwningModuleInfo[TCPIP_OWNING_MODULE_SIZE];
} MIB_TCPROW_OWNER_MODULE, *PMIB_TCPROW_OWNER_MODULE;
typedef enum {
TCPIP_OWNER_MODULE_INFO_BASIC
} TCPIP_OWNER_MODULE_INFO_CLASS, *PTCPIP_OWNER_MODULE_INFO_CLASS;
typedef enum {
TCP_TABLE_BASIC_LISTENER,
TCP_TABLE_BASIC_CONNECTIONS,
TCP_TABLE_BASIC_ALL,
TCP_TABLE_OWNER_PID_LISTENER,
TCP_TABLE_OWNER_PID_CONNECTIONS,
TCP_TABLE_OWNER_PID_ALL,
TCP_TABLE_OWNER_MODULE_LISTENER,
TCP_TABLE_OWNER_MODULE_CONNECTIONS,
TCP_TABLE_OWNER_MODULE_ALL
} TCP_TABLE_CLASS, *PTCP_TABLE_CLASS;
#endif /* WINE_IPRTRMIB_H__ */

View file

@ -27,7 +27,7 @@ extern "C" {
#ifndef __LHANDLE
#define __LHANDLE
typedef ULONG LHANDLE, *LPLHANDLE;
typedef ULONG_PTR LHANDLE, *LPLHANDLE;
#endif
#define lhSessionNull ((LHANDLE)0)

View file

@ -25,11 +25,6 @@ interface IStream;
cpp_quote("#define CPIOD_PEEK 0x40000000")
cpp_quote("#define CPIOD_FORCE_PROMPT 0x80000000")
/* FIXME: LANGID is defined in winnt.h and mlang.h in the platform SDK */
cpp_quote("#ifndef _WINNT_H")
typedef WORD LANGID;
cpp_quote("#endif")
[
object,
uuid(359f3443-bd4a-11d0-b188-00aa0038c969),
@ -42,10 +37,10 @@ interface IMLangCodePages : IUnknown
[out] DWORD *pdwCodePages);
HRESULT GetStrCodePages(
[in, size_is(cchSrc)] const WCHAR *pszSrc,
[in] long cchSrc,
[in] LONG cchSrc,
[in] DWORD dwPriorityCodePages,
[out] DWORD *pdwCodePages,
[out] long *pcchCodePages);
[out] LONG *pcchCodePages);
HRESULT CodePageToCodePages(
[in] UINT uCodePage,
[out] DWORD *pdwCodePages);
@ -233,11 +228,11 @@ interface IMLangString : IUnknown
{
#ifdef NEWMLSTR
HRESULT LockMLStr(
[in] long lPos,
[in] LONG lPos,
[in] DWORD dwFlags,
[out] DWORD* pdwCookie,
[out] long* plActualPos,
[out] long* plActualLen);
[out] LONG* plActualPos,
[out] LONG* plActualLen);
HRESULT UnlockMLStr(
[in] DWORD dwCookie);
@ -246,13 +241,13 @@ interface IMLangString : IUnknown
[in] BOOL fNoAccess);
#endif
HRESULT GetLength(
[out, retval] long* plLen);
[out, retval] LONG* plLen);
HRESULT SetMLStr(
[in] long lDestPos,
[in] long lDestLen,
[in] LONG lDestPos,
[in] LONG lDestLen,
[in] IUnknown *pSrcMLStr,
[in] long lSrcPos,
[in] long lSrcLen);
[in] LONG lSrcPos,
[in] LONG lSrcLen);
#ifdef NEWMLSTR
HRESULT RegisterAttr(
[in] IUnknown *pUnk,
@ -267,14 +262,14 @@ interface IMLangString : IUnknown
[out] IUnknown **ppUnk);
#else
HRESULT GetMLStr(
[in] long lSrcPos,
[in] long lSrcLen,
[in] LONG lSrcPos,
[in] LONG lSrcLen,
[in] IUnknown *pUnkOuter,
[in] DWORD dwClsContext,
[in] const IID* piid,
[out] IUnknown** ppDestMLStr,
[out] long* plDestPos,
[out] long* plDestLen);
[out] LONG* plDestPos,
[out] LONG* plDestLen);
#endif
}
@ -287,29 +282,29 @@ interface IMLangLineBreakConsole : IUnknown
{
HRESULT BreakLineML(
[in] IMLangString* pSrcMLStr,
[in] long lSrcPos,
[in] long lSrcLen,
[in] long cMinColumns,
[in] long cMaxColumns,
[out] long* plLineLen,
[out] long* plSkipLen);
[in] LONG lSrcPos,
[in] LONG lSrcLen,
[in] LONG cMinColumns,
[in] LONG cMaxColumns,
[out] LONG* plLineLen,
[out] LONG* plSkipLen);
HRESULT BreakLineW(
[in] LCID locale,
[in, size_is(cchSrc)] const WCHAR* pszSrc,
[in] long cchSrc,
[in] long cMaxColumns,
[out] long* pcchLine,
[out] long* pcchSkip );
[in] LONG cchSrc,
[in] LONG cMaxColumns,
[out] LONG* pcchLine,
[out] LONG* pcchSkip );
HRESULT BreakLineA(
[in] LCID locale,
[in] UINT uCodePage,
[in, size_is(cchSrc)] const CHAR* pszSrc,
[in] long cchSrc,
[in] long cMaxColumns,
[out] long* pcchLine,
[out] long* pcchSkip);
[in] LONG cchSrc,
[in] LONG cMaxColumns,
[out] LONG* pcchLine,
[out] LONG* pcchSkip);
}
[

View file

@ -27,7 +27,11 @@ cpp_quote("HRESULT WINAPI GetCORSystemDirectory(LPWSTR,DWORD,DWORD*);")
cpp_quote("HRESULT WINAPI GetCORVersion(LPWSTR,DWORD,DWORD*);")
cpp_quote("HRESULT WINAPI GetRequestedRuntimeInfo(LPCWSTR,LPCWSTR,LPCWSTR,DWORD,DWORD,LPWSTR,DWORD,DWORD*,LPWSTR,DWORD,DWORD*);")
cpp_quote("HRESULT WINAPI LoadLibraryShim(LPCWSTR,LPCWSTR,LPVOID,HMODULE*);")
cpp_quote("#ifdef WINE_STRICT_PROTOTYPES")
cpp_quote("typedef HRESULT (__stdcall *FLockClrVersionCallback)(void);")
cpp_quote("#else")
cpp_quote("typedef HRESULT (__stdcall *FLockClrVersionCallback)();")
cpp_quote("#endif")
cpp_quote("HRESULT WINAPI LockClrVersion(FLockClrVersionCallback,FLockClrVersionCallback*,FLockClrVersionCallback*);")
typedef void* HDOMAINENUM;

View file

@ -20,15 +20,10 @@
import "oaidl.idl";
import "comcat.idl";
import "textstor.idl";
/* import "ctfutb.idl"; */
import "ctfutb.idl";
#endif
cpp_quote("#include <winuser.h>")
/* FIXME: LANGID is defined in winnt.h and mlang.h in the platform SDK */
cpp_quote("#ifndef _WINNT_H")
typedef WORD LANGID;
cpp_quote("#endif")
cpp_quote("#define TF_E_STACKFULL MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x0501)")
cpp_quote("#define TF_E_DISCONNECTED MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x0504)")
cpp_quote("#define TF_E_ALREADY_EXISTS MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x0506)")
@ -37,6 +32,7 @@ cpp_quote("#define TF_E_NOLOCK MAKE_HRESULT(SEVERITY_ERROR, FACILITY_IT
cpp_quote("HRESULT WINAPI TF_CreateThreadMgr(ITfThreadMgr **pptim);")
cpp_quote("HRESULT WINAPI TF_GetThreadMgr(ITfThreadMgr **pptim);")
cpp_quote("HRESULT WINAPI TF_CreateInputProcessorProfiles(ITfInputProcessorProfiles **ppipr);")
cpp_quote("HRESULT WINAPI TF_CreateLangBarMgr(ITfLangBarMgr **pppbm);")
cpp_quote("EXTERN_C const GUID GUID_PROP_TEXTOWNER;")
cpp_quote("DEFINE_GUID(GUID_PROP_ATTRIBUTE,0x34b45670,0x7526,0x11d2,0xa1,0x47,0x00,0x10,0x5a,0x27,0x99,0xb5);")
@ -46,6 +42,7 @@ cpp_quote("EXTERN_C const GUID GUID_PROP_COMPOSING;")
cpp_quote("EXTERN_C const CLSID CLSID_TF_ThreadMgr;")
cpp_quote("EXTERN_C const CLSID CLSID_TF_InputProcessorProfiles;")
cpp_quote("EXTERN_C const CLSID CLSID_TF_LangBarMgr;")
cpp_quote("EXTERN_C const CLSID CLSID_TF_CategoryMgr;")
cpp_quote("DEFINE_GUID(CLSID_TF_DisplayAttributeMgr,0x3ce74de4,0x53d3,0x4d74,0x8b,0x83,0x43,0x1b,0x38,0x28,0xba,0x53);")
@ -1349,3 +1346,16 @@ interface ITfSourceSingle : IUnknown
[in] TfClientId tid,
[in] REFIID riid);
};
[
object,
local,
uuid(c0f1db0c-3a20-405c-a303-96b6010a885f),
pointer_default(unique)
]
interface ITfThreadFocusSink : IUnknown
{
HRESULT OnSetThreadFocus();
HRESULT OnKillThreadFocus();
};

View file

@ -126,6 +126,11 @@
#define DISPID_IE8_ELEMENTMAX (DISPID_SITE-1)
#define DISPID_IE8_ELEMENT DISPID_IE8_ELEMENTBASE
#define DISPID_IE8_FRAMESITEBASE (DISPID_FRAMESITE+1120)
#define DISPID_IE8_FRAMEMAX (WEBOC_DISPIDBASE-1)
#define DISPID_IE8_FRAME DISPID_IE8_FRAMESITEBASE
#define DISPID_IE8_IFRAME DISPID_IE8_FRAMESITEBASE
#define DISPID_COLLECTION (DISPID_NORMAL_FIRST+500)
#define DISPID_OPTIONS_COL (DISPID_NORMAL_FIRST+500)
#define DISPID_IMG (DISPID_IMGBASE+1000)
@ -2487,6 +2492,9 @@
/* IHTMLScriptElement2 */
#define DISPID_IHTMLSCRIPTELEMENT2_CHARSET DISPID_SCRIPT+10
/* IHTMLScriptElement3 */
#define DISPID_IHTMLSCRIPTELEMENT3_IE8_SRC DISPID_IE8_SCRIPT
/* IHTMLFrameBase */
#define DISPID_IHTMLFRAMEBASE_SRC DISPID_FRAMESITE+0
#define DISPID_IHTMLFRAMEBASE_NAME STDPROPID_XOBJ_NAME
@ -2508,6 +2516,19 @@
/* IHTMLFrameBase3 */
#define DISPID_IHTMLFRAMEBASE3_LONGDESC DISPID_FRAMESITE+10
/* IHTMLFrameElement */
#define DISPID_IHTMLFRAMEELEMENT_BORDERCOLOR DISPID_FRAME+1
/* IHTMLFrameElement2 */
#define DISPID_IHTMLFRAMEELEMENT2_HEIGHT STDPROPID_XOBJ_HEIGHT
#define DISPID_IHTMLFRAMEELEMENT2_WIDTH STDPROPID_XOBJ_WIDTH
/* IHTMLFrameElement3 */
#define DISPID_IHTMLFRAMEELEMENT3_CONTENTDOCUMENT DISPID_IE8_FRAME
#define DISPID_IHTMLFRAMEELEMENT3_IE8_SRC DISPID_IE8_FRAME+1
#define DISPID_IHTMLFRAMEELEMENT3_IE8_LONGDESC DISPID_IE8_FRAME+2
#define DISPID_IHTMLFRAMEELEMENT3_IE8_FRAMEBORDER DISPID_IE8_FRAME+3
/* IHTMLIFrameElement */
#define DISPID_IHTMLIFRAMEELEMENT_VSPACE DISPID_IFRAME+1
#define DISPID_IHTMLIFRAMEELEMENT_HSPACE DISPID_IFRAME+2

View file

@ -1,5 +1,5 @@
/*
* Copyright 2004-2007 Jacek Caban for CodeWeavers
* Copyright 2004-2010 Jacek Caban for CodeWeavers
* Copyright 2008 Konstantin Kondratyuk (Etersoft)
*
* This library is free software; you can redistribute it and/or
@ -2876,7 +2876,7 @@ interface IHTMLCurrentStyle4 : IDispatch
[propget, id(DISPID_IHTMLCURRENTSTYLE4_MAXWIDTH), displaybind, bindable]
HRESULT maxWidth([retval, out] VARIANT * p);
};
}
/*****************************************************************************
* DispHTMLCurrentStyle dispinterface
@ -5903,7 +5903,7 @@ coclass HTMLStyleSheetPage
[default] dispinterface DispHTMLStyleSheetPage;
interface IHTMLStyleSheetPage;
interface IHTMLDOMConstructor;
};
}
[
odl,
@ -6702,7 +6702,7 @@ methods:
[id(DISPID_HTMLFORMELEMENTEVENTS_ONRESET)]
VARIANT_BOOL onreset();
};
}
interface IHTMLEventObj;
@ -6905,7 +6905,7 @@ methods:
[id(DISPID_HTMLFORMELEMENTEVENTS2_ONRESET)]
VARIANT_BOOL onreset([in] IHTMLEventObj* pEvtObj);
};
}
[
noncreatable,
@ -7365,7 +7365,7 @@ interface IHTMLControlElement : IDispatch
[propget, id(DISPID_IHTMLCONTROLELEMENT_CLIENTLEFT), displaybind, bindable]
HRESULT clientLeft([retval, out] LONG * p);
};
}
/*****************************************************************************
* IHTMLBodyElement interface
@ -7634,7 +7634,7 @@ methods:
[propget, id(DISPID_IHTMLBODYELEMENT2_ONAFTERPRINT), displaybind, bindable]
VARIANT onafterprint();
};
}
[
uuid(3050f24a-98b5-11cf-bb82-00aa00bdce0b)
@ -7655,7 +7655,7 @@ coclass HTMLBody
interface IHTMLTextContainer;
interface IHTMLBodyElement;
interface IHTMLBodyElement2;
};
}
/*****************************************************************************
* IHTMLAnchorElement interface
@ -8970,6 +8970,92 @@ interface IHTMLTextAreaElement : IDispatch
HRESULT createTextRange([retval, out] IHTMLTxtRange **range);
}
/*****************************************************************************
* DispHTMLTextAreaElement dispinterface
*/
[
hidden,
uuid(3050f521-98b5-11cf-bb82-00aa00bdce0b)
]
dispinterface DispHTMLTextAreaElement
{
properties:
methods:
WINE_HTMLDATAELEMENT_DISPINTERFACE_DECL;
[propget, id(DISPID_IHTMLTEXTAREAELEMENT_TYPE)]
BSTR type();
[propput, id(DISPID_IHTMLTEXTAREAELEMENT_VALUE), displaybind, bindable]
void value(BSTR v);
[propget, id(DISPID_IHTMLTEXTAREAELEMENT_VALUE), displaybind, bindable]
BSTR value();
[propput, id(DISPID_IHTMLTEXTAREAELEMENT_NAME), displaybind, bindable]
void name(BSTR v);
[propget, id(DISPID_IHTMLTEXTAREAELEMENT_NAME), displaybind, bindable]
BSTR name();
[propput, id(DISPID_IHTMLTEXTAREAELEMENT_STATUS)]
void status(VARIANT v);
[propget, id(DISPID_IHTMLTEXTAREAELEMENT_STATUS)]
VARIANT status();
[propget, id(DISPID_IHTMLTEXTAREAELEMENT_FORM)]
IHTMLFormElement *form();
[propput, id(DISPID_IHTMLTEXTAREAELEMENT_DEFAULTVALUE), displaybind, bindable, hidden]
void defaultValue(BSTR v);
[propget, id(DISPID_IHTMLTEXTAREAELEMENT_DEFAULTVALUE), displaybind, bindable, hidden]
BSTR defaultValue();
[id(DISPID_IHTMLTEXTAREAELEMENT_SELECT)]
void select();
[propput, id(DISPID_IHTMLTEXTAREAELEMENT_ONCHANGE), displaybind, bindable]
void onchange(VARIANT v);
[propget, id(DISPID_IHTMLTEXTAREAELEMENT_ONCHANGE), displaybind, bindable]
VARIANT onchange();
[propput, id(DISPID_IHTMLTEXTAREAELEMENT_ONSELECT), displaybind, bindable]
void onselect(VARIANT v);
[propget, id(DISPID_IHTMLTEXTAREAELEMENT_ONSELECT), displaybind, bindable]
VARIANT onselect();
[propput, id(DISPID_IHTMLTEXTAREAELEMENT_READONLY), displaybind, bindable]
void readOnly(VARIANT_BOOL v);
[propget, id(DISPID_IHTMLTEXTAREAELEMENT_READONLY), displaybind, bindable]
VARIANT_BOOL readOnly();
[propput, id(DISPID_IHTMLTEXTAREAELEMENT_ROWS), displaybind, bindable]
void rows(LONG v);
[propget, id(DISPID_IHTMLTEXTAREAELEMENT_ROWS), displaybind, bindable]
LONG rows();
[propput, id(DISPID_IHTMLTEXTAREAELEMENT_COLS), displaybind, bindable]
void cols(LONG v);
[propget, id(DISPID_IHTMLTEXTAREAELEMENT_COLS), displaybind, bindable]
LONG cols();
[propput, id(DISPID_IHTMLTEXTAREAELEMENT_WRAP), displaybind, bindable]
void wrap(BSTR v);
[propget, id(DISPID_IHTMLTEXTAREAELEMENT_WRAP), displaybind, bindable]
BSTR wrap();
[id(DISPID_IHTMLTEXTAREAELEMENT_CREATETEXTRANGE)]
IHTMLTxtRange *createTextRange();
}
/*****************************************************************************
* DispHTMLUnknownElement interface
*/
@ -10245,7 +10331,7 @@ interface IHTMLWindow4 : IDispatch
[propget, id(DISPID_IHTMLWINDOW4_FRAMEELEMENT)]
HRESULT frameElement([retval, out] IHTMLFrameBase* * p);
};
}
/*****************************************************************************
* IHTMLWindow5 interface
@ -10263,7 +10349,7 @@ interface IHTMLWindow5 : IDispatch
[propget, id(DISPID_IHTMLWINDOW5_XMLHTTPREQUEST)]
HRESULT XMLHttpRequest([retval, out] VARIANT * p);
};
}
/*****************************************************************************
* DispHTMLScreen dispinterface
@ -10902,7 +10988,7 @@ methods:
[propget, id(DISPID_IHTMLWINDOW5_XMLHTTPREQUEST)]
VARIANT XMLHttpRequest();
};
}
/*****************************************************************************
* HTMLWindowEvents interface
@ -10949,7 +11035,7 @@ methods:
[id(DISPID_HTMLWINDOWEVENTS_ONAFTERPRINT)]
void onafterprint();
};
}
/*****************************************************************************
* HTMLWindowEvents2 interface
@ -10996,7 +11082,7 @@ methods:
[id(DISPID_HTMLWINDOWEVENTS2_ONAFTERPRINT)]
void onafterprint([in] IHTMLEventObj* pEvtObj);
};
}
/*****************************************************************************
* HTMLWindowProxy class
@ -11013,7 +11099,7 @@ coclass HTMLWindowProxy
interface IHTMLWindow3;
interface IHTMLWindow4;
interface IHTMLWindow5;
};
}
/*****************************************************************************
* HTMLDocumentEvents2 interface
@ -11473,7 +11559,7 @@ methods:
[id(DISPID_HTMLTEXTCONTAINEREVENTS_ONSELECT)]
void onselect();
};
}
/*****************************************************************************
* HTMLTextContainerEvents2 interface
@ -11677,7 +11763,7 @@ methods:
[id(DISPID_HTMLTEXTCONTAINEREVENTS2_ONSELECT)]
void onselect([in] IHTMLEventObj* pEvtObj);
};
}
/*****************************************************************************
* IHTMLDocument interface
@ -13329,7 +13415,8 @@ methods:
[id(DISPID_HTMLELEMENTEVENTS2_ONMOUSEWHEEL)]
VARIANT_BOOL onmousewheel([in] IHTMLEventObj* pEvtObj);
};
}
[
hidden,
uuid(3050f33c-98b5-11cf-bb82-00aa00bdce0b)
@ -13526,8 +13613,7 @@ methods:
[id(DISPID_HTMLELEMENTEVENTS_ONFOCUSOUT)]
void onfocusout();
};
}
[
noncreatable,
@ -13943,7 +14029,7 @@ methods:
[id(DISPID_HTMLELEMENTEVENTS2_ONMOUSEWHEEL)]
VARIANT_BOOL onmousewheel([in] IHTMLEventObj* pEvtObj);
};
}
/*****************************************************************************
* IHTMLTableCaption interface
@ -14153,7 +14239,7 @@ interface IHTMLTable2 : IDispatch
HRESULT moveRow([defaultvalue(-1), in] LONG indexFrom,
[defaultvalue(-1), in] LONG indexTo,
[retval, out] IDispatch** row);
};
}
[
odl,
@ -14168,7 +14254,7 @@ interface IHTMLTable3 : IDispatch
[propget, id(DISPID_IHTMLTABLE3_SUMMARY), displaybind, bindable]
HRESULT summary([retval, out] BSTR * p);
};
}
[
noncreatable,
@ -14191,7 +14277,7 @@ coclass HTMLTable
interface IHTMLTable;
interface IHTMLTable2;
interface IHTMLTable3;
};
}
[
odl,
@ -14626,6 +14712,74 @@ interface IHTMLScriptElement2 : IDispatch
HRESULT charset([retval, out] BSTR *p);
}
/*****************************************************************************
* DispHTMLScriptElement dispinterface
*/
[
hidden,
uuid(3050f530-98b5-11cf-bb82-00aa00bdce0b)
]
dispinterface DispHTMLScriptElement
{
properties:
methods:
WINE_HTMLELEMENT_DISPINTERFACE_DECL;
[propput, id(DISPID_IHTMLSCRIPTELEMENT_SRC), displaybind, bindable]
void src(BSTR v);
[propget, id(DISPID_IHTMLSCRIPTELEMENT_SRC), displaybind, bindable]
BSTR src();
[propput, id(DISPID_IHTMLSCRIPTELEMENT_HTMLFOR), displaybind, bindable]
void htmlFor(BSTR v);
[propget, id(DISPID_IHTMLSCRIPTELEMENT_HTMLFOR), displaybind, bindable]
BSTR htmlFor();
[propput, id(DISPID_IHTMLSCRIPTELEMENT_EVENT), displaybind, bindable]
void event(BSTR v);
[propget, id(DISPID_IHTMLSCRIPTELEMENT_EVENT), displaybind, bindable]
BSTR event();
[propput, id(DISPID_IHTMLSCRIPTELEMENT_TEXT), displaybind, bindable]
void text(BSTR v);
[propget, id(DISPID_IHTMLSCRIPTELEMENT_TEXT), displaybind, bindable]
BSTR text();
[propput, id(DISPID_IHTMLSCRIPTELEMENT_DEFER), displaybind, bindable]
void defer(VARIANT_BOOL v);
[propget, id(DISPID_IHTMLSCRIPTELEMENT_DEFER), displaybind, bindable]
VARIANT_BOOL defer();
[propput, id(DISPID_IHTMLSCRIPTELEMENT_ONERROR), displaybind, bindable]
void onerror(VARIANT v);
[propget, id(DISPID_IHTMLSCRIPTELEMENT_ONERROR), displaybind, bindable]
VARIANT onerror();
[propput, id(DISPID_IHTMLSCRIPTELEMENT_TYPE), displaybind, bindable]
void type(BSTR v);
[propget, id(DISPID_IHTMLSCRIPTELEMENT_TYPE), displaybind, bindable]
BSTR type();
[propput, id(DISPID_IHTMLSCRIPTELEMENT2_CHARSET), displaybind, bindable]
void charset(BSTR v);
[propget, id(DISPID_IHTMLSCRIPTELEMENT2_CHARSET), displaybind, bindable]
BSTR charset();
[propput, id(DISPID_IHTMLSCRIPTELEMENT3_IE8_SRC)]
void ie8_src(BSTR v);
[propget, id(DISPID_IHTMLSCRIPTELEMENT3_IE8_SRC)]
BSTR ie8_src();
}
/*****************************************************************************
* IHTMLFrameBase interface
*/
@ -14692,6 +14846,61 @@ interface IHTMLFrameBase : IDispatch
HRESULT scrolling([out, retval] BSTR *p);
}
#define WINE_IHTMLFRAMEBASE_DISPINTERFACE_DECL \
[propput, id(DISPID_IHTMLFRAMEBASE_SRC)] \
void src(BSTR v); \
\
[propget, id(DISPID_IHTMLFRAMEBASE_SRC)] \
BSTR src(); \
\
[propput, id(DISPID_IHTMLFRAMEBASE_NAME)] \
void name(BSTR v); \
\
[propget, id(DISPID_IHTMLFRAMEBASE_NAME)] \
BSTR name(); \
\
[propput, id(DISPID_IHTMLFRAMEBASE_BORDER)] \
void border(VARIANT v); \
\
[propget, id(DISPID_IHTMLFRAMEBASE_BORDER)] \
VARIANT border(); \
\
[propput, id(DISPID_IHTMLFRAMEBASE_FRAMEBORDER)] \
void frameBorder(BSTR v); \
\
[propget, id(DISPID_IHTMLFRAMEBASE_FRAMEBORDER)] \
BSTR frameBorder(); \
\
[propput, id(DISPID_IHTMLFRAMEBASE_FRAMESPACING)] \
void frameSpacing(VARIANT v); \
\
[propget, id(DISPID_IHTMLFRAMEBASE_FRAMESPACING)] \
VARIANT frameSpacing(); \
\
[propput, id(DISPID_IHTMLFRAMEBASE_MARGINWIDTH)] \
void marginWidth(VARIANT v); \
\
[propget, id(DISPID_IHTMLFRAMEBASE_MARGINWIDTH)] \
VARIANT marginWidth(); \
\
[propput, id(DISPID_IHTMLFRAMEBASE_MARGINHEIGHT)] \
void marginHeight(VARIANT v); \
\
[propget, id(DISPID_IHTMLFRAMEBASE_MARGINHEIGHT)] \
VARIANT marginHeight(); \
\
[propput, id(DISPID_IHTMLFRAMEBASE_NORESIZE)] \
void noResize(VARIANT_BOOL v); \
\
[propget, id(DISPID_IHTMLFRAMEBASE_NORESIZE)] \
VARIANT_BOOL noResize(); \
\
[propput, id(DISPID_IHTMLFRAMEBASE_SCROLLING)] \
void scrolling(BSTR v); \
\
[propget, id(DISPID_IHTMLFRAMEBASE_SCROLLING)] \
BSTR scrolling()
/*****************************************************************************
* IHTMLFrameBase2 interface
*/
@ -14728,6 +14937,152 @@ interface IHTMLFrameBase2 : IDispatch
HRESULT allowTransparency([retval, out] VARIANT_BOOL *p);
}
#define WINE_IHTMLFRAMEBASE2_DISPINTERFACE_DECL \
[propget, id(DISPID_IHTMLFRAMEBASE2_CONTENTWINDOW)] \
IHTMLWindow2 *contentWindow(); \
\
[propput, id(DISPID_IHTMLFRAMEBASE2_ONLOAD), displaybind, bindable] \
void onload(VARIANT v); \
\
[propget, id(DISPID_IHTMLFRAMEBASE2_ONLOAD), displaybind, bindable] \
VARIANT onload(); \
\
[propput, id(DISPID_IHTMLFRAMEBASE2_ALLOWTRANSPARENCY)] \
void allowTransparency(VARIANT_BOOL v); \
\
[propget, id(DISPID_IHTMLFRAMEBASE2_ALLOWTRANSPARENCY)] \
VARIANT_BOOL allowTransparency()
#define WINE_IHTMLFRAMEBASE3_DISPINTERFACE_DECL \
[propput, id(DISPID_IHTMLFRAMEBASE3_LONGDESC), displaybind, bindable] \
void longDesc(BSTR v); \
\
[propget, id(DISPID_IHTMLFRAMEBASE3_LONGDESC), displaybind, bindable] \
BSTR longDesc()
#define WINE_HTMLFRAMEBASE_DISPINTERFACE_DECL \
WINE_HTMLDATAELEMENT_DISPINTERFACE_DECL; \
WINE_IHTMLFRAMEBASE_DISPINTERFACE_DECL; \
WINE_IHTMLFRAMEBASE2_DISPINTERFACE_DECL; \
WINE_IHTMLFRAMEBASE3_DISPINTERFACE_DECL
/*****************************************************************************
* IHTMLFrameElement3 interface
*/
[
odl,
oleautomation,
dual,
uuid(3051042d-98b5-11cf-bb82-00aa00bdce0b)
]
interface IHTMLFrameElement3 : IDispatch
{
[propget, id(DISPID_IHTMLFRAMEELEMENT3_CONTENTDOCUMENT)]
HRESULT contentDocument([out, retval] IDispatch **p);
[propput, id(DISPID_IHTMLFRAMEELEMENT3_IE8_SRC)]
HRESULT src([in] BSTR v);
[propget, id(DISPID_IHTMLFRAMEELEMENT3_IE8_SRC)]
HRESULT src([out, retval] BSTR *p);
[propput, id(DISPID_IHTMLFRAMEELEMENT3_IE8_LONGDESC)]
HRESULT longDesc([in] BSTR v);
[propget, id(DISPID_IHTMLFRAMEELEMENT3_IE8_LONGDESC)]
HRESULT longDesc([out, retval] BSTR *p);
[propput, id(DISPID_IHTMLFRAMEELEMENT3_IE8_FRAMEBORDER)]
HRESULT frameBorder([in] BSTR v);
[propget, id(DISPID_IHTMLFRAMEELEMENT3_IE8_FRAMEBORDER)]
HRESULT frameBorder([out, retval] BSTR * p);
}
/*****************************************************************************
* DispHTMLFrameElement dispinterface
*/
[
hidden,
uuid(3050f513-98b5-11cf-bb82-00aa00bdce0b)
]
dispinterface DispHTMLFrameElement
{
properties:
methods:
WINE_HTMLFRAMEBASE_DISPINTERFACE_DECL;
[propput, id(DISPID_IHTMLFRAMEELEMENT_BORDERCOLOR)]
void borderColor(VARIANT v);
[propget, id(DISPID_IHTMLFRAMEELEMENT_BORDERCOLOR)]
VARIANT borderColor();
[propput, id(DISPID_IHTMLFRAMEELEMENT2_HEIGHT)]
void height(VARIANT v);
[propget, id(DISPID_IHTMLFRAMEELEMENT2_HEIGHT)]
VARIANT height();
[propput, id(DISPID_IHTMLFRAMEELEMENT2_WIDTH)]
void width(VARIANT v);
[propget, id(DISPID_IHTMLFRAMEELEMENT2_WIDTH)]
VARIANT width();
[propget, id(DISPID_IHTMLFRAMEELEMENT3_CONTENTDOCUMENT)]
IDispatch *contentDocument();
[propput, id(DISPID_IHTMLFRAMEELEMENT3_IE8_SRC)]
void ie8_src(BSTR v);
[propget, id(DISPID_IHTMLFRAMEELEMENT3_IE8_SRC)]
BSTR ie8_src();
[propput, id(DISPID_IHTMLFRAMEELEMENT3_IE8_LONGDESC)]
void ie8_longDesc(BSTR v);
[propget, id(DISPID_IHTMLFRAMEELEMENT3_IE8_LONGDESC)]
BSTR ie8_longDesc();
[propput, id(DISPID_IHTMLFRAMEELEMENT3_IE8_FRAMEBORDER)]
void ie8_frameBorder(BSTR v);
[propget, id(DISPID_IHTMLFRAMEELEMENT3_IE8_FRAMEBORDER)]
BSTR ie8_frameBorder();
}
/*****************************************************************************
* IHTMLIFrameElement interface
*/
[
odl,
oleautomation,
dual,
uuid(3050f315-98b5-11cf-bb82-00aa00bdce0b)
]
interface IHTMLIFrameElement : IDispatch
{
[propput, id(DISPID_IHTMLIFRAMEELEMENT_VSPACE)]
HRESULT vspace([in] LONG v);
[propget, id(DISPID_IHTMLIFRAMEELEMENT_VSPACE)]
HRESULT vspace([retval, out] LONG *p);
[propput, id(DISPID_IHTMLIFRAMEELEMENT_HSPACE)]
HRESULT hspace([in] LONG v);
[propget, id(DISPID_IHTMLIFRAMEELEMENT_HSPACE)]
HRESULT hspace([retval, out] LONG *p);
[propput, id(DISPID_IHTMLIFRAMEELEMENT_ALIGN), displaybind, bindable]
HRESULT align([in] BSTR v);
[propget, id(DISPID_IHTMLIFRAMEELEMENT_ALIGN), displaybind, bindable]
HRESULT align([retval, out] BSTR *p);
}
/*****************************************************************************
* DispHTMLIFrame dispinterface
*/
@ -14739,82 +15094,7 @@ dispinterface DispHTMLIFrame
{
properties:
methods:
WINE_HTMLDATAELEMENT_DISPINTERFACE_DECL;
[propput, id(DISPID_IHTMLFRAMEBASE_SRC)]
void src(BSTR v);
[propget, id(DISPID_IHTMLFRAMEBASE_SRC)]
BSTR src();
[propput, id(DISPID_IHTMLFRAMEBASE_NAME)]
void name(BSTR v);
[propget, id(DISPID_IHTMLFRAMEBASE_NAME)]
BSTR name();
[propput, id(DISPID_IHTMLFRAMEBASE_BORDER)]
void border(VARIANT v);
[propget, id(DISPID_IHTMLFRAMEBASE_BORDER)]
VARIANT border();
[propput, id(DISPID_IHTMLFRAMEBASE_FRAMEBORDER)]
void frameBorder(BSTR v);
[propget, id(DISPID_IHTMLFRAMEBASE_FRAMEBORDER)]
BSTR frameBorder();
[propput, id(DISPID_IHTMLFRAMEBASE_FRAMESPACING)]
void frameSpacing(VARIANT v);
[propget, id(DISPID_IHTMLFRAMEBASE_FRAMESPACING)]
VARIANT frameSpacing();
[propput, id(DISPID_IHTMLFRAMEBASE_MARGINWIDTH)]
void marginWidth(VARIANT v);
[propget, id(DISPID_IHTMLFRAMEBASE_MARGINWIDTH)]
VARIANT marginWidth();
[propput, id(DISPID_IHTMLFRAMEBASE_MARGINHEIGHT)]
void marginHeight(VARIANT v);
[propget, id(DISPID_IHTMLFRAMEBASE_MARGINHEIGHT)]
VARIANT marginHeight();
[propput, id(DISPID_IHTMLFRAMEBASE_NORESIZE)]
void noResize(VARIANT_BOOL v);
[propget, id(DISPID_IHTMLFRAMEBASE_NORESIZE)]
VARIANT_BOOL noResize();
[propput, id(DISPID_IHTMLFRAMEBASE_SCROLLING)]
void scrolling(BSTR v);
[propget, id(DISPID_IHTMLFRAMEBASE_SCROLLING)]
BSTR scrolling();
[propget, id(DISPID_IHTMLFRAMEBASE2_CONTENTWINDOW)]
IHTMLWindow2 *contentWindow();
[propput, id(DISPID_IHTMLFRAMEBASE2_ONLOAD), displaybind, bindable]
void onload(VARIANT v);
[propget, id(DISPID_IHTMLFRAMEBASE2_ONLOAD), displaybind, bindable]
VARIANT onload();
[propput, id(DISPID_IHTMLFRAMEBASE2_ALLOWTRANSPARENCY)]
void allowTransparency(VARIANT_BOOL v);
[propget, id(DISPID_IHTMLFRAMEBASE2_ALLOWTRANSPARENCY)]
VARIANT_BOOL allowTransparency();
[propput, id(DISPID_IHTMLFRAMEBASE3_LONGDESC), displaybind, bindable]
void longDesc(BSTR v);
[propget, id(DISPID_IHTMLFRAMEBASE3_LONGDESC), displaybind, bindable]
BSTR longDesc();
WINE_HTMLFRAMEBASE_DISPINTERFACE_DECL;
[propput, id(DISPID_IHTMLIFRAMEELEMENT_VSPACE)]
void vspace(LONG v);
@ -15127,3 +15407,23 @@ interface IElementBehaviorFactory : IUnknown
}
} /* library MSHTML */
interface IOleCommandTarget;
/*****************************************************************************
* IHTMLPrivateWindow interface
*/
[
object,
uuid(3050f6dc-98b5-11cf-bb82-00aa00bdce0b),
local
]
interface IHTMLPrivateWindow : IUnknown
{
HRESULT SuperNavigate(BSTR url, BSTR arg2, BSTR arg3, BSTR arg4, VARIANT *post_data, VARIANT *headers, ULONG flags);
HRESULT GetPendingUrl(BSTR *url);
HRESULT SetPICSTarget(IOleCommandTarget *cmdtrg);
HRESULT PICSComplete(int arg);
HRESULT FindWindowByName(LPCWSTR name, IHTMLWindow2 **ret);
HRESULT GetAddressBarUrl(BSTR *url);
}

View file

@ -503,6 +503,10 @@ UINT WINAPI MsiGetPatchInfoExA(LPCSTR, LPCSTR, LPCSTR, MSIINSTALLCONTEXT, LPCSTR
UINT WINAPI MsiGetPatchInfoExW(LPCWSTR, LPCWSTR, LPCWSTR, MSIINSTALLCONTEXT, LPCWSTR, LPWSTR, LPDWORD);
#define MsiGetPatchInfoEx WINELIB_NAME_AW(MsiGetPatchInfoEx)
UINT WINAPI MsiGetPatchInfoA(LPCSTR, LPCSTR, LPSTR, LPDWORD);
UINT WINAPI MsiGetPatchInfoW(LPCWSTR, LPCWSTR, LPWSTR, LPDWORD);
#define MsiGetPatchInfo WINELIB_NAME_AW(MsiGetPatchInfo)
UINT WINAPI MsiEnableLogA(DWORD, LPCSTR, DWORD);
UINT WINAPI MsiEnableLogW(DWORD, LPCWSTR, DWORD);
#define MsiEnableLog WINELIB_NAME_AW(MsiEnableLog)

View file

@ -222,6 +222,15 @@ enum msidbRemoveFileInstallMode
msidbRemoveFileInstallModeOnBoth = 0x00000003,
};
enum
{
msidbIniFileActionAddLine = 0x00000000,
msidbIniFileActionCreateLine = 0x00000001,
msidbIniFileActionRemoveLine = 0x00000002,
msidbIniFileActionAddTag = 0x00000003,
msidbIniFileActionRemoveTag = 0x00000004
};
/*
* Windows SDK braindamage alert
*

View file

@ -1979,6 +1979,15 @@ coclass SAXXMLReader30
interface IMXReaderControl;
};
[
uuid(7c6e29bc-8b8b-4c3d-859e-af6cd158be0f)
]
coclass SAXXMLReader40
{
[default] interface IVBSAXXMLReader;
interface ISAXXMLReader;
};
[
uuid(fc220ad8-a72a-4ee8-926e-0b7ad152a020)
]

View file

@ -907,7 +907,7 @@ interface IStorage : IUnknown
[call_as(OpenStream)]
HRESULT RemoteOpenStream(
[in] LPCOLESTR pwcsName,
[in] ULONG cbReserved1,
[in] unsigned long cbReserved1,
[in, unique, size_is(cbReserved1)] byte *reserved1,
[in] DWORD grfMode,
[in] DWORD reserved2,
@ -955,7 +955,7 @@ interface IStorage : IUnknown
[call_as(EnumElements)]
HRESULT RemoteEnumElements(
[in] DWORD reserved1,
[in] ULONG cbReserved2,
[in] unsigned long cbReserved2,
[in, unique, size_is(cbReserved2)] byte *reserved2,
[in] DWORD reserved3,
[out] IEnumSTATSTG **ppenum);
@ -1950,6 +1950,9 @@ interface IClientSecurity : IUnknown
void *pAuthInfo;
} SOLE_AUTHENTICATION_INFO;
const OLECHAR *COLE_DEFAULT_PRINCIPAL = (OLECHAR*) -1;
const void *COLE_DEFAULT_AUTHINFO = (void*) -1;
typedef struct tagSOLE_AUTHENTICATION_LIST {
DWORD cAuthInfo;
SOLE_AUTHENTICATION_INFO *aAuthInfo;

View file

@ -15,14 +15,53 @@
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
cpp_quote("#ifdef _WIN64")
cpp_quote("#include <pshpack8.h>")
cpp_quote("#else")
cpp_quote("#include <pshpack2.h>")
cpp_quote("#endif")
cpp_quote("")
import "wtypes.idl";
import "oaidl.idl";
import "ocidl.idl";
import "propidl.idl";
import "urlmon.idl";
typedef ULONG DBBYTEOFFSET;
typedef LONG DBROWOFFSET;
typedef LONG DBROWCOUNT;
typedef ULONG DBCOUNTITEM;
typedef ULONG DBLENGTH;
typedef ULONG DBORDINAL;
typedef ULONG DBBKMARK;
typedef DWORD DB_DWRESERVE;
typedef ULONG DBREFCOUNT;
typedef ULONG DB_UPARAMS;
typedef LONG DB_LPARAMS;
typedef DWORD DBHASHVALUE;
#include "dbinit.idl"
#include "dbs.idl"
#include "access.idl"
#include "rstbas.idl"
#include "rstinf.idl"
#include "rstloc.idl"
#include "cmdbas.idl"
#include "cmdtxt.idl"
#include "dbccmd.idl"
#include "dbcses.idl"
#include "dbprop.idl"
#include "dbinit.idl"
#include "dbdsad.idl"
#include "asynot.idl"
#include "asysta.idl"
#include "sesprp.idl"
#include "opnrst.idl"
#include "row.idl"
#include "rowchg.idl"
#include "binres.idl"
#include "crtrow.idl"
cpp_quote("#include <poppack.h>")
cpp_quote("")

47
include/psdk/opnrst.idl Normal file
View file

@ -0,0 +1,47 @@
/*
* Copyright (C) 2009 Huw Davies
*
* 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
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
[
object,
uuid(0c733a69-2a1c-11ce-ade5-00aa0044773d),
pointer_default(unique)
]
interface IOpenRowset : IUnknown
{
[local]
HRESULT OpenRowset([in] IUnknown *pUnkOuter,
[in, unique] DBID *pTableID,
[in, unique] DBID *pIndexID,
[in] REFIID riid,
[in] ULONG cPropertySets,
[in, out, size_is(cPropertySets)] DBPROPSET rgPropertySets[],
[out, iid_is(riid)] IUnknown **ppRowset);
[call_as(OpenRowset)]
HRESULT RemoteOpenRowset([in] IUnknown *pUnkOuter,
[in, unique] DBID *pTableID,
[in, unique] DBID *pIndexID,
[in] REFIID riid,
[in] ULONG cPropertySets,
[in, unique, size_is(cPropertySets)] DBPROPSET *rgPropertySets,
[in, out, unique, iid_is(riid)] IUnknown **ppRowset,
[in] ULONG cTotalProps,
[out, size_is(cTotalProps)] DBPROPSTATUS *rgPropStatus,
[out] IErrorInfo **ppErrorInfoRem);
}

View file

@ -37,6 +37,10 @@ typedef HANDLE PDH_HQUERY;
typedef HANDLE PDH_HCOUNTER;
typedef HANDLE PDH_HLOG;
#define PDH_CVERSION_WIN40 0x0400
#define PDH_CVERSION_WIN50 0x0500
#define PDH_VERSION 0x0503
#define PDH_MAX_SCALE 7
#define PDH_MIN_SCALE (-7)
@ -49,6 +53,10 @@ typedef HANDLE PDH_HLOG;
#define PDH_FMT_1000 0x00002000
#define PDH_FMT_NOCAP100 0x00008000
#define DATA_SOURCE_REGISTRY 0x00000001
#define DATA_SOURCE_LOGFILE 0x00000002
#define DATA_SOURCE_WBEM 0x00000004
typedef struct _PDH_FMT_COUNTERVALUE
{
DWORD CStatus;
@ -182,6 +190,7 @@ PDH_STATUS WINAPI PdhGetCounterInfoA(PDH_HCOUNTER, BOOLEAN, LPDWORD, PPDH_COUNTE
PDH_STATUS WINAPI PdhGetCounterInfoW(PDH_HCOUNTER, BOOLEAN, LPDWORD, PPDH_COUNTER_INFO_W);
#define PdhGetCounterInfo WINELIB_NAME_AW(PdhGetCounterInfo)
PDH_STATUS WINAPI PdhGetCounterTimeBase(PDH_HCOUNTER, LONGLONG *);
PDH_STATUS WINAPI PdhGetDllVersion(LPDWORD);
PDH_STATUS WINAPI PdhGetFormattedCounterValue(PDH_HCOUNTER, DWORD, LPDWORD, PPDH_FMT_COUNTERVALUE);
PDH_STATUS WINAPI PdhGetRawCounterValue(PDH_HCOUNTER, LPDWORD, PPDH_RAW_COUNTER);
PDH_STATUS WINAPI PdhLookupPerfIndexByNameA(LPCSTR, LPCSTR, LPDWORD);
@ -198,6 +207,7 @@ PDH_STATUS WINAPI PdhOpenQueryW(LPCWSTR, DWORD_PTR, PDH_HQUERY *);
#define PdhOpenQuery WINELIB_NAME_AW(PdhOpenQuery)
PDH_STATUS WINAPI PdhRemoveCounter(PDH_HCOUNTER);
PDH_STATUS WINAPI PdhSetCounterScaleFactor(PDH_HCOUNTER, LONG);
PDH_STATUS WINAPI PdhSetDefaultRealTimeDataSource(DWORD);
PDH_STATUS WINAPI PdhValidatePathA(LPCSTR);
PDH_STATUS WINAPI PdhValidatePathW(LPCWSTR);
#define PdhValidatePath WINELIB_NAME_AW(PdhValidatePath)

View file

@ -206,7 +206,17 @@ interface IPropertyStorage : IUnknown
typedef struct tagPROPVARIANT *LPPROPVARIANT;
cpp_quote("#define REFPROPVARIANT const PROPVARIANT *")
cpp_quote("#if 0")
typedef const PROPVARIANT * REFPROPVARIANT;
cpp_quote("#endif")
cpp_quote("#ifndef _REFPROPVARIANT_DEFINED")
cpp_quote("#define _REFPROPVARIANT_DEFINED")
cpp_quote("#ifdef __cplusplus")
cpp_quote("#define REFPROPVARIANT const PROPVARIANT &")
cpp_quote("#else")
cpp_quote("#define REFPROPVARIANT const PROPVARIANT * __MIDL_CONST")
cpp_quote("#endif")
cpp_quote("#endif")
cpp_quote("#define PIDDI_THUMBNAIL 0x00000002L /* VT_BLOB */")
cpp_quote("")

View file

@ -10,6 +10,7 @@
<file>bits.idl</file>
<file>commoncontrols.idl</file>
<file>control.idl</file>
<file>ctfutb.idl</file>
<file>ctxtcall.idl</file>
<file>dimm.idl</file>
<file>dispex.idl</file>
@ -51,6 +52,7 @@
<file>shtypes.idl</file>
<file>strmif.idl</file>
<file>textstor.idl</file>
<file>tuner.idl</file>
<file>tom.idl</file>
<file>unknwn.idl</file>
<file>urlhist.idl</file>
@ -65,6 +67,7 @@
<file>comcat.idl</file>
<file>xmldso.idl</file>
<file>xmldom.idl</file>
<file>xmllite.idl</file>
</module>
<module name="stdole2" type="embeddedtypelib">
<file>stdole2.idl</file>

View file

@ -34,6 +34,18 @@ typedef DWORD PST_KEY;
typedef DWORD PST_PROVIDERCAPABILITIES;
typedef GUID PST_PROVIDERID, *PPST_PROVIDERID;
/*****************************************************************************
* PSTOREC library
*/
[
uuid(5a6f1ebd-2db1-11d0-8c39-00c04fd9126b),
version(1.0),
helpstring("PStore 1.0 Type Library")
]
library PSTORECLib
{
importlib("stdole2.tlb");
typedef struct _PST_PROVIDERINFO
{
DWORD cbSize;
@ -50,27 +62,27 @@ typedef struct _PST_PROMPTINFO
LPCWSTR szPrompt;
} PST_PROMPTINFO, *PPST_PROMPTINFO;
typedef struct {
typedef struct _PST_ACCESSCLAUSE {
DWORD cbSize;
PST_ACCESSCLAUSETYPE ClauseType;
DWORD cbClauseData;
BYTE* pbClauseData;
} PST_ACCESSCLAUSE, *PPST_ACCESSCLAUSE;
typedef struct {
typedef struct _PST_ACCESSRULE {
DWORD cbSize;
PST_ACCESSMODE AccessModeFlags;
DWORD cClauses;
PST_ACCESSCLAUSE* rgClauses;
} PST_ACCESSRULE, *PPST_ACCESSRULE;
typedef struct {
typedef struct _PST_ACCESSRULESET {
DWORD cbSize;
DWORD cClause;
PST_ACCESSRULE* rgRules;
} PST_ACCESSRULESET, *PPST_ACCESSRULESET;
typedef struct {
typedef struct _PST_TYPEINFO {
DWORD cbSize;
LPWSTR szDisplayName;
} PST_TYPEINFO, *PPST_TYPEINFO;
@ -259,3 +271,5 @@ interface IPStore : IUnknown
[in] DWORD dwFlags,
[in] IEnumPStoreItems** ppenum );
}
};

42
include/psdk/row.idl Normal file
View file

@ -0,0 +1,42 @@
/*
* Copyright (C) 2009 Huw Davies
*
* 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
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
[
local,
object,
uuid(0c733ab4-2a1c-11ce-ade5-00aa0044773d),
pointer_default(unique)
]
interface IRow : IUnknown
{
[local]
HRESULT GetColumns([in] DBORDINAL cColumns,
[in, out, size_is(cColumns), annotation("__inout_ecount(cColumns)")] DBCOLUMNACCESS rgColumns[]);
HRESULT GetSourceRowset([in, annotation("__in")] REFIID riid,
[out, iid_is(riid), annotation("__deref_opt_out_opt")] IUnknown **ppRowset,
[out, annotation("__out_opt")] HROW *phRow);
HRESULT Open([in, unique, annotation("__in_opt")] IUnknown *pUnkOuter,
[in, annotation("__in")] DBID *pColumnID,
[in, annotation("__in")] REFGUID rguidColumnType,
[in] DWORD dwBindFlags,
[in, annotation("__in")] REFIID riid,
[out, iid_is(riid), annotation("__deref_opt_out")] IUnknown **ppUnk);
}

30
include/psdk/rowchg.idl Normal file
View file

@ -0,0 +1,30 @@
/*
* Copyright (C) 2009 Huw Davies
*
* 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
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
[
local,
object,
uuid(0c733ab5-2a1c-11ce-ade5-00aa0044773d),
pointer_default(unique)
]
interface IRowChange : IUnknown
{
[local]
HRESULT SetColumns([in] DBORDINAL cColumns,
[in, out, size_is(cColumns), annotation("__in_ecount(cColumns)")] DBCOLUMNACCESS rgColumns[]);
}

View file

@ -108,6 +108,11 @@ typedef I_RPC_HANDLE *RPC_EP_INQ_HANDLE;
#define RPC_C_LISTEN_MAX_CALLS_DEFAULT 1234
#define RPC_C_PROTSEQ_MAX_REQS_DEFAULT 10
#define RPC_PROTSEQ_TCP 0x1
#define RPC_PROTSEQ_NMP 0x2
#define RPC_PROTSEQ_LRPC 0x3
#define RPC_PROTSEQ_HTTP 0x4
/* RPC_POLICY EndpointFlags */
#define RPC_C_BIND_TO_ALL_NICS 0x1
#define RPC_C_USE_INTERNET_PORT 0x1
@ -158,8 +163,8 @@ typedef I_RPC_HANDLE *RPC_EP_INQ_HANDLE;
#define RPC_C_IMP_LEVEL_DELEGATE 4
/* values for RPC_SECURITY_QOS*::IdentityTracking */
#define RPC_C_QOS_IDENTIFY_STATIC 0
#define RPC_C_QOS_IDENTIFY_DYNAMIC 1
#define RPC_C_QOS_IDENTITY_STATIC 0
#define RPC_C_QOS_IDENTITY_DYNAMIC 1
/* flags for RPC_SECURITY_QOS*::Capabilities */
#define RPC_C_QOS_CAPABILITIES_DEFAULT 0x0
@ -190,7 +195,7 @@ typedef I_RPC_HANDLE *RPC_EP_INQ_HANDLE;
#define RPC_C_HTTP_AUTHN_SCHEME_NEGOTIATE 0x10
typedef RPC_STATUS RPC_ENTRY RPC_IF_CALLBACK_FN( RPC_IF_HANDLE InterfaceUuid, void *Context );
typedef void (__RPC_USER *RPC_AUTH_KEY_RETRIEVAL_FN)( void *Arg, unsigned char *ServerPrincName, unsigned long KeyVer, void **Key, RPC_STATUS *Status );
typedef void (__RPC_USER *RPC_AUTH_KEY_RETRIEVAL_FN)(void *, RPC_WSTR, ULONG, void **, RPC_STATUS *);
typedef struct _RPC_POLICY
{
@ -504,6 +509,28 @@ RPCRTAPI RPC_STATUS RPC_ENTRY
ULONG *AuthnSvc, RPC_AUTH_IDENTITY_HANDLE *AuthIdentity, ULONG *AuthzSvc );
#define RpcBindingInqAuthInfo WINELIB_NAME_AW(RpcBindingInqAuthInfo)
RPCRTAPI RPC_STATUS RPC_ENTRY
RpcBindingInqAuthClientA( RPC_BINDING_HANDLE ClientBinding, RPC_AUTHZ_HANDLE *Privs,
RPC_CSTR *ServerPrincName, ULONG *AuthnLevel, ULONG *AuthnSvc,
ULONG *AuthzSvc );
RPCRTAPI RPC_STATUS RPC_ENTRY
RpcBindingInqAuthClientW( RPC_BINDING_HANDLE ClientBinding, RPC_AUTHZ_HANDLE *Privs,
RPC_WSTR *ServerPrincName, ULONG *AuthnLevel, ULONG *AuthnSvc,
ULONG *AuthzSvc );
#define RpcBindingInqAuthClient WINELIB_NAME_AW(RpcBindingInqAuthClient)
RPCRTAPI RPC_STATUS RPC_ENTRY
RpcBindingInqAuthClientExA( RPC_BINDING_HANDLE ClientBinding, RPC_AUTHZ_HANDLE *Privs,
RPC_CSTR *ServerPrincName, ULONG *AuthnLevel, ULONG *AuthnSvc,
ULONG *AuthzSvc, ULONG Flags );
RPCRTAPI RPC_STATUS RPC_ENTRY
RpcBindingInqAuthClientExW( RPC_BINDING_HANDLE ClientBinding, RPC_AUTHZ_HANDLE *Privs,
RPC_WSTR *ServerPrincName, ULONG *AuthnLevel, ULONG *AuthnSvc,
ULONG *AuthzSvc, ULONG Flags );
#define RpcBindingInqAuthClientEx WINELIB_NAME_AW(RpcBindingInqAuthClientEx)
RPCRTAPI RPC_STATUS RPC_ENTRY RpcCancelThread(void*);
RPCRTAPI RPC_STATUS RPC_ENTRY RpcCancelThreadEx(void*,LONG);

View file

@ -104,8 +104,8 @@ extern "C" {
#define small char
typedef unsigned char byte;
#define hyper __int64
#define MIDL_uhyper unsigned __int64
typedef INT64 hyper;
typedef UINT64 MIDL_uhyper;
typedef unsigned char boolean;
#define __RPC_CALLEE WINAPI
@ -128,7 +128,7 @@ typedef unsigned char boolean;
(RpcExceptionCode() == RPC_X_BAD_STUB_DATA) || \
(RpcExceptionCode() == RPC_S_INVALID_BOUND))
typedef struct _NDR_SCONTEXT
typedef struct
{
void *pad[2];
void *userContext;
@ -211,19 +211,19 @@ typedef struct _MIDL_STUB_MESSAGE
struct _FULL_PTR_XLAT_TABLES *FullPtrXlatTables;
ULONG FullPtrRefId;
ULONG PointerLength;
int fInDontFree:1;
int fDontCallFreeInst:1;
int fInOnlyParam:1;
int fHasReturn:1;
int fHasExtensions:1;
int fHasNewCorrDesc:1;
int fIsIn:1;
int fIsOut:1;
int fIsOicf:1;
int fBufferValid:1;
int fHasMemoryValidateCallback:1;
int fInFree:1;
int fNeedMCCP:1;
unsigned int fInDontFree:1;
unsigned int fDontCallFreeInst:1;
unsigned int fInOnlyParam:1;
unsigned int fHasReturn:1;
unsigned int fHasExtensions:1;
unsigned int fHasNewCorrDesc:1;
unsigned int fIsIn:1;
unsigned int fIsOut:1;
unsigned int fIsOicf:1;
unsigned int fBufferValid:1;
unsigned int fHasMemoryValidateCallback:1;
unsigned int fInFree:1;
unsigned int fNeedMCCP:1;
int fUnused:3;
int fUnused2:16;
DWORD dwDestContext;
@ -390,7 +390,11 @@ typedef struct _MIDL_SYNTAX_INFO
typedef void (__RPC_API *STUB_THUNK)( PMIDL_STUB_MESSAGE );
#ifdef WINE_STRICT_PROTOTYPES
typedef LONG (__RPC_API *SERVER_ROUTINE)(void);
#else
typedef LONG (__RPC_API *SERVER_ROUTINE)();
#endif
typedef struct _MIDL_SERVER_INFO_
{

51
include/psdk/rstbas.idl Normal file
View file

@ -0,0 +1,51 @@
/*
* Copyright (C) 2009 Huw Davies
*
* 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
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
[
local,
object,
uuid(0c733a7c-2a1c-11ce-ade5-00aa0044773d),
pointer_default(unique)
]
interface IRowset : IUnknown
{
typedef DWORD DBROWOPTIONS;
HRESULT AddRefRows([in] DBCOUNTITEM cRows,
[in, size_is(cRows)] const HROW rghRows[],
[out, size_is(cRows)] DBREFCOUNT rgRefCounts[],
[out, size_is(cRows)] DBROWSTATUS rgRowStatus[]);
HRESULT GetData([in] HROW hRow,
[in] HACCESSOR hAccessor,
[out] void *pData);
HRESULT GetNextRows([in] HCHAPTER hReserved,
[in] DBROWOFFSET lRowsOffset,
[in] DBROWCOUNT cRows,
[out] DBCOUNTITEM *pcRowObtained,
[out, size_is(,cRows)] HROW **prghRows);
HRESULT ReleaseRows([in] DBCOUNTITEM cRows,
[in, size_is(cRows)] const HROW rghRows[],
[in, size_is(cRows)] DBROWOPTIONS rgRowOptions[],
[out, size_is(cRows)] DBREFCOUNT rgRefCounts[],
[out, size_is(cRows)] DBROWSTATUS rgRowStatus[]);
HRESULT RestartPosition([in] HCHAPTER hReserved);
}

58
include/psdk/rstinf.idl Normal file
View file

@ -0,0 +1,58 @@
/*
* Copyright (C) 2009 Huw Davies
*
* 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
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
[
object,
uuid(0c733a55-2a1c-11ce-ade5-00aa0044773d),
pointer_default(unique)
]
interface IRowsetInfo : IUnknown
{
[local]
HRESULT GetProperties([in] const ULONG cPropertyIDSets,
[in, size_is(cPropertyIDSets), annotation("__in_ecount_opt(cPropertyIDSets)")] const DBPROPIDSET rgPropertyIDSets[],
[in, out, annotation("__out")] ULONG *pcPropertySets,
[out, size_is(,*pcPropertySets), annotation("__deref_out_ecount_opt(*pcPropertySets)")] DBPROPSET **prgPropertySets);
[call_as(GetProperties)]
HRESULT RemoteGetProperties([in] ULONG cPropertyIDSets,
[in, unique, size_is(cPropertyIDSets)] const DBPROPIDSET *rgPropertyIDSets,
[in, out] ULONG *pcPropertySets,
[out, size_is(,*pcPropertySets)] DBPROPSET **prgPropertySets,
[out] IErrorInfo **ppErrorInfoRem);
[local]
HRESULT GetReferencedRowset([in] DBORDINAL iOrdinal,
[in, annotation("__in")] REFIID riid,
[out, iid_is(riid), annotation("deref_out_opt")] IUnknown **ppReferencedRowset);
[call_as(GetReferencedRowset)]
HRESULT RemoteGetReferencedRowset([in] DBORDINAL iOrdinal,
[in] REFIID riid,
[out, iid_is(riid)] IUnknown **ppReferencedRowset,
[out] IErrorInfo **ppErrorInfoRem);
[local]
HRESULT GetSpecification([in, annotation("__in")] REFIID riid,
[out, iid_is(riid), annotation("__deref_out_opt")] IUnknown **ppSpecification);
[call_as(GetSpecification)]
HRESULT RemoteGetSpecification([in] REFIID riid,
[out, iid_is(riid)] IUnknown **ppSpecification,
[out] IErrorInfo **ppErrorInfoRem);
}

67
include/psdk/rstloc.idl Normal file
View file

@ -0,0 +1,67 @@
/*
* Copyright (C) 2009 Huw Davies
*
* 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
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
[
local,
object,
uuid(0c733a7d-2a1c-11ce-ade5-00aa0044773d),
pointer_default(unique)
]
interface IRowsetLocate : IRowset
{
typedef DWORD DBCOMPARE;
enum DBCOMPAREENUM
{
DBCOMPARE_LT,
DBCOMPARE_EQ,
DBCOMPARE_GT,
DBCOMPARE_NE,
DBCOMPARE_NOTCOMPARABLE
};
HRESULT Compare([in] HCHAPTER hReserved,
[in] DBBKMARK cbBookmark1,
[in, size_is(cbBookmark1)] const BYTE *pBookmark1,
[in] DBBKMARK cbBookmark2,
[in, size_is(cbBookmark2)] const BYTE *pBookmark2,
[out] DBCOMPARE *pComparison);
HRESULT GetRowsAt([in] HWATCHREGION hReserved1,
[in] HCHAPTER hReserved2,
[in] DBBKMARK cbBookmark,
[in, size_is(cbBookmark)] const BYTE *pBookmark,
[in] DBROWOFFSET lRowsOffset,
[in] DBROWCOUNT cRows,
[out] DBCOUNTITEM *pcRowsObtained,
[out, size_is(,cRows)] HROW **prghRows);
HRESULT GetRowsByBookmark([in] HCHAPTER hReserved,
[in] DBCOUNTITEM cRows,
[in, size_is(cRows)] const DBBKMARK rgcbBookmarks[],
[in, size_is(cRows)] const BYTE *rgpBookmarks[],
[out, size_is(cRows)] HROW rghRows[],
[out, size_is(cRows)] DBROWSTATUS rgRowStatus[]);
HRESULT Hash([in] HCHAPTER hReserved,
[in] DBBKMARK cBookmarks,
[in, size_is(cBookmarks)] const DBBKMARK rgcbBookmarks[],
[in, size_is(cBookmarks)] const BYTE *rgpBookmarks[],
[out, size_is(cBookmarks)] DBHASHVALUE rgHashedValues[],
[out, size_is(cBookmarks)] DBROWSTATUS rgBookmarkStatus[]);
}

View file

@ -28,6 +28,7 @@ typedef struct SENS_QOCINFO
[
object,
uuid(d597bab1-5b9f-11d1-8dd2-00aa004abd5e),
pointer_default(unique)
]
interface ISensNetwork : IDispatch
@ -55,6 +56,7 @@ interface ISensNetwork : IDispatch
[
object,
uuid(d597bab2-5b9f-11d1-8dd2-00aa004abd5e),
pointer_default(unique)
]
interface ISensOnNow : IDispatch
@ -68,6 +70,7 @@ interface ISensOnNow : IDispatch
[
object,
uuid(d597bab3-5b9f-11d1-8dd2-00aa004abd5e),
pointer_default(unique)
]
interface ISensLogon : IDispatch
@ -90,6 +93,7 @@ interface ISensLogon : IDispatch
[
object,
uuid(d597bab4-5b9f-11d1-8dd2-00aa004abd5e),
pointer_default(unique)
]
interface ISensLogon2 : IDispatch

51
include/psdk/sesprp.idl Normal file
View file

@ -0,0 +1,51 @@
/*
* Copyright (C) 2009 Huw Davies
*
* 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
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
[
object,
uuid(0c733a85-2a1c-11ce-ade5-00aa0044773d),
pointer_default(unique)
]
interface ISessionProperties : IUnknown
{
[local]
HRESULT GetProperties([in] ULONG cPropertyIDSets,
[in, size_is(cPropertyIDSets)] const DBPROPIDSET rgPropertyIDSets[],
[in, out] ULONG *pcPropertySets,
[out, size_is(,*pcPropertySets)] DBPROPSET **prgPropertySets);
[call_as(GetProperties)]
HRESULT RemoteGetProperties([in] ULONG cPropertyIDSets,
[in, unique, size_is(cPropertyIDSets)] const DBPROPIDSET *rgPropertyIDSets,
[in, out] ULONG *pcPropertySets,
[out, size_is(,*pcPropertySets)] DBPROPSET **prgPropertySets,
[out] IErrorInfo **ppErrorInfoRem);
[local]
HRESULT SetProperties([in] ULONG cPropertySets,
[in, out, unique, size_is(cPropertySets)] DBPROPSET rgPropertySets[]);
[call_as(SetProperties)]
HRESULT RemoteSetProperties([in] ULONG cPropertySets,
[in, unique, size_is(cPropertySets)] DBPROPSET *rgPropertySets,
[in] ULONG cTotalProps,
[out, size_is(cTotalProps)] DBPROPSTATUS *rgPropStatus,
[out] IErrorInfo **ppErrorInfoRem);
}

View file

@ -78,9 +78,11 @@ DECLARE_HANDLE(HPSXA);
#endif
UINT WINAPI SHAddFromPropSheetExtArray(HPSXA,LPFNADDPROPSHEETPAGE,LPARAM);
LPVOID WINAPI SHAlloc(ULONG);
LPVOID WINAPI SHAlloc(ULONG) __WINE_ALLOC_SIZE(1);
HRESULT WINAPI SHCoCreateInstance(LPCWSTR,const CLSID*,IUnknown*,REFIID,LPVOID*);
HPSXA WINAPI SHCreatePropSheetExtArray(HKEY,LPCWSTR,UINT);
HPSXA WINAPI SHCreatePropSheetExtArrayEx(HKEY,LPCWSTR,UINT,IDataObject*);
HRESULT WINAPI SHCreateShellItem(LPCITEMIDLIST,IShellFolder*,LPCITEMIDLIST,IShellItem**);
DWORD WINAPI SHCLSIDFromStringA(LPCSTR,CLSID*);
DWORD WINAPI SHCLSIDFromStringW(LPCWSTR,CLSID*);
#define SHCLSIDFromString WINELIB_NAME_AW(SHCLSIDFromString)
@ -100,6 +102,10 @@ BOOL WINAPI SHGetPathFromIDListW(LPCITEMIDLIST,LPWSTR);
INT WINAPI SHHandleUpdateImage(LPCITEMIDLIST);
HRESULT WINAPI SHILCreateFromPath(LPCWSTR,LPITEMIDLIST*,DWORD*);
HRESULT WINAPI SHLoadOLE(LPARAM);
HRESULT WINAPI SHParseDisplayName(LPCWSTR,IBindCtx*,LPITEMIDLIST*,SFGAOF,SFGAOF*);
HRESULT WINAPI SHPathPrepareForWriteA(HWND,IUnknown*,LPCSTR,DWORD);
HRESULT WINAPI SHPathPrepareForWriteW(HWND,IUnknown*,LPCWSTR,DWORD);
#define SHPathPrepareForWrite WINELIB_NAME_AW(SHPathPrepareForWrite);
UINT WINAPI SHReplaceFromPropSheetExtArray(HPSXA,UINT,LPFNADDPROPSHEETPAGE,LPARAM);
LPITEMIDLIST WINAPI SHSimpleIDListFromPath(LPCWSTR);
int WINAPI SHMapPIDLToSystemImageListIndex(IShellFolder*,LPCITEMIDLIST,int*);
@ -110,16 +116,26 @@ INT WINAPI PickIconDlg(HWND,LPWSTR,UINT,int *);
#define SHUpdateImage WINELIB_NAME_AW(SHUpdateImage)
int WINAPI RestartDialog(HWND,LPCWSTR,DWORD);
int WINAPI RestartDialogEx(HWND,LPCWSTR,DWORD,DWORD);
BOOL WINAPI IsUserAnAdmin(void);
#define SHFMT_ERROR 0xFFFFFFFFL /* Error on last format, drive may be formatable */
#define SHFMT_CANCEL 0xFFFFFFFEL /* Last format was canceled */
#define SHFMT_NOFORMAT 0xFFFFFFFDL /* Drive is not formatable */
#define SHFMT_ERROR 0xFFFFFFFFL /* Error on last format, drive may be formattable */
#define SHFMT_CANCEL 0xFFFFFFFEL /* Last format was cancelled */
#define SHFMT_NOFORMAT 0xFFFFFFFDL /* Drive is not formattable */
/* SHFormatDrive flags */
#define SHFMT_ID_DEFAULT 0xFFFF
#define SHFMT_OPT_FULL 1
#define SHFMT_OPT_SYSONLY 2
/* SHPathPrepareForWrite flags */
#define SHPPFW_NONE 0x00000000
#define SHPPFW_DIRCREATE 0x00000001
#define SHPPFW_DEFAULT SHPPFW_DIRCREATE
#define SHPPFW_ASKDIRCREATE 0x00000002
#define SHPPFW_IGNOREFILENAME 0x00000004
#define SHPPFW_NOWRITECHECK 0x00000008
#define SHPPFW_MEDIACHECKONLY 0x00000010
/* SHObjectProperties flags */
#define SHOP_PRINTERNAME 0x01
#define SHOP_FILEPATH 0x02
@ -141,54 +157,168 @@ int WINAPI PathCleanupSpec(LPCWSTR,LPWSTR);
/* DATAOBJECT_InitShellIDList*/
#define CFSTR_SHELLIDLIST "Shell IDList Array" /* CF_IDLIST */
#define CFSTR_SHELLIDLISTA "Shell IDList Array" /* CF_IDLIST */
#define CFSTR_SHELLIDLISTOFFSETA "Shell Object Offsets" /* CF_OBJECTPOSITIONS */
#define CFSTR_NETRESOURCESA "Net Resource" /* CF_NETRESOURCE */
/* DATAOBJECT_InitFileGroupDesc */
#define CFSTR_FILEDESCRIPTORA "FileGroupDescriptor" /* CF_FILEGROUPDESCRIPTORA */
/* DATAOBJECT_InitFileContents*/
#define CFSTR_FILECONTENTSA "FileContents" /* CF_FILECONTENTS */
#define CFSTR_FILENAMEA "FileName" /* CF_FILENAMEA */
#define CFSTR_FILENAMEMAPA "FileNameMap" /* CF_FILENAMEMAPA */
#define CFSTR_PRINTERGROUPA "PrinterFriendlyName" /* CF_PRINTERS */
#define CFSTR_SHELLURLA "UniformResourceLocator"
#define CFSTR_INETURLA CFSTR_SHELLURLA
#define CFSTR_PREFERREDDROPEFFECTA "Preferred DropEffect"
#define CFSTR_PERFORMEDDROPEFFECTA "Performed DropEffect"
#define CFSTR_PASTESUCCEEDEDA "Paste Succeeded"
#define CFSTR_INDRAGLOOPA "InShellDragLoop"
#define CFSTR_DRAGCONTEXTA "DragContext"
#define CFSTR_MOUNTEDVOLUMEA "MountedVolume"
#define CFSTR_PERSISTEDDATAOBJECTA "PersistedDataObject"
#define CFSTR_TARGETCLSIDA "TargetCLSID"
#define CFSTR_AUTOPLAY_SHELLIDLISTSA "Autoplay Enumerated IDList Array"
#define CFSTR_LOGICALPERFORMEDDROPEFFECTA "Logical Performed DropEffect"
#if defined(__GNUC__)
# define CFSTR_SHELLIDLISTW \
(const WCHAR []){ 'S','h','e','l','l',' ','I','D','L','i','s','t',' ','A','r','r','a','y',0 }
# define CFSTR_SHELLIDLISTOFFSETW \
(const WCHAR []){ 'S','h','e','l','l',' ','O','b','j','e','c','t',' ','O','f','f','s','e','t','s',0 }
# define CFSTR_NETRESOURCESW \
(const WCHAR []){ 'N','e','t',' ','R','e','s','o','u','r','c','e',0 }
# define CFSTR_FILEDESCRIPTORW \
(const WCHAR []){ 'F','i','l','e','G','r','o','u','p','D','e','s','c','r','i','p','t','o','r','W',0 }
# define CFSTR_FILECONTENTSW \
(const WCHAR []){ 'F','i','l','e','C','o','n','t','e','n','t','s',0 }
# define CFSTR_FILENAMEW \
(const WCHAR []){ 'F','i','l','e','N','a','m','e','W',0 }
# define CFSTR_FILENAMEMAPW \
(const WCHAR []){ 'F','i','l','e','N','a','m','e','M','a','p','W',0 }
# define CFSTR_PRINTERGROUPW \
(const WCHAR []){ 'P','r','i','n','t','e','r','F','r','i','e','n','d','l','y','N','a','m','e',0 }
# define CFSTR_SHELLURLW \
(const WCHAR []){ 'U','n','i','f','o','r','m','R','e','s','o','u','r','c','e','L','o','c','a','t','o','r',0 }
# define CFSTR_INETURLW \
(const WCHAR []){ 'U','n','i','f','o','r','m','R','e','s','o','u','r','c','e','L','o','c','a','t','o','r','W',0 }
# define CFSTR_PREFERREDDROPEFFECTW \
(const WCHAR []){ 'P','r','e','f','e','r','r','e','d',' ','D','r','o','p','E','f','f','e','c','t',0 }
# define CFSTR_PERFORMEDDROPEFFECTW \
(const WCHAR []){ 'P','e','r','f','o','r','m','e','d',' ','D','r','o','p','E','f','f','e','c','t',0 }
# define CFSTR_PASTESUCCEEDEDW \
(const WCHAR []){ 'P','a','s','t','e',' ','S','u','c','c','e','e','d','e','d',0 }
# define CFSTR_INDRAGLOOPW \
(const WCHAR []){ 'I','n','S','h','e','l','l','D','r','a','g','L','o','o','p',0 }
# define CFSTR_DRAGCONTEXTW \
(const WCHAR []){ 'D','r','a','g','C','o','n','t','e','x','t',0 }
# define CFSTR_MOUNTEDVOLUMEW \
(const WCHAR []){ 'M','o','u','n','t','e','d','V','o','l','u','m','e',0 }
# define CFSTR_PERSISTEDDATAOBJECTW \
(const WCHAR []){ 'P','e','r','s','i','s','t','e','d','D','a','t','a','O','b','j','e','c','t',0 }
# define CFSTR_TARGETCLSIDW \
(const WCHAR []){ 'T','a','r','g','e','t','C','L','S','I','D',0 }
# define CFSTR_AUTOPLAY_SHELLIDLISTSW \
(const WCHAR []){ 'A','u','t','o','p','l','a','y',' ','E','n','u','m','e','r','a','t','e','d',\
' ','I','D','L','i','s','t',' ','A','r','r','a','y',0 }
# define CFSTR_LOGICALPERFORMEDDROPEFFECTW \
(const WCHAR []){ 'L','o','g','i','c','a','l',' ','P','e','r','f','o','r','m','e','d',\
' ','D','r','o','p','E','f','f','e','c','t',0 }
#elif defined(_MSC_VER)
# define CFSTR_SHELLIDLISTW L"Shell IDList Array"
# define CFSTR_SHELLIDLISTOFFSETW L"Shell Object Offsets"
# define CFSTR_NETRESOURCESW L"Net Resource"
# define CFSTR_FILEDESCRIPTORW L"FileGroupDescriptorW"
# define CFSTR_FILECONTENTSW L"FileContents"
# define CFSTR_FILENAMEW L"FileNameW"
# define CFSTR_FILENAMEMAPW L"FileNameMapW"
# define CFSTR_PRINTERGROUPW L"PrinterFriendlyName"
# define CFSTR_SHELLURLW L"UniformResourceLocator"
# define CFSTR_INETURLW L"UniformResourceLocatorW"
# define CFSTR_PREFERREDDROPEFFECTW L"Preferred DropEffect"
# define CFSTR_PERFORMEDDROPEFFECTW L"Performed DropEffect"
# define CFSTR_PASTESUCCEEDEDW L"Paste Succeeded"
# define CFSTR_INDRAGLOOPW L"InShellDragLoop"
# define CFSTR_DRAGCONTEXTW L"DragContext"
# define CFSTR_MOUNTEDVOLUMEW L"MountedVolume"
# define CFSTR_PERSISTEDDATAOBJECTW L"PersistedDataObject"
# define CFSTR_TARGETCLSIDW L"TargetCLSID"
# define CFSTR_AUTOPLAY_SHELLIDLISTSW L"Autoplay Enumerated IDList Array"
# define CFSTR_LOGICALPERFORMEDDROPEFFECTW L"Logical Performed DropEffect"
#else
static const WCHAR CFSTR_SHELLIDLISTW[] =
{ 'S','h','e','l','l',' ','I','D','L','i','s','t',' ','A','r','r','a','y',0 };
static const WCHAR CFSTR_SHELLIDLISTOFFSETW[] =
{ 'S','h','e','l','l',' ','O','b','j','e','c','t',' ','O','f','f','s','e','t','s',0 };
static const WCHAR CFSTR_NETRESOURCESW[] =
{ 'N','e','t',' ','R','e','s','o','u','r','c','e',0 };
static const WCHAR CFSTR_FILEDESCRIPTORW[] =
{ 'F','i','l','e','G','r','o','u','p','D','e','s','c','r','i','p','t','o','r','W',0 };
static const WCHAR CFSTR_FILECONTENTSW[] =
{ 'F','i','l','e','C','o','n','t','e','n','t','s',0 };
static const WCHAR CFSTR_FILENAMEW[] =
{ 'F','i','l','e','N','a','m','e','W',0 };
static const WCHAR CFSTR_FILENAMEMAPW[] =
{ 'F','i','l','e','N','a','m','e','M','a','p','W',0 };
static const WCHAR CFSTR_PRINTERGROUPW[] =
{ 'P','r','i','n','t','e','r','F','r','i','e','n','d','l','y','N','a','m','e',0 };
static const WCHAR CFSTR_SHELLURLW[] =
{ 'U','n','i','f','o','r','m','R','e','s','o','u','r','c','e','L','o','c','a','t','o','r',0 };
static const WCHAR CFSTR_INETURLW[] =
{ 'U','n','i','f','o','r','m','R','e','s','o','u','r','c','e','L','o','c','a','t','o','r','W',0 };
static const WCHAR CFSTR_PREFERREDDROPEFFECTW[] =
{ 'P','r','e','f','e','r','r','e','d',' ','D','r','o','p','E','f','f','e','c','t',0 };
static const WCHAR CFSTR_PERFORMEDDROPEFFECTW[] =
{ 'P','e','r','f','o','r','m','e','d',' ','D','r','o','p','E','f','f','e','c','t',0 };
static const WCHAR CFSTR_PASTESUCCEEDEDW[] =
{ 'P','a','s','t','e',' ','S','u','c','c','e','e','d','e','d',0 };
static const WCHAR CFSTR_INDRAGLOOPW[] =
{ 'I','n','S','h','e','l','l','D','r','a','g','L','o','o','p',0 };
static const WCHAR CFSTR_DRAGCONTEXTW[] =
{ 'D','r','a','g','C','o','n','t','e','x','t',0 };
static const WCHAR CFSTR_MOUNTEDVOLUMEW[] =
{ 'M','o','u','n','t','e','d','V','o','l','u','m','e',0 };
static const WCHAR CFSTR_PERSISTEDDATAOBJECTW[] =
{ 'P','e','r','s','i','s','t','e','d','D','a','t','a','O','b','j','e','c','t',0 };
static const WCHAR CFSTR_TARGETCLSIDW[] =
{ 'T','a','r','g','e','t','C','L','S','I','D',0 };
static const WCHAR CFSTR_AUTOPLAY_SHELLIDLISTSW[] =
{ 'A','u','t','o','p','l','a','y',' ','E','n','u','m','e','r','a','t','e','d',
' ','I','D','L','i','s','t',' ','A','r','r','a','y',0 };
static const WCHAR CFSTR_LOGICALPERFORMEDDROPEFFECTW[] =
{ 'L','o','g','i','c','a','l',' ','P','e','r','f','o','r','m','e','d',
' ','D','r','o','p','E','f','f','e','c','t',0 };
#endif
#define CFSTR_SHELLIDLIST WINELIB_NAME_AW(CFSTR_SHELLIDLIST)
#define CFSTR_SHELLIDLISTOFFSET WINELIB_NAME_AW(CFSTR_SHELLIDLISTOFFSET)
#define CFSTR_NETRESOURCES WINELIB_NAME_AW(CFSTR_NETRESOURCES)
#define CFSTR_FILEDESCRIPTOR WINELIB_NAME_AW(CFSTR_FILEDESCRIPTOR)
#define CFSTR_FILECONTENTS WINELIB_NAME_AW(CFSTR_FILECONTENTS)
#define CFSTR_FILENAME WINELIB_NAME_AW(CFSTR_FILENAME)
#define CFSTR_FILENAMEMAP WINELIB_NAME_AW(CFSTR_FILENAMEMAP)
#define CFSTR_PRINTERGROUP WINELIB_NAME_AW(CFSTR_PRINTERGROUP)
#define CFSTR_SHELLURL WINELIB_NAME_AW(CFSTR_SHELLURL)
#define CFSTR_INETURL WINELIB_NAME_AW(CFSTR_INETURL)
#define CFSTR_PREFERREDDROPEFFECT WINELIB_NAME_AW(CFSTR_PREFERREDDROPEFFECT)
#define CFSTR_PERFORMEDDROPEFFECT WINELIB_NAME_AW(CFSTR_PERFORMEDDROPEFFECT)
#define CFSTR_PASTESUCCEEDED WINELIB_NAME_AW(CFSTR_PASTESUCCEEDED)
#define CFSTR_INDRAGLOOP WINELIB_NAME_AW(CFSTR_INDRAGLOOP)
#define CFSTR_DRAGCONTEXT WINELIB_NAME_AW(CFSTR_DRAGCONTEXT)
#define CFSTR_MOUNTEDVOLUME WINELIB_NAME_AW(CFSTR_MOUNTEDVOLUME)
#define CFSTR_PERSISTEDDATAOBJECT WINELIB_NAME_AW(CFSTR_PERSISTEDDATAOBJECT)
#define CFSTR_TARGETCLSID WINELIB_NAME_AW(CFSTR_TARGETCLSID)
#define CFSTR_AUTOPLAY_SHELLIDLISTS WINELIB_NAME_AW(CFSTR_AUTOPLAY_SHELLIDLISTS)
#define CFSTR_LOGICALPERFORMEDDROPEFFECT WINELIB_NAME_AW(CFSTR_LOGICALPERFORMEDDROPEFFECT)
typedef struct
{ UINT cidl;
UINT aoffset[1];
} CIDA, *LPIDA;
#define CFSTR_SHELLIDLISTA "Shell IDList Array" /* CF_IDLIST */
#define CFSTR_SHELLIDLISTOFFSET "Shell Object Offsets" /* CF_OBJECTPOSITIONS */
#define CFSTR_NETRESOURCES "Net Resource" /* CF_NETRESOURCE */
/* DATAOBJECT_InitFileGroupDesc */
#define CFSTR_FILEDESCRIPTORA "FileGroupDescriptor" /* CF_FILEGROUPDESCRIPTORA */
#define CFSTR_FILEDESCRIPTORW "FileGroupDescriptorW" /* CF_FILEGROUPDESCRIPTORW */
/* DATAOBJECT_InitFileContents*/
#define CFSTR_FILECONTENTS "FileContents" /* CF_FILECONTENTS */
#ifdef UNICODE
#define CFSTR_FILENAME L"FileNameW"
#define CFSTR_FILENAMEMAP L"FileNameMapW"
#define CFSTR_FILEDESCRIPTOR L"FileGroupDescriptorW"
#define CFSTR_SHELLURL L"UniformResourceLocatorW"
#else
#define CFSTR_FILENAME "FileName"
#define CFSTR_FILENAMEMAP "FileNameMap"
#define CFSTR_FILEDESCRIPTOR "FileGroupDescriptor"
#define CFSTR_SHELLURL "UniformResourceLocator"
#endif
#define CFSTR_FILENAMEW "FileNameW"
#define CFSTR_FILENAMEA "FileName"
#define CFSTR_FILENAMEMAPA "FileNameMap" /* CF_FILENAMEMAPA */
#define CFSTR_FILENAMEMAPW "FileNameMapW" /* CF_FILENAMEMAPW */
#define CFSTR_PRINTERGROUP "PrinterFriendlyName" /* CF_PRINTERS */
#define CFSTR_PREFERREDDROPEFFECT "Preferred DropEffect"
#define CFSTR_PERFORMEDDROPEFFECT "Performed DropEffect"
#define CFSTR_PASTESUCCEEDED "Paste Succeeded"
#define CFSTR_INDRAGLOOP "InShellDragLoop"
/************************************************************************
* IShellView interface
*/
#define SV_CLASS_NAME ("SHELLDLL_DefView")
#define FCIDM_SHVIEWFIRST 0x0000
/* undocumented */
#define FCIDM_SHVIEW_ARRANGE 0x7001
@ -252,24 +382,10 @@ typedef struct
#define FCIDM_STATUS (FCIDM_BROWSERFIRST + 1)
VOID WINAPI SHSetInstanceExplorer(LPUNKNOWN);
BOOL WINAPI IsUserAnAdmin(VOID);
/****************************************************************************
* IShellIcon interface
*/
#undef INTERFACE
#define INTERFACE IShellFolderViewCB
DECLARE_INTERFACE_(IShellFolderViewCB, IUnknown)
{
STDMETHOD(QueryInterface) (THIS_ REFIID riid, void **ppv) PURE;
STDMETHOD_(ULONG,AddRef) (THIS) PURE;
STDMETHOD_(ULONG,Release) (THIS) PURE;
STDMETHOD(MessageSFVCB)(THIS_ UINT uMsg, WPARAM wParam, LPARAM lParam) PURE;
};
#undef INTERFACE
#define INTERFACE IShellIcon
DECLARE_INTERFACE_(IShellIcon,IUnknown)
{
@ -411,6 +527,57 @@ DECLARE_INTERFACE_(IACList,IUnknown)
#define IACList_Expand(p,a) (p)->lpVtbl->Expand(p,a)
#endif
/* IACList2 interface */
#define INTERFACE IACList2
DECLARE_INTERFACE_(IACList2,IACList)
{
/*** IUnknown methods ***/
STDMETHOD_(HRESULT,QueryInterface) (THIS_ REFIID riid, void** ppvObject) PURE;
STDMETHOD_(ULONG,AddRef) (THIS) PURE;
STDMETHOD_(ULONG,Release) (THIS) PURE;
/*** IACList methods ***/
STDMETHOD(Expand)(THIS_ LPCOLESTR str) PURE;
/*** IACList2 methods ***/
STDMETHOD(SetOptions)(THIS_ DWORD dwFlag) PURE;
STDMETHOD(GetOptions)(THIS_ DWORD* pdwFlag) PURE;
};
#undef INTERFACE
#if !defined(__cplusplus) || defined(CINTERFACE)
/*** IUnknown methods ***/
#define IACList2_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b)
#define IACList2_AddRef(p) (p)->lpVtbl->AddRef(p)
#define IACList2_Release(p) (p)->lpVtbl->Release(p)
/*** IACList2 methods ***/
#define IACList2_GetOptions(p,a) (p)->lpVtbl->GetOptions(p,a)
#define IACList2_SetOptions(p,a) (p)->lpVtbl->SetOptions(p,a)
#endif
/****************************************************************************
* IShellFolderViewCB interface
*/
#define INTERFACE IShellFolderViewCB
DECLARE_INTERFACE_(IShellFolderViewCB,IUnknown)
{
/*** IUnknown methods ***/
STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE;
STDMETHOD_(ULONG,AddRef)(THIS) PURE;
STDMETHOD_(ULONG,Release)(THIS) PURE;
/*** IShellFolderViewCB methods ***/
STDMETHOD(MessageSFVCB)(THIS_ UINT uMsg, WPARAM wParam, LPARAM lParam) PURE;
};
#undef INTERFACE
#if !defined(__cplusplus) || defined(CINTERFACE)
/*** IUnknown methods ***/
#define IShellFolderViewCB_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b)
#define IShellFolderViewCB_AddRef(p) (p)->lpVtbl->AddRef(p)
#define IShellFolderViewCB_Release(p) (p)->lpVtbl->Release(p)
/*** IShellFolderViewCB methods ***/
#define IShellFolderViewCB_MessageSFVCB(p,a,b,c) (p)->lpVtbl->MessageSFVCB(p,a,b,c)
#endif
/* IProgressDialog interface */
#define PROGDLG_NORMAL 0x00000000
#define PROGDLG_MODAL 0x00000001
@ -502,15 +669,6 @@ DECLARE_INTERFACE_(IDeskBarClient,IOleWindow)
void WINAPI SHAddToRecentDocs(UINT,LPCVOID);
HANDLE WINAPI SHChangeNotification_Lock(
HANDLE hChange,
DWORD dwProcessId,
LPITEMIDLIST **lppidls,
LPLONG lpwEventId);
BOOL WINAPI SHChangeNotification_Unlock ( HANDLE hLock);
/****************************************************************************
* SHBrowseForFolder API
*/
@ -567,8 +725,9 @@ typedef struct tagBROWSEINFOW {
/* message from browser */
#define BFFM_INITIALIZED 1
#define BFFM_SELCHANGED 2
#define BFFM_VALIDATEFAILEDA 3 /* lParam:szPath ret:1(cont),0(EndDialog) */
#define BFFM_VALIDATEFAILEDW 4 /* lParam:wzPath ret:1(cont),0(EndDialog) */
#define BFFM_VALIDATEFAILEDA 3
#define BFFM_VALIDATEFAILEDW 4
#define BFFM_IUNKNOWN 5
/* messages to browser */
#define BFFM_SETSTATUSTEXTA (WM_USER+100)
@ -669,15 +828,6 @@ HRESULT WINAPI SHCreateShellFolderViewEx(LPCSFV pshfvi, IShellView **ppshv);
#define SFVM_GET_WEBVIEW_THEME 86 /* undocumented */
#define SFVM_GETDEFERREDVIEWSETTINGS 92 /* undocumented */
#define SHPPFW_NONE 0
#define SHPPFW_DIRCREATE 1
#define SHPPFW_DEFAULT SHPPFW_DIRCREATE
#define SHPPFW_ASKDIRCREATE 2
#define SHPPFW_IGNOREFILENAME 4
#define SHPPFW_NOWRITECHECK 8
/* Types and definitions for the SFM_* parameters */
#include <pshpack8.h>
typedef struct _SFV_CREATE
{
UINT cbSize;
@ -686,6 +836,10 @@ typedef struct _SFV_CREATE
IShellFolderViewCB *psfvcb;
} SFV_CREATE;
HRESULT WINAPI SHCreateShellFolderView(const SFV_CREATE *pscfv, IShellView **ppsv);
/* Types and definitions for the SFM_* parameters */
#include <pshpack8.h>
#define QCMINFO_PLACE_BEFORE 0
#define QCMINFO_PLACE_AFTER 1
@ -801,19 +955,13 @@ HRESULT WINAPI SHGetDataFromIDListA(LPSHELLFOLDER psf, LPCITEMIDLIST pidl, int n
HRESULT WINAPI SHGetDataFromIDListW(LPSHELLFOLDER psf, LPCITEMIDLIST pidl, int nFormat, LPVOID pv, int cb);
#define SHGetDataFromIDList WINELIB_NAME_AW(SHGetDataFromIDList)
PIDLIST_ABSOLUTE WINAPI SHCloneSpecialIDList(HWND hwnd, int csidl, BOOL fCreate);
LPITEMIDLIST WINAPI SHCloneSpecialIDList(HWND hwnd, int csidl, BOOL fCreate);
BOOL WINAPI SHGetSpecialFolderPathA (HWND hwndOwner, LPSTR szPath, int nFolder, BOOL bCreate);
BOOL WINAPI SHGetSpecialFolderPathW (HWND hwndOwner, LPWSTR szPath, int nFolder, BOOL bCreate);
#define SHGetSpecialFolderPath WINELIB_NAME_AW(SHGetSpecialFolderPath)
HRESULT WINAPI SHGetMalloc(LPMALLOC *lpmal) ;
/**********************************************************************
* SHCreateShellFolderView ()
*/
HRESULT WINAPI SHCreateShellFolderView(const SFV_CREATE *pcsfv, IShellView **ppsv);
/**********************************************************************
* SHGetSetSettings ()
*/
@ -1147,6 +1295,10 @@ typedef enum {
SLDF_NO_PIDL_ALIAS = 0x00008000,
SLDF_FORCE_UNCNAME = 0x00010000,
SLDF_RUN_WITH_SHIMLAYER = 0x00020000,
SLDF_FORCE_NO_LINKTRACK = 0x00040000,
SLDF_ENABLE_TARGET_METADATA = 0x00080000,
SLDF_DISABLE_KNOWNFOLDER_RELATIVE_TRACKING = 0x00200000,
SLDF_VALID = 0x003ff7ff,
SLDF_RESERVED = 0x80000000,
} SHELL_LINK_DATA_FLAGS;
@ -1158,41 +1310,6 @@ typedef struct tagDATABLOCKHEADER
typedef struct {
DATABLOCK_HEADER dbh;
WORD wFillAttribute;
WORD wPopupFillAttribute;
COORD dwScreenBufferSize;
COORD dwWindowSize;
COORD dwWindowOrigin;
DWORD nFont;
DWORD nInputBufferSize;
COORD dwFontSize;
UINT uFontFamily;
UINT uFontWeight;
WCHAR FaceName[LF_FACESIZE];
UINT uCursorSize;
BOOL bFullScreen;
BOOL bQuickEdit;
BOOL bInsertMode;
BOOL bAutoPosition;
UINT uHistoryBufferSize;
UINT uNumberOfHistoryBuffers;
BOOL bHistoryNoDup;
COLORREF ColorTable[16];
} NT_CONSOLE_PROPS, *LPNT_CONSOLE_PROPS;
typedef struct {
DATABLOCK_HEADER dbh;
UINT uCodePage;
} NT_FE_CONSOLE_PROPS, *LPNT_FE_CONSOLE_PROPS;
typedef struct {
#ifdef __cplusplus
DATABLOCK_HEADER dbh;
#else
DWORD cbSize;
DWORD dwSignature;
#endif
CHAR szDarwinID[MAX_PATH];
WCHAR szwDarwinID[MAX_PATH];
} EXP_DARWIN_LINK, *LPEXP_DARWIN_LINK;
@ -1211,13 +1328,20 @@ typedef struct {
DWORD cbOffset;
} EXP_SPECIAL_FOLDER, *LPEXP_SPECIAL_FOLDER;
typedef struct {
DWORD cbSize;
DWORD dwSignature;
BYTE abPropertyStorage[1];
} EXP_PROPERTYSTORAGE;
#define EXP_SZ_LINK_SIG 0xa0000001
#define NT_CONSOLE_PROPS_SIG 0xa0000002
#define NT_FE_CONSOLE_PROPS_SIG 0xa0000004
#define EXP_SPECIAL_FOLDER_SIG 0xa0000005
#define EXP_DARWIN_ID_SIG 0xa0000006
#define EXP_LOGO3_ID_SIG 0xa0000007
#define EXP_SZ_ICON_SIG 0xa0000007
#define EXP_LOGO3_ID_SIG EXP_SZ_ICON_SIG /* Old SDKs only */
#define EXP_PROPERTYSTORAGE_SIG 0xa0000009
typedef struct _SHChangeDWORDAsIDList {
USHORT cb;
@ -1235,6 +1359,8 @@ typedef struct _SHChangeProductKeyAsIDList {
ULONG WINAPI SHChangeNotifyRegister(HWND hwnd, int fSources, LONG fEvents, UINT wMsg,
int cEntries, const SHChangeNotifyEntry *pshcne);
BOOL WINAPI SHChangeNotifyDeregister(ULONG ulID);
HANDLE WINAPI SHChangeNotification_Lock(HANDLE hChangeNotification, DWORD dwProcessId,
LPITEMIDLIST **pppidl, LONG *plEvent);
BOOL WINAPI SHChangeNotification_Unlock(HANDLE hLock);
HRESULT WINAPI SHGetRealIDL(IShellFolder *psf, LPCITEMIDLIST pidlSimple, LPITEMIDLIST * ppidlReal);
@ -1245,6 +1371,7 @@ HRESULT WINAPI SHGetRealIDL(IShellFolder *psf, LPCITEMIDLIST pidlSimple, LPITEMI
DWORD WINAPI SHCreateDirectory(HWND, LPCWSTR);
int WINAPI SHCreateDirectoryExA(HWND, LPCSTR, LPSECURITY_ATTRIBUTES);
int WINAPI SHCreateDirectoryExW(HWND, LPCWSTR, LPSECURITY_ATTRIBUTES);
#define SHCreateDirectoryEx WINELIB_NAME_AW(SHCreateDirectoryEx)
/****************************************************************************
* SHGetSpecialFolderLocation API
@ -1276,7 +1403,7 @@ HRESULT WINAPI SHGetFolderPathW(HWND hwnd, int nFolder, HANDLE hToken, DWORD dwF
#define CSIDL_SENDTO 0x0009
#define CSIDL_BITBUCKET 0x000a
#define CSIDL_STARTMENU 0x000b
#define CSIDL_MYDOCUMENTS 0x000c
#define CSIDL_MYDOCUMENTS CSIDL_PERSONAL
#define CSIDL_MYMUSIC 0x000d
#define CSIDL_MYVIDEO 0x000e
#define CSIDL_DESKTOPDIRECTORY 0x0010
@ -1322,6 +1449,7 @@ HRESULT WINAPI SHGetFolderPathW(HWND hwnd, int nFolder, HANDLE hToken, DWORD dwF
#define CSIDL_CDBURN_AREA 0x003b
#define CSIDL_COMPUTERSNEARME 0x003d
#define CSIDL_PROFILES 0x003e
#define CSIDL_FOLDER_MASK 0x00ff
#define CSIDL_FLAG_PER_USER_INIT 0x0800
#define CSIDL_FLAG_NO_ALIAS 0x1000
#define CSIDL_FLAG_DONT_VERIFY 0x4000
@ -1438,8 +1566,26 @@ BOOL WINAPI WriteCabinetState(CABINETSTATE *);
/****************************************************************************
* Path Manipulation Routines
*/
/* PathProcessCommand flags */
#define PPCF_ADDQUOTES 0x01
#define PPCF_INCLUDEARGS 0x02
#define PPCF_ADDARGUMENTS 0x03
#define PPCF_NODIRECTORIES 0x10
#define PPCF_DONTRESOLVE 0x20
#define PPCF_FORCEQUALIFY 0x40
#define PPCF_LONGESTPOSSIBLE 0x80
/* PathResolve flags */
#define PRF_VERIFYEXISTS 0x01
#define PRF_EXECUTABLE 0x02
#define PRF_TRYPROGRAMEXTENSIONS 0x03
#define PRF_FIRSTDIRDEF 0x04
#define PRF_DONTFINDLINK 0x08
VOID WINAPI PathGetShortPath(LPWSTR pszPath);
LONG WINAPI PathProcessCommand(LPCWSTR, LPWSTR, int, DWORD);
BOOL WINAPI PathYetAnotherMakeUniqueName(LPWSTR, LPCWSTR, LPCWSTR, LPCWSTR);
/****************************************************************************
* Drag And Drop Routines
@ -1515,7 +1661,6 @@ HRESULT WINAPI SHCreateDefaultContextMenu(const DEFCONTEXTMENU *,REFIID,void **p
typedef HRESULT (CALLBACK * LPFNDFMCALLBACK)(IShellFolder*,HWND,IDataObject*,UINT,WPARAM,LPARAM);
HRESULT WINAPI CDefFolderMenu_Create2(LPCITEMIDLIST,HWND,UINT,LPCITEMIDLIST*,IShellFolder*,LPFNDFMCALLBACK,UINT,const HKEY *,IContextMenu **);
/****************************************************************************
* SHCreateDefaultContextMenu API
*/
@ -1524,7 +1669,6 @@ HRESULT WINAPI
SHCreateDefaultExtractIcon(
REFIID riid,
void **ppv);
/****************************************************************************
* SHCreateDataObject API
*/

View file

@ -85,6 +85,34 @@ DWORD WINAPI SHCopyKeyW(HKEY,LPCWSTR,HKEY,DWORD);
HKEY WINAPI SHRegDuplicateHKey(HKEY);
/* SHRegGetValue flags */
typedef INT SRRF;
#define SRRF_RT_REG_NONE 0x1
#define SRRF_RT_REG_SZ 0x2
#define SRRF_RT_REG_EXPAND_SZ 0x4
#define SRRF_RT_REG_BINARY 0x8
#define SRRF_RT_REG_DWORD 0x10
#define SRRF_RT_REG_MULTI_SZ 0x20
#define SRRF_RT_REG_QWORD 0x40
#define SRRF_RT_DWORD (SRRF_RT_REG_BINARY|SRRF_RT_REG_DWORD)
#define SRRF_RT_QWORD (SRRF_RT_REG_BINARY|SRRF_RT_REG_QWORD)
#define SRRF_RT_ANY 0xffff
#define SRRF_RM_ANY 0
#define SRRF_RM_NORMAL 0x10000
#define SRRF_RM_SAFE 0x20000
#define SRRF_RM_SAFENETWORK 0x40000
#define SRRF_NOEXPAND 0x10000000
#define SRRF_ZEROONFAILURE 0x20000000
#define SRRF_NOVIRT 0x40000000
LSTATUS WINAPI SHRegGetValueA(HKEY,LPCSTR,LPCSTR,SRRF,LPDWORD,LPVOID,LPDWORD);
LSTATUS WINAPI SHRegGetValueW(HKEY,LPCWSTR,LPCWSTR,SRRF,LPDWORD,LPVOID,LPDWORD);
#define SHRegGetValue WINELIB_NAME_AW(SHRegGetValue)
/* Undocumented registry functions */
DWORD WINAPI SHDeleteOrphanKeyA(HKEY,LPCSTR);
@ -388,7 +416,7 @@ BOOL WINAPI PathIsDirectoryEmptyW(LPCWSTR);
BOOL WINAPI PathIsFileSpecA(LPCSTR);
BOOL WINAPI PathIsFileSpecW(LPCWSTR);
#define PathIsFileSpec WINELIB_NAME_AW(PathIsFileSpec)
#define PathIsFileSpec WINELIB_NAME_AW(PathIsFileSpec);
BOOL WINAPI PathIsPrefixA(LPCSTR,LPCSTR);
BOOL WINAPI PathIsPrefixW(LPCWSTR,LPCWSTR);
@ -1064,6 +1092,17 @@ BOOL WINAPI IsOS(DWORD);
#define TPS_EXECUTEIO 0x00000001
#define TPS_LONGEXECTIME 0x00000008
/* SHFormatDateTimeA/SHFormatDateTimeW flags */
#define FDTF_SHORTTIME 0x00000001
#define FDTF_SHORTDATE 0x00000002
#define FDTF_DEFAULT (FDTF_SHORTDATE | FDTF_SHORTTIME)
#define FDTF_LONGDATE 0x00000004
#define FDTF_LONGTIME 0x00000008
#define FDTF_RELATIVE 0x00000010
#define FDTF_LTRDATE 0x00000100
#define FDTF_RTLDATE 0x00000200
#define FDTF_NOAUTOREADINGORDER 0x00000400
#include <poppack.h>
#ifdef __cplusplus

View file

@ -323,22 +323,6 @@ interface IEnumExtraSearch : IUnknown
]
interface IShellFolder2 : IShellFolder
{
typedef enum
{
SHCOLSTATE_TYPE_STR = 0x00000001,
SHCOLSTATE_TYPE_INT = 0x00000002,
SHCOLSTATE_TYPE_DATE = 0x00000003,
SHCOLSTATE_TYPEMASK = 0x0000000f,
SHCOLSTATE_ONBYDEFAULT = 0x00000010,
SHCOLSTATE_SLOW = 0x00000020,
SHCOLSTATE_EXTENDED = 0x00000040,
SHCOLSTATE_SECONDARYUI = 0x00000080,
SHCOLSTATE_HIDDEN = 0x00000100,
SHCOLSTATE_PREFER_VARCMP = 0x00000200
} SHCOLSTATE;
typedef DWORD SHCOLSTATEF;
typedef struct
{
GUID fmtid;
@ -2310,6 +2294,10 @@ interface IBrowserService : IUnknown
typedef BASEBROWSERDATA *LPBASEBROWSERDATA;
cpp_quote("#if 0")
typedef HANDLE HMONITOR;
cpp_quote("#endif /* 0 */")
typedef struct SToolbarItem
{
IDockingWindow *ptbar;

View file

@ -21,8 +21,6 @@
import "wtypes.idl";
cpp_quote("#include <pshpack1.h>")
typedef struct
{
@ -34,60 +32,13 @@ typedef const SHITEMID *LPCSHITEMID;
typedef struct _ITEMIDLIST
{
SHITEMID mkid; /* first itemid in list */
} ITEMIDLIST;
cpp_quote("#if defined(STRICT_TYPED_ITEMIDS) && defined(__cplusplus)")
cpp_quote("typedef struct _ITEMIDLIST_RELATIVE : ITEMIDLIST {} ITEMIDLIST_RELATIVE;")
cpp_quote("typedef struct _ITEMID_CHILD : ITEMIDLIST_RELATIVE {} ITEMID_CHILD;")
cpp_quote("typedef struct _ITEMIDLIST_ABSOLUTE : ITEMIDLIST_RELATIVE {} ITEMIDLIST_ABSOLUTE;")
cpp_quote("#else /* !(defined(STRICT_TYPED_ITEMIDS) && defined(__cplusplus)) */")
typedef ITEMIDLIST ITEMIDLIST_RELATIVE;
typedef ITEMIDLIST ITEMID_CHILD;
typedef ITEMIDLIST ITEMIDLIST_ABSOLUTE;
cpp_quote("#endif /* defined(STRICT_TYPED_ITEMIDS) && defined(__cplusplus) */")
} ITEMIDLIST,*LPITEMIDLIST;
typedef const ITEMIDLIST *LPCITEMIDLIST;
typedef LPITEMIDLIST PITEMID_CHILD;
typedef LPCITEMIDLIST PCUITEMID_CHILD;
typedef LPCITEMIDLIST *PCUITEMID_CHILD_ARRAY;
cpp_quote("#include <poppack.h>")
typedef [unique] BYTE_BLOB * wirePIDL;
typedef ITEMIDLIST /*__unaligned*/ * LPITEMIDLIST;
typedef const ITEMIDLIST /*__unaligned*/ * LPCITEMIDLIST;
cpp_quote("#if defined(STRICT_TYPED_ITEMIDS) && defined(__cplusplus)")
typedef ITEMIDLIST_ABSOLUTE * PIDLIST_ABSOLUTE;
typedef const ITEMIDLIST_ABSOLUTE * PCIDLIST_ABSOLUTE;
typedef const ITEMIDLIST_ABSOLUTE /*__unaligned*/ * PCUIDLIST_ABSOLUTE;
typedef ITEMIDLIST_RELATIVE * PIDLIST_RELATIVE;
typedef const ITEMIDLIST_RELATIVE * PCIDLIST_RELATIVE;
typedef ITEMIDLIST_RELATIVE /*__unaligned*/ * PUIDLIST_RELATIVE;
typedef const ITEMIDLIST_RELATIVE /*__unaligned*/ * PCUIDLIST_RELATIVE;
typedef ITEMID_CHILD * PITEMID_CHILD;
typedef const ITEMID_CHILD * PCITEMID_CHILD;
typedef ITEMID_CHILD /*__unaligned*/ * PUITEMID_CHILD;
typedef const ITEMID_CHILD /*__unaligned*/ * PCUITEMID_CHILD;
typedef PCUITEMID_CHILD const *PCUITEMID_CHILD_ARRAY;
typedef PCUIDLIST_RELATIVE const *PCUIDLIST_RELATIVE_ARRAY;
typedef PCIDLIST_ABSOLUTE const *PCIDLIST_ABSOLUTE_ARRAY;
typedef PCUIDLIST_ABSOLUTE const *PCUIDLIST_ABSOLUTE_ARRAY;
cpp_quote("#else /* !(defined(STRICT_TYPED_ITEMIDS) && defined(__cplusplus)) */")
cpp_quote("#define PIDLIST_ABSOLUTE LPITEMIDLIST")
cpp_quote("#define PCIDLIST_ABSOLUTE LPCITEMIDLIST")
cpp_quote("#define PCUIDLIST_ABSOLUTE LPCITEMIDLIST")
cpp_quote("#define PIDLIST_RELATIVE LPITEMIDLIST")
cpp_quote("#define PCIDLIST_RELATIVE LPCITEMIDLIST")
cpp_quote("#define PUIDLIST_RELATIVE LPITEMIDLIST")
cpp_quote("#define PCUIDLIST_RELATIVE LPCITEMIDLIST")
cpp_quote("#define PITEMID_CHILD LPITEMIDLIST")
cpp_quote("#define PCITEMID_CHILD LPCITEMIDLIST")
cpp_quote("#define PUITEMID_CHILD LPITEMIDLIST")
cpp_quote("#define PCUITEMID_CHILD LPCITEMIDLIST")
cpp_quote("#define PCUITEMID_CHILD_ARRAY LPCITEMIDLIST *")
cpp_quote("#define PCUIDLIST_RELATIVE_ARRAY LPCITEMIDLIST *")
cpp_quote("#define PCIDLIST_ABSOLUTE_ARRAY LPCITEMIDLIST *")
cpp_quote("#define PCUIDLIST_ABSOLUTE_ARRAY LPCITEMIDLIST *")
cpp_quote("#endif /* defined(STRICT_TYPED_ITEMIDS) && defined(__cplusplus) */")
#ifndef MAX_PATH
#define MAX_PATH 260
#endif
@ -103,7 +54,7 @@ typedef enum tagSTRRET_TYPE
STRRET_CSTR = 2
} STRRET_TYPE;
cpp_quote("#include <pshpack4.h>")
cpp_quote("#include <pshpack8.h>")
typedef struct _STRRET
{
UINT uType; /* STRRET_xxx */
@ -124,3 +75,29 @@ typedef struct
STRRET str;
} SHELLDETAILS, *LPSHELLDETAILS;
cpp_quote("#include <poppack.h>")
typedef [v1_enum] enum tagSHCOLSTATE
{
SHCOLSTATE_DEFAULT = 0,
SHCOLSTATE_TYPE_STR,
SHCOLSTATE_TYPE_INT,
SHCOLSTATE_TYPE_DATE,
SHCOLSTATE_TYPEMASK = 0xf,
SHCOLSTATE_ONBYDEFAULT = 0x10,
SHCOLSTATE_SLOW = 0x20,
SHCOLSTATE_EXTENDED = 0x40,
SHCOLSTATE_SECONDARYUI = 0x80,
SHCOLSTATE_HIDDEN = 0x100,
SHCOLSTATE_PREFER_VARCMP = 0x200,
SHCOLSTATE_PREFER_FMTCMP = 0x400,
SHCOLSTATE_NOSORTBYFOLDERNESS = 0x800,
SHCOLSTATE_VIEWONLY = 0x10000,
SHCOLSTATE_BATCHREAD = 0x20000,
SHCOLSTATE_NO_GROUPBY = 0x40000,
SHCOLSTATE_FIXED_WIDTH = 0x1000,
SHCOLSTATE_NODPISCALE = 0x2000,
SHCOLSTATE_FIXED_RATIO = 0x4000,
SHCOLSTATE_DISPLAYMASK = 0xf000
} SHCOLSTATE;
typedef DWORD SHCOLSTATEF;

View file

@ -18,6 +18,10 @@
import "oaidl.idl";
cpp_quote("#ifdef WINE_NO_UNICODE_MACROS")
cpp_quote("#undef FindText")
cpp_quote("#endif")
typedef enum tagTomConstants
{
tomFalse = 0,
@ -200,23 +204,23 @@ interface ITextDocument : IDispatch
{
HRESULT GetName([retval, out]BSTR *pName);
HRESULT GetSelection([retval, out]ITextSelection **ppSel);
HRESULT GetStoryCount([retval, out]long *pCount);
HRESULT GetStoryCount([retval, out]LONG *pCount);
HRESULT GetStoryRanges([retval, out]ITextStoryRanges **ppStories);
HRESULT GetSaved([retval, out]long *pValue);
HRESULT SetSaved([in]long Value);
HRESULT GetSaved([retval, out]LONG *pValue);
HRESULT SetSaved([in]LONG Value);
HRESULT GetDefaultTabStop([retval, out]float *pValue);
HRESULT SetDefaultTabStop([in]float Value);
HRESULT New();
HRESULT Open([in]VARIANT *pVar, [in]long Flags, [in]long CodePage);
HRESULT Save([in]VARIANT *pVar, [in]long Flags, [in]long CodePage);
HRESULT Freeze([retval, out]long *pCount);
HRESULT Unfreeze([retval, out]long *pCount);
HRESULT Open([in]VARIANT *pVar, [in]LONG Flags, [in]LONG CodePage);
HRESULT Save([in]VARIANT *pVar, [in]LONG Flags, [in]LONG CodePage);
HRESULT Freeze([retval, out]LONG *pCount);
HRESULT Unfreeze([retval, out]LONG *pCount);
HRESULT BeginEditCollection();
HRESULT EndEditCollection();
HRESULT Undo([in]long Count, [retval, out]long *prop);
HRESULT Redo([in]long Count, [retval, out]long *prop);
HRESULT Range([in]long cp1, [in]long cp2, [retval, out]ITextRange**ppRange);
HRESULT RangeFromPoint([in]long x, [in]long y, [retval, out]ITextRange**ppRange);
HRESULT Undo([in]LONG Count, [retval, out]LONG *prop);
HRESULT Redo([in]LONG Count, [retval, out]LONG *prop);
HRESULT Range([in]LONG cp1, [in]LONG cp2, [retval, out]ITextRange **ppRange);
HRESULT RangeFromPoint([in]LONG x, [in]LONG y, [retval, out]ITextRange **ppRange);
}
interface ITextFont;
@ -230,54 +234,54 @@ interface ITextRange : IDispatch
{
HRESULT GetText([retval, out]BSTR *pbstr);
HRESULT SetText([in]BSTR bstr);
HRESULT GetChar([retval, out]long *pch);
HRESULT SetChar([in]long ch);
HRESULT GetChar([retval, out]LONG *pch);
HRESULT SetChar([in]LONG ch);
HRESULT GetDuplicate([retval, out]ITextRange **ppRange);
HRESULT GetFormattedText([retval, out]ITextRange **ppRange);
HRESULT SetFormattedText([in]ITextRange *pRange);
HRESULT GetStart([retval, out]long *pcpFirst);
HRESULT SetStart([in]long cpFirst);
HRESULT GetEnd([retval, out]long *pcpLim);
HRESULT SetEnd([in]long cpLim);
HRESULT GetStart([retval, out]LONG *pcpFirst);
HRESULT SetStart([in]LONG cpFirst);
HRESULT GetEnd([retval, out]LONG *pcpLim);
HRESULT SetEnd([in]LONG cpLim);
HRESULT GetFont([retval, out]ITextFont **pFont);
HRESULT SetFont([in]ITextFont *pFont);
HRESULT GetPara([retval, out]ITextPara **ppPara);
HRESULT SetPara([in]ITextPara *pPara);
HRESULT GetStoryLength([retval, out]long *pcch);
HRESULT GetStoryType([retval, out]long *pValue);
HRESULT Collapse([in]long bStart);
HRESULT Expand([in]long Unit, [retval, out]long *pDelta);
HRESULT GetIndex([in]long Unit, [retval, out]long *pIndex);
HRESULT SetIndex([in]long Unit, [in]long Index, [in]long Extend);
HRESULT SetRange([in]long cpActive, [in]long cpOther);
HRESULT InRange([in]ITextRange *pRange, [retval, out]long *pb);
HRESULT InStory([in]ITextRange *pRange, [retval, out]long *pb);
HRESULT IsEqual([in]ITextRange *pRange, [retval, out]long *pb);
HRESULT GetStoryLength([retval, out]LONG *pcch);
HRESULT GetStoryType([retval, out]LONG *pValue);
HRESULT Collapse([in]LONG bStart);
HRESULT Expand([in]LONG Unit, [retval, out]LONG *pDelta);
HRESULT GetIndex([in]LONG Unit, [retval, out]LONG *pIndex);
HRESULT SetIndex([in]LONG Unit, [in]LONG Index, [in]LONG Extend);
HRESULT SetRange([in]LONG cpActive, [in]LONG cpOther);
HRESULT InRange([in]ITextRange *pRange, [retval, out]LONG *pb);
HRESULT InStory([in]ITextRange *pRange, [retval, out]LONG *pb);
HRESULT IsEqual([in]ITextRange *pRange, [retval, out]LONG *pb);
HRESULT Select();
HRESULT StartOf([in]long Unit, [in]long Extend, [retval, out]long *pDelta);
HRESULT EndOf([in]long Unit, [in]long Extend, [retval, out]long *pDelta);
HRESULT Move([in]long Unit, [in]long Count, [retval, out]long *pDelta);
HRESULT MoveStart([in]long Unit, [in]long Count, [retval, out]long *pDelta);
HRESULT MoveEnd([in]long Unit, [in]long Count, [retval, out]long *pDelta);
HRESULT MoveWhile([in]VARIANT *Cset, [in]long Count, [retval, out]long *pDelta);
HRESULT MoveStartWhile([in]VARIANT *Cset, [in]long Count, [retval, out]long *pDelta);
HRESULT MoveEndWhile([in]VARIANT *Cset, [in]long Count, [retval, out]long *pDelta);
HRESULT MoveUntil([in]VARIANT *Cset, [in]long Count, [retval, out]long *pDelta);
HRESULT MoveStartUntil([in]VARIANT *Cset, [in]long Count, [retval, out]long *pDelta);
HRESULT MoveEndUntil([in]VARIANT *Cset, [in]long Count, [retval, out]long *pDelta);
HRESULT FindText([in]BSTR bstr, [in]long cch, [in]long Flags, [retval, out]long *pLength);
HRESULT FindTextStart([in]BSTR bstr, [in]long cch, [in]long Flags, [retval, out]long *pLength);
HRESULT FindTextEnd([in]BSTR bstr, [in]long cch, [in]long Flags, [retval, out]long *pLength);
HRESULT Delete([in]long Unit, [in]long Count, [retval, out]long *pDelta);
HRESULT StartOf([in]LONG Unit, [in]LONG Extend, [retval, out]LONG *pDelta);
HRESULT EndOf([in]LONG Unit, [in]LONG Extend, [retval, out]LONG *pDelta);
HRESULT Move([in]LONG Unit, [in]LONG Count, [retval, out]LONG *pDelta);
HRESULT MoveStart([in]LONG Unit, [in]LONG Count, [retval, out]LONG *pDelta);
HRESULT MoveEnd([in]LONG Unit, [in]LONG Count, [retval, out]LONG *pDelta);
HRESULT MoveWhile([in]VARIANT *Cset, [in]LONG Count, [retval, out]LONG *pDelta);
HRESULT MoveStartWhile([in]VARIANT *Cset, [in]LONG Count, [retval, out]LONG *pDelta);
HRESULT MoveEndWhile([in]VARIANT *Cset, [in]LONG Count, [retval, out]LONG *pDelta);
HRESULT MoveUntil([in]VARIANT *Cset, [in]LONG Count, [retval, out]LONG *pDelta);
HRESULT MoveStartUntil([in]VARIANT *Cset, [in]LONG Count, [retval, out]LONG *pDelta);
HRESULT MoveEndUntil([in]VARIANT *Cset, [in]LONG Count, [retval, out]LONG *pDelta);
HRESULT FindText([in]BSTR bstr, [in]LONG cch, [in]LONG Flags, [retval, out]LONG *pLength);
HRESULT FindTextStart([in]BSTR bstr, [in]LONG cch, [in]LONG Flags, [retval, out]LONG *pLength);
HRESULT FindTextEnd([in]BSTR bstr, [in]LONG cch, [in]LONG Flags, [retval, out]LONG *pLength);
HRESULT Delete([in]LONG Unit, [in]LONG Count, [retval, out]LONG *pDelta);
HRESULT Cut([out]VARIANT *pVar);
HRESULT Copy([out]VARIANT *pVar);
HRESULT Paste([in]VARIANT *pVar, [in]long Format);
HRESULT CanPaste([in]VARIANT *pVar, [in]long Format, [retval, out]long *pb);
HRESULT CanEdit([retval, out]long *pb);
HRESULT ChangeCase([in]long Type);
HRESULT GetPoint([in]long Type, [out]long *cx, [out]long *cy);
HRESULT SetPoint([in]long x, [in]long y, [in]long Type, [in]long Extend);
HRESULT ScrollIntoView([in]long Value);
HRESULT Paste([in]VARIANT *pVar, [in]LONG Format);
HRESULT CanPaste([in]VARIANT *pVar, [in]LONG Format, [retval, out]LONG *pb);
HRESULT CanEdit([retval, out]LONG *pb);
HRESULT ChangeCase([in]LONG Type);
HRESULT GetPoint([in]LONG Type, [out]LONG *cx, [out]LONG *cy);
HRESULT SetPoint([in]LONG x, [in]LONG y, [in]LONG Type, [in]LONG Extend);
HRESULT ScrollIntoView([in]LONG Value);
HRESULT GetEmbeddedObject([retval, out]IUnknown **ppv);
}
@ -287,15 +291,15 @@ interface ITextRange : IDispatch
]
interface ITextSelection : ITextRange
{
HRESULT GetFlags([retval, out]long *pFlags);
HRESULT SetFlags([in]long Flags);
HRESULT GetType([retval, out]long *pType);
HRESULT MoveLeft([in]long Unit, [in]long Count, [in]long Extend, [retval, out]long *pDelta);
HRESULT MoveRight([in]long Unit, [in]long Count, [in]long Extend, [retval, out]long *pDelta);
HRESULT MoveUp([in]long Unit, [in]long Count, [in]long Extend, [retval, out]long *pDelta);
HRESULT MoveDown([in]long Unit, [in]long Count, [in]long Extend, [retval, out]long *pDelta);
HRESULT HomeKey([in]long Unit, [in]long Extend, [retval, out]long *pDelta);
HRESULT EndKey([in]long Unit, [in]long Extend, [retval, out]long *pDelta);
HRESULT GetFlags([retval, out]LONG *pFlags);
HRESULT SetFlags([in]LONG Flags);
HRESULT GetType([retval, out]LONG *pType);
HRESULT MoveLeft([in]LONG Unit, [in]LONG Count, [in]LONG Extend, [retval, out]LONG *pDelta);
HRESULT MoveRight([in]LONG Unit, [in]LONG Count, [in]LONG Extend, [retval, out]LONG *pDelta);
HRESULT MoveUp([in]LONG Unit, [in]LONG Count, [in]LONG Extend, [retval, out]LONG *pDelta);
HRESULT MoveDown([in]LONG Unit, [in]LONG Count, [in]LONG Extend, [retval, out]LONG *pDelta);
HRESULT HomeKey([in]LONG Unit, [in]LONG Extend, [retval, out]LONG *pDelta);
HRESULT EndKey([in]LONG Unit, [in]LONG Extend, [retval, out]LONG *pDelta);
HRESULT TypeText([in]BSTR bstr);
}
@ -307,59 +311,59 @@ interface ITextFont : IDispatch
{
HRESULT GetDuplicate([retval, out]ITextFont **ppFont);
HRESULT SetDuplicate([in]ITextFont *pFont);
HRESULT CanChange([out]long *pB);
HRESULT IsEqual([in]ITextFont *pFont, [retval, out]long *pB);
HRESULT Reset([in]long Value);
HRESULT GetStyle([retval, out]long *pValue);
HRESULT SetStyle([in]long Value);
HRESULT GetAllCaps([retval, out]long *pValue);
HRESULT SetAllCaps([in]long Value);
HRESULT GetAnimation([retval, out]long *pValue);
HRESULT SetAnimation([in]long Value);
HRESULT GetBackColor([retval, out]long *pValue);
HRESULT SetBackColor([in]long Value);
HRESULT GetBold([retval, out]long *pValue);
HRESULT SetBold([in]long Value);
HRESULT GetEmboss([retval, out]long *pValue);
HRESULT SetEmboss([in]long Value);
HRESULT GetForeColor([retval, out]long *pValue);
HRESULT SetForeColor([in]long Value);
HRESULT GetHidden([retval, out]long *pValue);
HRESULT SetHidden([in]long Value);
HRESULT GetEngrave([retval, out]long *pValue);
HRESULT SetEngrave([in]long Value);
HRESULT GetItalic([retval, out]long *pValue);
HRESULT SetItalic([in]long Value);
HRESULT GetKerning([retval, out]long *pValue);
HRESULT SetKerning([in]long Value);
HRESULT GetLanguageID([retval, out]long *pValue);
HRESULT SetLanguageID([in]long Value);
HRESULT CanChange([out]LONG *pB);
HRESULT IsEqual([in]ITextFont *pFont, [retval, out]LONG *pB);
HRESULT Reset([in]LONG Value);
HRESULT GetStyle([retval, out]LONG *pValue);
HRESULT SetStyle([in]LONG Value);
HRESULT GetAllCaps([retval, out]LONG *pValue);
HRESULT SetAllCaps([in]LONG Value);
HRESULT GetAnimation([retval, out]LONG *pValue);
HRESULT SetAnimation([in]LONG Value);
HRESULT GetBackColor([retval, out]LONG *pValue);
HRESULT SetBackColor([in]LONG Value);
HRESULT GetBold([retval, out]LONG *pValue);
HRESULT SetBold([in]LONG Value);
HRESULT GetEmboss([retval, out]LONG *pValue);
HRESULT SetEmboss([in]LONG Value);
HRESULT GetForeColor([retval, out]LONG *pValue);
HRESULT SetForeColor([in]LONG Value);
HRESULT GetHidden([retval, out]LONG *pValue);
HRESULT SetHidden([in]LONG Value);
HRESULT GetEngrave([retval, out]LONG *pValue);
HRESULT SetEngrave([in]LONG Value);
HRESULT GetItalic([retval, out]LONG *pValue);
HRESULT SetItalic([in]LONG Value);
HRESULT GetKerning([retval, out]LONG *pValue);
HRESULT SetKerning([in]LONG Value);
HRESULT GetLanguageID([retval, out]LONG *pValue);
HRESULT SetLanguageID([in]LONG Value);
HRESULT GetName([retval, out]BSTR *pValue);
HRESULT SetName([in]BSTR Value);
HRESULT GetOutline([retval, out]long *pValue);
HRESULT SetOutline([in]long Value);
HRESULT GetPosition([retval, out]long *pValue);
HRESULT SetPosition([in]long Value);
HRESULT GetProtected([retval, out]long *pValue);
HRESULT SetProtected([in]long Value);
HRESULT GetShadow([retval, out]long *pValue);
HRESULT SetShadow([in]long Value);
HRESULT GetSize([retval, out]long *pValue);
HRESULT SetSize([in]long Value);
HRESULT GetSmallCaps([retval, out]long *pValue);
HRESULT SetSmallCaps([in]long Value);
HRESULT GetOutline([retval, out]LONG *pValue);
HRESULT SetOutline([in]LONG Value);
HRESULT GetPosition([retval, out]LONG *pValue);
HRESULT SetPosition([in]LONG Value);
HRESULT GetProtected([retval, out]LONG *pValue);
HRESULT SetProtected([in]LONG Value);
HRESULT GetShadow([retval, out]LONG *pValue);
HRESULT SetShadow([in]LONG Value);
HRESULT GetSize([retval, out]LONG *pValue);
HRESULT SetSize([in]LONG Value);
HRESULT GetSmallCaps([retval, out]LONG *pValue);
HRESULT SetSmallCaps([in]LONG Value);
HRESULT GetSpacing([retval, out]float *pValue);
HRESULT SetSpacing([in]float Value);
HRESULT GetStrikeThrough([retval, out]long *pValue);
HRESULT SetStrikeThrough([in]long Value);
HRESULT GetSubscript([retval, out]long *pValue);
HRESULT SetSubscript([in]long Value);
HRESULT GetSuperscript([retval, out]long *pValue);
HRESULT SetSuperscript([in]long Value);
HRESULT GetUnderline([retval, out]long *pValue);
HRESULT SetUnderline([in]long Value);
HRESULT GetWeight([retval, out]long *pValue);
HRESULT SetWeight([in]long Value);
HRESULT GetStrikeThrough([retval, out]LONG *pValue);
HRESULT SetStrikeThrough([in]LONG Value);
HRESULT GetSubscript([retval, out]LONG *pValue);
HRESULT SetSubscript([in]LONG Value);
HRESULT GetSuperscript([retval, out]LONG *pValue);
HRESULT SetSuperscript([in]LONG Value);
HRESULT GetUnderline([retval, out]LONG *pValue);
HRESULT SetUnderline([in]LONG Value);
HRESULT GetWeight([retval, out]LONG *pValue);
HRESULT SetWeight([in]LONG Value);
}
[
@ -370,52 +374,52 @@ interface ITextPara : IDispatch
{
HRESULT GetDuplicate([retval, out]ITextPara **ppPara);
HRESULT SetDuplicate([in]ITextPara *pPara);
HRESULT CanChange([out]long *pB);
HRESULT IsEqual([in]ITextPara *pPara, [retval, out]long *pB);
HRESULT Reset([in]long Value);
HRESULT GetStyle([retval, out]long *pValue);
HRESULT SetStyle([in]long Value);
HRESULT GetAlignment([retval, out]long *pValue);
HRESULT SetAlignment([in]long Value);
HRESULT GetHyphenation([retval, out]long *pValue);
HRESULT SetHyphenation([in]long Value);
HRESULT CanChange([out]LONG *pB);
HRESULT IsEqual([in]ITextPara *pPara, [retval, out]LONG *pB);
HRESULT Reset([in]LONG Value);
HRESULT GetStyle([retval, out]LONG *pValue);
HRESULT SetStyle([in]LONG Value);
HRESULT GetAlignment([retval, out]LONG *pValue);
HRESULT SetAlignment([in]LONG Value);
HRESULT GetHyphenation([retval, out]LONG *pValue);
HRESULT SetHyphenation([in]LONG Value);
HRESULT GetFirstLineIndent([retval, out]float *pValue);
HRESULT GetKeepTogether([retval, out]long *pValue);
HRESULT SetKeepTogether([in]long Value);
HRESULT GetKeepWithNext([retval, out]long *pValue);
HRESULT SetKeepWithNext([in]long Value);
HRESULT GetKeepTogether([retval, out]LONG *pValue);
HRESULT SetKeepTogether([in]LONG Value);
HRESULT GetKeepWithNext([retval, out]LONG *pValue);
HRESULT SetKeepWithNext([in]LONG Value);
HRESULT GetLeftIndent([retval, out]float *pValue);
HRESULT GetLineSpacing([retval, out]float *pValue);
HRESULT GetLineSpacingRule([retval, out]long *pValue);
HRESULT GetListAlignment([retval, out]long *pValue);
HRESULT SetListAlignment([in]long Value);
HRESULT GetListLevelIndex([retval, out]long *pValue);
HRESULT SetListLevelIndex([in]long Value);
HRESULT GetListStart([retval, out]long *pValue);
HRESULT SetListStart([in]long Value);
HRESULT GetListTab([retval, out]long *pValue);
HRESULT SetListTab([in]long Value);
HRESULT GetListType([retval, out]long *pValue);
HRESULT SetListType([in]long Value);
HRESULT GetNoLineNumber([retval, out]long *pValue);
HRESULT SetNoLineNumber([in]long Value);
HRESULT GetPageBreakBefore([retval, out]long *pValue);
HRESULT SetPageBreakBefore([in]long Value);
HRESULT GetLineSpacingRule([retval, out]LONG *pValue);
HRESULT GetListAlignment([retval, out]LONG *pValue);
HRESULT SetListAlignment([in]LONG Value);
HRESULT GetListLevelIndex([retval, out]LONG *pValue);
HRESULT SetListLevelIndex([in]LONG Value);
HRESULT GetListStart([retval, out]LONG *pValue);
HRESULT SetListStart([in]LONG Value);
HRESULT GetListTab([retval, out]LONG *pValue);
HRESULT SetListTab([in]LONG Value);
HRESULT GetListType([retval, out]LONG *pValue);
HRESULT SetListType([in]LONG Value);
HRESULT GetNoLineNumber([retval, out]LONG *pValue);
HRESULT SetNoLineNumber([in]LONG Value);
HRESULT GetPageBreakBefore([retval, out]LONG *pValue);
HRESULT SetPageBreakBefore([in]LONG Value);
HRESULT GetRightIndent([retval, out]float *pValue);
HRESULT SetRightIndent([in]float Value);
HRESULT SetIndents([in]float StartIndent, [in]float LeftIndent, [in]float RightIndent);
HRESULT SetLineSpacing([in]long LineSpacingRule, [in]float LineSpacing);
HRESULT SetLineSpacing([in]LONG LineSpacingRule, [in]float LineSpacing);
HRESULT GetSpaceAfter([retval, out]float *pValue);
HRESULT SetSpaceAfter([in]float Value);
HRESULT GetSpaceBefore([retval, out]float *pValue);
HRESULT SetSpaceBefore([in]float Value);
HRESULT GetWindowControl([retval, out]float *pValue);
HRESULT SetWindowControl([in]float Value);
HRESULT GetTabCount([retval, out]long *pCount);
HRESULT AddTab([in]float tbPos, [in]long tbAlign, [in]long tbLeader);
HRESULT GetTabCount([retval, out]LONG *pCount);
HRESULT AddTab([in]float tbPos, [in]LONG tbAlign, [in]LONG tbLeader);
HRESULT ClearAllTabs();
HRESULT DeleteTab([in]float tbPos);
HRESULT GetTab([in]long iTab, [out]float *ptbPos, [out]long *ptbAlign, [out]long *ptbLeader);
HRESULT GetTab([in]LONG iTab, [out]float *ptbPos, [out]LONG *ptbAlign, [out]LONG *ptbLeader);
}
[
@ -425,6 +429,6 @@ interface ITextPara : IDispatch
interface ITextStoryRanges : IDispatch
{
HRESULT _NewEnum([retval, out]IUnknown **ppUnkEnum);
HRESULT Item([in]long Index, [retval, out]ITextRange **ppRange);
HRESULT GetCount([retval, out]long *pCount);
HRESULT Item([in]LONG Index, [retval, out]ITextRange **ppRange);
HRESULT GetCount([retval, out]LONG *pCount);
}

1817
include/psdk/tuner.idl Normal file

File diff suppressed because it is too large Load diff

View file

@ -1646,6 +1646,62 @@ interface IUri : IUnknown
[out] BOOL *pfEqual);
}
cpp_quote("HRESULT WINAPI CreateUri(LPCWSTR,DWORD,DWORD_PTR,IUri**);")
cpp_quote("HRESULT WINAPI CreateUriWithFragment(LPCWSTR,LPCWSTR,DWORD,DWORD_PTR,IUri**);")
cpp_quote("HRESULT WINAPI CreateUriFromMultiByteString(LPCSTR,DWORD,DWORD,DWORD,DWORD_PTR,IUri**);")
cpp_quote("#define Uri_HAS_ABSOLUTE_URI (1 << Uri_PROPERTY_ABSOLUTE_URI)")
cpp_quote("#define Uri_HAS_AUTHORITY (1 << Uri_PROPERTY_AUTHORITY)")
cpp_quote("#define Uri_HAS_DISPLAY_URI (1 << Uri_PROPERTY_DISPLAY_URI)")
cpp_quote("#define Uri_HAS_DOMAIN (1 << Uri_PROPERTY_DOMAIN)")
cpp_quote("#define Uri_HAS_EXTENSION (1 << Uri_PROPERTY_EXTENSION)")
cpp_quote("#define Uri_HAS_FRAGMENT (1 << Uri_PROPERTY_FRAGMENT)")
cpp_quote("#define Uri_HAS_HOST (1 << Uri_PROPERTY_HOST)")
cpp_quote("#define Uri_HAS_PASSWORD (1 << Uri_PROPERTY_PASSWORD)")
cpp_quote("#define Uri_HAS_PATH (1 << Uri_PROPERTY_PATH)")
cpp_quote("#define Uri_HAS_QUERY (1 << Uri_PROPERTY_QUERY)")
cpp_quote("#define Uri_HAS_RAW_URI (1 << Uri_PROPERTY_RAW_URI)")
cpp_quote("#define Uri_HAS_SCHEME_NAME (1 << Uri_PROPERTY_SCHEME_NAME)")
cpp_quote("#define Uri_HAS_USER_NAME (1 << Uri_PROPERTY_USER_NAME)")
cpp_quote("#define Uri_HAS_PATH_AND_QUERY (1 << Uri_PROPERTY_PATH_AND_QUERY)")
cpp_quote("#define Uri_HAS_USER_INFO (1 << Uri_PROPERTY_USER_INFO)")
cpp_quote("#define Uri_HAS_HOST_TYPE (1 << Uri_PROPERTY_HOST_TYPE)")
cpp_quote("#define Uri_HAS_PORT (1 << Uri_PROPERTY_PORT)")
cpp_quote("#define Uri_HAS_SCHEME (1 << Uri_PROPERTY_SCHEME)")
cpp_quote("#define Uri_HAS_ZONE (1 << Uri_PROPERTY_ZONE)")
cpp_quote("#define Uri_CREATE_ALLOW_RELATIVE 0x0001")
cpp_quote("#define Uri_CREATE_ALLOW_IMPLICIT_WILDCARD_SCHEME 0x0002")
cpp_quote("#define Uri_CREATE_ALLOW_IMPLICIT_FILE_SCHEME 0x0004")
cpp_quote("#define Uri_CREATE_NOFRAG 0x0008")
cpp_quote("#define Uri_CREATE_NO_CANONICALIZE 0x0010")
cpp_quote("#define Uri_CREATE_CANONICALIZE 0x0100")
cpp_quote("#define Uri_CREATE_FILE_USE_DOS_PATH 0x0020")
cpp_quote("#define Uri_CREATE_DECODE_EXTRA_INFO 0x0040")
cpp_quote("#define Uri_CREATE_NO_DECODE_EXTRA_INFO 0x0080")
cpp_quote("#define Uri_CREATE_CRACK_UNKNOWN_SCHEMES 0x0200")
cpp_quote("#define Uri_CREATE_NO_CRACK_UNKNOWN_SCHEMES 0x0400")
cpp_quote("#define Uri_CREATE_PRE_PROCESS_HTML_URI 0x0800")
cpp_quote("#define Uri_CREATE_NO_PRE_PROCESS_HTML_URI 0x1000")
cpp_quote("#define Uri_CREATE_IE_SETTINGS 0x2000")
cpp_quote("#define Uri_CREATE_NO_IE_SETTINGS 0x4000")
cpp_quote("#define Uri_CREATE_NO_ENCODE_FORBIDDEN_CHARACTERS 0x8000")
cpp_quote("#define Uri_DISPLAY_NO_FRAGMENT 0x00000001")
cpp_quote("#define Uri_PUNYCODE_IDN_HOST 0x00000002")
cpp_quote("#define Uri_DISPLAY_IDN_HOST 0x00000004")
cpp_quote("#define Uri_ENCODING_USER_INFO_AND_PATH_IS_PERCENT_ENCODED_UTF8 0x00000001")
cpp_quote("#define Uri_ENCODING_USER_INFO_AND_PATH_IS_CP 0x00000002")
cpp_quote("#define Uri_ENCODING_HOST_IS_IDN 0x00000004")
cpp_quote("#define Uri_ENCODING_HOST_IS_PERCENT_ENCODED_UTF8 0x00000008")
cpp_quote("#define Uri_ENCODING_HOST_IS_PERCENT_ENCODED_CP 0x00000010")
cpp_quote("#define Uri_ENCODING_QUERY_AND_FRAGMENT_IS_PERCENT_ENCODED_UTF8 0x00000020")
cpp_quote("#define Uri_ENCODING_QUERY_AND_FRAGMENT_IS_CP 0x00000040")
cpp_quote("#define Uri_ENCODING_RFC (Uri_ENCODING_USER_INFO_AND_PATH_IS_PERCENT_ENCODED_UTF8|Uri_ENCODING_HOST_IS_PERCENT_ENCODED_UTF8|Uri_ENCODING_QUERY_AND_FRAGMENT_IS_PERCENT_ENCODED_UTF8)")
cpp_quote("#define UriBuilder_USE_ORIGINAL_FLAGS 0x00000001")
/*****************************************************************************
* IUriContainer interface
*/
@ -1740,6 +1796,8 @@ cpp_quote("#define INET_E_DEFAULT_ACTION INET_E_USE_DEFAULT_PROTOCOLH
cpp_quote("HRESULT WINAPI CoGetClassObjectFromURL(REFCLSID, LPCWSTR, DWORD, DWORD, LPCWSTR, LPBINDCTX, DWORD, LPVOID, REFIID, LPVOID*);")
cpp_quote("HRESULT WINAPI CreateURLMoniker(IMoniker *pmkContext, LPCWSTR szURL, IMoniker **ppmk);")
cpp_quote("HRESULT WINAPI CreateURLMonikerEx(IMoniker*,LPCWSTR,IMoniker**,DWORD);")
cpp_quote("HRESULT WINAPI CreateURLMonikerEx2(IMoniker*,IUri*,IMoniker**,DWORD);")
cpp_quote("HRESULT WINAPI RegisterBindStatusCallback(IBindCtx *pbc, IBindStatusCallback *pbsc, IBindStatusCallback **ppbsc, DWORD dwReserved);")
cpp_quote("HRESULT WINAPI CompareSecurityIds(BYTE*,DWORD,BYTE*,DWORD,DWORD);")
cpp_quote("HRESULT WINAPI URLDownloadToFileA(LPUNKNOWN,LPCSTR,LPCSTR,DWORD,LPBINDSTATUSCALLBACK);")
@ -1758,6 +1816,7 @@ cpp_quote("HRESULT WINAPI CoInternetCreateZoneManager(IServiceProvider*, IIntern
cpp_quote("HRESULT WINAPI CoInternetParseUrl(LPCWSTR,PARSEACTION,DWORD,LPWSTR,DWORD,DWORD*,DWORD);")
cpp_quote("HRESULT WINAPI CoInternetQueryInfo(LPCWSTR,QUERYOPTION,DWORD,LPVOID,DWORD,DWORD*,DWORD);")
cpp_quote("HRESULT WINAPI CoInternetSetFeatureEnabled(INTERNETFEATURELIST,DWORD,BOOL);")
cpp_quote("HRESULT WINAPI CoInternetGetSecurityUrl(LPCWSTR,LPWSTR*,PSUACTION,DWORD);")
cpp_quote("HRESULT WINAPI CreateFormatEnumerator(UINT,FORMATETC*,IEnumFORMATETC**);")
cpp_quote("HRESULT WINAPI GetSoftwareUpdateInfo( LPCWSTR szDistUnit, LPSOFTDISTINFO psdi);")
cpp_quote("HRESULT WINAPI FaultInIEFeature(HWND,uCLSSPEC*,QUERYCONTEXT*,DWORD);")

View file

@ -1993,11 +1993,16 @@ extern "C" {
#define SBM_ENABLE_ARROWS 228
#define SBM_GETPOS 225
#define SBM_GETRANGE 227
#define SBM_GETSCROLLINFO 234
#define SBM_SETPOS 224
#define SBM_SETRANGE 226
#define SBM_SETRANGEREDRAW 230
#if (_WIN32_WINNT >= 0x0400)
#define SBM_GETSCROLLINFO 234
#define SBM_SETSCROLLINFO 233
#endif
#if (_WIN32_WINNT >= 0x0501)
#define SBM_GETSCROLLBARINFO 235
#endif
#define STM_GETICON 369
#define STM_GETIMAGE 371
#define STM_SETICON 368

View file

@ -91,16 +91,13 @@ DECLARE_HANDLE(HWINSTA);
DECLARE_HANDLE(HKL);
DECLARE_HANDLE(HGDIOBJ);
cpp_quote("#if 0")
typedef HANDLE HMONITOR;
cpp_quote("#endif /* 0 */")
typedef HANDLE HDWP;
typedef LONG_PTR LRESULT;
typedef LONG HRESULT;
typedef DWORD LCID;
typedef USHORT LANGID;
typedef unsigned __int64 DWORDLONG;
typedef __int64 LONGLONG;
@ -447,7 +444,7 @@ typedef struct tagRemHGLOBAL {
typedef union _userHGLOBAL switch(long fContext) u {
case WDT_INPROC_CALL: long hInproc;
case WDT_REMOTE_CALL: FLAGGED_BYTE_BLOB *hRemote;
default: long hGlobal;
case WDT_INPROC64_CALL: __int64 hInproc64;
} userHGLOBAL;
typedef [unique] userHGLOBAL *wireHGLOBAL;
@ -463,7 +460,7 @@ typedef struct tagRemHMETAFILEPICT {
typedef union _userHMETAFILE switch(long fContext) u {
case WDT_INPROC_CALL: long hInproc;
case WDT_REMOTE_CALL: BYTE_BLOB *hRemote;
default: long hGlobal;
case WDT_INPROC64_CALL: __int64 hInproc64;
} userHMETAFILE;
typedef [unique] userHMETAFILE *wireHMETAFILE;
@ -478,7 +475,7 @@ typedef struct _remoteMETAFILEPICT {
typedef union _userHMETAFILEPICT switch(long fContext) u {
case WDT_INPROC_CALL: long hInproc;
case WDT_REMOTE_CALL: remoteMETAFILEPICT *hRemote;
default: long hGlobal;
case WDT_INPROC64_CALL: __int64 hInproc64;
} userHMETAFILEPICT;
typedef [unique] userHMETAFILEPICT *wireHMETAFILEPICT;
@ -491,7 +488,7 @@ typedef struct tagRemHENHMETAFILE {
typedef union _userHENHMETAFILE switch(long fContext) u {
case WDT_INPROC_CALL: long hInproc;
case WDT_REMOTE_CALL: BYTE_BLOB *hRemote;
default: long hGlobal;
case WDT_INPROC64_CALL: __int64 hInproc64;
} userHENHMETAFILE;
typedef [unique] userHENHMETAFILE *wireHENHMETAFILE;
@ -516,7 +513,7 @@ typedef struct _userBITMAP {
typedef union _userHBITMAP switch(long fContext) u {
case WDT_INPROC_CALL: long hInproc;
case WDT_REMOTE_CALL: userBITMAP *hRemote;
default: long hGlobal;
case WDT_INPROC64_CALL: __int64 hInproc64;
} userHBITMAP;
typedef [unique] userHBITMAP *wireHBITMAP;
@ -535,7 +532,7 @@ typedef struct tagrpcLOGPALETTE {
typedef union _userHPALETTE switch(long fContext) u {
case WDT_INPROC_CALL: long hInproc;
case WDT_REMOTE_CALL: rpcLOGPALETTE *hRemote;
default: long hGlobal;
case WDT_INPROC64_CALL: __int64 hInproc64;
} userHPALETTE;
typedef [unique] userHPALETTE *wireHPALETTE;
@ -585,36 +582,6 @@ typedef struct tagMSG
POINT pt;
} MSG, *PMSG, *NPMSG, *LPMSG;
typedef struct tagCREATESTRUCTA {
LPVOID lpCreateParams;
HINSTANCE hInstance;
HMENU hMenu;
HWND hwndParent;
int cy;
int cx;
int y;
int x;
LONG style;
LPCSTR lpszName;
LPCSTR lpszClass;
DWORD dwExStyle;
} CREATESTRUCTA, *LPCREATESTRUCTA;
typedef struct tagCREATESTRUCTW {
LPVOID lpCreateParams;
HINSTANCE hInstance;
HMENU hMenu;
HWND hwndParent;
int cy;
int cx;
int y;
int x;
LONG style;
LPCWSTR lpszName;
LPCWSTR lpszClass;
DWORD dwExStyle;
} CREATESTRUCTW, *LPCREATESTRUCTW;
cpp_quote("#endif")
/******************** GUID TYPES ********************/
@ -870,6 +837,15 @@ typedef union switch(DWORD tyspec)
} ByObjectId;
} uCLSSPEC;
cpp_quote("#ifndef PROPERTYKEY_DEFINED")
cpp_quote("#define PROPERTYKEY_DEFINED")
typedef struct _tagpropertykey
{
GUID fmtid;
DWORD pid;
} PROPERTYKEY;
cpp_quote("#endif /*PROPERTYKEY_DEFINED*/")
} /* interface IWinTypes */
cpp_quote("#ifdef _MSC_VER")

View file

@ -21,10 +21,6 @@
import "ocidl.idl";
cpp_quote("#ifndef __xmldom_h__")
cpp_quote("#define __xmldom_h__")
cpp_quote("#endif")
interface IXMLDOMImplementation;
interface IXMLDOMNode;
interface IXMLDOMDocumentFragment;
@ -268,7 +264,7 @@ interface IXMLDOMDocument : IXMLDOMNode
[out,retval] VARIANT_BOOL *isSuccessful );
[propget, id(DISPID_READYSTATE)]
HRESULT readyState( [out,retval] long *value );
HRESULT readyState( [out,retval] LONG *value );
[propget, id(DISPID_XMLDOM_DOCUMENT_PARSEERROR)]
HRESULT parseError( [out,retval] IXMLDOMParseError **errorObj );
@ -334,11 +330,11 @@ pointer_default(unique)
interface IXMLDOMNodeList : IDispatch
{
[propget, id(DISPID_VALUE)]
HRESULT item( [in] long index,
HRESULT item( [in] LONG index,
[out,retval] IXMLDOMNode **listItem );
[propget, id(DISPID_DOM_NODELIST_LENGTH)]
HRESULT length( [out,retval] long *listLength );
HRESULT length( [out,retval] LONG *listLength );
[id(DISPID_XMLDOM_NODELIST_NEXTNODE)]
HRESULT nextNode( [out,retval] IXMLDOMNode **nextItem );
@ -375,11 +371,11 @@ interface IXMLDOMNamedNodeMap : IDispatch
[out,retval] IXMLDOMNode **namedItem );
[propget, id(DISPID_VALUE)]
HRESULT item( [in] long index,
HRESULT item( [in] LONG index,
[out,retval] IXMLDOMNode **listItem );
[propget, id(DISPID_DOM_NODELIST_LENGTH)]
HRESULT length( [out,retval] long *listLength );
HRESULT length( [out,retval] LONG *listLength );
[id(DISPID_XMLDOM_NAMEDNODEMAP_GETQUALIFIEDITEM)]
HRESULT getQualifiedItem( [in] BSTR baseName,
@ -435,27 +431,27 @@ interface IXMLDOMCharacterData : IXMLDOMNode
HRESULT data( [in] BSTR data );
[propget, id(DISPID_DOM_DATA_LENGTH)]
HRESULT length( [out,retval] long *dataLength );
HRESULT length( [out,retval] LONG *dataLength );
[id(DISPID_DOM_DATA_SUBSTRING)]
HRESULT substringData( [in] long offset,
[in] long count,
HRESULT substringData( [in] LONG offset,
[in] LONG count,
[out,retval] BSTR *data );
[id(DISPID_DOM_DATA_APPEND)]
HRESULT appendData( [in] BSTR data );
[id(DISPID_DOM_DATA_INSERT)]
HRESULT insertData( [in] long offset,
HRESULT insertData( [in] LONG offset,
[in] BSTR data );
[id(DISPID_DOM_DATA_DELETE)]
HRESULT deleteData( [in] long offset,
[in] long count );
HRESULT deleteData( [in] LONG offset,
[in] LONG count );
[id(DISPID_DOM_DATA_REPLACE)]
HRESULT replaceData( [in] long offset,
[in] long count,
HRESULT replaceData( [in] LONG offset,
[in] LONG count,
[in] BSTR data );
}
@ -540,7 +536,7 @@ pointer_default(unique)
interface IXMLDOMText : IXMLDOMCharacterData
{
[id(DISPID_DOM_TEXT_SPLITTEXT)]
HRESULT splitText( [in] long offset,
HRESULT splitText( [in] LONG offset,
[out,retval] IXMLDOMText **rightHandTextNode );
}
@ -703,7 +699,7 @@ uuid (3efaa426-272f-11d2-836f-0000f87a7782)
interface IXMLDOMParseError : IDispatch
{
[propget, id(DISPID_VALUE)]
HRESULT errorCode([retval, out] long *errCode);
HRESULT errorCode([retval, out] LONG *errCode);
[propget, id(DISPID_DOM_ERROR_URL)]
HRESULT url([retval, out] BSTR *p);
@ -715,13 +711,13 @@ interface IXMLDOMParseError : IDispatch
HRESULT srcText([retval, out] BSTR *p);
[propget, id(DISPID_DOM_ERROR_LINE)]
HRESULT line([retval, out] long *lineNo);
HRESULT line([retval, out] LONG *lineNo);
[propget, id(DISPID_DOM_ERROR_LINEPOS)]
HRESULT linepos([retval, out] long * linePos);
HRESULT linepos([retval, out] LONG * linePos);
[propget, id(DISPID_DOM_ERROR_FILEPOS)]
HRESULT filepos([retval, out] long * filePos);
HRESULT filepos([retval, out] LONG * filePos);
}
[
@ -788,7 +784,7 @@ interface IXMLHttpRequest : IDispatch
HRESULT abort();
[propget, id(7)]
HRESULT status([out, retval] long *plStatus);
HRESULT status([out, retval] LONG *plStatus);
[propget, id(8)]
HRESULT statusText([out, retval] BSTR *bstrStatus);
@ -806,7 +802,7 @@ interface IXMLHttpRequest : IDispatch
HRESULT responseStream([out, retval] VARIANT *pvarBody);
[propget, id(13)]
HRESULT readyState([out, retval] long *plState);
HRESULT readyState([out, retval] LONG *plState);
[propput, id(14)]
HRESULT onreadystatechange([in] IDispatch *pReadyStateSink);

111
include/psdk/xmllite.idl Normal file
View file

@ -0,0 +1,111 @@
/*
* Copyright (C) 2010 Nikolay Sivov
*
* 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
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
import "unknwn.idl";
import "objidl.idl";
import "oaidl.idl";
typedef enum XmlNodeType {
XmlNodeType_None = 0,
XmlNodeType_Element = 1,
XmlNodeType_Attribute = 2,
XmlNodeType_Text = 3,
XmlNodeType_CDATA = 4,
XmlNodeType_ProcessingInstruction = 7,
XmlNodeType_Comment = 8,
XmlNodeType_DocumentType = 10,
XmlNodeType_Whitespace = 13,
XmlNodeType_EndElement = 15,
XmlNodeType_XmlDeclaration = 17,
_XmlNodeType_Last = 17
} XmlNodeType;
/* IXmlReader */
[
local,
object,
uuid(7279fc81-709d-4095-b63d-69fe4b0d9030),
pointer_default(unique)
]
interface IXmlReader : IUnknown
{
HRESULT SetInput( [in] IUnknown *input);
HRESULT GetProperty( [in] UINT property, [out] LONG_PTR *value);
HRESULT SetProperty( [in] UINT property, [in] LONG_PTR value);
HRESULT Read( [out] XmlNodeType *node_type);
HRESULT GetNodeType( [out] XmlNodeType *node_type);
HRESULT MoveToFirstAttribute(void);
HRESULT MoveToNextAttribute(void);
HRESULT MoveToAttributeByName( [in] LPCWSTR local_name,
[in] LPCWSTR namespaceUri);
HRESULT MoveToElement(void);
HRESULT GetQualifiedName( [out] LPCWSTR *qualifiedName,
[out] UINT *qualifiedName_length);
HRESULT GetNamespaceUri( [out] LPCWSTR *namespaceUri,
[out] UINT *nnamespaceUri_length);
HRESULT GetLocalName( [out] LPCWSTR *local_name,
[out] UINT *locale_name_length);
HRESULT GetPrefix( [out] LPCWSTR *prefix,
[out] UINT *prefix_length);
HRESULT GetValue( [out] LPCWSTR *value,
[out] UINT *value_length);
HRESULT ReadValueChunk( [out] WCHAR *buffer,
[in] UINT chunk_size,
[in,out] UINT *read);
HRESULT GetBaseUri( [out] LPCWSTR *baseUri,
[out] UINT *baseUri_length);
BOOL IsDefault(void);
BOOL IsEmptyElement(void);
HRESULT GetLineNumber( [out] UINT *lineNumber);
HRESULT GetLinePosition( [out] UINT *linePosition);
HRESULT GetAttributeCount( [out] UINT *attributeCount);
HRESULT GetDepth( [out] UINT *depth);
BOOL IsEOF(void);
}
/* IXmlReader state */
cpp_quote("typedef enum XmlReadState")
cpp_quote("{")
cpp_quote(" XmlReadState_Initial = 0,")
cpp_quote(" XmlReadState_Interactive = 1,")
cpp_quote(" XmlReadState_Error = 2,")
cpp_quote(" XmlReadState_EndOfFile = 3,")
cpp_quote(" XmlReadState_Closed = 4")
cpp_quote("} XmlReadState;")
/* IXmlReader properties */
cpp_quote("typedef enum XmlReaderProperty")
cpp_quote("{")
cpp_quote(" XmlReaderProperty_MultiLanguage = 0,")
cpp_quote(" XmlReaderProperty_ConformanceLevel = XmlReaderProperty_MultiLanguage + 1,")
cpp_quote(" XmlReaderProperty_RandomAccess = XmlReaderProperty_ConformanceLevel + 1,")
cpp_quote(" XmlReaderProperty_XmlResolver = XmlReaderProperty_RandomAccess + 1,")
cpp_quote(" XmlReaderProperty_DtdProcessing = XmlReaderProperty_XmlResolver + 1,")
cpp_quote(" XmlReaderProperty_ReadState = XmlReaderProperty_DtdProcessing + 1,")
cpp_quote(" XmlReaderProperty_MaxElementDepth = XmlReaderProperty_ReadState + 1,")
cpp_quote(" XmlReaderProperty_MaxEntityExpansion = XmlReaderProperty_MaxElementDepth + 1,")
cpp_quote(" _XmlReaderProperty_Last = XmlReaderProperty_MaxEntityExpansion")
cpp_quote("} XmlReaderProperty;")
/* IXmlReader construction */
cpp_quote("STDAPI CreateXmlReader(REFIID riid, void **ppvObject, IMalloc *pMalloc);")
cpp_quote("typedef IUnknown IXmlReaderInput;")
cpp_quote("STDAPI CreateXmlReaderInputWithEncodingName(IUnknown *stream, IMalloc *pMalloc,")
cpp_quote(" LPCWSTR encoding, BOOL hint,")
cpp_quote(" LPCWSTR base_uri, IXmlReaderInput **ppInput);")