windows-nt/Source/XPSP1/NT/com/oleutest/ole1/clidemo/object.h
2020-09-26 16:20:57 +08:00

41 lines
1.3 KiB
C
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

/*
* object.h
*
* Created by Microsoft Corporation.
* (c) Copyright Microsoft Corp. 1990 - 1992 All Rights Reserved
*/
//*** PROTOTYPES ***
//* OLE Callbacks
INT APIENTRY CallBack(LPOLECLIENT, OLE_NOTIFICATION, LPOLEOBJECT);
//* Exported Windows procedures
LONG APIENTRY ItemWndProc(HWND, UINT, DWORD, LONG);
//* Far
VOID FAR ObjDelete(APPITEMPTR, BOOL);
VOID FAR ConvertToClient(LPRECT);
OLESTATUS FAR Error(OLESTATUS);
APPITEMPTR FAR PreItemCreate(LPOLECLIENT, BOOL, LHCLIENTDOC);
BOOL FAR PostItemCreate(LPOLEOBJECT, LONG, LPRECT, APPITEMPTR);
VOID FAR ObjPaste(BOOL, LHCLIENTDOC, LPOLECLIENT);
BOOL FAR ObjCopy(APPITEMPTR);
BOOL FAR ObjGetData (APPITEMPTR, LPSTR);
VOID FAR ObjChangeLinkData(APPITEMPTR, LPSTR);
VOID FAR ObjSaveUndo(APPITEMPTR);
VOID FAR ObjDelUndo(APPITEMPTR);
VOID FAR ObjUndo(APPITEMPTR);
VOID FAR ObjFreeze(APPITEMPTR);
VOID FAR ObjInsert(LHCLIENTDOC, LPOLECLIENT);
VOID FAR ObjCreateFromTemplate(LHCLIENTDOC, LPOLECLIENT);
VOID FAR ObjCreateWrap(HANDLE, LHCLIENTDOC, LPOLECLIENT);
VOID FAR UpdateObjectMenuItem(HMENU);
VOID FAR ExecuteVerb(UINT, APPITEMPTR);
//* Local
static VOID Release(APPITEMPTR);
BOOL FAR ObjSetBounds(APPITEMPTR);