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