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.

32 lines
1.1 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. #include <strsafe.h>
  14. PSTR DuplicateWideStringAsMultibyte(LPCWSTR pwszSource);
  15. HRESULT CoerceProperty(PROPVARIANT *pvar,VARTYPE vt);
  16. HRESULT WMTFromPropVariant(BYTE *buffer, WORD *cbLen, WMT_ATTR_DATATYPE *pdatatype, PROPVARIANT *pvar);
  17. HRESULT PropVariantFromWMT(UCHAR *pData, WORD cbSize, WMT_ATTR_DATATYPE attrDataType, PROPVARIANT *pvar, VARTYPE vt);
  18. // try-except wrappers for wmvcore.dll functions
  19. #define WMCreateEditor WMCreateEditorWrap
  20. #define WMCreateIndexer WMCreateIndexerWrap
  21. #define WMCreateProfileManager WMCreateProfileManagerWrap
  22. #define WMCreateReader WMCreateReaderWrap
  23. #define WMCreateWriterFileSink WMCreateWriterFileSinkWrap
  24. #define WMCreateWriterNetworkSink WMCreateWriterNetworkSinkWrap
  25. #define WMCreateWriter WMCreateWriterWrap
  26. #define WMCreateCertificate WMCreateCertificateWrap
  27. #endif