File:  [WindowsNT SDKs] / mstools / ole20 / samples / ole2ui / busy.h
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Thu Aug 9 18:24:38 2018 UTC (7 years, 9 months ago) by root
Branches: msft, MAIN
CVS tags: ntsdk-jul-1993, HEAD
Microsoft Windows NT Build 511 (SDK Final Release) 07-24-1993

/*
 * BUSY.H
 *
 * Internal definitions, structures, and function prototypes for the
 * OLE 2.0 UI Busy dialog.
 *
 * Copyright (c)1992 Microsoft Corporation, All Right Reserved
 */

#ifndef _BUSY_H_
#define _BUSY_H_

//Internally used structure
typedef struct tagBUSY
    {
    //Keep this item first as the Standard* functions depend on it here.
    LPOLEUIBUSY     lpOBZ;       //Original structure passed.
    
    /*
     * What we store extra in this structure besides the original caller's
     * pointer are those fields that we need to modify during the life of
     * the dialog or that we don't want to change in the original structure
     * until the user presses OK.
     */
              
    DWORD               dwFlags;                // Flags passed in
    HWND                hWndBlocked;            // HWND of app which is blocking
    } BUSY, *PBUSY, FAR *LPBUSY;

// Internal function prototypes
BOOL    GetTaskInfo(HWND hWnd, HTASK htask, LPSTR FAR* lplpszTaskName, LPSTR FAR*lplpszWindowName, HWND FAR*lphWnd);
void    BuildBusyDialogString(HWND, DWORD, int, LPSTR, LPSTR);
BOOL CALLBACK EXPORT BusyDialogProc(HWND hDlg, UINT iMsg, WPARAM wParam, LPARAM lParam);
void    BusyCleanup(HWND hDlg);
BOOL    FBusyInit(HWND hDlg, WPARAM wParam, LPARAM lParam);                      
void    FAR * IMallocMemAlloc(DWORD dwSize);
SCODE   IMallocMemFree(void FAR *ptr);
BOOL    InitEnumeration(void);
void    UnInitEnumeration(void);
        StartTaskManager(void);
void    MakeWindowActive(HWND hWndSwitchTo);
 
#endif //_BUSY_H_



 

unix.superglobalmegacorp.com

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