|
|
1.1 root 1: /*
2: * INSOBJ.H
3: *
4: * Internal definitions, structures, and function prototypes for the
5: * OLE 2.0 UI Insert Object dialog.
6: *
7: * Copyright (c)1993 Microsoft Corporation, All Rights Reserved
8: */
9:
10:
11: #ifndef _INSOBJ_H_
12: #define _INSOBJ_H_
13:
14: //Internally used structure
15: typedef struct tagINSERTOBJECT
16: {
17: LPOLEUIINSERTOBJECT lpOIO; //Original structure passed.
18:
19: /*
20: * What we store extra in this structure besides the original caller's
21: * pointer are those fields that we need to modify during the life of
22: * the dialog but that we don't want to change in the original structure
23: * until the user presses OK.
24: */
25: DWORD dwFlags;
26: CLSID clsid;
27: char szFile[OLEUI_CCHPATHMAX];
28: BOOL fFileSelected; //Enables Display As Icon for links
29: BOOL fAsIconNew;
30: BOOL fAsIconFile;
31: BOOL fFileDirty;
32: BOOL fFileValid;
33: UINT nErrCode;
34: HGLOBAL hMetaPictFile;
35: } INSERTOBJECT, *PINSERTOBJECT, FAR *LPINSERTOBJECT;
36:
37:
38:
39: //Internal function prototypes
40: //INSOBJ.C
41: BOOL CALLBACK EXPORT InsertObjectDialogProc(HWND, UINT, WPARAM, LPARAM);
42: BOOL FInsertObjectInit(HWND, WPARAM, LPARAM);
43: UINT UFillClassList(HWND, UINT, LPCLSID, BOOL);
44: BOOL FToggleObjectSource(HWND, LPINSERTOBJECT, DWORD);
45: void UpdateClassIcon(HWND, LPINSERTOBJECT, HWND);
46: void UpdateClassType(HWND, LPINSERTOBJECT, BOOL);
47: void SetInsertObjectResults(HWND, LPINSERTOBJECT);
48: BOOL FValidateInsertFile(HWND, BOOL, UINT FAR*);
49: void InsertObjectCleanup(HWND);
50:
51: #endif //_INSOBJ_H_
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.