Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

44 lines
1.7 KiB

  1. /* NOTE: This stuff was taken from the OLE2UI library.
  2. * If it gets ported to NT, we can get rid of it from Media Player
  3. */
  4. /*************************************************************************
  5. ** OLE OBJECT FEEDBACK EFFECTS
  6. *************************************************************************/
  7. #define OLEUI_HANDLES_USEINVERSE 0x00000001L
  8. #define OLEUI_HANDLES_NOBORDER 0x00000002L
  9. #define OLEUI_HANDLES_INSIDE 0x00000004L
  10. #define OLEUI_HANDLES_OUTSIDE 0x00000008L
  11. #define OLEUI_SHADE_FULLRECT 1
  12. #define OLEUI_SHADE_BORDERIN 2
  13. #define OLEUI_SHADE_BORDEROUT 3
  14. /* objfdbk.c function prototypes */
  15. STDAPI_(void) OleUIDrawHandles(LPRECT lpRect, HDC hdc, DWORD dwFlags, UINT cSize, BOOL fDraw);
  16. STDAPI_(void) OleUIDrawShading(LPRECT lpRect, HDC hdc, DWORD dwFlags, UINT cWidth);
  17. STDAPI_(void) OleUIShowObject(LPCRECT lprc, HDC hdc, BOOL fIsLink);
  18. /*************************************************************************
  19. ** Hatch window definitions and prototypes **
  20. *************************************************************************/
  21. #define DEFAULT_HATCHBORDER_WIDTH 4
  22. STDAPI_(BOOL) RegisterHatchWindowClass(HINSTANCE hInst);
  23. STDAPI_(HWND) CreateHatchWindow(HWND hWndParent, HINSTANCE hInst);
  24. STDAPI_(UINT) GetHatchWidth(HWND hWndHatch);
  25. STDAPI_(void) GetHatchRect(HWND hWndHatch, LPRECT lpHatchRect);
  26. STDAPI_(void) SetHatchRect(HWND hWndHatch, LPRECT lprcHatchRect);
  27. STDAPI_(void) SetHatchWindowSize(
  28. HWND hWndHatch,
  29. LPCRECT lprcIPObjRect,
  30. LPCRECT lprcClipRect,
  31. LPPOINT lpptOffset,
  32. BOOL handle
  33. );
  34.