Source code of Windows XP (NT5)
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.

74 lines
2.9 KiB

  1. //==========================================================================================================================
  2. // MODULE: RemAPI.h
  3. //
  4. // Description:
  5. //
  6. // Bloodhound parser SMB Remote APIs
  7. //
  8. // Modification History
  9. //
  10. // Steve Hiskey 07/07/94 Created
  11. //==========================================================================================================================
  12. #include <windows.h>
  13. #include <string.h>
  14. #include <netmon.h>
  15. #pragma pack(1)
  16. #define FORMAT_BUFFER_SIZE 80
  17. #pragma pack()
  18. #define FMT_STR_SIZE 132
  19. //=============================================================================
  20. // Protocol entry points.
  21. //=============================================================================
  22. VOID WINAPI CnpRegister(HPROTOCOL);
  23. VOID WINAPI CnpDeregister(HPROTOCOL);
  24. LPBYTE WINAPI CnpRecognizeFrame(HFRAME, LPVOID, LPVOID, DWORD, DWORD, HPROTOCOL, DWORD, LPDWORD, LPHPROTOCOL, LPDWORD);
  25. LPBYTE WINAPI CnpAttachProperties(HFRAME, LPVOID, LPVOID, DWORD, DWORD, HPROTOCOL, DWORD, DWORD);
  26. DWORD WINAPI CnpFormatProperties(HFRAME, LPVOID, LPVOID, DWORD, LPPROPERTYINST);
  27. extern HPROTOCOL hCnp;
  28. VOID WINAPI CdpRegister(HPROTOCOL);
  29. VOID WINAPI CdpDeregister(HPROTOCOL);
  30. LPBYTE WINAPI CdpRecognizeFrame(HFRAME, LPVOID, LPVOID, DWORD, DWORD, HPROTOCOL, DWORD, LPDWORD, LPHPROTOCOL, LPDWORD);
  31. LPBYTE WINAPI CdpAttachProperties(HFRAME, LPVOID, LPVOID, DWORD, DWORD, HPROTOCOL, DWORD, DWORD);
  32. DWORD WINAPI CdpFormatProperties(HFRAME, LPVOID, LPVOID, DWORD, LPPROPERTYINST);
  33. extern HPROTOCOL hCdp;
  34. VOID WINAPI CcmpRegister(HPROTOCOL);
  35. VOID WINAPI CcmpDeregister(HPROTOCOL);
  36. LPBYTE WINAPI CcmpRecognizeFrame(HFRAME, LPVOID, LPVOID, DWORD, DWORD, HPROTOCOL, DWORD, LPDWORD, LPHPROTOCOL, LPDWORD);
  37. LPBYTE WINAPI CcmpAttachProperties(HFRAME, LPVOID, LPVOID, DWORD, DWORD, HPROTOCOL, DWORD, DWORD);
  38. DWORD WINAPI CcmpFormatProperties(HFRAME, LPVOID, LPVOID, DWORD, LPPROPERTYINST);
  39. extern HPROTOCOL hCcmp;
  40. VOID WINAPI RGPRegister(HPROTOCOL);
  41. VOID WINAPI RGPDeregister(HPROTOCOL);
  42. LPBYTE WINAPI RGPRecognizeFrame(HFRAME, LPVOID, LPVOID, DWORD, DWORD, HPROTOCOL, DWORD, LPDWORD, LPHPROTOCOL, LPDWORD);
  43. LPBYTE WINAPI RGPAttachProperties(HFRAME, LPVOID, LPVOID, DWORD, DWORD, HPROTOCOL, DWORD, DWORD);
  44. DWORD WINAPI RGPFormatProperties(HFRAME, LPVOID, LPVOID, DWORD, LPPROPERTYINST);
  45. extern HPROTOCOL hRGP;
  46. //=============================================================================
  47. // Common Data Structures.
  48. //=============================================================================
  49. //=============================================================================
  50. // Utility Routines.
  51. //=============================================================================
  52. //=============================================================================
  53. // Common Properties.
  54. //=============================================================================