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.

58 lines
943 B

  1. /*++
  2. Copyright (c) 1998-1999 Microsoft Corporation
  3. Module Name:
  4. notify.h
  5. Abstract:
  6. contains prototypes for functions in notify.c
  7. Author:
  8. Paul McDaniel (paulmcd) 01-March-2000
  9. Revision History:
  10. --*/
  11. #ifndef _NOTIFY_H_
  12. #define _NOTIFY_H_
  13. NTSTATUS
  14. SrWaitForNotificationIoctl (
  15. IN PIRP pIrp,
  16. IN PIO_STACK_LOCATION IrpSp
  17. );
  18. NTSTATUS
  19. SrUpdateBytesWritten (
  20. IN PSR_DEVICE_EXTENSION pExtension,
  21. IN ULONGLONG BytesWritten
  22. );
  23. NTSTATUS
  24. SrFireNotification (
  25. IN SR_NOTIFICATION_TYPE NotificationType,
  26. IN PSR_DEVICE_EXTENSION pExtension,
  27. IN ULONG Context OPTIONAL
  28. );
  29. NTSTATUS
  30. SrNotifyVolumeError (
  31. IN PSR_DEVICE_EXTENSION pExtension,
  32. IN PUNICODE_STRING pFileName OPTIONAL,
  33. IN NTSTATUS ErrorStatus,
  34. IN SR_EVENT_TYPE EventType OPTIONAL
  35. );
  36. VOID
  37. SrClearOutstandingNotifications (
  38. );
  39. #endif // _NOTIFY_H_