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.

31 lines
1.0 KiB

  1. #ifndef __PCH_H__
  2. #define __PCH_H__
  3. #include <windows.h>
  4. #include <shpriv.h>
  5. #include <shlguid.h>
  6. #include <shobjidl.h>
  7. #include <shlwapi.h>
  8. #include <shlwapip.h>
  9. #include <debug.h>
  10. #include "ccstock.h"
  11. #include "wmsdk.h"
  12. #include "wmsdkidl.h"
  13. PSTR DuplicateWideStringAsMultibyte(LPCWSTR pwszSource);
  14. HRESULT CoerceProperty(PROPVARIANT *pvar,VARTYPE vt);
  15. HRESULT WMTFromPropVariant(BYTE *buffer, WORD *cbLen, WMT_ATTR_DATATYPE *pdatatype, PROPVARIANT *pvar);
  16. HRESULT PropVariantFromWMT(UCHAR *pData, WORD cbSize, WMT_ATTR_DATATYPE attrDataType, PROPVARIANT *pvar, VARTYPE vt);
  17. // try-except wrappers for wmvcore.dll functions
  18. #define WMCreateEditor WMCreateEditorWrap
  19. #define WMCreateIndexer WMCreateIndexerWrap
  20. #define WMCreateProfileManager WMCreateProfileManagerWrap
  21. #define WMCreateReader WMCreateReaderWrap
  22. #define WMCreateWriterFileSink WMCreateWriterFileSinkWrap
  23. #define WMCreateWriterNetworkSink WMCreateWriterNetworkSinkWrap
  24. #define WMCreateWriter WMCreateWriterWrap
  25. #define WMCreateCertificate WMCreateCertificateWrap
  26. #endif