20 #ifndef __SETUPAPI_PRIVATE_H 21 #define __SETUPAPI_PRIVATE_H 25 #define WIN32_NO_STATUS 27 #define COM_NO_WINDOWS_H 50 #include <wine/unicode.h> 51 #define NTOS_MODE_USER 63 #define SETUP_DEVICE_INFO_SET_MAGIC 0xd00ff057 64 #define SETUP_CLASS_IMAGE_LIST_MAGIC 0xd00ff058 66 #define CMP_MAGIC 0x01234567 256 #define PSPGF_NO_BACKUP 0x0002 257 #define PSPGF_NONINTERACTIVE 0x0004 259 #define RC_STRING_MAX_SIZE 256 261 #define REG_INSTALLEDFILES "System\\CurrentControlSet\\Control\\InstalledFiles" 262 #define REGPART_RENAME "\\Rename" 263 #define REG_VERSIONCONFLICT "Software\\Microsoft\\VersionConflictManager" 296 #define _S_IWRITE 0x0080 297 #define _S_IREAD 0x0100 352 BOOL OnlyPresentInterfaces);
HKEY SETUPDI_OpenDrvKey(HKEY RootKey, struct DeviceInfo *devInfo, REGSAM samDesired)
PSP_FILE_CALLBACK_A orig_handler
HKEY SETUPDI_CreateDevKey(HKEY RootKey, struct DeviceInfo *devInfo, REGSAM samDesired)
SP_DRVINSTALL_PARAMS Params
const WCHAR * DIRID_get_string(int dirid)
BOOL WINAPI IsUserAdmin(VOID)
HKEY SETUPDI_OpenDevKey(HKEY RootKey, struct DeviceInfo *devInfo, REGSAM samDesired)
DWORD WINAPI pSetupStringFromGuid(LPGUID lpGUID, PWSTR pString, DWORD dwStringLen)
LPWSTR WINAPI MultiByteToUnicode(LPCSTR lpMultiByteStr, UINT uCodePage)
WINE_DEFAULT_DEBUG_CHANNEL(setupapi)
BOOL(* FIND_CALLBACK)(LPCWSTR SectionName, PVOID Context)
DWORD FreeFunctionPointer(IN HMODULE ModulePointer, IN PVOID FunctionPointer)
LIST_ENTRY InterfaceListHead
WCHAR * PARSER_get_src_root(HINF hinf) DECLSPEC_HIDDEN
struct DeviceInfo * DeviceInfo
_In_ DWORD _Out_ PDWORD _In_opt_ PCSTR MachineName
UINT(CALLBACK * PSP_FILE_CALLBACK_A)(PVOID, UINT, UINT_PTR, UINT_PTR)
static WCHAR * strdupAtoW(const char *str)
HMODULE hmodClassPropPageProvider
SP_DEVINSTALL_PARAMS_W InstallParams
SP_DEVINSTALL_PARAMS_W InstallParams
struct InfFileDetails * CreateInfFileDetails(IN LPCWSTR FullInfFileName)
struct InfFileDetails * InfFileDetails
HKEY SETUPDI_CreateDrvKey(HKEY RootKey, struct DeviceInfo *devInfo, UUID *ClassGuid, REGSAM samDesired)
PVOID pClassPropPageProvider
BOOL GetStringField(PINFCONTEXT context, DWORD index, PWSTR *value)
SP_DRVINFO_DATA_V2_W Info
PVOID pDevicePropPageProvider
HMODULE hmodDevicePropPageProvider
BOOL EnumerateSectionsStartingWith(HINF hInf, LPCWSTR pStr, FIND_CALLBACK Callback, PVOID Context)
UINT CALLBACK QUEUE_callback_WtoA(void *context, UINT notification, UINT_PTR, UINT_PTR)
struct DeviceInfoSet * set
PSP_ADDPROPERTYPAGE_DATA AddPropertyPageData
PVOID WINAPI HeapAlloc(HANDLE, DWORD, SIZE_T)
BOOL DestroyDriverInfoElement(struct DriverInfoElement *driverInfo)
OSVERSIONINFOEXW OsVersionInfo
DWORD GetFunctionPointer(IN PWSTR InstallerName, OUT HMODULE *ModulePointer, OUT PVOID *FunctionPointer)
DWORD WINAPI CaptureAndConvertAnsiArg(LPCSTR pSrc, LPWSTR *pDst)
LIST_ENTRY DriverListHead
unsigned __int3264 UINT_PTR
LPWSTR WINAPI DuplicateString(LPCWSTR lpSrc)
WCHAR SymbolicLink[ANYSIZE_ARRAY]
VOID WINAPI MyFree(LPVOID lpMem)
static const GUID InterfaceGuid
BOOL CreateDeviceInfo(IN struct DeviceInfoSet *list, IN LPCWSTR InstancePath, IN LPCGUID pClassGuid, OUT struct DeviceInfo **pDeviceInfo)
LIST_ENTRY DriverListHead
const WCHAR * PARSER_get_inf_filename(HINF hinf) DECLSPEC_HIDDEN
VOID DereferenceInfFile(struct InfFileDetails *infFile)
LPSTR WINAPI UnicodeToMultiByte(LPCWSTR lpUnicodeStr, UINT uCodePage)
LONG SETUP_CreateDevicesList(IN OUT struct DeviceInfoSet *list, IN PCWSTR MachineName OPTIONAL, IN CONST GUID *Class OPTIONAL, IN PCWSTR Enumerator OPTIONAL)
LONG SETUP_CreateInterfaceList(struct DeviceInfoSet *list, PCWSTR MachineName, CONST GUID *InterfaceGuid, PCWSTR DeviceInstanceW, BOOL OnlyPresentInterfaces)
ULARGE_INTEGER DriverDate
_In_ WDFINTERRUPT _In_ PFN_WDF_INTERRUPT_SYNCHRONIZE Callback
WCHAR * PARSER_get_dest_dir(INFCONTEXT *context) DECLSPEC_HIDDEN
LPVOID WINAPI MyRealloc(LPVOID lpSrc, DWORD dwSize)
BOOL DestroyDeviceInterface(struct DeviceInterface *deviceInterface)
#define MultiByteToWideChar
WCHAR szData[ANYSIZE_ARRAY]
PSP_PROPCHANGE_PARAMS PropChangeParams
struct tagContext Context
SP_DRVINFO_DETAIL_DATA_W Details
WCHAR szData[ANYSIZE_ARRAY]
DWORD GetErrorCodeFromCrCode(const IN CONFIGRET cr)
struct DeviceInfo * SelectedDevice
PSDBQUERYRESULT_VISTA PVOID DWORD * dwSize
LPVOID WINAPI MyMalloc(DWORD dwSize)
PULONG MinorVersion OPTIONAL