public int GetZoneAttributesEx(uint dwZone, ref ZONEATTRIBUTES pZoneAttributes, uint dwFlags)
 {
     if (m_GetZoneAttributesExFunc == null)
     {
         var fp = GetFunctionPointer(17);
         m_GetZoneAttributesExFunc = (GetZoneAttributesExFunc)Marshal.GetDelegateForFunctionPointer(fp, typeof(GetZoneAttributesExFunc));
     }
     return(m_GetZoneAttributesExFunc(m_ptr, dwZone, ref pZoneAttributes, dwFlags));
 }
Beispiel #2
0
 public int SetZoneAttributes(uint dwZone, ref ZONEATTRIBUTES pZoneAttributes)
 {
     if (m_SetZoneAttributesFunc == null)
     {
         var fp = GetFunctionPointer(4);
         m_SetZoneAttributesFunc = (SetZoneAttributesFunc)Marshal.GetDelegateForFunctionPointer(fp, typeof(SetZoneAttributesFunc));
     }
     return(m_SetZoneAttributesFunc(m_ptr, dwZone, ref pZoneAttributes));
 }