Source code of Windows XP (NT5)
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.

44 lines
821 B

  1. // SVDOC.H
  2. #ifndef _SVDOC_H
  3. #define _SVDOC_H
  4. #include <windows.h>
  5. #include <bfnew.h>
  6. #include <dynarray.h>
  7. #include <itpropl.h>
  8. #include <itcc.h>
  9. #define MAX_OBJECT_NAME 256
  10. #define UID_INVALID 0xFFFFFFFF
  11. // Index command macros
  12. #define DYN_BUFFER_INIT_SIZE 256
  13. typedef struct indexCmdType
  14. {
  15. LPVOID ReservedForDynBuffer;
  16. int iStart, iNext;
  17. DWORD dwCommand, dwArg;
  18. } INDEXCMD, *PINDEXCMD;
  19. class CSvDocInternal : public CSvDoc
  20. {
  21. public:
  22. CSvDocInternal (void);
  23. ~CSvDocInternal ();
  24. virtual HRESULT WINAPI ResetDocTemplate (void);
  25. virtual HRESULT WINAPI AddObjectEntry(LPCWSTR lpObjName, IITPropList *pPL);
  26. virtual HRESULT WINAPI AddObjectEntry
  27. (LPCWSTR lpObjName, LPCWSTR szPropDest, IITPropList *pPL);
  28. public:
  29. DWORD m_dwUID;
  30. LPBF m_lpbfEntry;
  31. LPBF m_lpbfDoc;
  32. };
  33. #endif