mirror of
https://github.com/reactos/reactos.git
synced 2025-05-07 10:46:58 +00:00
[USETUP] Comment out SetupQueueCopyWNew() declaration which is not used at all. Remove unnecessary casts in the INF_OpenBufferedFileA() call.
svn path=/branches/setup_improvements/; revision=75509
This commit is contained in:
parent
9348fe1f7e
commit
aa110db3ea
2 changed files with 5 additions and 3 deletions
|
@ -60,7 +60,7 @@ typedef UINT (CALLBACK* PSP_FILE_CALLBACK_W)(
|
||||||
typedef struct _COPYCONTEXT
|
typedef struct _COPYCONTEXT
|
||||||
{
|
{
|
||||||
LPCWSTR DestinationRootPath; /* Not owned by this structure */
|
LPCWSTR DestinationRootPath; /* Not owned by this structure */
|
||||||
LPCWSTR InstallPath; /* Not owned by this structure */
|
LPCWSTR InstallPath; /* Not owned by this structure */
|
||||||
ULONG TotalOperations;
|
ULONG TotalOperations;
|
||||||
ULONG CompletedOperations;
|
ULONG CompletedOperations;
|
||||||
PPROGRESSBAR ProgressBar;
|
PPROGRESSBAR ProgressBar;
|
||||||
|
@ -78,6 +78,7 @@ WINAPI
|
||||||
SetupCloseFileQueue(
|
SetupCloseFileQueue(
|
||||||
IN HSPFILEQ QueueHandle);
|
IN HSPFILEQ QueueHandle);
|
||||||
|
|
||||||
|
#if 0 // This is the API that is declared in setupapi.h and exported by setupapi.dll
|
||||||
BOOL
|
BOOL
|
||||||
WINAPI
|
WINAPI
|
||||||
SetupQueueCopyWNew(
|
SetupQueueCopyWNew(
|
||||||
|
@ -90,6 +91,7 @@ SetupQueueCopyWNew(
|
||||||
IN PCWSTR TargetDirectory,
|
IN PCWSTR TargetDirectory,
|
||||||
IN PCWSTR TargetFileName,
|
IN PCWSTR TargetFileName,
|
||||||
IN DWORD CopyStyle);
|
IN DWORD CopyStyle);
|
||||||
|
#endif
|
||||||
|
|
||||||
BOOL
|
BOOL
|
||||||
SetupQueueCopy(
|
SetupQueueCopy(
|
||||||
|
|
|
@ -4078,9 +4078,9 @@ PrepareCopyPage(PINPUT_RECORD Ir)
|
||||||
return QUIT_PAGE;
|
return QUIT_PAGE;
|
||||||
}
|
}
|
||||||
|
|
||||||
InfHandle = INF_OpenBufferedFileA((CHAR*) InfFileData,
|
InfHandle = INF_OpenBufferedFileA((PSTR)InfFileData,
|
||||||
InfFileSize,
|
InfFileSize,
|
||||||
(const CHAR*) NULL,
|
NULL,
|
||||||
INF_STYLE_WIN4,
|
INF_STYLE_WIN4,
|
||||||
LanguageId,
|
LanguageId,
|
||||||
&ErrorLine);
|
&ErrorLine);
|
||||||
|
|
Loading…
Reference in a new issue