mirror of
https://github.com/reactos/reactos.git
synced 2025-05-06 18:31:26 +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
|
||||
{
|
||||
LPCWSTR DestinationRootPath; /* Not owned by this structure */
|
||||
LPCWSTR InstallPath; /* Not owned by this structure */
|
||||
LPCWSTR InstallPath; /* Not owned by this structure */
|
||||
ULONG TotalOperations;
|
||||
ULONG CompletedOperations;
|
||||
PPROGRESSBAR ProgressBar;
|
||||
|
@ -78,6 +78,7 @@ WINAPI
|
|||
SetupCloseFileQueue(
|
||||
IN HSPFILEQ QueueHandle);
|
||||
|
||||
#if 0 // This is the API that is declared in setupapi.h and exported by setupapi.dll
|
||||
BOOL
|
||||
WINAPI
|
||||
SetupQueueCopyWNew(
|
||||
|
@ -90,6 +91,7 @@ SetupQueueCopyWNew(
|
|||
IN PCWSTR TargetDirectory,
|
||||
IN PCWSTR TargetFileName,
|
||||
IN DWORD CopyStyle);
|
||||
#endif
|
||||
|
||||
BOOL
|
||||
SetupQueueCopy(
|
||||
|
|
|
@ -4078,9 +4078,9 @@ PrepareCopyPage(PINPUT_RECORD Ir)
|
|||
return QUIT_PAGE;
|
||||
}
|
||||
|
||||
InfHandle = INF_OpenBufferedFileA((CHAR*) InfFileData,
|
||||
InfHandle = INF_OpenBufferedFileA((PSTR)InfFileData,
|
||||
InfFileSize,
|
||||
(const CHAR*) NULL,
|
||||
NULL,
|
||||
INF_STYLE_WIN4,
|
||||
LanguageId,
|
||||
&ErrorLine);
|
||||
|
|
Loading…
Reference in a new issue