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.

78 lines
2.5 KiB

  1. /**********************************************************************/
  2. /** Microsoft Windows NT **/
  3. /** Copyright(c) Microsoft Corp., 1992 **/
  4. /**********************************************************************/
  5. /*
  6. BmpBlock.hxx
  7. This file contains the class definition for the Subject Bitmap Block.
  8. FILE HISTORY:
  9. JonN 04-Oct-1993 Created
  10. */
  11. #ifndef _BMPBLOCK_HXX_
  12. #define _BMPBLOCK_HXX_
  13. #define BMPBLOCK_DEFAULT_UISID -1
  14. /*************************************************************************
  15. NAME: SUBJECT_BITMAP_BLOCK (bmpblock)
  16. SYNOPSIS: This class contains bitmaps for all possible subjects in
  17. the User Browser and ACL Editor listboxes and the User
  18. Manager Alias Properties listbox. It returns the
  19. appropriate bitmap for any specified subject.
  20. INTERFACE: QueryDisplayMap - return appropriate bitmap
  21. QueryDmDte - return DMID_DTE for bitmap
  22. PARENT: BASE
  23. HISTORY:
  24. JonN 04-Oct-1993 Created
  25. **************************************************************************/
  26. DLL_CLASS SUBJECT_BITMAP_BLOCK : public BASE
  27. {
  28. public:
  29. SUBJECT_BITMAP_BLOCK();
  30. ~SUBJECT_BITMAP_BLOCK();
  31. // CODEWORK methods should return const, but DTE mathods take non-const
  32. DMID_DTE * QueryDmDte( INT sidtype, // pass a SID_NAME_USE
  33. INT uisid = BMPBLOCK_DEFAULT_UISID,
  34. // pass an enum UI_SystemSid
  35. BOOL fRemoteUser = FALSE );
  36. DISPLAY_MAP * QueryDisplayMap( INT sidtype, // pass a SID_NAME_USE
  37. INT uisid = BMPBLOCK_DEFAULT_UISID,
  38. // pass an enum UI_SystemSid
  39. BOOL fRemoteUser = FALSE )
  40. { return QueryDmDte(sidtype, uisid, fRemoteUser)->QueryDisplayMap(); }
  41. private:
  42. DMID_DTE _dmiddteAlias ;
  43. DMID_DTE _dmiddteGroup ;
  44. DMID_DTE _dmiddteUser ;
  45. DMID_DTE _dmiddteUnknown ;
  46. DMID_DTE _dmiddteRemote ;
  47. DMID_DTE _dmiddteWorld ;
  48. DMID_DTE _dmiddteCreatorOwner ;
  49. DMID_DTE _dmiddteSystem;
  50. DMID_DTE _dmiddteNetwork;
  51. DMID_DTE _dmiddteInteractive;
  52. DMID_DTE _dmiddteRestricted;
  53. DMID_DTE _dmiddteDeletedAccount;
  54. } ;
  55. #endif //_BMPBLOCK_HXX_