mirror of
https://github.com/reactos/reactos.git
synced 2025-08-07 05:43:08 +00:00
Initial implementation of the hardware page, based on a patch by Gąsiorek <zebasoftis@reactos.org> (bug #986)
svn path=/trunk/; revision=19551
This commit is contained in:
parent
790caeda87
commit
75507318d0
9 changed files with 1057 additions and 106 deletions
174
reactos/lib/devmgr/precomp.h
Normal file
174
reactos/lib/devmgr/precomp.h
Normal file
|
@ -0,0 +1,174 @@
|
|||
#ifndef __DEVMGR_H
|
||||
#define __DEVMGR_H
|
||||
|
||||
#include <windows.h>
|
||||
#include <setupapi.h>
|
||||
#include <cfgmgr32.h>
|
||||
#include <commctrl.h>
|
||||
#include "resource.h"
|
||||
|
||||
extern HINSTANCE hDllInstance;
|
||||
|
||||
ULONG DbgPrint(PCH Format,...);
|
||||
|
||||
WINBOOL
|
||||
WINAPI
|
||||
DeviceManager_ExecuteA(HWND hWndParent,
|
||||
HINSTANCE hInst,
|
||||
LPCSTR lpMachineName,
|
||||
int nCmdShow);
|
||||
|
||||
WINBOOL
|
||||
WINAPI
|
||||
DeviceManager_ExecuteW(HWND hWndParent,
|
||||
HINSTANCE hInst,
|
||||
LPCWSTR lpMachineName,
|
||||
int nCmdShow);
|
||||
|
||||
VOID
|
||||
WINAPI
|
||||
DeviceProperties_RunDLLA(HWND hWndParent,
|
||||
HINSTANCE hInst,
|
||||
LPCWSTR lpDeviceCmd,
|
||||
int nCmdShow);
|
||||
|
||||
VOID
|
||||
WINAPI
|
||||
DeviceProperties_RunDLLW(HWND hWndParent,
|
||||
HINSTANCE hInst,
|
||||
LPCSTR lpDeviceCmd,
|
||||
int nCmdShow);
|
||||
|
||||
int
|
||||
WINAPI
|
||||
DevicePropertiesA(HWND hWndParent,
|
||||
HINSTANCE hInst,
|
||||
LPCSTR lpMachineName,
|
||||
LPCSTR lpDeviceID,
|
||||
DWORD Unknown);
|
||||
|
||||
int
|
||||
WINAPI
|
||||
DevicePropertiesW(HWND hWndParent,
|
||||
HINSTANCE hInst,
|
||||
LPCWSTR lpMachineName,
|
||||
LPCWSTR lpDeviceID,
|
||||
DWORD Unknown);
|
||||
|
||||
UINT
|
||||
WINAPI
|
||||
DeviceProblemTextA(PVOID Unknown1,
|
||||
PVOID Unknown2,
|
||||
UINT uProblemId,
|
||||
LPSTR lpString,
|
||||
UINT uMaxString);
|
||||
|
||||
UINT
|
||||
WINAPI
|
||||
DeviceProblemTextW(PVOID Unknown1,
|
||||
PVOID Unknown2,
|
||||
UINT uProblemId,
|
||||
LPWSTR lpString,
|
||||
UINT uMaxString);
|
||||
|
||||
WINBOOL
|
||||
WINAPI
|
||||
DeviceProblemWizardA(HWND hWndParent,
|
||||
LPCSTR lpMachineName,
|
||||
LPCSTR lpDeviceID);
|
||||
|
||||
|
||||
WINBOOL
|
||||
WINAPI
|
||||
DeviceProblemWizardW(HWND hWndParent,
|
||||
LPCWSTR lpMachineName,
|
||||
LPCWSTR lpDeviceID);
|
||||
|
||||
VOID
|
||||
WINAPI
|
||||
DeviceProblemWizard_RunDLLA(HWND hWndParent,
|
||||
HINSTANCE hInst,
|
||||
LPCSTR lpDeviceCmd,
|
||||
int nCmdShow);
|
||||
|
||||
VOID
|
||||
WINAPI
|
||||
DeviceProblemWizard_RunDLLW(HWND hWndParent,
|
||||
HINSTANCE hInst,
|
||||
LPCWSTR lpDeviceCmd,
|
||||
int nCmdShow);
|
||||
|
||||
#define DEV_PRINT_ABSTRACT (0)
|
||||
#define DEV_PRINT_SELECTED (1)
|
||||
#define DEV_PRINT_ALL (2)
|
||||
|
||||
WINBOOL
|
||||
WINAPI
|
||||
DeviceManagerPrintA(LPCSTR lpMachineName,
|
||||
LPCSTR lpPrinter,
|
||||
int nPrintMode,
|
||||
UINT uNumberOfGuids,
|
||||
LPGUID lpGuids);
|
||||
|
||||
WINBOOL
|
||||
WINAPI
|
||||
DeviceManagerPrintW(LPCWSTR lpMachineName,
|
||||
LPCWSTR lpPrinter,
|
||||
int nPrintMode,
|
||||
UINT uNumberOfGuids,
|
||||
LPGUID lpGuids);
|
||||
|
||||
int
|
||||
WINAPI
|
||||
DeviceAdvancedPropertiesA(HWND hWndParent,
|
||||
LPCSTR lpMachineName,
|
||||
LPCSTR lpDeviceID);
|
||||
|
||||
int
|
||||
WINAPI
|
||||
DeviceAdvancedPropertiesW(HWND hWndParent,
|
||||
LPCWSTR lpMachineName,
|
||||
LPCWSTR lpDeviceID);
|
||||
|
||||
HWND
|
||||
WINAPI
|
||||
DeviceCreateHardwarePage(HWND hWndParent,
|
||||
LPGUID lpGuid);
|
||||
|
||||
HWND
|
||||
WINAPI
|
||||
DeviceCreateHardwarePageEx(HWND hWndParent,
|
||||
LPGUID lpGuids,
|
||||
UINT uNumberOfGuids,
|
||||
UINT Unknown);
|
||||
|
||||
int
|
||||
WINAPI
|
||||
DevicePropertiesExA(HWND hWndParent,
|
||||
HINSTANCE hInst,
|
||||
LPCSTR lpMachineName,
|
||||
LPCSTR lpDeviceID,
|
||||
DWORD Unknown);
|
||||
|
||||
int
|
||||
WINAPI
|
||||
DevicePropertiesExW(HWND hWndParent,
|
||||
HINSTANCE hInst,
|
||||
LPCWSTR lpMachineName,
|
||||
LPCWSTR lpDeviceID,
|
||||
DWORD Unknown);
|
||||
|
||||
/* MISC.C */
|
||||
|
||||
DWORD
|
||||
LoadAndFormatString(IN HINSTANCE hInstance,
|
||||
IN UINT uID,
|
||||
OUT LPWSTR *lpTarget,
|
||||
...);
|
||||
|
||||
LPARAM
|
||||
ListViewGetSelectedItemData(IN HWND hwnd);
|
||||
|
||||
#endif /* __DEVMGR_H */
|
||||
|
||||
/* EOF */
|
Loading…
Add table
Add a link
Reference in a new issue