Home | Info | Community | Development | myReactOS | Contact Us
ReactOS Development > Doxygenfilequeue.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: filequeue.h 45685 2010-02-26 11:43:19Z gedmurphy $ 00020 * COPYRIGHT: See COPYING in the top level directory 00021 * PROJECT: ReactOS text-mode setup 00022 * FILE: subsys/system/usetup/filequeue.h 00023 * PURPOSE: File queue functions 00024 * PROGRAMMER: Eric Kohl 00025 */ 00026 00027 #pragma once 00028 00029 #define SPFILENOTIFY_STARTQUEUE 0x1 00030 #define SPFILENOTIFY_ENDQUEUE 0x2 00031 #define SPFILENOTIFY_STARTSUBQUEUE 0x3 00032 #define SPFILENOTIFY_ENDSUBQUEUE 0x4 00033 00034 #define SPFILENOTIFY_STARTCOPY 0xb 00035 #define SPFILENOTIFY_ENDCOPY 0xc 00036 #define SPFILENOTIFY_COPYERROR 0xd 00037 00038 #define FILEOP_COPY 0x0 00039 #define FILEOP_RENAME 0x1 00040 #define FILEOP_DELETE 0x2 00041 #define FILEOP_BACKUP 0x3 00042 00043 #define FILEOP_ABORT 0x0 00044 #define FILEOP_DOIT 0x1 00045 #define FILEOP_SKIP 0x2 00046 #define FILEOP_RETRY FILEOP_DOIT 00047 #define FILEOP_NEWPATH 0x4 00048 00049 00050 /* TYPES ********************************************************************/ 00051 00052 typedef PVOID HSPFILEQ; 00053 00054 typedef UINT (CALLBACK* PSP_FILE_CALLBACK_W)(PVOID Context, 00055 UINT Notification, 00056 UINT_PTR Param1, 00057 UINT_PTR Param2); 00058 00059 typedef struct _COPYCONTEXT 00060 { 00061 LPCWSTR DestinationRootPath; /* Not owned by this structure */ 00062 LPCWSTR InstallPath; /* Not owned by this structure */ 00063 ULONG TotalOperations; 00064 ULONG CompletedOperations; 00065 PPROGRESSBAR ProgressBar; 00066 PPROGRESSBAR MemoryBars[4]; 00067 } COPYCONTEXT, *PCOPYCONTEXT; 00068 00069 /* FUNCTIONS ****************************************************************/ 00070 00071 HSPFILEQ WINAPI 00072 SetupOpenFileQueue(VOID); 00073 00074 VOID WINAPI 00075 SetupCloseFileQueue( 00076 IN HSPFILEQ QueueHandle); 00077 00078 BOOL WINAPI 00079 SetupQueueCopyWNew( 00080 IN HSPFILEQ QueueHandle, 00081 IN PCWSTR SourceRootPath, 00082 IN PCWSTR SourcePath, 00083 IN PCWSTR SourceFileName, 00084 IN PCWSTR SourceDescription, 00085 IN PCWSTR SourceTagFile, 00086 IN PCWSTR TargetDirectory, 00087 IN PCWSTR TargetFileName, 00088 IN DWORD CopyStyle); 00089 00090 BOOL 00091 SetupQueueCopy(HSPFILEQ QueueHandle, 00092 PCWSTR SourceCabinet, 00093 PCWSTR SourceRootPath, 00094 PCWSTR SourcePath, 00095 PCWSTR SourceFilename, 00096 PCWSTR TargetDirectory, 00097 PCWSTR TargetFilename); 00098 00099 BOOL WINAPI 00100 SetupCommitFileQueueW(HWND Owner, 00101 HSPFILEQ QueueHandle, 00102 PSP_FILE_CALLBACK_W MsgHandler, 00103 PVOID Context); 00104 00105 /* EOF */ Generated on Sun May 27 2012 04:17:58 for ReactOS by
1.7.6.1
|