mirror of
https://github.com/reactos/reactos.git
synced 2024-10-01 23:14:53 +00:00
Fix build when compilation units are enabled for usetup.c
svn path=/trunk/; revision=23865
This commit is contained in:
parent
5244a29dad
commit
562f8391e8
|
@ -312,15 +312,6 @@ SetupQueueCopy(HSPFILEQ QueueHandle,
|
|||
}
|
||||
|
||||
|
||||
typedef struct _COPYCONTEXT
|
||||
{
|
||||
LPCWSTR DestinationRootPath; /* Not owned by this structure */
|
||||
LPCWSTR InstallPath; /* Not owned by this structure */
|
||||
ULONG TotalOperations;
|
||||
ULONG CompletedOperations;
|
||||
PPROGRESSBAR ProgressBar;
|
||||
} COPYCONTEXT, *PCOPYCONTEXT;
|
||||
|
||||
BOOL WINAPI
|
||||
SetupCommitFileQueueW(HWND Owner,
|
||||
HSPFILEQ QueueHandle,
|
||||
|
@ -336,11 +327,8 @@ SetupCommitFileQueueW(HWND Owner,
|
|||
WCHAR FileSrcPath[MAX_PATH];
|
||||
WCHAR FileDstPath[MAX_PATH];
|
||||
|
||||
DPRINT1("Context %p\n", Context);
|
||||
TargetRootPath = ((PCOPYCONTEXT)Context)->DestinationRootPath;
|
||||
DPRINT1("TargetRootPath %S\n", TargetRootPath);
|
||||
TargetPath = ((PCOPYCONTEXT)Context)->InstallPath;
|
||||
DPRINT1("TargetPath %S\n", TargetPath);
|
||||
|
||||
if (QueueHandle == NULL)
|
||||
return(FALSE);
|
||||
|
|
|
@ -58,6 +58,14 @@ typedef UINT (CALLBACK* PSP_FILE_CALLBACK_W)(PVOID Context,
|
|||
UINT_PTR Param1,
|
||||
UINT_PTR Param2);
|
||||
|
||||
typedef struct _COPYCONTEXT
|
||||
{
|
||||
LPCWSTR DestinationRootPath; /* Not owned by this structure */
|
||||
LPCWSTR InstallPath; /* Not owned by this structure */
|
||||
ULONG TotalOperations;
|
||||
ULONG CompletedOperations;
|
||||
PPROGRESSBAR ProgressBar;
|
||||
} COPYCONTEXT, *PCOPYCONTEXT;
|
||||
|
||||
/* FUNCTIONS ****************************************************************/
|
||||
|
||||
|
|
|
@ -69,16 +69,6 @@ typedef enum _PAGE_NUMBER
|
|||
REBOOT_PAGE, /* virtual page */
|
||||
} PAGE_NUMBER, *PPAGE_NUMBER;
|
||||
|
||||
typedef struct _COPYCONTEXT
|
||||
{
|
||||
LPCWSTR DestinationRootPath; /* Not owned by this structure */
|
||||
LPCWSTR InstallPath; /* Not owned by this structure */
|
||||
ULONG TotalOperations;
|
||||
ULONG CompletedOperations;
|
||||
PPROGRESSBAR ProgressBar;
|
||||
} COPYCONTEXT, *PCOPYCONTEXT;
|
||||
|
||||
|
||||
/* GLOBALS ******************************************************************/
|
||||
|
||||
HANDLE ProcessHeap;
|
||||
|
|
|
@ -59,8 +59,8 @@
|
|||
#include "partlist.h"
|
||||
#include "inffile.h"
|
||||
#include "inicache.h"
|
||||
#include "filequeue.h"
|
||||
#include "progress.h"
|
||||
#include "filequeue.h"
|
||||
#include "bootsup.h"
|
||||
#include "keytrans.h"
|
||||
#include "registry.h"
|
||||
|
|
Loading…
Reference in a new issue