You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
78 lines
1.4 KiB
78 lines
1.4 KiB
|
|
#define USERMS L"Software\\Microsoft"
|
|
#define USERMS_SOFTPCI L"Software\\Microsoft\\SoftPCI"
|
|
#define CCS L"SYSTEM\\CurrentControlSet\\Control"
|
|
#define CCS_SOFTPCI L"SYSTEM\\CurrentControlSet\\Control\\SoftPCI"
|
|
#define SOFTPCI_KEY L"SoftPCI"
|
|
|
|
typedef struct _SOFTPCI_WNDVIEW {
|
|
WINDOWPLACEMENT WindowPlacement;
|
|
INT PaneSplit;
|
|
}SOFTPCI_WNDVIEW, *PSOFTPCI_WNDVIEW;
|
|
|
|
|
|
#define SoftPCI_DisableMenuItem(Menu, MenuItem) \
|
|
EnableMenuItem(Menu, MenuItem, MF_GRAYED)
|
|
|
|
#define SoftPCI_SetMenuItemText(Menu, MenuItem, ItemText) \
|
|
ModifyMenu(Menu, MenuItem, MF_STRING, MenuItem, ItemText)
|
|
|
|
|
|
HBRUSH
|
|
PASCAL
|
|
SoftPCI_CreateDitheredBrush(
|
|
VOID
|
|
);
|
|
|
|
VOID
|
|
SoftPCI_FormatConfigBuffer(
|
|
IN PWCHAR Buffer,
|
|
IN PPCI_COMMON_CONFIG Config
|
|
);
|
|
|
|
VOID
|
|
SoftPCI_HandleImportDevices(
|
|
VOID
|
|
);
|
|
|
|
BOOL
|
|
SoftPCI_InitializeRegistry(
|
|
VOID
|
|
);
|
|
|
|
BOOL
|
|
SoftPCI_QueryWindowSettings(
|
|
OUT PSOFTPCI_WNDVIEW ViewSettings
|
|
);
|
|
|
|
VOID
|
|
SoftPCI_StringToLowerW(
|
|
IN PWCHAR String
|
|
);
|
|
|
|
VOID
|
|
SoftPCI_StringToLower(
|
|
IN PWCHAR String
|
|
);
|
|
|
|
BOOL
|
|
SoftPCI_SaveDeviceToRegisty(
|
|
IN PPCI_DN Pdn
|
|
);
|
|
|
|
VOID
|
|
SoftPCI_SaveWindowSettings(
|
|
VOID
|
|
);
|
|
|
|
PWCHAR
|
|
SoftPCI_GetLastError(
|
|
VOID
|
|
);
|
|
|
|
VOID
|
|
SoftPCI_MessageBox(
|
|
IN PWCHAR MessageTitle,
|
|
IN PWCHAR DebugMessage,
|
|
...
|
|
);
|