2001-01-17 21:17:46 +01:00
|
|
|
/* -*- tab-width: 8; c-basic-offset: 8 -*- */
|
2000-07-08 20:27:03 +02:00
|
|
|
/*
|
|
|
|
* SetupAPI stubs
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include "debugtools.h"
|
|
|
|
#include "windef.h"
|
2000-11-06 21:24:43 +01:00
|
|
|
#include "setupapi.h"
|
|
|
|
|
2000-07-08 20:27:03 +02:00
|
|
|
DEFAULT_DEBUG_CHANNEL(setupapi);
|
|
|
|
|
|
|
|
|
2001-01-17 21:17:46 +01:00
|
|
|
/***********************************************************************
|
2001-06-19 20:20:47 +02:00
|
|
|
* SetupCloseFileQueue (SETUPAPI.56)
|
2001-01-17 21:17:46 +01:00
|
|
|
*/
|
|
|
|
VOID WINAPI SetupCloseFileQueue(HSPFILEQ QueueHandle)
|
|
|
|
{
|
|
|
|
FIXME("not implemented (setupapi.dll) \n");
|
|
|
|
}
|
2000-07-08 20:27:03 +02:00
|
|
|
|
2001-01-17 21:17:46 +01:00
|
|
|
/***********************************************************************
|
2001-06-19 20:20:47 +02:00
|
|
|
* SetupCommitFileQueueA (SETUPAPI.59)
|
2001-01-17 21:17:46 +01:00
|
|
|
*/
|
|
|
|
BOOL WINAPI SetupCommitFileQueueA(HWND Owner, HSPFILEQ QueueHandle,
|
|
|
|
PSP_FILE_CALLBACK_A MsgHandler,
|
|
|
|
PVOID Context)
|
|
|
|
{
|
|
|
|
FIXME("not implemented (setupapi.dll) \n");
|
|
|
|
return FALSE;
|
|
|
|
}
|
2000-07-08 20:27:03 +02:00
|
|
|
|
|
|
|
/***********************************************************************
|
2001-06-19 20:20:47 +02:00
|
|
|
* SetupIterateCabinetA (SETUPAPI.205)
|
2000-07-08 20:27:03 +02:00
|
|
|
*/
|
|
|
|
BOOL WINAPI SetupIterateCabinetA(PCSTR CabinetFile, DWORD Reserved,
|
|
|
|
PSP_FILE_CALLBACK_A MsgHandler, PVOID Context)
|
|
|
|
{
|
|
|
|
FIXME("not implemented (setupapi.dll) \n");
|
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
/***********************************************************************
|
2001-06-19 20:20:47 +02:00
|
|
|
* SetupIterateCabinetW (SETUPAPI.206)
|
2000-07-08 20:27:03 +02:00
|
|
|
*/
|
|
|
|
BOOL WINAPI SetupIterateCabinetW(PWSTR CabinetFile, DWORD Reserved,
|
|
|
|
PSP_FILE_CALLBACK_W MsgHandler, PVOID Context)
|
|
|
|
{
|
|
|
|
FIXME("not implemented (setupapi.dll) \n");
|
|
|
|
return 0;
|
|
|
|
}
|
2000-11-06 21:24:43 +01:00
|
|
|
|
|
|
|
|
2001-01-17 21:17:46 +01:00
|
|
|
/***********************************************************************
|
2001-06-19 20:20:47 +02:00
|
|
|
* SetupGetLineTextA (SETUPAPI.177)
|
2001-01-17 21:17:46 +01:00
|
|
|
*/
|
|
|
|
BOOL WINAPI SetupGetLineTextA (PINFCONTEXT Context, HINF InfHandle,
|
|
|
|
PCSTR Section, PCSTR Key, LPSTR ReturnBuffer,
|
|
|
|
DWORD ReturnBufferSize, PDWORD RequiredSize)
|
|
|
|
{
|
|
|
|
FIXME("not implemented (setupapi.dll) \n");
|
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
2000-11-06 21:24:43 +01:00
|
|
|
/***********************************************************************
|
2001-06-19 20:20:47 +02:00
|
|
|
* SetupGetStringFieldA (SETUPAPI.187)
|
2000-11-06 21:24:43 +01:00
|
|
|
*/
|
|
|
|
BOOL WINAPI SetupGetStringFieldA(PINFCONTEXT Context, DWORD FieldIndex,
|
|
|
|
LPSTR ReturnBuffer, DWORD ReturnBufferSize,
|
|
|
|
PDWORD RequiredSize)
|
|
|
|
{
|
|
|
|
FIXME("not implemented (setupapi.dll) \n");
|
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/***********************************************************************
|
2001-06-19 20:20:47 +02:00
|
|
|
* SetupFindNextLine (SETUPAPI.159)
|
2000-11-06 21:24:43 +01:00
|
|
|
*/
|
|
|
|
BOOL WINAPI SetupFindNextLine (PINFCONTEXT ContextIn, PINFCONTEXT ContextOut)
|
|
|
|
{
|
|
|
|
FIXME("not implemented (setupapi.dll) \n");
|
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/***********************************************************************
|
2001-06-19 20:20:47 +02:00
|
|
|
* SetupInitDefaultQueueCallback (SETUPAPI.191)
|
2000-11-06 21:24:43 +01:00
|
|
|
*/
|
|
|
|
PVOID WINAPI SetupInitDefaultQueueCallback(HWND OwnerWindow)
|
|
|
|
{
|
|
|
|
FIXME("not implemented (setupapi.dll) \n");
|
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
/***********************************************************************
|
2001-06-19 20:20:47 +02:00
|
|
|
* SetupInitDefaultQueueCallbackEx (SETUPAPI.192)
|
2000-11-06 21:24:43 +01:00
|
|
|
*/
|
2001-01-17 21:17:46 +01:00
|
|
|
PVOID WINAPI SetupInitDefaultQueueCallbackEx(HWND OwnerWindow,
|
|
|
|
HWND AlternativeProgressWindow,
|
|
|
|
UINT ProgressMessage,
|
|
|
|
DWORD res1,
|
|
|
|
PVOID res2)
|
2000-11-06 21:24:43 +01:00
|
|
|
{
|
|
|
|
FIXME("not implemented (setupapi.dll) \n");
|
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
/***********************************************************************
|
2001-06-19 20:20:47 +02:00
|
|
|
* SetupCloseInfFile (SETUPAPI.57)
|
2000-11-06 21:24:43 +01:00
|
|
|
*/
|
|
|
|
VOID WINAPI SetupCloseInfFile (HINF InfHandle)
|
|
|
|
{
|
|
|
|
FIXME("not implemented (setupapi.dll) \n");
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/***********************************************************************
|
2001-06-19 20:20:47 +02:00
|
|
|
* SetupDefaultQueueCallbackA (SETUPAPI.68)
|
2000-11-06 21:24:43 +01:00
|
|
|
*/
|
|
|
|
UINT WINAPI SetupDefaultQueueCallbackA (PVOID Context, UINT Notification,
|
|
|
|
UINT Param1, UINT Param2)
|
|
|
|
{
|
|
|
|
FIXME("not implemented (setupapi.dll) \n");
|
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/***********************************************************************
|
2001-06-19 20:20:47 +02:00
|
|
|
* SetupFindFirstLineA (SETUPAPI.157)
|
2000-11-06 21:24:43 +01:00
|
|
|
*/
|
|
|
|
BOOL WINAPI SetupFindFirstLineA (HINF InfHandle, PCSTR Section, PCSTR Key,
|
|
|
|
PINFCONTEXT Context)
|
|
|
|
{
|
|
|
|
FIXME("not implemented (setupapi.dll) \n");
|
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
2001-01-17 21:17:46 +01:00
|
|
|
/***********************************************************************
|
2001-06-19 20:20:47 +02:00
|
|
|
* SetupGetLineByIndexA (SETUPAPI.173)
|
2001-01-17 21:17:46 +01:00
|
|
|
*/
|
|
|
|
BOOL WINAPI SetupGetLineByIndexA (HINF InfHandle, PCSTR Section, DWORD Index,
|
|
|
|
PINFCONTEXT Context)
|
|
|
|
{
|
|
|
|
FIXME("not implemented (setupapi.dll) \n");
|
|
|
|
return FALSE;
|
|
|
|
}
|
|
|
|
|
2000-11-06 21:24:43 +01:00
|
|
|
|
|
|
|
/***********************************************************************
|
2001-06-19 20:20:47 +02:00
|
|
|
* SetupInstallFromInfSectionA (SETUPAPI.201)
|
2000-11-06 21:24:43 +01:00
|
|
|
*/
|
|
|
|
BOOL WINAPI SetupInstallFromInfSectionA (HWND Owner, HINF InfHandle, PCSTR SectionName,
|
|
|
|
UINT Flags, HKEY RelativeKeyRoot, PCSTR SourceRootPath,
|
|
|
|
UINT CopyFlags, PSP_FILE_CALLBACK_A MsgHandler,
|
|
|
|
PVOID Context, HDEVINFO DeviceInfoSet,
|
|
|
|
PSP_DEVINFO_DATA DeviceInfoData)
|
|
|
|
{
|
|
|
|
FIXME("not implemented (setupapi.dll) \n");
|
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
2001-01-17 21:17:46 +01:00
|
|
|
/***********************************************************************
|
2001-06-19 20:20:47 +02:00
|
|
|
* SetupOpenAppendInfFileA (SETUPAPI.209)
|
2001-01-17 21:17:46 +01:00
|
|
|
*/
|
|
|
|
BOOL WINAPI SetupOpenAppendInfFileA (PCSTR FileName, HINF InfHandle,
|
|
|
|
PUINT ErrorLine)
|
|
|
|
{
|
|
|
|
FIXME("not implemented (setupapi.dll) \n");
|
|
|
|
return FALSE;
|
|
|
|
}
|
|
|
|
|
|
|
|
/***********************************************************************
|
2001-06-19 20:20:47 +02:00
|
|
|
* SetupOpenFileQueue (SETUPAPI.211)
|
2001-01-17 21:17:46 +01:00
|
|
|
*/
|
|
|
|
HSPFILEQ WINAPI SetupOpenFileQueue (VOID)
|
|
|
|
{
|
|
|
|
FIXME("not implemented (setupapi.dll) \n");
|
|
|
|
return (HSPFILEQ) INVALID_HANDLE_VALUE;
|
|
|
|
}
|
2000-11-06 21:24:43 +01:00
|
|
|
|
|
|
|
/***********************************************************************
|
2001-06-19 20:20:47 +02:00
|
|
|
* SetupOpenInfFileA (SETUPAPI.212)
|
2000-11-06 21:24:43 +01:00
|
|
|
*/
|
|
|
|
HINF WINAPI SetupOpenInfFileA (PCSTR FileName, PCSTR InfClass, DWORD InfStyle,
|
|
|
|
PUINT ErrorLine)
|
|
|
|
{
|
|
|
|
FIXME("not implemented (setupapi.dll) \n");
|
|
|
|
return 0;
|
|
|
|
}
|
2001-01-17 21:17:46 +01:00
|
|
|
|
|
|
|
/***********************************************************************
|
2001-06-19 20:20:47 +02:00
|
|
|
* SetupQueueCopyA (SETUPAPI.230)
|
2001-01-17 21:17:46 +01:00
|
|
|
*/
|
|
|
|
BOOL WINAPI SetupQueueCopyA (HSPFILEQ QueueHandle, PCSTR SourceRootPath, PCSTR SourcePath,
|
|
|
|
PCSTR SourceFileName, PCSTR SourceDescription, PCSTR SourceTagFile,
|
|
|
|
PCSTR TargetDirectory, PCSTR TargetFileName, DWORD CopyStyle)
|
|
|
|
{
|
|
|
|
FIXME("not implemented (setupapi.dll) \n");
|
|
|
|
return FALSE;
|
|
|
|
}
|
|
|
|
|
|
|
|
/***********************************************************************
|
2001-06-19 20:20:47 +02:00
|
|
|
* SetupSetDirectoryIdA (SETUPAPI.259)
|
2001-01-17 21:17:46 +01:00
|
|
|
*/
|
|
|
|
BOOL WINAPI SetupSetDirectoryIdA (HINF InfHandle,
|
|
|
|
DWORD Id,
|
|
|
|
PCSTR Directory)
|
|
|
|
{
|
|
|
|
FIXME("not implemented (setupapi.dll) \n");
|
|
|
|
return FALSE;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/***********************************************************************
|
2001-06-19 20:20:47 +02:00
|
|
|
* SetupTermDefaultQueueCallback (SETUPAPI.267)
|
2001-01-17 21:17:46 +01:00
|
|
|
*/
|
|
|
|
VOID WINAPI SetupTermDefaultQueueCallback (PVOID Callback)
|
|
|
|
{
|
|
|
|
FIXME("not implemented (setupapi.dll) \n");
|
|
|
|
}
|
|
|
|
|