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.

68 lines
1.9 KiB

  1. //+--------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. // Copyright (C) Microsoft Corporation, 1992 - 1992.
  5. //
  6. // File: dfentry.hxx
  7. //
  8. // Contents: DocFile DLL entry points not in ole2.h
  9. //
  10. // History: 22-Jun-92 DrewB Created
  11. //
  12. //---------------------------------------------------------------
  13. #ifndef __DFENTRY_HXX__
  14. #define __DFENTRY_HXX__
  15. #ifdef COORD
  16. interface ITransaction;
  17. #endif
  18. STDAPI DfUnMarshalInterface(IStream *pstStm,
  19. REFIID iid,
  20. BOOL fFirst,
  21. void **ppvObj);
  22. #ifdef WIN32
  23. STDAPI DfGetClass(HANDLE hFile, CLSID *pclsid);
  24. #endif
  25. // Called by StgCreateStorage and StgCreateDocfile
  26. STDAPI DfCreateDocfile(WCHAR const *pwcsName,
  27. #ifdef COORD
  28. ITransaction *pTransaction,
  29. #else
  30. void *pTransaction,
  31. #endif
  32. DWORD grfMode,
  33. #if WIN32 == 300
  34. LPSECURITY_ATTRIBUTES pssSecurity,
  35. #else
  36. LPSTGSECURITY reserved,
  37. #endif
  38. ULONG ulSectorSize,
  39. DWORD grfAttrs,
  40. IStorage **ppstg);
  41. // Called by StgOpenStorage
  42. STDAPI DfOpenDocfile(WCHAR const *pwcsName,
  43. #ifdef COORD
  44. ITransaction *pTransaction,
  45. #else
  46. void *pTransaction,
  47. #endif
  48. IStorage *pstgPriority,
  49. DWORD grfMode,
  50. SNB snbExclude,
  51. #if WIN32 == 300
  52. LPSECURITY_ATTRIBUTES pssSecurity,
  53. #else
  54. LPSTGSECURITY reserved,
  55. #endif
  56. ULONG *pulSectorSize,
  57. DWORD grfAttrs,
  58. IStorage **ppstgOpen);
  59. #endif // #ifndef __DFENTRY_HXX__