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>
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);
#define WINE_DEFAULT_DEBUG_CHANNEL(t)
#define MultiByteToWideChar
PSDBQUERYRESULT_VISTA PVOID DWORD * dwSize
unsigned __int3264 UINT_PTR
_In_ DWORD _Out_ PDWORD _In_opt_ PCSTR MachineName
UINT(CALLBACK * PSP_FILE_CALLBACK_A)(PVOID, UINT, UINT_PTR, UINT_PTR)
BOOL DestroyDeviceInterface(struct DeviceInterface *deviceInterface)
LONG SETUP_CreateDevicesList(IN OUT struct DeviceInfoSet *list, IN PCWSTR MachineName OPTIONAL, IN CONST GUID *Class OPTIONAL, IN PCWSTR Enumerator OPTIONAL)
DWORD GetErrorCodeFromCrCode(const IN CONFIGRET cr)
DWORD FreeFunctionPointer(IN HMODULE ModulePointer, IN PVOID FunctionPointer)
const WCHAR * PARSER_get_inf_filename(HINF hinf) DECLSPEC_HIDDEN
HKEY SETUPDI_CreateDrvKey(HKEY RootKey, struct DeviceInfo *devInfo, UUID *ClassGuid, REGSAM samDesired)
LPVOID WINAPI MyRealloc(LPVOID lpSrc, DWORD dwSize)
const WCHAR * DIRID_get_string(int dirid)
HKEY SETUPDI_OpenDevKey(HKEY RootKey, struct DeviceInfo *devInfo, REGSAM samDesired)
LPWSTR WINAPI MultiByteToUnicode(LPCSTR lpMultiByteStr, UINT uCodePage)
LPVOID WINAPI MyMalloc(DWORD dwSize)
BOOL EnumerateSectionsStartingWith(HINF hInf, LPCWSTR pStr, FIND_CALLBACK Callback, PVOID Context)
LPSTR WINAPI UnicodeToMultiByte(LPCWSTR lpUnicodeStr, UINT uCodePage)
LONG SETUP_CreateInterfaceList(struct DeviceInfoSet *list, PCWSTR MachineName, CONST GUID *InterfaceGuid, PCWSTR DeviceInstanceW, BOOL OnlyPresentInterfaces)
BOOL WINAPI IsUserAdmin(VOID)
struct InfFileDetails * CreateInfFileDetails(IN LPCWSTR FullInfFileName)
BOOL GetStringField(PINFCONTEXT context, DWORD index, PWSTR *value)
BOOL DestroyDriverInfoElement(struct DriverInfoElement *driverInfo)
UINT CALLBACK QUEUE_callback_WtoA(void *context, UINT notification, UINT_PTR, UINT_PTR)
DWORD WINAPI CaptureAndConvertAnsiArg(LPCSTR pSrc, LPWSTR *pDst)
BOOL(* FIND_CALLBACK)(LPCWSTR SectionName, PVOID Context)
HKEY SETUPDI_OpenDrvKey(HKEY RootKey, struct DeviceInfo *devInfo, REGSAM samDesired)
WCHAR * PARSER_get_src_root(HINF hinf) DECLSPEC_HIDDEN
VOID WINAPI MyFree(LPVOID lpMem)
static WCHAR * strdupAtoW(const char *str)
OSVERSIONINFOEXW OsVersionInfo
WCHAR * PARSER_get_dest_dir(INFCONTEXT *context) DECLSPEC_HIDDEN
HKEY SETUPDI_CreateDevKey(HKEY RootKey, struct DeviceInfo *devInfo, REGSAM samDesired)
DWORD WINAPI pSetupStringFromGuid(LPGUID lpGUID, PWSTR pString, DWORD dwStringLen)
VOID DereferenceInfFile(struct InfFileDetails *infFile)
BOOL CreateDeviceInfo(IN struct DeviceInfoSet *list, IN LPCWSTR InstancePath, IN LPCGUID pClassGuid, OUT struct DeviceInfo **pDeviceInfo)
DWORD GetFunctionPointer(IN PWSTR InstallerName, OUT HMODULE *ModulePointer, OUT PVOID *FunctionPointer)
PULONG MinorVersion OPTIONAL
#define DuplicateString(x)
PSP_PROPCHANGE_PARAMS PropChangeParams
PSP_ADDPROPERTYPAGE_DATA AddPropertyPageData
SP_DEVINSTALL_PARAMS_W InstallParams
LIST_ENTRY DriverListHead
PVOID pClassPropPageProvider
HMODULE hmodClassPropPageProvider
WCHAR szData[ANYSIZE_ARRAY]
struct DeviceInfo * SelectedDevice
LIST_ENTRY InterfaceListHead
PVOID pDevicePropPageProvider
HMODULE hmodDevicePropPageProvider
SP_DEVINSTALL_PARAMS_W InstallParams
LIST_ENTRY DriverListHead
struct DeviceInfoSet * set
struct DeviceInfo * DeviceInfo
WCHAR SymbolicLink[ANYSIZE_ARRAY]
struct InfFileDetails * InfFileDetails
SP_DRVINFO_DETAIL_DATA_W Details
SP_DRVINFO_DATA_V2_W Info
ULARGE_INTEGER DriverDate
SP_DRVINSTALL_PARAMS Params
WCHAR szData[ANYSIZE_ARRAY]
PSP_FILE_CALLBACK_A orig_handler
_In_ WDFINTERRUPT _In_ PFN_WDF_INTERRUPT_SYNCHRONIZE Callback
static const GUID InterfaceGuid