Sweden-Number/include/ole2.h

41 lines
1.2 KiB
C

/*
* ole2.h - Declarations for OLE2
*/
#ifndef __WINE_OLE2_H
#define __WINE_OLE2_H
#include "wintypes.h"
#include "winerror.h"
#include "oleidl.h"
/* OLE version */
#define rmm 23
#define rup 639
/*
* API declarations
*/
HRESULT WINAPI RegisterDragDrop16(HWND16,LPDROPTARGET);
HRESULT WINAPI RegisterDragDrop32(HWND32,LPDROPTARGET);
#define RegisterDragDrop WINELIB_NAME(RegisterDragDrop)
HRESULT WINAPI RevokeDragDrop16(HWND16);
HRESULT WINAPI RevokeDragDrop32(HWND32);
#define RevokeDragDrop WINELIB_NAME(RevokeDragDrop)
HRESULT WINAPI DoDragDrop16(LPDATAOBJECT,LPDROPSOURCE,DWORD,DWORD*);
HRESULT WINAPI DoDragDrop32(LPDATAOBJECT,LPDROPSOURCE,DWORD,DWORD*);
#define DoDragDrop WINELIB_NAME(DoDragDrop)
HOLEMENU32 WINAPI OleCreateMenuDescriptor(HMENU32 hmenuCombined,
LPOLEMENUGROUPWIDTHS32 lpMenuWidths);
void WINAPI OleDestroyMenuDescriptor(HOLEMENU32 hmenuDescriptor);
HRESULT WINAPI OleSetMenuDescriptor(HOLEMENU32 hmenuDescriptor,
HWND32 hwndFrame,
HWND32 hwndActiveObject,
LPOLEINPLACEFRAME lpFrame,
LPOLEINPLACEACTIVEOBJECT lpActiveObject);
#endif /* __WINE_OLE2_H */