https://git.reactos.org/?p=reactos.git;a=commitdiff;h=afbff37d9860461fea772…
commit afbff37d9860461fea7721a7244376e65972e790
Author: Eric Kohl <eric.kohl(a)reactos.org>
AuthorDate: Sat Dec 12 16:42:15 2020 +0100
Commit: Eric Kohl <eric.kohl(a)reactos.org>
CommitDate: Sat Dec 12 16:42:15 2020 +0100
[STORPROP] Add missing property provider stubs
---
dll/win32/storprop/storprop.c | 56 ++++++++++++++++++++++++++++++++++++++++
dll/win32/storprop/storprop.spec | 6 ++---
2 files changed, 59 insertions(+), 3 deletions(-)
diff --git a/dll/win32/storprop/storprop.c b/dll/win32/storprop/storprop.c
index ba37599da96..7a07a3bff82 100644
--- a/dll/win32/storprop/storprop.c
+++ b/dll/win32/storprop/storprop.c
@@ -19,6 +19,9 @@
HINSTANCE hInstance = NULL;
+/*
+ * @unimplemented
+ */
DWORD
WINAPI
DiskClassInstaller(
@@ -29,9 +32,17 @@ DiskClassInstaller(
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(
@@ -45,6 +56,51 @@ DvdClassInstaller(
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(
diff --git a/dll/win32/storprop/storprop.spec b/dll/win32/storprop/storprop.spec
index d096e6b78e8..f0d37a3bb16 100644
--- a/dll/win32/storprop/storprop.spec
+++ b/dll/win32/storprop/storprop.spec
@@ -5,6 +5,6 @@
@ stdcall DllMain(ptr long ptr)
@ stdcall DvdClassInstaller(long ptr ptr)
@ stub DvdLauncher
-@ stub DvdPropPageProvider
-@ stub IdePropPageProvider
-@ stub VolumePropPageProvider
+@ stdcall DvdPropPageProvider(ptr ptr long)
+@ stdcall IdePropPageProvider(ptr ptr long)
+@ stdcall VolumePropPageProvider(ptr ptr long)