Annotation of mstools/ole20/samples/ole2ui/convert.h, revision 1.1

1.1     ! root        1: /*
        !             2:  * CONVERT.H
        !             3:  *
        !             4:  * Internal definitions, structures, and function prototypes for the
        !             5:  * OLE 2.0 UI Convert dialog.
        !             6:  *
        !             7:  * Copyright (c)1992 Microsoft Corporation, All Right Reserved
        !             8:  */
        !             9: 
        !            10: 
        !            11: #ifndef _CONVERT_H_
        !            12: #define _CONVERT_H_
        !            13: 
        !            14: 
        !            15: //Internally used structure
        !            16: typedef struct tagCONVERT
        !            17:     {
        !            18:     //Keep this item first as the Standard* functions depend on it here.
        !            19:     LPOLEUICONVERT     lpOCV;       //Original structure passed.
        !            20:     
        !            21:     /*
        !            22:      * What we store extra in this structure besides the original caller's
        !            23:      * pointer are those fields that we need to modify during the life of
        !            24:      * the dialog but that we don't want to change in the original structure
        !            25:      * until the user presses OK.
        !            26:      */
        !            27:               
        !            28:     DWORD               dwFlags;  // Flags passed in
        !            29:     HWND                hListVisible;  // listbox that is currently visible
        !            30:     HWND                hListInvisible;  // listbox that is currently hidden
        !            31:     CLSID               clsid;    // Class ID sent in to dialog: IN only
        !            32:     DWORD               dvAspect;
        !            33:     BOOL                fCustomIcon;
        !            34:     UINT                IconIndex;         // index (in exe) of current icon
        !            35:     LPSTR               lpszIconSource;    // path to current icon source
        !            36:     LPSTR               lpszCurrentObject;
        !            37:     LPSTR               lpszConvertDefault;
        !            38:     LPSTR               lpszActivateDefault;
        !            39:     } CONVERT, *PCONVERT, FAR *LPCONVERT;
        !            40: 
        !            41: 
        !            42: 
        !            43: //Internal function prototypes in CONVERT.C
        !            44: BOOL CALLBACK EXPORT ConvertDialogProc(HWND, UINT, WPARAM, LPARAM);
        !            45: BOOL            FConvertInit(HWND hDlg, WPARAM, LPARAM);
        !            46: UINT            FPopulateListbox(HWND hListbox, CLSID cID);
        !            47: BOOL            IsValidClassID(CLSID cID);      
        !            48: void            SetConvertResults(HWND, LPCONVERT);
        !            49: UINT            FillClassList(CLSID clsid, HWND hList, HWND hListInvisible, LPSTR FAR *lplpszCurrentClass, BOOL fIsLinkedObject, WORD wFormat);
        !            50: BOOL            FormatIncluded(LPSTR szStringToSearch, WORD wFormat);
        !            51: void            UpdateCVClassIcon(HWND hDlg, LPCONVERT lpCV, HWND hList);
        !            52: void            SwapWindows(HWND, HWND, HWND);
        !            53: void            ConvertCleanup(HWND hDlg, LPCONVERT lpCV);
        !            54: 
        !            55: #endif // _CONVERT_H_

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.