Example #1
0
 public int HasProperty(Uri_PROPERTY uriProp, ref int pfHasProperty)
 {
     if (m_HasPropertyFunc == null)
     {
         var fp = GetFunctionPointer(6);
         m_HasPropertyFunc = (HasPropertyFunc)Marshal.GetDelegateForFunctionPointer(fp, typeof(HasPropertyFunc));
     }
     return(m_HasPropertyFunc(m_ptr, uriProp, ref pfHasProperty));
 }
Example #2
0
 public int GetPropertyBSTR(Uri_PROPERTY uriProp, ref IntPtr pbstrProperty, uint dwFlags)
 {
     if (m_GetPropertyBSTRFunc == null)
     {
         var fp = GetFunctionPointer(3);
         m_GetPropertyBSTRFunc = (GetPropertyBSTRFunc)Marshal.GetDelegateForFunctionPointer(fp, typeof(GetPropertyBSTRFunc));
     }
     return(m_GetPropertyBSTRFunc(m_ptr, uriProp, ref pbstrProperty, dwFlags));
 }
Example #3
0
 public int GetPropertyDWORD(Uri_PROPERTY uriProp, ref uint pdwProperty, uint dwFlags)
 {
     if (m_GetPropertyDWORDFunc == null)
     {
         var fp = GetFunctionPointer(5);
         m_GetPropertyDWORDFunc = (GetPropertyDWORDFunc)Marshal.GetDelegateForFunctionPointer(fp, typeof(GetPropertyDWORDFunc));
     }
     return(m_GetPropertyDWORDFunc(m_ptr, uriProp, ref pdwProperty, dwFlags));
 }
Example #4
0
 public int HasProperty(Uri_PROPERTY uriProp, [NativeTypeName("BOOL *")] int *pfHasProperty)
 {
     return(((delegate * unmanaged <IUri *, Uri_PROPERTY, int *, int>)(lpVtbl[6]))((IUri *)Unsafe.AsPointer(ref this), uriProp, pfHasProperty));
 }
Example #5
0
 public int GetPropertyDWORD(Uri_PROPERTY uriProp, [NativeTypeName("DWORD *")] uint *pdwProperty, [NativeTypeName("DWORD")] uint dwFlags)
 {
     return(((delegate * unmanaged <IUri *, Uri_PROPERTY, uint *, uint, int>)(lpVtbl[5]))((IUri *)Unsafe.AsPointer(ref this), uriProp, pdwProperty, dwFlags));
 }
Example #6
0
 public int GetPropertyBSTR(Uri_PROPERTY uriProp, [NativeTypeName("BSTR *")] ushort **pbstrProperty, [NativeTypeName("DWORD")] uint dwFlags)
 {
     return(((delegate * unmanaged <IUri *, Uri_PROPERTY, ushort **, uint, int>)(lpVtbl[3]))((IUri *)Unsafe.AsPointer(ref this), uriProp, pbstrProperty, dwFlags));
 }
Example #7
0
 public HRESULT HasProperty(Uri_PROPERTY uriProp, BOOL *pfHasProperty)
 {
     return(((delegate * unmanaged <IUri *, Uri_PROPERTY, BOOL *, int>)(lpVtbl[6]))((IUri *)Unsafe.AsPointer(ref this), uriProp, pfHasProperty));
 }
Example #8
0
 public HRESULT GetPropertyLength(Uri_PROPERTY uriProp, [NativeTypeName("DWORD *")] uint *pcchProperty, [NativeTypeName("DWORD")] uint dwFlags)
 {
     return(((delegate * unmanaged <IUri *, Uri_PROPERTY, uint *, uint, int>)(lpVtbl[4]))((IUri *)Unsafe.AsPointer(ref this), uriProp, pcchProperty, dwFlags));
 }