ReactOS  0.4.15-dev-2993-g14fbe80
storprop.c File Reference
#include <stdarg.h>
#include <windef.h>
#include <winbase.h>
#include <winreg.h>
#include <winuser.h>
#include <commctrl.h>
#include <setupapi.h>
#include <debug.h>
Include dependency graph for storprop.c:

Go to the source code of this file.

Macros

#define WIN32_NO_STATUS
 
#define NDEBUG
 

Functions

DWORD WINAPI DiskClassInstaller (_In_ DI_FUNCTION InstallFunction, _In_ HDEVINFO DeviceInfoSet, _In_ PSP_DEVINFO_DATA DeviceInfoData OPTIONAL)
 
DWORD WINAPI DvdClassInstaller (_In_ DI_FUNCTION InstallFunction, _In_ HDEVINFO DeviceInfoSet, _In_ PSP_DEVINFO_DATA DeviceInfoData OPTIONAL)
 
BOOL WINAPI DvdPropPageProvider (_In_ PSP_PROPSHEETPAGE_REQUEST lpPropSheetPageRequest, _In_ LPFNADDPROPSHEETPAGE lpfnAddPropSheetPageProc, _In_ LPARAM lParam)
 
BOOL WINAPI IdePropPageProvider (_In_ PSP_PROPSHEETPAGE_REQUEST lpPropSheetPageRequest, _In_ LPFNADDPROPSHEETPAGE lpfnAddPropSheetPageProc, _In_ LPARAM lParam)
 
BOOL WINAPI VolumePropPageProvider (_In_ PSP_PROPSHEETPAGE_REQUEST lpPropSheetPageRequest, _In_ LPFNADDPROPSHEETPAGE lpfnAddPropSheetPageProc, _In_ LPARAM lParam)
 
BOOL WINAPI DllMain (_In_ HINSTANCE hinstDll, _In_ DWORD dwReason, _In_ LPVOID reserved)
 

Variables

HINSTANCE hInstance = NULL
 

Macro Definition Documentation

◆ NDEBUG

#define NDEBUG

Definition at line 17 of file storprop.c.

◆ WIN32_NO_STATUS

#define WIN32_NO_STATUS

Definition at line 8 of file storprop.c.

Function Documentation

◆ DiskClassInstaller()

DWORD WINAPI DiskClassInstaller ( _In_ DI_FUNCTION  InstallFunction,
_In_ HDEVINFO  DeviceInfoSet,
_In_ PSP_DEVINFO_DATA DeviceInfoData  OPTIONAL 
)

Definition at line 27 of file storprop.c.

31 {
32  DPRINT("DiskClassInstaller(%u %p %p)\n",
33  InstallFunction, DeviceInfoSet, DeviceInfoData);
34 
35  if (InstallFunction == DIF_ADDPROPERTYPAGE_ADVANCED)
36  {
37  return ERROR_SUCCESS;
38  }
39 
40  return ERROR_DI_DO_DEFAULT;
41 }
#define ERROR_SUCCESS
Definition: deptool.c:10
#define DIF_ADDPROPERTYPAGE_ADVANCED
Definition: setupapi.h:154
_In_opt_ PSP_DEVINFO_DATA DeviceInfoData
Definition: setupapi.h:1523
#define ERROR_DI_DO_DEFAULT
Definition: setupapi.h:305
#define DPRINT
Definition: sndvol32.h:71

◆ DllMain()

BOOL WINAPI DllMain ( _In_ HINSTANCE  hinstDll,
_In_ DWORD  dwReason,
_In_ LPVOID  reserved 
)

Definition at line 106 of file storprop.c.

110 {
111  switch (dwReason)
112  {
113  case DLL_PROCESS_ATTACH:
114  DisableThreadLibraryCalls(hinstDll);
115  hInstance = hinstDll;
116  break;
117 
118  case DLL_PROCESS_DETACH:
119  hInstance = NULL;
120  break;
121  }
122 
123  return TRUE;
124 }
#define TRUE
Definition: types.h:120
BOOL WINAPI DisableThreadLibraryCalls(IN HMODULE hLibModule)
Definition: loader.c:85
#define DLL_PROCESS_ATTACH
Definition: compat.h:131
HINSTANCE hInstance
Definition: storprop.c:20
DWORD dwReason
Definition: misc.cpp:154
#define DLL_PROCESS_DETACH
Definition: compat.h:130
#define NULL
Definition: types.h:112

◆ DvdClassInstaller()

DWORD WINAPI DvdClassInstaller ( _In_ DI_FUNCTION  InstallFunction,
_In_ HDEVINFO  DeviceInfoSet,
_In_ PSP_DEVINFO_DATA DeviceInfoData  OPTIONAL 
)

Definition at line 48 of file storprop.c.

52 {
53  DPRINT("DvdClassInstaller(%u %p %p)\n",
54  InstallFunction, DeviceInfoSet, DeviceInfoData);
55 
56  return ERROR_DI_DO_DEFAULT;
57 }
_In_opt_ PSP_DEVINFO_DATA DeviceInfoData
Definition: setupapi.h:1523
#define ERROR_DI_DO_DEFAULT
Definition: setupapi.h:305
#define DPRINT
Definition: sndvol32.h:71

◆ DvdPropPageProvider()

BOOL WINAPI DvdPropPageProvider ( _In_ PSP_PROPSHEETPAGE_REQUEST  lpPropSheetPageRequest,
_In_ LPFNADDPROPSHEETPAGE  lpfnAddPropSheetPageProc,
_In_ LPARAM  lParam 
)

Definition at line 64 of file storprop.c.

68 {
69  DPRINT("DvdPropPageProvider(%p %p %lx)\n",
70  lpPropSheetPageRequest, lpfnAddPropSheetPageProc, lParam);
71  return FALSE;
72 }
#define FALSE
Definition: types.h:117
#define DPRINT
Definition: sndvol32.h:71
LPARAM lParam
Definition: combotst.c:139

◆ IdePropPageProvider()

BOOL WINAPI IdePropPageProvider ( _In_ PSP_PROPSHEETPAGE_REQUEST  lpPropSheetPageRequest,
_In_ LPFNADDPROPSHEETPAGE  lpfnAddPropSheetPageProc,
_In_ LPARAM  lParam 
)

Definition at line 79 of file storprop.c.

83 {
84  DPRINT("IdePropPageProvider(%p %p %lx)\n",
85  lpPropSheetPageRequest, lpfnAddPropSheetPageProc, lParam);
86  return FALSE;
87 }
#define FALSE
Definition: types.h:117
#define DPRINT
Definition: sndvol32.h:71
LPARAM lParam
Definition: combotst.c:139

◆ VolumePropPageProvider()

BOOL WINAPI VolumePropPageProvider ( _In_ PSP_PROPSHEETPAGE_REQUEST  lpPropSheetPageRequest,
_In_ LPFNADDPROPSHEETPAGE  lpfnAddPropSheetPageProc,
_In_ LPARAM  lParam 
)

Definition at line 94 of file storprop.c.

98 {
99  DPRINT("VolumePropPageProvider(%p %p %lx)\n",
100  lpPropSheetPageRequest, lpfnAddPropSheetPageProc, lParam);
101  return FALSE;
102 }
#define FALSE
Definition: types.h:117
#define DPRINT
Definition: sndvol32.h:71
LPARAM lParam
Definition: combotst.c:139

Variable Documentation

◆ hInstance

HINSTANCE hInstance = NULL

Definition at line 20 of file storprop.c.

Referenced by DllMain().