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.

66 lines
1.8 KiB

  1. /*
  2. * olevalid.h - OLE validation functions description.
  3. */
  4. #ifdef __cplusplus
  5. extern "C" { /* Assume C declarations for C++. */
  6. #endif /* __cplusplus */
  7. /* Macros
  8. *********/
  9. /* method validation macro */
  10. #define IS_VALID_METHOD(piface, mthd) \
  11. IS_VALID_CODE_PTR((piface)->lpVtbl->mthd, mthd)
  12. /* Prototypes
  13. *************/
  14. /* olevalid.c */
  15. #ifdef DEBUG
  16. extern BOOL IsValidPCGUID(PCGUID);
  17. extern BOOL IsValidPCCLSID(PCCLSID);
  18. extern BOOL IsValidPCIID(PCIID);
  19. extern BOOL IsValidPCDVTARGETDEVICE(PCDVTARGETDEVICE);
  20. extern BOOL IsValidPCFORMATETC(PCFORMATETC);
  21. extern BOOL IsValidStgMediumType(DWORD);
  22. extern BOOL IsValidPCSTGMEDIUM(PCSTGMEDIUM);
  23. extern BOOL IsValidREFIID(REFIID);
  24. extern BOOL IsValidREFCLSID(REFCLSID);
  25. extern BOOL IsValidPCINTERFACE(PCVOID);
  26. extern BOOL IsValidPCIAdviseSink(PCIAdviseSink);
  27. extern BOOL IsValidPCIClassFactory(PCIClassFactory);
  28. extern BOOL IsValidPCIDataObject(PCIDataObject);
  29. extern BOOL IsValidPCIDropSource(PCIDropSource);
  30. extern BOOL IsValidPCIDropTarget(PCIDropTarget);
  31. extern BOOL IsValidPCIEnumFORMATETC(PCIEnumFORMATETC);
  32. extern BOOL IsValidPCIEnumSTATDATA(PCIEnumSTATDATA);
  33. extern BOOL IsValidPCIMalloc(PCIMalloc);
  34. extern BOOL IsValidPCIMoniker(PCIMoniker);
  35. extern BOOL IsValidPCIPersist(PCIPersist);
  36. extern BOOL IsValidPCIPersistFile(PCIPersistFile);
  37. extern BOOL IsValidPCIPersistStorage(PCIPersistStorage);
  38. extern BOOL IsValidPCIPersistStream(PCIPersistStream);
  39. extern BOOL IsValidPCIStorage(PCIStorage);
  40. extern BOOL IsValidPCIStream(PCIStream);
  41. extern BOOL IsValidPCIUnknown(PCIUnknown);
  42. #ifdef __INTSHCUT_H__
  43. extern BOOL IsValidPCIUniformResourceLocator(PCIUniformResourceLocator);
  44. #endif /* __INTSHCUT_H__ */
  45. #endif /* DEBUG */
  46. #ifdef __cplusplus
  47. } /* End of extern "C" {. */
  48. #endif /* __cplusplus */