Commit 712bffb5 authored by Rob Shearman's avatar Rob Shearman Committed by Alexandre Julliard

setupapi: Add stubs for SetupQueryInfOriginalFileInformationA/W.

parent 66d5cb29
...@@ -607,3 +607,29 @@ BOOL WINAPI SetupGetTargetPathW( HINF hinf, PINFCONTEXT context, PCWSTR section, ...@@ -607,3 +607,29 @@ BOOL WINAPI SetupGetTargetPathW( HINF hinf, PINFCONTEXT context, PCWSTR section,
HeapFree( GetProcessHeap(), 0, dir ); HeapFree( GetProcessHeap(), 0, dir );
return TRUE; return TRUE;
} }
/***********************************************************************
* SetupQueryInfOriginalFileInformationA (SETUPAPI.@)
*/
BOOL WINAPI SetupQueryInfOriginalFileInformationA(
PSP_INF_INFORMATION InfInformation, UINT InfIndex,
PSP_ALTPLATFORM_INFO AlternativePlatformInfo,
PSP_ORIGINAL_FILE_INFO_A OriginalFileInfo)
{
FIXME("(%p, %d, %p, %p): stub\n", InfInformation, InfIndex,
AlternativePlatformInfo, OriginalFileInfo);
return FALSE;
}
/***********************************************************************
* SetupQueryInfOriginalFileInformationW (SETUPAPI.@)
*/
BOOL WINAPI SetupQueryInfOriginalFileInformationW(
PSP_INF_INFORMATION InfInformation, UINT InfIndex,
PSP_ALTPLATFORM_INFO AlternativePlatformInfo,
PSP_ORIGINAL_FILE_INFO_W OriginalFileInfo)
{
FIXME("(%p, %d, %p, %p): stub\n", InfInformation, InfIndex,
AlternativePlatformInfo, OriginalFileInfo);
return FALSE;
}
...@@ -463,8 +463,8 @@ ...@@ -463,8 +463,8 @@
@ stub SetupQueryFileLogW @ stub SetupQueryFileLogW
@ stdcall SetupQueryInfFileInformationA(ptr long str long ptr) @ stdcall SetupQueryInfFileInformationA(ptr long str long ptr)
@ stdcall SetupQueryInfFileInformationW(ptr long wstr long ptr) @ stdcall SetupQueryInfFileInformationW(ptr long wstr long ptr)
@ stub SetupQueryInfOriginalFileInformationA @ stdcall SetupQueryInfOriginalFileInformationA(ptr long ptr ptr)
@ stub SetupQueryInfOriginalFileInformationW @ stdcall SetupQueryInfOriginalFileInformationW(ptr long ptr ptr)
@ stub SetupQueryInfVersionInformationA @ stub SetupQueryInfVersionInformationA
@ stub SetupQueryInfVersionInformationW @ stub SetupQueryInfVersionInformationW
@ stub SetupQuerySourceListA @ stub SetupQuerySourceListA
......
...@@ -343,6 +343,23 @@ typedef struct _FILEPATHS_W ...@@ -343,6 +343,23 @@ typedef struct _FILEPATHS_W
DECL_WINELIB_SETUPAPI_TYPE_AW(FILEPATHS) DECL_WINELIB_SETUPAPI_TYPE_AW(FILEPATHS)
DECL_WINELIB_SETUPAPI_TYPE_AW(PFILEPATHS) DECL_WINELIB_SETUPAPI_TYPE_AW(PFILEPATHS)
typedef struct _SP_ORIGINAL_FILE_INFO_A
{
DWORD cbSize;
CHAR OriginalInfName[MAX_PATH];
CHAR OriginalCatalogName[MAX_PATH];
} SP_ORIGINAL_FILE_INFO_A, *PSP_ORIGINAL_FILE_INFO_A;
typedef struct _SP_ORIGINAL_FILE_INFO_W
{
DWORD cbSize;
WCHAR OriginalInfName[MAX_PATH];
WCHAR OriginalCatalogName[MAX_PATH];
} SP_ORIGINAL_FILE_INFO_W, *PSP_ORIGINAL_FILE_INFO_W;
DECL_WINELIB_SETUPAPI_TYPE_AW(SP_ORIGINAL_FILE_INFO)
DECL_WINELIB_SETUPAPI_TYPE_AW(PSP_ORIGINAL_FILE_INFO)
#define SPFILENOTIFY_STARTQUEUE 0x0001 #define SPFILENOTIFY_STARTQUEUE 0x0001
#define SPFILENOTIFY_ENDQUEUE 0x0002 #define SPFILENOTIFY_ENDQUEUE 0x0002
#define SPFILENOTIFY_STARTSUBQUEUE 0x0003 #define SPFILENOTIFY_STARTSUBQUEUE 0x0003
...@@ -880,6 +897,9 @@ INT WINAPI SetupPromptReboot( HSPFILEQ, HWND, BOOL); ...@@ -880,6 +897,9 @@ INT WINAPI SetupPromptReboot( HSPFILEQ, HWND, BOOL);
BOOL WINAPI SetupQueryInfFileInformationA(PSP_INF_INFORMATION, UINT, PSTR, DWORD, PDWORD); BOOL WINAPI SetupQueryInfFileInformationA(PSP_INF_INFORMATION, UINT, PSTR, DWORD, PDWORD);
BOOL WINAPI SetupQueryInfFileInformationW(PSP_INF_INFORMATION, UINT, PWSTR, DWORD, PDWORD); BOOL WINAPI SetupQueryInfFileInformationW(PSP_INF_INFORMATION, UINT, PWSTR, DWORD, PDWORD);
#define SetupQueryInfFileInformation WINELIB_NAME_AW(SetupQueryInFileInformation) #define SetupQueryInfFileInformation WINELIB_NAME_AW(SetupQueryInFileInformation)
BOOL WINAPI SetupQueryInfOriginalFileInformationA(PSP_INF_INFORMATION, UINT, PSP_ALTPLATFORM_INFO, PSP_ORIGINAL_FILE_INFO_A);
BOOL WINAPI SetupQueryInfOriginalFileInformationW(PSP_INF_INFORMATION, UINT, PSP_ALTPLATFORM_INFO, PSP_ORIGINAL_FILE_INFO_W);
#define SetupQueryInfOriginalFileInformation WINELIB_NAME_AW(SetupQueryInfOriginalFileInformation)
BOOL WINAPI SetupQueueCopyA(HSPFILEQ,PCSTR,PCSTR,PCSTR,PCSTR,PCSTR,PCSTR,PCSTR,DWORD); BOOL WINAPI SetupQueueCopyA(HSPFILEQ,PCSTR,PCSTR,PCSTR,PCSTR,PCSTR,PCSTR,PCSTR,DWORD);
BOOL WINAPI SetupQueueCopyW(HSPFILEQ,PCWSTR,PCWSTR,PCWSTR,PCWSTR,PCWSTR,PCWSTR,PCWSTR,DWORD); BOOL WINAPI SetupQueueCopyW(HSPFILEQ,PCWSTR,PCWSTR,PCWSTR,PCWSTR,PCWSTR,PCWSTR,PCWSTR,DWORD);
#define SetupQueueCopy WINELIB_NAME_AW(SetupQueueCopy) #define SetupQueueCopy WINELIB_NAME_AW(SetupQueueCopy)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment