summaryrefslogtreecommitdiffstats
path: root/private/utils/rdisk/rdisk.h
blob: 8b4295365f6aec977d5b7dea5f14d960987de599 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
/*++

Module Name:

    rdisk.h

Abstract:

    This module contains the declaration of the public functions, and
    public variables defined on repair.c

Author:

    Jaime Sasson - 24-Jan-1994

Environment:

    ULIB, Windows

--*/

#if !defined( _REPAIR_DISK_ )
#define _REPAIR_DISK_

#include "windows.h"

extern HWND    _hWndMain;
extern HANDLE  _hModule;
extern BOOLEAN _SilentMode;
extern WCHAR   _szApplicationName[];

//
// Range we will use for the gas gauge display.
// This large range provides plenty of granularity.
//
#define GAUGE_BAR_RANGE 10000

HCURSOR
DisplayHourGlass(
    );

VOID
RestoreCursor(
    IN HCURSOR  Cursor
    );

UINT
DisplayMsgBox(
    HWND  hwnd,
    UINT  MessageResId,
    UINT  MsgBoxFlags,
    ...
    );

DWORD
DiamondCompressFile(
    IN PSTR  SourceFile,
    IN PSTR  TargetFile,
    IN DWORD GaugeBasePosition,
    IN DWORD GaugeRangeForThisFile,
    IN HWND  GaugeNotifyWindow
    );

#endif  // _REPAIR_DISK_