56 if (lpDeviceID ==
NULL)
64 if (hComCtl32 !=
NULL)
126 if (lpMachineName !=
NULL)
134 if (lpDeviceID !=
NULL)
148 if (lpMachineNameW !=
NULL)
154 if (lpDeviceIDW !=
NULL)
203 if (lpMachineName !=
NULL)
211 if (lpDeviceID !=
NULL)
227 if (lpMachineNameW !=
NULL)
233 if (lpDeviceIDW !=
NULL)
282 FIXME(
"DevPropertiesExW: Invalid flags: 0x%x\n",
290 FIXME(
"DevPropertiesExW doesn't support bShowDevMgr!\n");
299 if (lpDeviceID ==
NULL)
307 if (hComCtl32 !=
NULL)
450 if (lpDeviceCmd !=
NULL)
462 if (lpDeviceCmdW !=
NULL)
511 ERR(
"DeviceProperties_RunDLLW DeviceID: %S, MachineName: %S\n", szDeviceID, szMachineName);
558 if (lpMachineName !=
NULL)
572 if (lpMachineNameW !=
NULL)
BOOL GetDeviceAndComputerName(LPWSTR lpString, WCHAR szDeviceID[], WCHAR szMachineName[])
#define ERROR_INVALID_PARAMETER
HRESULT DllCanUnloadNow()
HRESULT DllRegisterServer(BOOL bRegTypeLib=TRUE)
STDAPI DllRegisterServer()
STDAPI DllGetClassObject(REFCLSID rclsid, REFIID riid, LPVOID *ppv)
BOOL WINAPI DisableThreadLibraryCalls(IN HMODULE hLibModule)
#define INVALID_HANDLE_VALUE
#define DLL_PROCESS_ATTACH
INT_PTR WINAPI DeviceAdvancedPropertiesA(IN HWND hWndParent OPTIONAL, IN LPCSTR lpMachineName OPTIONAL, IN LPCSTR lpDeviceID)
static IN DWORD IN LPVOID lpvReserved
VOID WINAPI DeviceProperties_RunDLLW(HWND hWndParent, HINSTANCE hInst, LPCWSTR lpDeviceCmd, int nCmdShow)
STDAPI DllUnregisterServer()
INT_PTR WINAPI DevicePropertiesExA(IN HWND hWndParent OPTIONAL, IN LPCSTR lpMachineName OPTIONAL, IN LPCSTR lpDeviceID OPTIONAL, IN DWORD dwFlags OPTIONAL, IN BOOL bShowDevMgr)
HRESULT DllGetClassObject(REFCLSID rclsid, REFIID riid, LPVOID *ppv)
int WINAPI DevicePropertiesW(HWND hWndParent, LPCWSTR lpMachineName, LPCWSTR lpDeviceID, BOOL bShowDevMgr)
HINSTANCE LoadAndInitComctl32(VOID)
#define SetupDiCreateDeviceInfoListEx
struct _SP_DEVINFO_DATA SP_DEVINFO_DATA
BOOL WINAPI SetupDiDestroyDeviceInfoList(HDEVINFO devinfo)
VOID WINAPI DeviceProblemWizard_RunDLLW(HWND hWndParent, HINSTANCE hInst, LPCWSTR lpDeviceCmd, int nCmdShow)
BOOL WINAPI DeviceManager_ExecuteA(HWND hWndParent, HINSTANCE hInst, LPCSTR lpMachineName, int nCmdShow)
#define MAX_DEVICE_ID_LEN
LPWSTR ConvertMultiByteToUnicode(IN LPCSTR lpMultiByteStr, IN UINT uCodePage)
_In_ PCCERT_CONTEXT _In_ DWORD dwFlags
int WINAPI DevicePropertiesA(HWND hWndParent, LPCSTR lpMachineName, LPCSTR lpDeviceID, BOOL bShowDevMgr)
static const WCHAR Cleanup[]
#define MAX_COMPUTERNAME_LENGTH
INT_PTR WINAPI DeviceAdvancedPropertiesW(IN HWND hWndParent OPTIONAL, IN LPCWSTR lpMachineName OPTIONAL, IN LPCWSTR lpDeviceID)
VOID WINAPI DeviceProblemWizard_RunDLLA(HWND hWndParent, HINSTANCE hInst, LPCSTR lpDeviceCmd, int nCmdShow)
#define DPF_DEVICE_STATUS_ACTION
BOOL WINAPI DeviceManagerPrintW(LPCWSTR lpMachineName, LPCWSTR lpPrinter, int nPrintMode, UINT uNumberOfGuids, LPGUID lpGuids)
INT_PTR DisplayDeviceAdvancedProperties(IN HWND hWndParent, IN LPCWSTR lpDeviceID OPTIONAL, IN HDEVINFO DeviceInfoSet, IN PSP_DEVINFO_DATA DeviceInfoData, IN HINSTANCE hComCtl32, IN LPCWSTR lpMachineName, IN DWORD dwFlags)
bool Create(_In_ HWND hWndParent, _In_ HINSTANCE hInst, _In_opt_z_ LPCWSTR lpMachineName, _In_ int nCmdShow)
#define ERROR_CALL_NOT_IMPLEMENTED
HRESULT DllUnregisterServer(BOOL bUnRegTypeLib=TRUE)
#define SetupDiOpenDeviceInfo
INT_PTR WINAPI DevicePropertiesExW(IN HWND hWndParent OPTIONAL, IN LPCWSTR lpMachineName OPTIONAL, IN LPCWSTR lpDeviceID OPTIONAL, IN DWORD dwFlags OPTIONAL, IN BOOL bShowDevMgr)
BOOL WINAPI DllMain(_In_ HINSTANCE hinstDLL, _In_ DWORD dwReason, _In_ LPVOID lpvReserved)
#define HeapFree(x, y, z)
#define ERROR_INVALID_FLAGS
BOOL WINAPI DeviceManager_ExecuteW(HWND hWndParent, HINSTANCE hInst, LPCWSTR lpMachineName, int nCmdShow)
BOOL WINAPI DeviceManagerPrintA(LPCSTR lpMachineName, LPCSTR lpPrinter, int nPrintMode, UINT uNumberOfGuids, LPGUID lpGuids)
VOID WINAPI DeviceProperties_RunDLLA(HWND hWndParent, HINSTANCE hInst, LPCSTR lpDeviceCmd, int nCmdShow)
PULONG MinorVersion OPTIONAL