windows-nt/Source/XPSP1/NT/sdktools/diskmon/gauge.h
2020-09-26 16:20:57 +08:00

48 lines
624 B
C
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

typedef struct _GAUGEVALS {
int curValue;
int minValue;
int maxValue;
POINT base;
POINT top;
HWND handle;
struct _GAUGEVALS *next;
} GAUGEVALS, *PGAUGEVALS;
BOOL
RegisterGauge(
HINSTANCE hInstance
);
HWND
CreateGauge(
HWND parent,
HINSTANCE hInstance,
INT x,
INT y,
INT width,
INT height,
INT minVal,
INT maxVal
);
VOID
DestroyGauge(
HWND GaugeHandle
);
LRESULT CALLBACK GaugeWndProc(
HWND hWnd,
UINT message,
WPARAM uParam,
LPARAM lParam
);
VOID
UpdateGauge(
HWND handle,
INT value
);