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