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.

71 lines
2.1 KiB

  1. ////////////////////////////////////////////////////////////////////////////////
  2. //
  3. // Internal.h
  4. //
  5. // MS Office Internal Interfaces. These interfaces are not supported
  6. // for client code.
  7. //
  8. // Change history:
  9. //
  10. // Date Who What
  11. // --------------------------------------------------------------------------
  12. // 07/13/94 B. Wentz Created file
  13. //
  14. ////////////////////////////////////////////////////////////////////////////////
  15. #ifndef __Internal_h__
  16. #define __Internal_h__
  17. #include "offcapi.h"
  18. #include "proptype.h"
  19. // Flag to | into Id's passed to Summary and Document Summary objects
  20. // to get a real pointer to data, not a copy.
  21. #define PTRWIZARD 0x1000
  22. // Flag to | into flags passed to User-defined property streams to get
  23. // a real pointer to the data, not a copy.
  24. #define UD_PTRWIZARD 0x0002
  25. #ifdef __cplusplus
  26. extern TEXT("C") {
  27. #endif
  28. // Create a UDPROP structure.
  29. LPUDPROP LpudpropCreate ( void );
  30. // Free a UDPROP structure.
  31. VOID VUdpropFree (LPUDPROP *lplpudp);
  32. // Create a temporary copy of the User-Defined property data
  33. BOOL FMakeTmpUDProps (LPUDOBJ lpUDObj);
  34. // Swap the "temp" copy with the real copy of User-Defined property data
  35. BOOL FSwapTmpUDProps (LPUDOBJ lpUDObj);
  36. // Delete the "temp" copy of the data
  37. BOOL FDeleteTmpUDProps (LPUDOBJ lpUDObj);
  38. // Look up a node in the UD props
  39. LPUDPROP PASCAL LpudpropFindMatchingName (LPUDOBJ lpUDObj, LPTSTR lpsz);
  40. BOOL FUserDefCreate (LPUDOBJ FAR *lplpUDObj, const void *prglpfn[]);
  41. // Clear the data stored in object, but do not destroy the object.
  42. BOOL FUserDefClear (LPUDOBJ lpUDObj);
  43. // Destroy object,
  44. BOOL FUserDefDestroy (LPUDOBJ FAR *lplp);
  45. // Misc internal calls & defines
  46. void PASCAL FreeUDData (LPUDOBJ lpUDObj, BOOL fTmp);
  47. BOOL PASCAL FAddPropToList (LPUDOBJ lpUDObj, LPPROPVARIANT lppropvar, STATPROPSTG *lpstatpropstg, LPUDPROP lpudprop);
  48. void PASCAL AddNodeToList (LPUDOBJ lpUDObj, LPUDPROP lpudprop);
  49. #ifdef __cplusplus
  50. }; // extern "C"
  51. #endif
  52. #endif // __Internal_h__