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