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();
133
(uint)Marshal.SizeOf(typeof(
UnsafeNativeMethods
.QueryInitParams));
146
uint hresult =
UnsafeNativeMethods
.E_FAIL;
163
UnsafeNativeMethods
.OpenQueryWindowParams openQueryWindowParams =
164
new
UnsafeNativeMethods
.OpenQueryWindowParams();
166
(uint)Marshal.SizeOf(typeof(
UnsafeNativeMethods
.OpenQueryWindowParams));
167
openQueryWindowParams.dwFlags =
UnsafeNativeMethods
.OQWF_DEFAULTFORM |
168
UnsafeNativeMethods
.OQWF_OKCANCEL |
169
UnsafeNativeMethods
.OQWF_SHOWOPTIONAL |
170
UnsafeNativeMethods
.OQWF_REMOVEFORMS |
171
UnsafeNativeMethods
.OQWF_HIDEMENUS;
172
openQueryWindowParams.clsidHandler =
UnsafeNativeMethods
.CLSID_DsQuery;
175
UnsafeNativeMethods
.CLSID_DsFindPeople; //Bring up the people picker
195
if (hresult ==
UnsafeNativeMethods
.S_OK)
200
else if (hresult ==
UnsafeNativeMethods
.S_FALSE)
330
_dsObjectNames = Marshal.PtrToStructure<
UnsafeNativeMethods
.DsObjectNames>(_ptrToDsObjectNames);
409
UnsafeNativeMethods
.DsObject dsObject = GetDsObjectForIndex(index);
432
private
UnsafeNativeMethods
.DsObject GetDsObjectForIndex(int index)
452
UnsafeNativeMethods
.DsObject dsObject = Marshal.PtrToStructure<
UnsafeNativeMethods
.DsObject>(offset);
504
private
UnsafeNativeMethods
.DsObjectNames _dsObjectNames;
521
Marshal.SizeOf(typeof(
UnsafeNativeMethods
.DsObject));