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.

48 lines
1015 B

  1. #define SETDefFormatEtc(fe, cf, med) \
  2. {\
  3. (fe).cfFormat=cf;\
  4. (fe).dwAspect=DVASPECT_CONTENT;\
  5. (fe).ptd=NULL;\
  6. (fe).tymed=med;\
  7. (fe).lindex=-1;\
  8. };
  9. #define DATASIZE_FROM_INDEX(i) ((i) * 1024)
  10. //Types that OLE2.H et. al. leave out
  11. #ifndef LPLPVOID
  12. typedef LPVOID FAR * LPLPVOID;
  13. #endif //LPLPVOID
  14. #ifndef PPVOID //Large model version
  15. typedef LPVOID * PPVOID;
  16. #endif //PPVOID
  17. EXTERN_C const GUID CDECL FAR CLSID_DataObjectTest32;
  18. EXTERN_C const GUID CDECL FAR CLSID_DataObjectTest16;
  19. #ifdef INIT_MY_GUIDS
  20. EXTERN_C const GUID CDECL
  21. CLSID_DataObjectTest32 = { /* ad562fd0-ac40-11ce-9d69-00aa0060f944 */
  22. 0xad562fd0,
  23. 0xac40,
  24. 0x11ce,
  25. {0x9d, 0x69, 0x00, 0xaa, 0x00, 0x60, 0xf9, 0x44}
  26. };
  27. EXTERN_C const GUID CDECL
  28. CLSID_DataObjectTest16 = { /* ad562fd1-ac40-11ce-9d69-00aa0060f944 */
  29. 0xad562fd1,
  30. 0xac40,
  31. 0x11ce,
  32. {0x9d, 0x69, 0x00, 0xaa, 0x00, 0x60, 0xf9, 0x44}
  33. };
  34. #endif /* INITGUID */
  35.