mirror of https://github.com/tongzx/nt5src
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
46 lines
1.7 KiB
//=--------------------------------------------------------------------------=
|
|
// CtlHelp.H
|
|
//=--------------------------------------------------------------------------=
|
|
// Copyright 1995-1996 Microsoft Corporation. All Rights Reserved.
|
|
//
|
|
// THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF
|
|
// ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO
|
|
// THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A
|
|
// PARTICULAR PURPOSE.
|
|
//=--------------------------------------------------------------------------=
|
|
//
|
|
// routines to help out our implementation of COleControl.
|
|
//
|
|
|
|
#ifndef _CTLHELP_H_
|
|
|
|
//=--------------------------------------------------------------------------=
|
|
// these two tables are used to get information on sizes about data types
|
|
// the first is used mostly in persistence, while the second is used for
|
|
// events
|
|
//
|
|
extern const BYTE g_rgcbDataTypeSize [];
|
|
extern const BYTE g_rgcbPromotedDataTypeSize [];
|
|
|
|
|
|
|
|
//=--------------------------------------------------------------------------=
|
|
// misc functions
|
|
//
|
|
short _SpecialKeyState(void);
|
|
void WINAPI CopyAndAddRefObject(void *, const void *, DWORD);
|
|
void WINAPI CopyOleVerb(void *, const void *, DWORD);
|
|
|
|
HWND CreateReflectWindow(BOOL fVisible, HWND hwndParent, int, int, SIZEL *);
|
|
void CleanupReflection();
|
|
|
|
//=--------------------------------------------------------------------------=
|
|
// little private guid we'll use to help identify our objects
|
|
// {00D97180-FCF7-11ce-A09E-00AA0062BE57}
|
|
//
|
|
#define Data1_IControlPrv 0xd97180
|
|
|
|
DEFINE_GUID(IID_IControlPrv, 0xd97180, 0xfcf7, 0x11ce, 0xa0, 0x9e, 0x0, 0xaa, 0x0, 0x62, 0xbe, 0x57);
|
|
|
|
#define _CTLHELP_H_
|
|
#endif // _CTLHELP_H_
|