Moved a few remaining 16-bit definitions out of the standard headers.
This commit is contained in:
parent
23be696d40
commit
d07c1004e3
|
@ -310,6 +310,7 @@ typedef struct
|
||||||
|
|
||||||
/* ---- End of REBAR layout constants. ---- */
|
/* ---- End of REBAR layout constants. ---- */
|
||||||
|
|
||||||
|
#define RB_GETBANDINFO_OLD (WM_USER+5) /* obsoleted after IE3, but we have to support it anyway */
|
||||||
|
|
||||||
/* The following 6 defines return the proper rcBand element */
|
/* The following 6 defines return the proper rcBand element */
|
||||||
/* depending on whether CCS_VERT was set. */
|
/* depending on whether CCS_VERT was set. */
|
||||||
|
@ -4541,8 +4542,7 @@ REBAR_WindowProc (HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
|
||||||
case RB_GETBANDCOUNT:
|
case RB_GETBANDCOUNT:
|
||||||
return REBAR_GetBandCount (infoPtr);
|
return REBAR_GetBandCount (infoPtr);
|
||||||
|
|
||||||
case RB_GETBANDINFO: /* obsoleted after IE3, but we have to
|
case RB_GETBANDINFO_OLD:
|
||||||
support it anyway. */
|
|
||||||
case RB_GETBANDINFOA:
|
case RB_GETBANDINFOA:
|
||||||
return REBAR_GetBandInfoA (infoPtr, wParam, lParam);
|
return REBAR_GetBandInfoA (infoPtr, wParam, lParam);
|
||||||
|
|
||||||
|
|
|
@ -51,6 +51,8 @@
|
||||||
|
|
||||||
WINE_DEFAULT_DEBUG_CHANNEL(ole);
|
WINE_DEFAULT_DEBUG_CHANNEL(ole);
|
||||||
|
|
||||||
|
typedef LPCSTR LPCOLESTR16;
|
||||||
|
|
||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
* This section defines variables internal to the COM module.
|
* This section defines variables internal to the COM module.
|
||||||
*
|
*
|
||||||
|
|
|
@ -1332,16 +1332,6 @@ HRESULT WINAPI FileMonikerROTDataImpl_GetComparaisonData(IROTData* iface,
|
||||||
return E_NOTIMPL;
|
return E_NOTIMPL;
|
||||||
}
|
}
|
||||||
|
|
||||||
/******************************************************************************
|
|
||||||
* CreateFileMoniker (OLE2.28)
|
|
||||||
******************************************************************************/
|
|
||||||
HRESULT WINAPI CreateFileMoniker16(LPCOLESTR16 lpszPathName,LPMONIKER* ppmk)
|
|
||||||
{
|
|
||||||
|
|
||||||
FIXME("(%s,%p),stub!\n",lpszPathName,ppmk);
|
|
||||||
return E_NOTIMPL;
|
|
||||||
}
|
|
||||||
|
|
||||||
/******************************************************************************
|
/******************************************************************************
|
||||||
* CreateFileMoniker (OLE32.@)
|
* CreateFileMoniker (OLE32.@)
|
||||||
******************************************************************************/
|
******************************************************************************/
|
||||||
|
|
|
@ -25,6 +25,10 @@
|
||||||
#include "winbase.h"
|
#include "winbase.h"
|
||||||
#include "objbase.h"
|
#include "objbase.h"
|
||||||
|
|
||||||
|
typedef CHAR OLECHAR16;
|
||||||
|
typedef LPSTR LPOLESTR16;
|
||||||
|
typedef LPCSTR LPCOLESTR16;
|
||||||
|
|
||||||
/***********************************************************************
|
/***********************************************************************
|
||||||
* IMalloc16 interface
|
* IMalloc16 interface
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -957,17 +957,6 @@ HRESULT WINAPI ItemMonikerROTDataImpl_GetComparaisonData(IROTData* iface,
|
||||||
return E_NOTIMPL;
|
return E_NOTIMPL;
|
||||||
}
|
}
|
||||||
|
|
||||||
/******************************************************************************
|
|
||||||
* CreateItemMoniker16 [OLE2.28]
|
|
||||||
******************************************************************************/
|
|
||||||
HRESULT WINAPI CreateItemMoniker16(LPCOLESTR16 lpszDelim,LPCOLESTR lpszItem,LPMONIKER* ppmk)
|
|
||||||
{
|
|
||||||
|
|
||||||
FIXME("(%s,%p),stub!\n",lpszDelim,ppmk);
|
|
||||||
*ppmk = NULL;
|
|
||||||
return E_NOTIMPL;
|
|
||||||
}
|
|
||||||
|
|
||||||
/******************************************************************************
|
/******************************************************************************
|
||||||
* CreateItemMoniker [OLE32.@]
|
* CreateItemMoniker [OLE32.@]
|
||||||
******************************************************************************/
|
******************************************************************************/
|
||||||
|
|
|
@ -24,7 +24,7 @@
|
||||||
24 stub OLESAVETOSTREAM
|
24 stub OLESAVETOSTREAM
|
||||||
25 stub OLELOADFROMSTREAM
|
25 stub OLELOADFROMSTREAM
|
||||||
26 stub CREATEBINDCTX
|
26 stub CREATEBINDCTX
|
||||||
27 stub CREATEITEMMONIKER
|
27 pascal CreateItemMoniker(str str ptr) CreateItemMoniker16
|
||||||
28 pascal CreateFileMoniker(str ptr) CreateFileMoniker16
|
28 pascal CreateFileMoniker(str ptr) CreateFileMoniker16
|
||||||
29 stub CREATEGENERICCOMPOSITE
|
29 stub CREATEGENERICCOMPOSITE
|
||||||
30 pascal GetRunningObjectTable(long ptr) GetRunningObjectTable16
|
30 pascal GetRunningObjectTable(long ptr) GetRunningObjectTable16
|
||||||
|
|
|
@ -46,6 +46,7 @@
|
||||||
#include "wine/wingdi16.h"
|
#include "wine/wingdi16.h"
|
||||||
#include "wine/winuser16.h"
|
#include "wine/winuser16.h"
|
||||||
#include "ole32_main.h"
|
#include "ole32_main.h"
|
||||||
|
#include "ifs.h"
|
||||||
|
|
||||||
#include "wine/debug.h"
|
#include "wine/debug.h"
|
||||||
|
|
||||||
|
@ -120,3 +121,24 @@ HGLOBAL16 WINAPI OleMetaFilePictFromIconAndLabel16(
|
||||||
mf->hMF = CloseMetaFile16(HDC_16(hdc));
|
mf->hMF = CloseMetaFile16(HDC_16(hdc));
|
||||||
return hmf;
|
return hmf;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/******************************************************************************
|
||||||
|
* CreateItemMoniker (OLE2.27)
|
||||||
|
*/
|
||||||
|
HRESULT WINAPI CreateItemMoniker16(LPCOLESTR16 lpszDelim,LPCOLESTR16 lpszItem,LPMONIKER* ppmk)
|
||||||
|
{
|
||||||
|
FIXME("(%s,%p),stub!\n",lpszDelim,ppmk);
|
||||||
|
*ppmk = NULL;
|
||||||
|
return E_NOTIMPL;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/******************************************************************************
|
||||||
|
* CreateFileMoniker (OLE2.28)
|
||||||
|
*/
|
||||||
|
HRESULT WINAPI CreateFileMoniker16(LPCOLESTR16 lpszPathName,LPMONIKER* ppmk)
|
||||||
|
{
|
||||||
|
FIXME("(%s,%p),stub!\n",lpszPathName,ppmk);
|
||||||
|
return E_NOTIMPL;
|
||||||
|
}
|
||||||
|
|
|
@ -6856,6 +6856,7 @@ HRESULT OLECONVERT_CreateCompObjStream(LPSTORAGE pStorage, LPCSTR strOleTypeName
|
||||||
HRESULT hStorageRes, hRes = S_OK;
|
HRESULT hStorageRes, hRes = S_OK;
|
||||||
OLECONVERT_ISTORAGE_COMPOBJ IStorageCompObj;
|
OLECONVERT_ISTORAGE_COMPOBJ IStorageCompObj;
|
||||||
WCHAR wstrStreamName[] = {1,'C', 'o', 'm', 'p', 'O', 'b', 'j', 0};
|
WCHAR wstrStreamName[] = {1,'C', 'o', 'm', 'p', 'O', 'b', 'j', 0};
|
||||||
|
WCHAR bufferW[OLESTREAM_MAX_STR_LEN];
|
||||||
|
|
||||||
BYTE pCompObjUnknown1[] = {0x01, 0x00, 0xFE, 0xFF, 0x03, 0x0A, 0x00, 0x00, 0xFF, 0xFF, 0xFF, 0xFF};
|
BYTE pCompObjUnknown1[] = {0x01, 0x00, 0xFE, 0xFF, 0x03, 0x0A, 0x00, 0x00, 0xFF, 0xFF, 0xFF, 0xFF};
|
||||||
BYTE pCompObjUnknown2[] = {0xF4, 0x39, 0xB2, 0x71};
|
BYTE pCompObjUnknown2[] = {0xF4, 0x39, 0xB2, 0x71};
|
||||||
|
@ -6881,7 +6882,9 @@ HRESULT OLECONVERT_CreateCompObjStream(LPSTORAGE pStorage, LPCSTR strOleTypeName
|
||||||
strcpy(IStorageCompObj.strProgIDName, strOleTypeName);
|
strcpy(IStorageCompObj.strProgIDName, strOleTypeName);
|
||||||
|
|
||||||
/* Get the CLSID */
|
/* Get the CLSID */
|
||||||
hRes = CLSIDFromProgID16(IStorageCompObj.strProgIDName, &(IStorageCompObj.clsid));
|
MultiByteToWideChar( CP_ACP, 0, IStorageCompObj.strProgIDName, -1,
|
||||||
|
bufferW, OLESTREAM_MAX_STR_LEN );
|
||||||
|
hRes = CLSIDFromProgID(bufferW, &(IStorageCompObj.clsid));
|
||||||
|
|
||||||
if(hRes == S_OK)
|
if(hRes == S_OK)
|
||||||
{
|
{
|
||||||
|
|
|
@ -26,6 +26,12 @@
|
||||||
#include "wtypes.h"
|
#include "wtypes.h"
|
||||||
#include "wine/windef16.h"
|
#include "wine/windef16.h"
|
||||||
|
|
||||||
|
typedef CHAR OLECHAR16;
|
||||||
|
typedef LPSTR LPOLESTR16;
|
||||||
|
typedef LPCSTR LPCOLESTR16;
|
||||||
|
typedef OLECHAR16 *BSTR16;
|
||||||
|
typedef BSTR16 *LPBSTR16;
|
||||||
|
|
||||||
BSTR16 WINAPI SysAllocString16(LPCOLESTR16);
|
BSTR16 WINAPI SysAllocString16(LPCOLESTR16);
|
||||||
BSTR16 WINAPI SysAllocStringLen16(const char*, int);
|
BSTR16 WINAPI SysAllocStringLen16(const char*, int);
|
||||||
VOID WINAPI SysFreeString16(BSTR16);
|
VOID WINAPI SysFreeString16(BSTR16);
|
||||||
|
|
|
@ -141,6 +141,7 @@ typedef struct _OLEOBJECT *LPOLEOBJECT;
|
||||||
typedef struct _OLECLIENT *LPOLECLIENT;
|
typedef struct _OLECLIENT *LPOLECLIENT;
|
||||||
typedef LONG OLECLIPFORMAT;/* dunno about this type, please change/add */
|
typedef LONG OLECLIPFORMAT;/* dunno about this type, please change/add */
|
||||||
typedef OLEOPT_UPDATE *LPOLEOPT_UPDATE;
|
typedef OLEOPT_UPDATE *LPOLEOPT_UPDATE;
|
||||||
|
typedef LPCSTR LPCOLESTR16;
|
||||||
|
|
||||||
struct _OLESTREAM;
|
struct _OLESTREAM;
|
||||||
|
|
||||||
|
|
|
@ -141,6 +141,7 @@ typedef struct _OLEOBJECT *LPOLEOBJECT;
|
||||||
typedef struct _OLECLIENT *LPOLECLIENT;
|
typedef struct _OLECLIENT *LPOLECLIENT;
|
||||||
typedef LONG OLECLIPFORMAT;/* dunno about this type, please change/add */
|
typedef LONG OLECLIPFORMAT;/* dunno about this type, please change/add */
|
||||||
typedef OLEOPT_UPDATE *LPOLEOPT_UPDATE;
|
typedef OLEOPT_UPDATE *LPOLEOPT_UPDATE;
|
||||||
|
typedef LPCSTR LPCOLESTR16;
|
||||||
|
|
||||||
struct _OLESTREAM;
|
struct _OLESTREAM;
|
||||||
|
|
||||||
|
|
|
@ -101,6 +101,7 @@ typedef enum {
|
||||||
|
|
||||||
typedef LONG LHSERVER;
|
typedef LONG LHSERVER;
|
||||||
typedef LONG LHSERVERDOC;
|
typedef LONG LHSERVERDOC;
|
||||||
|
typedef LPCSTR LPCOLESTR16;
|
||||||
|
|
||||||
typedef struct _OLESERVERDOC *LPOLESERVERDOC;
|
typedef struct _OLESERVERDOC *LPOLESERVERDOC;
|
||||||
|
|
||||||
|
|
|
@ -265,7 +265,6 @@ typedef struct tagNMTTCUSTOMDRAW
|
||||||
|
|
||||||
/* StatusWindow */
|
/* StatusWindow */
|
||||||
|
|
||||||
#define STATUSCLASSNAME16 "msctls_statusbar"
|
|
||||||
#define STATUSCLASSNAMEA "msctls_statusbar32"
|
#define STATUSCLASSNAMEA "msctls_statusbar32"
|
||||||
#if defined(__GNUC__)
|
#if defined(__GNUC__)
|
||||||
# define STATUSCLASSNAMEW (const WCHAR []){ 'm','s','c','t','l','s','_', \
|
# define STATUSCLASSNAMEW (const WCHAR []){ 'm','s','c','t','l','s','_', \
|
||||||
|
@ -365,7 +364,6 @@ INT WINAPI LBItemFromPt (HWND, POINT, BOOL);
|
||||||
|
|
||||||
/* UpDown */
|
/* UpDown */
|
||||||
|
|
||||||
#define UPDOWN_CLASS16 "msctls_updown"
|
|
||||||
#define UPDOWN_CLASSA "msctls_updown32"
|
#define UPDOWN_CLASSA "msctls_updown32"
|
||||||
#if defined(__GNUC__)
|
#if defined(__GNUC__)
|
||||||
# define UPDOWN_CLASSW (const WCHAR []){ 'm','s','c','t','l','s','_', \
|
# define UPDOWN_CLASSW (const WCHAR []){ 'm','s','c','t','l','s','_', \
|
||||||
|
@ -435,7 +433,6 @@ HWND WINAPI CreateUpDownControl (DWORD, INT, INT, INT, INT,
|
||||||
|
|
||||||
/* Progress Bar */
|
/* Progress Bar */
|
||||||
|
|
||||||
#define PROGRESS_CLASS16 "msctls_progress"
|
|
||||||
#define PROGRESS_CLASSA "msctls_progress32"
|
#define PROGRESS_CLASSA "msctls_progress32"
|
||||||
#if defined(__GNUC__)
|
#if defined(__GNUC__)
|
||||||
# define PROGRESS_CLASSW (const WCHAR []){ 'm','s','c','t','l','s','_', \
|
# define PROGRESS_CLASSW (const WCHAR []){ 'm','s','c','t','l','s','_', \
|
||||||
|
@ -632,7 +629,6 @@ _TrackMouseEvent(
|
||||||
|
|
||||||
/* Flat Scrollbar control */
|
/* Flat Scrollbar control */
|
||||||
|
|
||||||
#define FLATSB_CLASS16 "flatsb_class"
|
|
||||||
#define FLATSB_CLASSA "flatsb_class32"
|
#define FLATSB_CLASSA "flatsb_class32"
|
||||||
#if defined(__GNUC__)
|
#if defined(__GNUC__)
|
||||||
# define FLATSB_CLASSW (const WCHAR []){ 'f','l','a','t','s','b','_', \
|
# define FLATSB_CLASSW (const WCHAR []){ 'f','l','a','t','s','b','_', \
|
||||||
|
@ -686,7 +682,6 @@ LRESULT WINAPI DefSubclassProc(HWND, UINT, WPARAM, LPARAM);
|
||||||
|
|
||||||
/* Header control */
|
/* Header control */
|
||||||
|
|
||||||
#define WC_HEADER16 "SysHeader"
|
|
||||||
#define WC_HEADERA "SysHeader32"
|
#define WC_HEADERA "SysHeader32"
|
||||||
#if defined(__GNUC__)
|
#if defined(__GNUC__)
|
||||||
# define WC_HEADERW (const WCHAR []){ 'S','y','s','H','e','a','d','e','r','3','2',0 }
|
# define WC_HEADERW (const WCHAR []){ 'S','y','s','H','e','a','d','e','r','3','2',0 }
|
||||||
|
@ -949,7 +944,6 @@ typedef struct tagNMHDDISPINFOW
|
||||||
|
|
||||||
/* Toolbar */
|
/* Toolbar */
|
||||||
|
|
||||||
#define TOOLBARCLASSNAME16 "ToolbarWindow"
|
|
||||||
#define TOOLBARCLASSNAMEA "ToolbarWindow32"
|
#define TOOLBARCLASSNAMEA "ToolbarWindow32"
|
||||||
#if defined(__GNUC__)
|
#if defined(__GNUC__)
|
||||||
# define TOOLBARCLASSNAMEW (const WCHAR []){ 'T','o','o','l','b','a','r', \
|
# define TOOLBARCLASSNAMEW (const WCHAR []){ 'T','o','o','l','b','a','r', \
|
||||||
|
@ -1447,7 +1441,6 @@ CreateMappedBitmap (HINSTANCE, INT, UINT, LPCOLORMAP, INT);
|
||||||
|
|
||||||
/* Tool tips */
|
/* Tool tips */
|
||||||
|
|
||||||
#define TOOLTIPS_CLASS16 "tooltips_class"
|
|
||||||
#define TOOLTIPS_CLASSA "tooltips_class32"
|
#define TOOLTIPS_CLASSA "tooltips_class32"
|
||||||
#if defined(__GNUC__)
|
#if defined(__GNUC__)
|
||||||
# define TOOLTIPS_CLASSW (const WCHAR []){ 't','o','o','l','t','i','p','s','_', \
|
# define TOOLTIPS_CLASSW (const WCHAR []){ 't','o','o','l','t','i','p','s','_', \
|
||||||
|
@ -1633,7 +1626,6 @@ typedef struct tagNMTTDISPINFOW
|
||||||
|
|
||||||
/* Rebar control */
|
/* Rebar control */
|
||||||
|
|
||||||
#define REBARCLASSNAME16 "ReBarWindow"
|
|
||||||
#define REBARCLASSNAMEA "ReBarWindow32"
|
#define REBARCLASSNAMEA "ReBarWindow32"
|
||||||
#if defined(__GNUC__)
|
#if defined(__GNUC__)
|
||||||
# define REBARCLASSNAMEW (const WCHAR []){ 'R','e','B','a','r', \
|
# define REBARCLASSNAMEW (const WCHAR []){ 'R','e','B','a','r', \
|
||||||
|
@ -1699,7 +1691,6 @@ static const WCHAR REBARCLASSNAMEW[] = { 'R','e','B','a','r',
|
||||||
#define RB_DELETEBAND (WM_USER+2)
|
#define RB_DELETEBAND (WM_USER+2)
|
||||||
#define RB_GETBARINFO (WM_USER+3)
|
#define RB_GETBARINFO (WM_USER+3)
|
||||||
#define RB_SETBARINFO (WM_USER+4)
|
#define RB_SETBARINFO (WM_USER+4)
|
||||||
#define RB_GETBANDINFO (WM_USER+5) /* just for compatibility */
|
|
||||||
#define RB_SETBANDINFOA (WM_USER+6)
|
#define RB_SETBANDINFOA (WM_USER+6)
|
||||||
#define RB_SETBANDINFOW (WM_USER+11)
|
#define RB_SETBANDINFOW (WM_USER+11)
|
||||||
#define RB_SETBANDINFO WINELIB_NAME_AW(RB_SETBANDINFO)
|
#define RB_SETBANDINFO WINELIB_NAME_AW(RB_SETBANDINFO)
|
||||||
|
@ -1723,7 +1714,7 @@ static const WCHAR REBARCLASSNAMEW[] = { 'R','e','B','a','r',
|
||||||
#define RB_GETBARHEIGHT (WM_USER+27)
|
#define RB_GETBARHEIGHT (WM_USER+27)
|
||||||
#define RB_GETBANDINFOW (WM_USER+28)
|
#define RB_GETBANDINFOW (WM_USER+28)
|
||||||
#define RB_GETBANDINFOA (WM_USER+29)
|
#define RB_GETBANDINFOA (WM_USER+29)
|
||||||
#define RB_GETBANDINFO16 WINELIB_NAME_AW(RB_GETBANDINFO16)
|
#define RB_GETBANDINFO WINELIB_NAME_AW(RB_GETBANDINFO)
|
||||||
#define RB_MINIMIZEBAND (WM_USER+30)
|
#define RB_MINIMIZEBAND (WM_USER+30)
|
||||||
#define RB_MAXIMIZEBAND (WM_USER+31)
|
#define RB_MAXIMIZEBAND (WM_USER+31)
|
||||||
#define RB_GETBANDBORDERS (WM_USER+34)
|
#define RB_GETBANDBORDERS (WM_USER+34)
|
||||||
|
@ -1868,7 +1859,6 @@ typedef struct _RB_HITTESTINFO
|
||||||
|
|
||||||
/* Trackbar control */
|
/* Trackbar control */
|
||||||
|
|
||||||
#define TRACKBAR_CLASS16 "msctls_trackbar"
|
|
||||||
#define TRACKBAR_CLASSA "msctls_trackbar32"
|
#define TRACKBAR_CLASSA "msctls_trackbar32"
|
||||||
#if defined(__GNUC__)
|
#if defined(__GNUC__)
|
||||||
# define TRACKBAR_CLASSW (const WCHAR []){ 'm','s','c','t','l','s','_', \
|
# define TRACKBAR_CLASSW (const WCHAR []){ 'm','s','c','t','l','s','_', \
|
||||||
|
@ -3550,7 +3540,6 @@ typedef struct NMLVSCROLL
|
||||||
|
|
||||||
/* Tab Control */
|
/* Tab Control */
|
||||||
|
|
||||||
#define WC_TABCONTROL16 "SysTabControl"
|
|
||||||
#define WC_TABCONTROLA "SysTabControl32"
|
#define WC_TABCONTROLA "SysTabControl32"
|
||||||
#if defined(__GNUC__)
|
#if defined(__GNUC__)
|
||||||
# define WC_TABCONTROLW (const WCHAR []){ 'S','y','s', \
|
# define WC_TABCONTROLW (const WCHAR []){ 'S','y','s', \
|
||||||
|
@ -3928,7 +3917,6 @@ typedef struct
|
||||||
|
|
||||||
/* Hotkey control */
|
/* Hotkey control */
|
||||||
|
|
||||||
#define HOTKEY_CLASS16 "msctls_hotkey"
|
|
||||||
#define HOTKEY_CLASSA "msctls_hotkey32"
|
#define HOTKEY_CLASSA "msctls_hotkey32"
|
||||||
#if defined(__GNUC__)
|
#if defined(__GNUC__)
|
||||||
# define HOTKEY_CLASSW (const WCHAR []){ 'm','s','c','t','l','s','_', \
|
# define HOTKEY_CLASSW (const WCHAR []){ 'm','s','c','t','l','s','_', \
|
||||||
|
|
|
@ -412,7 +412,7 @@ HRESULT WINAPI CoSetProxyBlanket(IUnknown* pProxy, DWORD dwAuthnSvc, DWORD dwAut
|
||||||
HRESULT WINAPI CoCopyProxy(IUnknown* pProxy, IUnknown** ppCopy);
|
HRESULT WINAPI CoCopyProxy(IUnknown* pProxy, IUnknown** ppCopy);
|
||||||
|
|
||||||
HRESULT WINAPI CoImpersonateClient(void);
|
HRESULT WINAPI CoImpersonateClient(void);
|
||||||
HRESULT WINAPI CoQueryClientBlanket(DWORD* pAuthnSvc, DWORD* pAuthzSvc, OLECHAR16** pServerPrincName, DWORD* pAuthnLevel, DWORD* pImpLevel, RPC_AUTHZ_HANDLE* pPrivs, DWORD* pCapabilities);
|
HRESULT WINAPI CoQueryClientBlanket(DWORD* pAuthnSvc, DWORD* pAuthzSvc, OLECHAR** pServerPrincName, DWORD* pAuthnLevel, DWORD* pImpLevel, RPC_AUTHZ_HANDLE* pPrivs, DWORD* pCapabilities);
|
||||||
HRESULT WINAPI CoRevertToSelf(void);
|
HRESULT WINAPI CoRevertToSelf(void);
|
||||||
|
|
||||||
/* misc */
|
/* misc */
|
||||||
|
@ -430,15 +430,9 @@ HRESULT WINAPI CoRegisterMessageFilter(LPMESSAGEFILTER lpMessageFilter,LPMESSAGE
|
||||||
/*****************************************************************************
|
/*****************************************************************************
|
||||||
* GUID API
|
* GUID API
|
||||||
*/
|
*/
|
||||||
HRESULT WINAPI StringFromCLSID16(REFCLSID id, LPOLESTR16*);
|
|
||||||
HRESULT WINAPI StringFromCLSID(REFCLSID id, LPOLESTR*);
|
HRESULT WINAPI StringFromCLSID(REFCLSID id, LPOLESTR*);
|
||||||
|
|
||||||
HRESULT WINAPI CLSIDFromString16(LPCOLESTR16, CLSID *);
|
|
||||||
HRESULT WINAPI CLSIDFromString(LPOLESTR, CLSID *);
|
HRESULT WINAPI CLSIDFromString(LPOLESTR, CLSID *);
|
||||||
|
|
||||||
HRESULT WINAPI CLSIDFromProgID16(LPCOLESTR16 progid, LPCLSID riid);
|
|
||||||
HRESULT WINAPI CLSIDFromProgID(LPCOLESTR progid, LPCLSID riid);
|
HRESULT WINAPI CLSIDFromProgID(LPCOLESTR progid, LPCLSID riid);
|
||||||
|
|
||||||
HRESULT WINAPI ProgIDFromCLSID(REFCLSID clsid, LPOLESTR *lplpszProgID);
|
HRESULT WINAPI ProgIDFromCLSID(REFCLSID clsid, LPOLESTR *lplpszProgID);
|
||||||
|
|
||||||
INT WINAPI StringFromGUID2(REFGUID id, LPOLESTR str, INT cmax);
|
INT WINAPI StringFromGUID2(REFGUID id, LPOLESTR str, INT cmax);
|
||||||
|
@ -460,13 +454,10 @@ HRESULT WINAPI CreateDataCache(LPUNKNOWN pUnkOuter, REFCLSID rclsid, REFIID iid,
|
||||||
*/
|
*/
|
||||||
HRESULT WINAPI GetClassFile(LPCOLESTR filePathName,CLSID *pclsid);
|
HRESULT WINAPI GetClassFile(LPCOLESTR filePathName,CLSID *pclsid);
|
||||||
|
|
||||||
HRESULT WINAPI CreateBindCtx16(DWORD reserved, LPBC* ppbc);
|
|
||||||
HRESULT WINAPI CreateBindCtx(DWORD reserved, LPBC* ppbc);
|
HRESULT WINAPI CreateBindCtx(DWORD reserved, LPBC* ppbc);
|
||||||
|
|
||||||
HRESULT WINAPI CreateFileMoniker16(LPCOLESTR16 lpszPathName, LPMONIKER* ppmk);
|
|
||||||
HRESULT WINAPI CreateFileMoniker(LPCOLESTR lpszPathName, LPMONIKER* ppmk);
|
HRESULT WINAPI CreateFileMoniker(LPCOLESTR lpszPathName, LPMONIKER* ppmk);
|
||||||
|
|
||||||
HRESULT WINAPI CreateItemMoniker16(LPCOLESTR16 lpszDelim, LPCOLESTR lpszItem, LPMONIKER* ppmk);
|
|
||||||
HRESULT WINAPI CreateItemMoniker(LPCOLESTR lpszDelim, LPCOLESTR lpszItem, LPMONIKER* ppmk);
|
HRESULT WINAPI CreateItemMoniker(LPCOLESTR lpszDelim, LPCOLESTR lpszItem, LPMONIKER* ppmk);
|
||||||
|
|
||||||
HRESULT WINAPI CreateAntiMoniker(LPMONIKER * ppmk);
|
HRESULT WINAPI CreateAntiMoniker(LPMONIKER * ppmk);
|
||||||
|
@ -482,7 +473,6 @@ HRESULT WINAPI CreatePointerMoniker(LPUNKNOWN punk, LPMONIKER* ppmk);
|
||||||
HRESULT WINAPI MonikerCommonPrefixWith(IMoniker* pmkThis,IMoniker* pmkOther,IMoniker** ppmkCommon);
|
HRESULT WINAPI MonikerCommonPrefixWith(IMoniker* pmkThis,IMoniker* pmkOther,IMoniker** ppmkCommon);
|
||||||
|
|
||||||
HRESULT WINAPI GetRunningObjectTable(DWORD reserved, LPRUNNINGOBJECTTABLE *pprot);
|
HRESULT WINAPI GetRunningObjectTable(DWORD reserved, LPRUNNINGOBJECTTABLE *pprot);
|
||||||
HRESULT WINAPI GetRunningObjectTable16(DWORD reserved, LPRUNNINGOBJECTTABLE *pprot);
|
|
||||||
|
|
||||||
/*****************************************************************************
|
/*****************************************************************************
|
||||||
* Storage API
|
* Storage API
|
||||||
|
|
|
@ -271,15 +271,6 @@ typedef const OLECHAR *LPCOLESTR;
|
||||||
#ifndef __WINESRC__
|
#ifndef __WINESRC__
|
||||||
#define OLESTR(str) L##str
|
#define OLESTR(str) L##str
|
||||||
#endif
|
#endif
|
||||||
typedef CHAR OLECHAR16;
|
|
||||||
|
|
||||||
typedef LPSTR LPOLESTR16;
|
|
||||||
|
|
||||||
typedef LPCSTR LPCOLESTR16;
|
|
||||||
|
|
||||||
typedef OLECHAR16 *BSTR16;
|
|
||||||
typedef BSTR16 *LPBSTR16;
|
|
||||||
#define OLESTR16(x) x
|
|
||||||
typedef LONG SCODE;
|
typedef LONG SCODE;
|
||||||
|
|
||||||
typedef struct _COAUTHIDENTITY {
|
typedef struct _COAUTHIDENTITY {
|
||||||
|
|
|
@ -274,18 +274,6 @@ cpp_quote("#ifndef __WINESRC__")
|
||||||
cpp_quote("#define OLESTR(str) L##str")
|
cpp_quote("#define OLESTR(str) L##str")
|
||||||
cpp_quote("#endif")
|
cpp_quote("#endif")
|
||||||
|
|
||||||
/* from Wine's pre-WIDL wtypes.h */
|
|
||||||
/* FIXME: does not belong here */
|
|
||||||
typedef CHAR OLECHAR16;
|
|
||||||
typedef LPSTR LPOLESTR16;
|
|
||||||
typedef LPCSTR LPCOLESTR16;
|
|
||||||
/* quoted because if BSTR16 is ever used in IDL files,
|
|
||||||
* it'll probably need some wire_marshal stuff too,
|
|
||||||
* and quoting these will detect any such necessity */
|
|
||||||
cpp_quote("typedef OLECHAR16 *BSTR16;")
|
|
||||||
cpp_quote("typedef BSTR16 *LPBSTR16;")
|
|
||||||
cpp_quote("#define OLESTR16(x) x")
|
|
||||||
|
|
||||||
typedef LONG SCODE;
|
typedef LONG SCODE;
|
||||||
|
|
||||||
typedef struct _COAUTHIDENTITY {
|
typedef struct _COAUTHIDENTITY {
|
||||||
|
|
|
@ -1283,12 +1283,14 @@ const USER_MSG *classmsg; /* pointer to first USER_MSG for class */
|
||||||
/* replace the "0" with a "SZOF(structure)", or with a */
|
/* replace the "0" with a "SZOF(structure)", or with a */
|
||||||
/* number. (First method prefered.) */
|
/* number. (First method prefered.) */
|
||||||
|
|
||||||
|
#define RB_GETBANDINFO_OLD (WM_USER+5) /* obsoleted after IE3, but we have to support it anyway */
|
||||||
|
|
||||||
static const USER_MSG rebar_array[] = {
|
static const USER_MSG rebar_array[] = {
|
||||||
USM(RB_INSERTBANDA, 0),
|
USM(RB_INSERTBANDA, 0),
|
||||||
USM(RB_DELETEBAND, 0),
|
USM(RB_DELETEBAND, 0),
|
||||||
USM(RB_GETBARINFO, 0),
|
USM(RB_GETBARINFO, 0),
|
||||||
USM(RB_SETBARINFO, 0),
|
USM(RB_SETBARINFO, 0),
|
||||||
USM(RB_GETBANDINFO, 0),
|
USM(RB_GETBANDINFO_OLD, 0),
|
||||||
USM(RB_SETBANDINFOA, 0),
|
USM(RB_SETBANDINFOA, 0),
|
||||||
USM(RB_SETPARENT, 0),
|
USM(RB_SETPARENT, 0),
|
||||||
USM(RB_HITTEST, 0),
|
USM(RB_HITTEST, 0),
|
||||||
|
|
Loading…
Reference in New Issue