Annotation of mstools/samples/ddeml/ddeinst/ddeinst.h, revision 1.1.1.1

1.1       root        1: 
                      2: /******************************************************************************\
                      3: *       This is a part of the Microsoft Source Code Samples. 
                      4: *       Copyright (C) 1993 Microsoft Corporation.
                      5: *       All rights reserved. 
                      6: *       This source code is only intended as a supplement to 
                      7: *       Microsoft Development Tools and/or WinHelp documentation.
                      8: *       See these sources for detailed information regarding the 
                      9: *       Microsoft samples programs.
                     10: \******************************************************************************/
                     11: 
                     12: /*
                     13:    ddeinst.h -- include file for DDEML Installer.
                     14: */
                     15: 
                     16: // Window Procedure function prototypes.
                     17: LRESULT APIENTRY    MainWndProc (HWND, UINT, WPARAM, LPARAM);
                     18: LRESULT APIENTRY    PathDialogWndProc (HWND, UINT, WPARAM, LPARAM);
                     19: LRESULT APIENTRY    ProgressDialogWndProc (HWND, UINT, WPARAM, LPARAM);
                     20: LRESULT APIENTRY    StatusBarWndProc (HWND, UINT, WPARAM, LPARAM);
                     21: LRESULT APIENTRY    ListBoxWndProc (HWND, UINT, WPARAM, LPARAM);
                     22: WNDPROC             DefListBoxWndProc;
                     23: 
                     24: // Utility functions
                     25: BOOL                DecodeOptions (LPSTR);
                     26: BOOL                InitializeApp (void);
                     27: void                CleanUpApp (void);
                     28: 
                     29: // Path traversal functions
                     30: BOOL                StartTraverseThread (LPSTR);
                     31: BOOL                TraversePath (LPSTR);
                     32: 
                     33: // DDEML Group information retrieval functions
                     34: BOOL                StartGroupRetrievalThread (void);
                     35: BOOL                GroupRetrieval ();
                     36: 
                     37: // DDEML Execute functions
                     38: BOOL                StartAddThread (void);
                     39: BOOL                CreateGroup (void);
                     40: BOOL                AddProgramItems (LPSTR);
                     41: HDDEDATA CALLBACK   GroupDDECallback (UINT, UINT, HANDLE, HSZ, HSZ, HDDEDATA,
                     42:                           LONG, LONG);
                     43: 
                     44: 
                     45: // Dialog Window Procedures
                     46: LRESULT APIENTRY    AboutBoxWndProc (HWND, UINT, WPARAM, LPARAM);
                     47: LRESULT APIENTRY    ProgressDlgWndProc (HWND, UINT, WPARAM, LPARAM);
                     48: 
                     49: #define ACCEL_ID        1024
                     50: #define APPICON         2048
                     51: 
                     52: // The Menu identifiers
                     53: #define MainMenu        10
                     54: #define DI_EXIT         11
                     55: #define DI_ABOUT        13
                     56: 
                     57: // The Child control identifiers
                     58: #define ID_STATUSBAR    2
                     59: #define ID_FILELIST     3
                     60: #define ID_FILELIST2    4
                     61: #define ID_ADDBUTTON    5
                     62: #define ID_ADDALLBUTTON 6
                     63: #define ID_EXITBUTTON   7
                     64: #define ID_COMBOBOX     8
                     65: #define ID_PATHLIST     9
                     66: #define ID_ADDGROUP     10
                     67: 
                     68: 
                     69: // DDEML Starter flags
                     70: #define WM_USER_GET_GROUPS      (WM_USER+1)
                     71: #define WM_USER_GET_APPS        (WM_USER+2)
                     72: 
                     73: 
                     74: // Dialog Box update message
                     75: #define WM_USER_UPDATE_DIALOG   (WM_USER+10)
                     76: #define WM_USER_CLOSE_DIALOG    (WM_USER+12)
                     77: #define WM_USER_THREAD_DONE     (WM_USER+14)
                     78: 
                     79: // DDEML Progress message for Status Bar
                     80: #define WM_USER_UPDATE_STATUS   (WM_USER+16)
                     81: 
                     82: #define ID_DDEML_CONNECT        1
                     83: #define ID_DDEML_RETRIEVING     2
                     84: #define ID_DDEML_DISCONNECT     3
                     85: #define ID_DDEML_COMPLETE       4
                     86: #define ID_DDEML_CREATE         5
                     87: #define ID_DDEML_ADD            6
                     88: #define ID_DDEML_ACTIVATE       7

unix.superglobalmegacorp.com

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