ReactOS Fundraising Campaign 2012
 
€ 4,410 / € 30,000

Information | Donate

Home | Info | Community | Development | myReactOS | Contact Us

  1. Home
  2. Community
  3. Development
  4. myReactOS
  5. Fundraiser 2012

  1. Main Page
  2. Alphabetical List
  3. Data Structures
  4. Directories
  5. File List
  6. Data Fields
  7. Globals
  8. Related Pages

ReactOS Development > Doxygen

progress.h
Go to the documentation of this file.
00001 /*
00002  *  ReactOS kernel
00003  *  Copyright (C) 2002 ReactOS Team
00004  *
00005  *  This program is free software; you can redistribute it and/or modify
00006  *  it under the terms of the GNU General Public License as published by
00007  *  the Free Software Foundation; either version 2 of the License, or
00008  *  (at your option) any later version.
00009  *
00010  *  This program is distributed in the hope that it will be useful,
00011  *  but WITHOUT ANY WARRANTY; without even the implied warranty of
00012  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00013  *  GNU General Public License for more details.
00014  *
00015  *  You should have received a copy of the GNU General Public License along
00016  *  with this program; if not, write to the Free Software Foundation, Inc.,
00017  *  51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
00018  */
00019 /* $Id: progress.h 52467 2011-06-26 10:08:31Z rharabien $
00020  * COPYRIGHT:       See COPYING in the top level directory
00021  * PROJECT:         ReactOS text-mode setup
00022  * FILE:            subsys/system/usetup/partlist.h
00023  * PURPOSE:         Partition list functions
00024  * PROGRAMMER:      Eric Kohl
00025  */
00026 
00027 #pragma once
00028 
00029 typedef struct _PROGRESS
00030 {
00031   SHORT Left;
00032   SHORT Top;
00033   SHORT Right;
00034   SHORT Bottom;
00035   SHORT TextTop;
00036   SHORT TextRight;
00037 
00038   SHORT Width;
00039 
00040   ULONG Percent;
00041   SHORT Pos;
00042 
00043   ULONG StepCount;
00044   ULONG CurrentStep;
00045 
00046   BOOLEAN Double;
00047   CHAR *Text;
00048 } PROGRESSBAR, *PPROGRESSBAR;
00049 
00050 /* FUNCTIONS ****************************************************************/
00051 
00052 PPROGRESSBAR
00053 CreateProgressBar(SHORT Left,
00054           SHORT Top,
00055           SHORT Right,
00056           SHORT Bottom,
00057           SHORT TextTop,
00058           SHORT TextRight,
00059           BOOLEAN DoubleEdge,
00060           char* Text);
00061 
00062 VOID
00063 DestroyProgressBar(PPROGRESSBAR Bar);
00064 
00065 VOID
00066 ProgressSetStepCount(PPROGRESSBAR Bar,
00067              ULONG StepCount);
00068 
00069 VOID
00070 ProgressNextStep(PPROGRESSBAR Bar);
00071 
00072 VOID
00073 ProgressSetStep (PPROGRESSBAR Bar,
00074          ULONG Step);
00075 
00076 /* EOF */

Generated on Fri May 25 2012 04:16:26 for ReactOS by doxygen 1.7.6.1

ReactOS is a registered trademark or a trademark of ReactOS Foundation in the United States and other countries.