setupapi: Add support for SPDRP_BASE_CONTAINERID.

This commit is contained in:
Claire Girka 2022-07-12 12:11:40 +02:00 committed by Alexandre Julliard
parent 890e3baaba
commit f7f109d9d3
2 changed files with 4 additions and 1 deletions

View file

@ -96,6 +96,7 @@ static const WCHAR Capabilities[] = {'C','a','p','a','b','i','l','i','t','i','e'
static const WCHAR UINumber[] = {'U','I','N','u','m','b','e','r',0};
static const WCHAR UpperFilters[] = {'U','p','p','e','r','F','i','l','t','e','r','s',0};
static const WCHAR LowerFilters[] = {'L','o','w','e','r','F','i','l','t','e','r','s',0};
static const WCHAR ContainerId[] = {'C','o','n','t','a','i','n','e','r','I','d',0};
static const WCHAR Phantom[] = {'P','h','a','n','t','o','m',0};
static const WCHAR SymbolicLink[] = {'S','y','m','b','o','l','i','c','L','i','n','k',0};
static const WCHAR Control[] = {'C','o','n','t','r','o','l',0};
@ -654,6 +655,7 @@ static const struct PropertyMapEntry PropertyMap[] = {
{ REG_DWORD, "UINumber", UINumber },
{ REG_MULTI_SZ, "UpperFilters", UpperFilters },
{ REG_MULTI_SZ, "LowerFilters", LowerFilters },
[SPDRP_BASE_CONTAINERID] = { REG_SZ, "ContainerId", ContainerId },
};
static BOOL SETUPDI_SetDeviceRegistryPropertyW(struct device *device,

View file

@ -1315,7 +1315,8 @@ DECL_WINELIB_SETUPAPI_TYPE_AW(PSP_INF_SIGNER_INFO)
#define SPDRP_REMOVAL_POLICY_HW_DEFAULT 0x00000020
#define SPDRP_REMOVAL_POLICY_OVERRIDE 0x00000021
#define SPDRP_INSTALL_STATE 0x00000022
#define SPDRP_MAXIMUM_PROPERTY 0x00000023
#define SPDRP_BASE_CONTAINERID 0x00000024
#define SPDRP_MAXIMUM_PROPERTY 0x00000025
#define DPROMPT_SUCCESS 0
#define DPROMPT_CANCEL 1