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.

71 lines
1.6 KiB

  1. #include "ctlspriv.h"
  2. #include "flat_sb.h"
  3. HRESULT WINAPI UninitializeFlatSB(HWND hwnd)
  4. {
  5. return S_OK;
  6. }
  7. BOOL WINAPI InitializeFlatSB(HWND hwnd)
  8. {
  9. return TRUE;
  10. }
  11. int WINAPI FlatSB_GetScrollPos(HWND hwnd, int code)
  12. {
  13. return GetScrollPos(hwnd, code);
  14. }
  15. BOOL WINAPI FlatSB_GetScrollPropPtr(HWND hwnd, int propIndex, PINT_PTR pValue)
  16. {
  17. return FALSE;
  18. }
  19. #ifdef _WIN64
  20. BOOL WINAPI FlatSB_GetScrollProp(HWND hwnd, int propIndex, LPINT pValue)
  21. {
  22. return FALSE;
  23. }
  24. #endif
  25. BOOL WINAPI FlatSB_GetScrollRange(HWND hwnd, int code, LPINT lpposMin, LPINT lpposMax)
  26. {
  27. return GetScrollRange(hwnd, code, lpposMin, lpposMax);
  28. }
  29. BOOL WINAPI FlatSB_GetScrollInfo(HWND hwnd, int fnBar, LPSCROLLINFO lpsi)
  30. {
  31. return GetScrollInfo(hwnd, fnBar, lpsi);
  32. }
  33. BOOL WINAPI FlatSB_ShowScrollBar(HWND hwnd, int fnBar, BOOL fShow)
  34. {
  35. return ShowScrollBar(hwnd, fnBar, fShow);
  36. }
  37. BOOL WINAPI FlatSB_EnableScrollBar(HWND hwnd, int wSBflags, UINT wArrows)
  38. {
  39. return EnableScrollBar(hwnd, wSBflags, wArrows);
  40. }
  41. int WINAPI FlatSB_SetScrollPos(HWND hwnd, int code, int pos, BOOL fRedraw)
  42. {
  43. return SetScrollPos(hwnd, code, pos, fRedraw);
  44. }
  45. BOOL WINAPI FlatSB_SetScrollRange(HWND hwnd, int code, int nMin, int nMax, BOOL fRedraw)
  46. {
  47. return SetScrollRange(hwnd, code, nMin, nMax, fRedraw);
  48. }
  49. int WINAPI FlatSB_SetScrollInfo(HWND hwnd, int code, LPSCROLLINFO lpsi, BOOL fRedraw)
  50. {
  51. return SetScrollInfo(hwnd, code, lpsi, fRedraw);
  52. }
  53. BOOL WINAPI FlatSB_SetScrollProp(HWND hwnd, UINT index, INT_PTR newValue, BOOL fRedraw)
  54. {
  55. return FALSE;
  56. }