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.

32 lines
905 B

  1. //
  2. // connlist.h
  3. //
  4. // Defines an internal API used to manage a linked list
  5. // containing all the TCLIENT2 connection handles and timer data.
  6. //
  7. // Copyright (C) 2001 Microsoft Corporation
  8. //
  9. // Author: a-devjen (Devin Jenson)
  10. //
  11. #ifndef INC_CONNLIST_H
  12. #define INC_CONNLIST_H
  13. #include <windows.h>
  14. #include <crtdbg.h>
  15. BOOL T2ConnList_AddHandle(HANDLE Handle, UINT_PTR TimerId, DWORD msStartTime);
  16. void T2ConnList_RemoveHandle(HANDLE Handle);
  17. BOOL T2ConnList_GetData(HANDLE Handle, UINT_PTR *TimerId, DWORD *msStartTime);
  18. BOOL T2ConnList_SetData(HANDLE Handle, UINT_PTR TimerId, DWORD msStartTime);
  19. BOOL T2ConnList_SetTimerId(HANDLE Handle, UINT_PTR TimerId);
  20. BOOL T2ConnList_SetStartTime(HANDLE Handle, DWORD msStartTime);
  21. HANDLE T2ConnList_FindHandleByTimerId(UINT_PTR TimerId);
  22. HANDLE T2ConnList_FindHandleByStartTime(DWORD msStartTime);
  23. #endif // INC_CONNLIST_H