mirror of
https://github.com/reactos/reactos.git
synced 2025-08-06 20:13:04 +00:00
-fixed msvc /W4 warnings and errors
svn path=/trunk/; revision=22932
This commit is contained in:
parent
a9a4a3d059
commit
884482b6aa
1 changed files with 11 additions and 4 deletions
|
@ -67,14 +67,15 @@ HardwareDlgProc(HWND hwndDlg,
|
||||||
WPARAM wParam,
|
WPARAM wParam,
|
||||||
LPARAM lParam)
|
LPARAM lParam)
|
||||||
{
|
{
|
||||||
|
UNREFERENCED_PARAMETER(lParam);
|
||||||
|
UNREFERENCED_PARAMETER(wParam);
|
||||||
switch(uMsg)
|
switch(uMsg)
|
||||||
{
|
{
|
||||||
case WM_INITDIALOG:
|
case WM_INITDIALOG:
|
||||||
{
|
{
|
||||||
GUID Guids[] = {
|
GUID Guids[2];
|
||||||
GUID_DEVCLASS_CDROM,
|
Guids[0] = GUID_DEVCLASS_CDROM;
|
||||||
GUID_DEVCLASS_MEDIA,
|
Guids[1] = GUID_DEVCLASS_MEDIA;
|
||||||
};
|
|
||||||
|
|
||||||
/* create the hardware page */
|
/* create the hardware page */
|
||||||
DeviceCreateHardwarePageEx(hwndDlg,
|
DeviceCreateHardwarePageEx(hwndDlg,
|
||||||
|
@ -98,6 +99,11 @@ MmSysApplet(HWND hwnd,
|
||||||
PROPSHEETHEADER psh = {0};
|
PROPSHEETHEADER psh = {0};
|
||||||
TCHAR Caption[256];
|
TCHAR Caption[256];
|
||||||
|
|
||||||
|
UNREFERENCED_PARAMETER(lParam);
|
||||||
|
UNREFERENCED_PARAMETER(wParam);
|
||||||
|
UNREFERENCED_PARAMETER(uMsg);
|
||||||
|
UNREFERENCED_PARAMETER(hwnd);
|
||||||
|
|
||||||
LoadString(hApplet,
|
LoadString(hApplet,
|
||||||
IDS_CPLNAME,
|
IDS_CPLNAME,
|
||||||
Caption,
|
Caption,
|
||||||
|
@ -182,6 +188,7 @@ DllMain(HINSTANCE hinstDLL,
|
||||||
DWORD dwReason,
|
DWORD dwReason,
|
||||||
LPVOID lpReserved)
|
LPVOID lpReserved)
|
||||||
{
|
{
|
||||||
|
UNREFERENCED_PARAMETER(lpReserved);
|
||||||
switch(dwReason)
|
switch(dwReason)
|
||||||
{
|
{
|
||||||
case DLL_PROCESS_ATTACH:
|
case DLL_PROCESS_ATTACH:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue