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.

72 lines
2.0 KiB

  1. /*
  2. * shlstock.h - Shell Stock header file.
  3. *
  4. * Taken from URL code by ChrisPi 9-20-95
  5. *
  6. * Note: some types are only available with internal shell headers
  7. * (these are ifdef'ed with INTERNALSHELL)
  8. *
  9. */
  10. #ifndef _SHLSTOCK_H_
  11. #define _SHLSTOCK_H_
  12. #ifdef __cplusplus
  13. extern "C" { /* Assume C declarations for C++. */
  14. #endif /* __cplusplus */
  15. /* Types
  16. ********/
  17. /* interfaces */
  18. DECLARE_STANDARD_TYPES(IExtractIcon);
  19. DECLARE_STANDARD_TYPES(INewShortcutHook);
  20. #ifdef INTERNALSHELL
  21. DECLARE_STANDARD_TYPES(IShellExecuteHook);
  22. #endif
  23. DECLARE_STANDARD_TYPES(IShellLink);
  24. DECLARE_STANDARD_TYPES(IShellExtInit);
  25. DECLARE_STANDARD_TYPES(IShellPropSheetExt);
  26. /* structures */
  27. DECLARE_STANDARD_TYPES(DROPFILES);
  28. DECLARE_STANDARD_TYPES(FILEDESCRIPTOR);
  29. DECLARE_STANDARD_TYPES(FILEGROUPDESCRIPTOR);
  30. DECLARE_STANDARD_TYPES(ITEMIDLIST);
  31. DECLARE_STANDARD_TYPES(PROPSHEETPAGE);
  32. DECLARE_STANDARD_TYPES(SHELLEXECUTEINFO);
  33. /* flags */
  34. typedef enum _shellexecute_mask_flags
  35. {
  36. ALL_SHELLEXECUTE_MASK_FLAGS = (SEE_MASK_CLASSNAME |
  37. SEE_MASK_CLASSKEY |
  38. SEE_MASK_IDLIST |
  39. SEE_MASK_INVOKEIDLIST |
  40. SEE_MASK_ICON |
  41. SEE_MASK_HOTKEY |
  42. SEE_MASK_NOCLOSEPROCESS |
  43. SEE_MASK_CONNECTNETDRV |
  44. SEE_MASK_FLAG_DDEWAIT |
  45. SEE_MASK_DOENVSUBST |
  46. SEE_MASK_FLAG_NO_UI
  47. #ifdef INTERNALSHELL
  48. | SEE_MASK_FLAG_SHELLEXEC |
  49. SEE_MASK_FORCENOIDLIST
  50. #endif
  51. )
  52. }
  53. SHELLEXECUTE_MASK_FLAGS;
  54. #ifdef __cplusplus
  55. } /* End of extern "C" {. */
  56. #endif /* __cplusplus */
  57. #endif /* _SHLSTOCK_H_ */