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.

49 lines
1.2 KiB

  1. /*****************************************************************/
  2. /** Microsoft Windows **/
  3. /** Copyright (C) Microsoft Corp., 1993 **/
  4. /*****************************************************************/
  5. /*
  6. msshrui.h
  7. Prototypes and definitions for sharing APIs
  8. FILE HISTORY:
  9. gregj 06/03/93 Created
  10. */
  11. #ifndef _INC_MSSHRUI
  12. #define _INC_MSSHRUI
  13. #ifndef RC_INVOKED
  14. #pragma pack(1) /* Assume byte packing throughout */
  15. #endif /* !RC_INVOKED */
  16. #ifdef __cplusplus
  17. extern "C" { /* Assume C declarations for C++ */
  18. #endif /* __cplusplus */
  19. BOOL WINAPI IsPathShared(LPCSTR lpPath, BOOL fRefresh);
  20. UINT WINAPI ShareDirectoryNotify(HWND hwnd, LPCSTR lpDir, DWORD dwOper);
  21. #ifndef WNDN_MKDIR
  22. #define WNDN_MKDIR 1
  23. #define WNDN_RMDIR 2
  24. #define WNDN_MVDIR 3
  25. #endif
  26. #define ORD_SHARESHUTDOWNNOTIFY 12
  27. BOOL WINAPI ShareShutdownNotify(DWORD dwFlags, UINT uiMessage, WPARAM wParam, LPARAM lParam);
  28. typedef BOOL (WINAPI *pfnShareShutdownNotify)(DWORD dwFlags, UINT uiMessage, WPARAM wParam, LPARAM lParam);
  29. #ifndef RC_INVOKED
  30. #pragma pack()
  31. #endif
  32. #ifdef __cplusplus
  33. };
  34. #endif /* __cplusplus */
  35. #endif /* !_INC_MSSHRUI */