public int Query(GLOBALOPT_PROPERTIES dwProperty, ref ulong pdwValue) { if (m_QueryFunc == null) { var fp = GetFunctionPointer(4); m_QueryFunc = (QueryFunc)Marshal.GetDelegateForFunctionPointer(fp, typeof(QueryFunc)); } return(m_QueryFunc(m_ptr, dwProperty, ref pdwValue)); }
public int Set(GLOBALOPT_PROPERTIES dwProperty, ulong dwValue) { if (m_SetFunc == null) { var fp = GetFunctionPointer(3); m_SetFunc = (SetFunc)Marshal.GetDelegateForFunctionPointer(fp, typeof(SetFunc)); } return(m_SetFunc(m_ptr, dwProperty, dwValue)); }
public int Query(GLOBALOPT_PROPERTIES dwProperty, [NativeTypeName("ULONG_PTR *")] nuint *pdwValue) { return(((delegate * stdcall <IGlobalOptions *, GLOBALOPT_PROPERTIES, nuint *, int>)(lpVtbl[4]))((IGlobalOptions *)Unsafe.AsPointer(ref this), dwProperty, pdwValue)); }
public int Set(GLOBALOPT_PROPERTIES dwProperty, [NativeTypeName("ULONG_PTR")] nuint dwValue) { return(((delegate * unmanaged <IGlobalOptions *, GLOBALOPT_PROPERTIES, nuint, int>)(lpVtbl[3]))((IGlobalOptions *)Unsafe.AsPointer(ref this), dwProperty, dwValue)); }