Windows2003-3790/multimedia/media/mplayer2/ole2ui.h
2020-09-30 16:53:55 +02:00

45 lines
1.7 KiB
C
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

/* NOTE: This stuff was taken from the OLE2UI library.
* If it gets ported to NT, we can get rid of it from Media Player
*/
/*************************************************************************
** OLE OBJECT FEEDBACK EFFECTS
*************************************************************************/
#define OLEUI_HANDLES_USEINVERSE 0x00000001L
#define OLEUI_HANDLES_NOBORDER 0x00000002L
#define OLEUI_HANDLES_INSIDE 0x00000004L
#define OLEUI_HANDLES_OUTSIDE 0x00000008L
#define OLEUI_SHADE_FULLRECT 1
#define OLEUI_SHADE_BORDERIN 2
#define OLEUI_SHADE_BORDEROUT 3
/* objfdbk.c function prototypes */
STDAPI_(void) OleUIDrawHandles(LPRECT lpRect, HDC hdc, DWORD dwFlags, UINT cSize, BOOL fDraw);
STDAPI_(void) OleUIDrawShading(LPRECT lpRect, HDC hdc, DWORD dwFlags, UINT cWidth);
STDAPI_(void) OleUIShowObject(LPCRECT lprc, HDC hdc, BOOL fIsLink);
/*************************************************************************
** Hatch window definitions and prototypes **
*************************************************************************/
#define DEFAULT_HATCHBORDER_WIDTH 4
STDAPI_(BOOL) RegisterHatchWindowClass(HINSTANCE hInst);
STDAPI_(HWND) CreateHatchWindow(HWND hWndParent, HINSTANCE hInst);
STDAPI_(UINT) GetHatchWidth(HWND hWndHatch);
STDAPI_(void) GetHatchRect(HWND hWndHatch, LPRECT lpHatchRect);
STDAPI_(void) SetHatchRect(HWND hWndHatch, LPRECT lprcHatchRect);
STDAPI_(void) SetHatchWindowSize(
HWND hWndHatch,
LPCRECT lprcIPObjRect,
LPCRECT lprcClipRect,
LPPOINT lpptOffset,
BOOL handle
);