mirror of
https://github.com/reactos/reactos.git
synced 2024-11-19 21:48:10 +00:00
126 lines
2.5 KiB
C
126 lines
2.5 KiB
C
/*
|
|
* PROJECT: ReactOS system libraries
|
|
* LICENSE: GPL-2.0-or-later (https://spdx.org/licenses/GPL-2.0-or-later)
|
|
* PURPOSE: Storage device properties
|
|
* COPYRIGHT: 2020 Eric Kohl (eric.kohl@reactos.org)
|
|
*/
|
|
|
|
#define WIN32_NO_STATUS
|
|
#include <stdarg.h>
|
|
#include <windef.h>
|
|
#include <winbase.h>
|
|
#include <winreg.h>
|
|
#include <winuser.h>
|
|
#include <commctrl.h>
|
|
#include <setupapi.h>
|
|
|
|
#define NDEBUG
|
|
#include <debug.h>
|
|
|
|
HINSTANCE hInstance = NULL;
|
|
|
|
/*
|
|
* @unimplemented
|
|
*/
|
|
DWORD
|
|
WINAPI
|
|
DiskClassInstaller(
|
|
_In_ DI_FUNCTION InstallFunction,
|
|
_In_ HDEVINFO DeviceInfoSet,
|
|
_In_ PSP_DEVINFO_DATA DeviceInfoData OPTIONAL)
|
|
{
|
|
DPRINT("DiskClassInstaller(%u %p %p)\n",
|
|
InstallFunction, DeviceInfoSet, DeviceInfoData);
|
|
|
|
if (InstallFunction == DIF_ADDPROPERTYPAGE_ADVANCED)
|
|
{
|
|
return ERROR_SUCCESS;
|
|
}
|
|
|
|
return ERROR_DI_DO_DEFAULT;
|
|
}
|
|
|
|
/*
|
|
* @unimplemented
|
|
*/
|
|
DWORD
|
|
WINAPI
|
|
DvdClassInstaller(
|
|
_In_ DI_FUNCTION InstallFunction,
|
|
_In_ HDEVINFO DeviceInfoSet,
|
|
_In_ PSP_DEVINFO_DATA DeviceInfoData OPTIONAL)
|
|
{
|
|
DPRINT("DvdClassInstaller(%u %p %p)\n",
|
|
InstallFunction, DeviceInfoSet, DeviceInfoData);
|
|
|
|
return ERROR_DI_DO_DEFAULT;
|
|
}
|
|
|
|
/*
|
|
* @unimplemented
|
|
*/
|
|
BOOL
|
|
WINAPI
|
|
DvdPropPageProvider(
|
|
_In_ PSP_PROPSHEETPAGE_REQUEST lpPropSheetPageRequest,
|
|
_In_ LPFNADDPROPSHEETPAGE lpfnAddPropSheetPageProc,
|
|
_In_ LPARAM lParam)
|
|
{
|
|
DPRINT("DvdPropPageProvider(%p %p %lx)\n",
|
|
lpPropSheetPageRequest, lpfnAddPropSheetPageProc, lParam);
|
|
return FALSE;
|
|
}
|
|
|
|
/*
|
|
* @unimplemented
|
|
*/
|
|
BOOL
|
|
WINAPI
|
|
IdePropPageProvider(
|
|
_In_ PSP_PROPSHEETPAGE_REQUEST lpPropSheetPageRequest,
|
|
_In_ LPFNADDPROPSHEETPAGE lpfnAddPropSheetPageProc,
|
|
_In_ LPARAM lParam)
|
|
{
|
|
DPRINT("IdePropPageProvider(%p %p %lx)\n",
|
|
lpPropSheetPageRequest, lpfnAddPropSheetPageProc, lParam);
|
|
return FALSE;
|
|
}
|
|
|
|
/*
|
|
* @implemented
|
|
*/
|
|
BOOL
|
|
WINAPI
|
|
VolumePropPageProvider(
|
|
_In_ PSP_PROPSHEETPAGE_REQUEST lpPropSheetPageRequest,
|
|
_In_ LPFNADDPROPSHEETPAGE lpfnAddPropSheetPageProc,
|
|
_In_ LPARAM lParam)
|
|
{
|
|
DPRINT("VolumePropPageProvider(%p %p %lx)\n",
|
|
lpPropSheetPageRequest, lpfnAddPropSheetPageProc, lParam);
|
|
return FALSE;
|
|
}
|
|
|
|
BOOL
|
|
WINAPI
|
|
DllMain(
|
|
_In_ HINSTANCE hinstDll,
|
|
_In_ DWORD dwReason,
|
|
_In_ LPVOID reserved)
|
|
{
|
|
switch (dwReason)
|
|
{
|
|
case DLL_PROCESS_ATTACH:
|
|
DisableThreadLibraryCalls(hinstDll);
|
|
hInstance = hinstDll;
|
|
break;
|
|
|
|
case DLL_PROCESS_DETACH:
|
|
hInstance = NULL;
|
|
break;
|
|
}
|
|
|
|
return TRUE;
|
|
}
|
|
|
|
/* EOF */
|