64 for (
x = 0;
x < uID;
x++)
66 lpStr += (*lpStr) + 1;
88 if ((*lpTarget) !=
NULL)
178 OUT IDsObjectPicker **pDsObjectPicker)
182 *pDsObjectPicker =
NULL;
186 CLSCTX_INPROC_SERVER,
187 &IID_IDsObjectPicker,
188 (
LPVOID*)pDsObjectPicker);
215 InitInfo.
cbSize =
sizeof(InitInfo);
235 hRet = (*pDsObjectPicker)->lpVtbl->Initialize(*pDsObjectPicker,
241 (*pDsObjectPicker)->lpVtbl->
Release(*pDsObjectPicker);
257 hRet = pDsObjectPicker->lpVtbl->InvokeDialog(pDsObjectPicker,
267 fe.dwAspect = DVASPECT_CONTENT;
269 fe.tymed = TYMED_HGLOBAL;
271 hRet = pdo->lpVtbl->
GetData(pdo,
277 if (SelectionList !=
NULL)
284 for (
i = 0;
i < SelectionList->
cItems && contLoop;
i++)
299 contLoop = SelectedSidCallback(pDsObjectPicker,
337 pDsObjectPicker->lpVtbl->
Release(pDsObjectPicker);
INT LengthOfStrResource(IN HINSTANCE hInst, IN UINT uID)
INT AllocAndLoadString(OUT LPTSTR *lpTarget, IN HINSTANCE hInst, IN UINT uID)
DWORD LoadAndFormatString(IN HINSTANCE hInstance, IN UINT uID, OUT LPTSTR *lpTarget,...)
HRESULT InitializeObjectPicker(IN PCWSTR ServerName, IN PSI_OBJECT_INFO ObjectInfo, OUT IDsObjectPicker **pDsObjectPicker)
static PCWSTR ObjectPickerAttributes[]
BOOL ListViewSelectItem(IN HWND hwnd, IN INT Index)
HRESULT InvokeObjectPickerDialog(IN IDsObjectPicker *pDsObjectPicker, IN HWND hwndParent OPTIONAL, IN POBJPICK_SELECTED_SID SelectedSidCallback, IN PVOID Context OPTIONAL)
VOID FreeObjectPicker(IN IDsObjectPicker *pDsObjectPicker)
LPARAM ListViewGetSelectedItemData(IN HWND hwnd)
BOOL(* POBJPICK_SELECTED_SID)(IN IDsObjectPicker *pDsObjectPicker, IN HWND hwndParent OPTIONAL, IN PSID pSid, IN PVOID Context OPTIONAL)
HRSRC WINAPI FindResourceW(HINSTANCE hModule, LPCWSTR name, LPCWSTR type)
LPVOID WINAPI LockResource(HGLOBAL handle)
HGLOBAL WINAPI LoadResource(HINSTANCE hModule, HRSRC hRsrc)
HRESULT WINAPI DECLSPEC_HOTPATCH CoCreateInstance(REFCLSID rclsid, LPUNKNOWN pUnkOuter, DWORD dwClsContext, REFIID iid, LPVOID *ppv)
void WINAPI ReleaseStgMedium(STGMEDIUM *pmedium)
HRESULT WINAPI SafeArrayAccessData(SAFEARRAY *psa, void **ppvData)
HRESULT WINAPI SafeArrayUnaccessData(SAFEARRAY *psa)
GLint GLint GLint GLint GLint x
GLsizei GLenum const GLvoid GLsizei GLenum GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLint GLint GLint GLshort GLshort GLshort GLubyte GLubyte GLubyte GLuint GLuint GLuint GLushort GLushort GLushort GLbyte GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLfloat GLint GLint GLint GLint GLshort GLshort GLshort GLshort GLubyte GLubyte GLubyte GLubyte GLuint GLuint GLuint GLuint GLushort GLushort GLushort GLushort GLboolean const GLdouble const GLfloat const GLint const GLshort const GLbyte const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLdouble const GLfloat const GLfloat const GLint const GLint const GLshort const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort GLenum GLenum GLenum GLfloat GLenum GLint GLenum GLenum GLenum GLfloat GLenum GLenum GLint GLenum GLfloat GLenum GLint GLint GLushort GLenum GLenum GLfloat GLenum GLenum GLint GLfloat const GLubyte GLenum GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLint GLint GLsizei GLsizei GLint GLenum GLenum const GLvoid GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLenum const GLdouble GLenum GLenum const GLfloat GLenum GLenum const GLint GLsizei GLuint GLfloat GLuint GLbitfield GLfloat GLint GLuint GLboolean GLenum GLfloat GLenum GLbitfield GLenum GLfloat GLfloat GLint GLint const GLfloat GLenum GLfloat GLfloat GLint GLint GLfloat GLfloat GLint GLint const GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat const GLdouble const GLfloat const GLdouble const GLfloat GLint i
LPVOID NTAPI GlobalLock(HGLOBAL hMem)
BOOL NTAPI GlobalUnlock(HGLOBAL hMem)
HLOCAL NTAPI LocalAlloc(UINT uFlags, SIZE_T dwBytes)
HLOCAL NTAPI LocalFree(HLOCAL hMem)
HRESULT GetData([in, unique] FORMATETC *pformatetcIn, [out] STGMEDIUM *pmedium)
#define DSOP_SCOPE_FLAG_STARTING_SCOPE
#define DSOP_SCOPE_FLAG_DEFAULT_FILTER_USERS
#define DSOP_DOWNLEVEL_FILTER_LOCAL_GROUPS
#define DSOP_FLAG_MULTISELECT
#define DSOP_SCOPE_FLAG_DEFAULT_FILTER_GROUPS
#define DSOP_SCOPE_TYPE_TARGET_COMPUTER
struct _DS_SELECTION_LIST * PDS_SELECTION_LIST
#define DSOP_DOWNLEVEL_FILTER_ALL_WELLKNOWN_SIDS
#define DSOP_SCOPE_TYPE_UPLEVEL_JOINED_DOMAIN
#define DSOP_DOWNLEVEL_FILTER_USERS
struct _DSOP_SCOPE_INIT_INFO DSOP_SCOPE_INIT_INFO
#define CFSTR_DSOP_DS_SELECTION_LIST
#define DSOP_DOWNLEVEL_FILTER_GLOBAL_GROUPS
#define ListView_GetNextItem(hwnd, i, flags)
#define ListView_SetItem(hwnd, pitem)
#define ListView_GetItem(hwnd, pitem)
PULONG MinorVersion OPTIONAL
PCWSTR * apwzAttributeNames
PDSOP_SCOPE_INIT_INFO aDsScopeInfos
DS_SELECTION aDsSelection[ANYSIZE_ARRAY]
VARIANT * pvarFetchedAttributes
_In_ WDFCOLLECTION _In_ ULONG Index
#define FORMAT_MESSAGE_FROM_STRING
#define FORMAT_MESSAGE_ALLOCATE_BUFFER
int WINAPI LoadStringW(_In_opt_ HINSTANCE hInstance, _In_ UINT uID, _Out_writes_to_(cchBufferMax, return+1) LPWSTR lpBuffer, _In_ int cchBufferMax)
#define RegisterClipboardFormat