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.

46 lines
1.7 KiB

  1. //=--------------------------------------------------------------------------=
  2. // CtlHelp.H
  3. //=--------------------------------------------------------------------------=
  4. // Copyright 1995-1996 Microsoft Corporation. All Rights Reserved.
  5. //
  6. // THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF
  7. // ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO
  8. // THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A
  9. // PARTICULAR PURPOSE.
  10. //=--------------------------------------------------------------------------=
  11. //
  12. // routines to help out our implementation of COleControl.
  13. //
  14. #ifndef _CTLHELP_H_
  15. //=--------------------------------------------------------------------------=
  16. // these two tables are used to get information on sizes about data types
  17. // the first is used mostly in persistence, while the second is used for
  18. // events
  19. //
  20. extern const BYTE g_rgcbDataTypeSize [];
  21. extern const BYTE g_rgcbPromotedDataTypeSize [];
  22. //=--------------------------------------------------------------------------=
  23. // misc functions
  24. //
  25. short _SpecialKeyState(void);
  26. void WINAPI CopyAndAddRefObject(void *, const void *, DWORD);
  27. void WINAPI CopyOleVerb(void *, const void *, DWORD);
  28. HWND CreateReflectWindow(BOOL fVisible, HWND hwndParent, int, int, SIZEL *);
  29. void CleanupReflection();
  30. //=--------------------------------------------------------------------------=
  31. // little private guid we'll use to help identify our objects
  32. // {00D97180-FCF7-11ce-A09E-00AA0062BE57}
  33. //
  34. #define Data1_IControlPrv 0xd97180
  35. DEFINE_GUID(IID_IControlPrv, 0xd97180, 0xfcf7, 0x11ce, 0xa0, 0x9e, 0x0, 0xaa, 0x0, 0x62, 0xbe, 0x57);
  36. #define _CTLHELP_H_
  37. #endif // _CTLHELP_H_