27 references to UnsafeNativeMethods
PresentationUI (27)
MS\Internal\Documents\PeoplePickerWrapper.cs (27)
70
UnsafeNativeMethods
.CFSTR_DSOBJECTNAMES) as System.IO.MemoryStream;
119
Type commonQueryType = Type.GetTypeFromCLSID(
UnsafeNativeMethods
.CLSID_CommonQuery);
122
UnsafeNativeMethods
.ICommonQuery commonQueryInstance = Activator.CreateInstance(commonQueryType)
123
as
UnsafeNativeMethods
.ICommonQuery;
129
UnsafeNativeMethods
.QueryInitParams queryInitParams =
130
new
UnsafeNativeMethods
.QueryInitParams
133
(uint)Marshal.SizeOf(typeof(
UnsafeNativeMethods
.QueryInitParams)),
147
uint hresult =
UnsafeNativeMethods
.E_FAIL;
164
UnsafeNativeMethods
.OpenQueryWindowParams openQueryWindowParams =
165
new
UnsafeNativeMethods
.OpenQueryWindowParams
168
(uint)Marshal.SizeOf(typeof(
UnsafeNativeMethods
.OpenQueryWindowParams)),
169
dwFlags =
UnsafeNativeMethods
.OQWF_DEFAULTFORM |
170
UnsafeNativeMethods
.OQWF_OKCANCEL |
171
UnsafeNativeMethods
.OQWF_SHOWOPTIONAL |
172
UnsafeNativeMethods
.OQWF_REMOVEFORMS |
173
UnsafeNativeMethods
.OQWF_HIDEMENUS,
174
clsidHandler =
UnsafeNativeMethods
.CLSID_DsQuery,
177
UnsafeNativeMethods
.CLSID_DsFindPeople, //Bring up the people picker
198
if (hresult ==
UnsafeNativeMethods
.S_OK)
203
else if (hresult ==
UnsafeNativeMethods
.S_FALSE)
333
_dsObjectNames = Marshal.PtrToStructure<
UnsafeNativeMethods
.DsObjectNames>(_ptrToDsObjectNames);
412
UnsafeNativeMethods
.DsObject dsObject = GetDsObjectForIndex(index);
435
private
UnsafeNativeMethods
.DsObject GetDsObjectForIndex(int index)
455
UnsafeNativeMethods
.DsObject dsObject = Marshal.PtrToStructure<
UnsafeNativeMethods
.DsObject>(offset);
507
private
UnsafeNativeMethods
.DsObjectNames _dsObjectNames;
524
Marshal.SizeOf(typeof(
UnsafeNativeMethods
.DsObject));