27 references to UnsafeNativeMethods
PresentationUI (27)
MS\Internal\Documents\PeoplePickerWrapper.cs (27)
71
UnsafeNativeMethods
.CFSTR_DSOBJECTNAMES) as System.IO.MemoryStream;
120
Type commonQueryType = Type.GetTypeFromCLSID(
UnsafeNativeMethods
.CLSID_CommonQuery);
123
UnsafeNativeMethods
.ICommonQuery commonQueryInstance = Activator.CreateInstance(commonQueryType)
124
as
UnsafeNativeMethods
.ICommonQuery;
130
UnsafeNativeMethods
.QueryInitParams queryInitParams =
131
new
UnsafeNativeMethods
.QueryInitParams
134
(uint)Marshal.SizeOf(typeof(
UnsafeNativeMethods
.QueryInitParams)),
148
uint hresult =
UnsafeNativeMethods
.E_FAIL;
165
UnsafeNativeMethods
.OpenQueryWindowParams openQueryWindowParams =
166
new
UnsafeNativeMethods
.OpenQueryWindowParams
169
(uint)Marshal.SizeOf(typeof(
UnsafeNativeMethods
.OpenQueryWindowParams)),
170
dwFlags =
UnsafeNativeMethods
.OQWF_DEFAULTFORM |
171
UnsafeNativeMethods
.OQWF_OKCANCEL |
172
UnsafeNativeMethods
.OQWF_SHOWOPTIONAL |
173
UnsafeNativeMethods
.OQWF_REMOVEFORMS |
174
UnsafeNativeMethods
.OQWF_HIDEMENUS,
175
clsidHandler =
UnsafeNativeMethods
.CLSID_DsQuery,
178
UnsafeNativeMethods
.CLSID_DsFindPeople, //Bring up the people picker
199
if (hresult ==
UnsafeNativeMethods
.S_OK)
204
else if (hresult ==
UnsafeNativeMethods
.S_FALSE)
334
_dsObjectNames = Marshal.PtrToStructure<
UnsafeNativeMethods
.DsObjectNames>(_ptrToDsObjectNames);
413
UnsafeNativeMethods
.DsObject dsObject = GetDsObjectForIndex(index);
436
private
UnsafeNativeMethods
.DsObject GetDsObjectForIndex(int index)
456
UnsafeNativeMethods
.DsObject dsObject = Marshal.PtrToStructure<
UnsafeNativeMethods
.DsObject>(offset);
508
private
UnsafeNativeMethods
.DsObjectNames _dsObjectNames;
525
Marshal.SizeOf(typeof(
UnsafeNativeMethods
.DsObject));