27 references to UnsafeNativeMethods
PresentationUI (27)
MS\Internal\Documents\PeoplePickerWrapper.cs (27)
72UnsafeNativeMethods.CFSTR_DSOBJECTNAMES) as System.IO.MemoryStream; 121Type commonQueryType = Type.GetTypeFromCLSID(UnsafeNativeMethods.CLSID_CommonQuery); 124UnsafeNativeMethods.ICommonQuery commonQueryInstance = Activator.CreateInstance(commonQueryType) 125as UnsafeNativeMethods.ICommonQuery; 131UnsafeNativeMethods.QueryInitParams queryInitParams = 132new UnsafeNativeMethods.QueryInitParams(); 134(uint)Marshal.SizeOf(typeof(UnsafeNativeMethods.QueryInitParams)); 147uint hresult = UnsafeNativeMethods.E_FAIL; 164UnsafeNativeMethods.OpenQueryWindowParams openQueryWindowParams = 165new UnsafeNativeMethods.OpenQueryWindowParams(); 167(uint)Marshal.SizeOf(typeof(UnsafeNativeMethods.OpenQueryWindowParams)); 168openQueryWindowParams.dwFlags = UnsafeNativeMethods.OQWF_DEFAULTFORM | 169UnsafeNativeMethods.OQWF_OKCANCEL | 170UnsafeNativeMethods.OQWF_SHOWOPTIONAL | 171UnsafeNativeMethods.OQWF_REMOVEFORMS | 172UnsafeNativeMethods.OQWF_HIDEMENUS; 173openQueryWindowParams.clsidHandler = UnsafeNativeMethods.CLSID_DsQuery; 176UnsafeNativeMethods.CLSID_DsFindPeople; //Bring up the people picker 196if (hresult == UnsafeNativeMethods.S_OK) 201else if (hresult == UnsafeNativeMethods.S_FALSE) 331_dsObjectNames = Marshal.PtrToStructure<UnsafeNativeMethods.DsObjectNames>(_ptrToDsObjectNames); 410UnsafeNativeMethods.DsObject dsObject = GetDsObjectForIndex(index); 433private UnsafeNativeMethods.DsObject GetDsObjectForIndex(int index) 453UnsafeNativeMethods.DsObject dsObject = Marshal.PtrToStructure<UnsafeNativeMethods.DsObject>(offset); 505private UnsafeNativeMethods.DsObjectNames _dsObjectNames; 522Marshal.SizeOf(typeof(UnsafeNativeMethods.DsObject));