24DEFINE_GUID(CLSID_DsObjectPicker, 0x17d6ccd8, 0x3b7b, 0x11d2, 0x00b9, 0xe0,0x00,0xc0,0x4f,0xd8,0xdb,0xf7);
25DEFINE_GUID(IID_IDsObjectPicker, 0x0c87e64e, 0x3b7a, 0x11d2, 0x00b9, 0xe0,0x00,0xc0,0x4f,0xd8,0xdb,0xf7);
27#define CFSTR_DSOP_DS_SELECTION_LIST TEXT("CFSTR_DSOP_DS_SELECTION_LIST")
30#define DSOP_FILTER_INCLUDE_ADVANCED_VIEW (0x1)
31#define DSOP_FILTER_USERS (0x2)
32#define DSOP_FILTER_BUILTIN_GROUPS (0x4)
33#define DSOP_FILTER_WELL_KNOWN_PRINCIPALS (0x8)
34#define DSOP_FILTER_UNIVERSAL_GROUPS_DL (0x10)
35#define DSOP_FILTER_UNIVERSAL_GROUPS_SE (0x20)
36#define DSOP_FILTER_GLOBAL_GROUPS_DL (0x40)
37#define DSOP_FILTER_GLOBAL_GROUPS_SE (0x80)
38#define DSOP_FILTER_DOMAIN_LOCAL_GROUPS_DL (0x100)
39#define DSOP_FILTER_DOMAIN_LOCAL_GROUPS_SE (0x200)
40#define DSOP_FILTER_CONTACTS (0x400)
41#define DSOP_FILTER_COMPUTERS (0x800)
51#define DSOP_DOWNLEVEL_FILTER_USERS (0x80000001)
52#define DSOP_DOWNLEVEL_FILTER_LOCAL_GROUPS (0x80000002)
53#define DSOP_DOWNLEVEL_FILTER_GLOBAL_GROUPS (0x80000004)
54#define DSOP_DOWNLEVEL_FILTER_COMPUTERS (0x80000008)
55#define DSOP_DOWNLEVEL_FILTER_WORLD (0x80000010)
56#define DSOP_DOWNLEVEL_FILTER_AUTHENTICATED_USER (0x80000020)
57#define DSOP_DOWNLEVEL_FILTER_ANONYMOUS (0x80000040)
58#define DSOP_DOWNLEVEL_FILTER_BATCH (0x80000080)
59#define DSOP_DOWNLEVEL_FILTER_CREATOR_OWNER (0x80000100)
60#define DSOP_DOWNLEVEL_FILTER_CREATOR_GROUP (0x80000200)
61#define DSOP_DOWNLEVEL_FILTER_DIALUP (0x80000400)
62#define DSOP_DOWNLEVEL_FILTER_INTERACTIVE (0x80000800)
63#define DSOP_DOWNLEVEL_FILTER_NETWORK (0x80001000)
64#define DSOP_DOWNLEVEL_FILTER_SERVICE (0x80002000)
65#define DSOP_DOWNLEVEL_FILTER_SYSTEM (0x80004000)
66#define DSOP_DOWNLEVEL_FILTER_EXCLUDE_BUILTIN_GROUPS (0x80008000)
67#define DSOP_DOWNLEVEL_FILTER_TERMINAL_SERVER (0x80010000)
68#define DSOP_DOWNLEVEL_FILTER_ALL_WELLKNOWN_SIDS (0x80020000)
69#define DSOP_DOWNLEVEL_FILTER_LOCAL_SERVICE (0x80040000)
70#define DSOP_DOWNLEVEL_FILTER_NETWORK_SERVICE (0x80080000)
71#define DSOP_DOWNLEVEL_FILTER_REMOTE_LOGON (0x80100000)
80#define DSOP_SCOPE_FLAG_STARTING_SCOPE (0x1)
81#define DSOP_SCOPE_FLAG_WANT_PROVIDER_WINNT (0x2)
82#define DSOP_SCOPE_FLAG_WANT_PROVIDER_LDAP (0x4)
83#define DSOP_SCOPE_FLAG_WANT_PROVIDER_GC (0x8)
84#define DSOP_SCOPE_FLAG_WANT_SID_PATH (0x10)
85#define DSOP_SCOPE_FLAG_WANT_DOWNLEVEL_BUILTIN_PATH (0x20)
86#define DSOP_SCOPE_FLAG_DEFAULT_FILTER_USERS (0x40)
87#define DSOP_SCOPE_FLAG_DEFAULT_FILTER_GROUPS (0x80)
88#define DSOP_SCOPE_FLAG_DEFAULT_FILTER_COMPUTERS (0x100)
89#define DSOP_SCOPE_FLAG_DEFAULT_FILTER_CONTACTS (0x200)
104#define DSOP_FLAG_MULTISELECT (0x1)
105#define DSOP_FLAG_SKIP_TARGET_COMPUTER_DC_CHECK (0x2)
121#define DSOP_SCOPE_TYPE_TARGET_COMPUTER (0x1)
122#define DSOP_SCOPE_TYPE_UPLEVEL_JOINED_DOMAIN (0x2)
123#define DSOP_SCOPE_TYPE_DOWNLEVEL_JOINED_DOMAIN (0x4)
124#define DSOP_SCOPE_TYPE_ENTERPRISE_DOMAIN (0x8)
125#define DSOP_SCOPE_TYPE_GLOBAL_CATALOG (0x10)
126#define DSOP_SCOPE_TYPE_EXTERNAL_UPLEVEL_DOMAIN (0x20)
127#define DSOP_SCOPE_TYPE_EXTERNAL_DOWNLEVEL_DOMAIN (0x40)
128#define DSOP_SCOPE_TYPE_WORKGROUP (0x80)
129#define DSOP_SCOPE_TYPE_USER_ENTERED_UPLEVEL_SCOPE (0x100)
130#define DSOP_SCOPE_TYPE_USER_ENTERED_DOWNLEVEL_SCOPE (0x200)
152#define INTERFACE IDsObjectPicker
#define DECLARE_INTERFACE_(i, b)
static HRESULT QueryInterface(REFIID, void **)
static ULONG WINAPI AddRef(IStream *iface)
struct _DSOP_UPLEVEL_FILTER_FLAGS * PDSOP_UPLEVEL_FILTER_FLAGS
struct _DSOP_UPLEVEL_FILTER_FLAGS DSOP_UPLEVEL_FILTER_FLAGS
struct _DSOP_FILTER_FLAGS DSOP_FILTER_FLAGS
const DSOP_INIT_INFO * PCDSOP_INIT_INFO
struct _DS_SELECTION DS_SELECTION
struct _DS_SELECTION_LIST * PDS_SELECTION_LIST
struct _DSOP_SCOPE_INIT_INFO * PDSOP_SCOPE_INIT_INFO
struct _DS_SELECTION_LIST DS_SELECTION_LIST
const DSOP_SCOPE_INIT_INFO * PCDSOP_SCOPE_INIT_INFO
struct _DSOP_FILTER_FLAGS * PDSOP_FILTER_FLAGS
struct _DS_SELECTION * PDS_SELECTION
struct _DSOP_INIT_INFO * PDSOP_INIT_INFO
struct _DSOP_INIT_INFO DSOP_INIT_INFO
struct _DSOP_SCOPE_INIT_INFO DSOP_SCOPE_INIT_INFO
#define DEFINE_GUID(name, l, w1, w2, b1, b2, b3, b4, b5, b6, b7, b8)
DSOP_UPLEVEL_FILTER_FLAGS Uplevel
PCWSTR * apwzAttributeNames
PDSOP_SCOPE_INIT_INFO aDsScopeInfos
DSOP_FILTER_FLAGS FilterFlags
DS_SELECTION aDsSelection[ANYSIZE_ARRAY]
VARIANT * pvarFetchedAttributes
_In_ void _In_ PCCERT_CONTEXT _In_opt_ LPFILETIME _In_ DWORD _In_ DWORD _Outptr_opt_ void ** ppvObject