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.

28 lines
812 B

  1. PVOID Alloc(SIZE_T);
  2. SIZE_T GetAllocSize(PVOID);
  3. BOOL Free(PVOID);
  4. INT AddItem(HWND, INT, LPSTR, LONG_PTR, BOOL);
  5. INT AddItemhwnd(HWND, LPSTR, LONG_PTR, BOOL);
  6. LONG_PTR FindData(HWND, LONG_PTR, BOOL);
  7. // Useful macros
  8. #define AddLBItem(hDlg, ControlID, string, data) \
  9. (AddItem(hDlg, ControlID, string, data, FALSE))
  10. #define AddCBItem(hDlg, ControlID, string, data) \
  11. (AddItem(hDlg, ControlID, string, data, TRUE))
  12. #define AddLBItemhwnd(hwnd, string, data) \
  13. (AddItemhwnd(hwnd, string, data, FALSE))
  14. #define AddCBItemhwnd(hwnd, string, data) \
  15. (AddItemhwnd(hwnd, string, data, TRUE))
  16. #define FindLBData(hwnd, data) \
  17. (FindData(hwnd, data, FALSE))
  18. #define FindCBData(hwnd, data) \
  19. (FindData(hwnd, data, TRUE))