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.

53 lines
1.3 KiB

  1. /**********************************************************************/
  2. /** Microsoft Windows NT **/
  3. /** Copyright(c) Microsoft Corp., 1992 **/
  4. /**********************************************************************/
  5. /*
  6. permprg.hxx
  7. Entry points for the permissions UI from the File Manager.
  8. FILE HISTORY:
  9. Johnl 21-Jan-1992 Moved from perm\h to shell\h
  10. */
  11. #ifndef _PERMPRG_HXX_
  12. #define _PERMPRG_HXX_
  13. #include <uimsg.h>
  14. #define IDS_NETWORK_NAME (IDS_UI_ACLEDIT_BASE+300)
  15. #define IDM_PERMISSION 5
  16. #define IDM_AUDITING 6
  17. #define IDM_OWNER 7
  18. #ifndef RC_INVOKED
  19. //
  20. // Given a filesystem path, this function determines what server it is
  21. // on and whether it is local
  22. //
  23. APIERR TargetServerFromDosPath( const NLS_STR & nlsDosPath,
  24. BOOL * pfIsLocal,
  25. NLS_STR * pnlsTargetServer ) ;
  26. /* Entry points to be called by the File Manager's Extension Proc.
  27. */
  28. void EditAuditInfo( HWND hwndFMXWindow ) ;
  29. void EditPermissionInfo( HWND hwndFMXWindow ) ;
  30. void EditOwnerInfo( HWND hwndFMXWindow ) ;
  31. typedef struct _LM_CALLBACK_INFO
  32. {
  33. HWND hwndFMXOwner ;
  34. enum SED_PERM_TYPE sedpermtype ;
  35. NET_ACCESS_1 *plmobjNetAccess1 ;
  36. } LM_CALLBACK_INFO ;
  37. #endif //RC_INVOKED
  38. #endif // _PERMPRG_HXX_