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.

102 lines
1.6 KiB

  1. /*++
  2. Copyright (c) 1989-2001 Microsoft Corporation
  3. Module Name:
  4. smb.h
  5. Abstract:
  6. Author:
  7. Jiandong Ruan
  8. Revision History:
  9. --*/
  10. #ifndef __SMB_H__
  11. #define __SMB_H__
  12. typedef struct _SMB_DEVICE SMB_DEVICE, *PSMB_DEVICE;
  13. NTSTATUS
  14. SmbDriverEntry(
  15. IN PDRIVER_OBJECT DriverObject,
  16. IN PUNICODE_STRING RegistryPath,
  17. IN OUT PDEVICE_OBJECT *SmbDevice
  18. );
  19. NTSTATUS
  20. SmbDispatchCleanup(
  21. IN PSMB_DEVICE Device,
  22. IN PIRP Irp
  23. );
  24. NTSTATUS
  25. SmbDispatchClose(
  26. IN PSMB_DEVICE device,
  27. IN PIRP Irp
  28. );
  29. NTSTATUS
  30. SmbDispatchCreate(
  31. IN PSMB_DEVICE Device,
  32. IN PIRP Irp
  33. );
  34. NTSTATUS
  35. SmbDispatchDevCtrl(
  36. IN PSMB_DEVICE device,
  37. IN PIRP Irp
  38. );
  39. NTSTATUS
  40. SmbDispatchInternalCtrl(
  41. IN PSMB_DEVICE device,
  42. IN PIRP Irp
  43. );
  44. NTSTATUS
  45. SmbDispatchPnP(
  46. IN PSMB_DEVICE device,
  47. IN PIRP Irp
  48. );
  49. VOID
  50. SmbUnload(
  51. IN PDRIVER_OBJECT driver
  52. );
  53. VOID
  54. SmbAddressArrival(
  55. PTA_ADDRESS Addr,
  56. PUNICODE_STRING pDeviceName,
  57. PTDI_PNP_CONTEXT Context
  58. );
  59. VOID
  60. SmbAddressDeletion(
  61. PTA_ADDRESS Addr,
  62. PUNICODE_STRING pDeviceName,
  63. PTDI_PNP_CONTEXT Context
  64. );
  65. VOID
  66. SmbBindHandler(
  67. TDI_PNP_OPCODE PnPOpCode,
  68. PUNICODE_STRING pDeviceName,
  69. PWSTR MultiSZBindList
  70. );
  71. #ifndef STANDALONE_SMB
  72. VOID
  73. SmbSetTdiHandles(
  74. HANDLE ProviderHandle,
  75. HANDLE ClientHandle
  76. );
  77. #endif
  78. #endif //__SMB_H__