public static void SetContextAttribi(UInt32 dev, UInt32 ctx, WFCContextAttrib attrib, int value)
 {
     Debug.Assert(Delegates.pwfcSetContextAttribi != null, "pwfcSetContextAttribi not implemented");
     Delegates.pwfcSetContextAttribi(dev, ctx, attrib, value);
     LogCommand("wfcSetContextAttribi", null, dev, ctx, attrib, value);
     DebugCheckErrors(null);
 }
 public static void SetContextAttribi(UInt32 dev, UInt32 ctx, WFCContextAttrib attrib, int value)
 {
     Debug.Assert(Delegates.pwfcSetContextAttribi != null, "pwfcSetContextAttribi not implemented");
     Delegates.pwfcSetContextAttribi(dev, ctx, attrib, value);
     LogFunction("wfcSetContextAttribi({0}, {1}, {2}, {3})", dev, ctx, attrib, value);
     DebugCheckErrors(null);
 }
        public static int GetContextAttribi(UInt32 dev, UInt32 ctx, WFCContextAttrib attrib)
        {
            int retValue;

            Debug.Assert(Delegates.pwfcGetContextAttribi != null, "pwfcGetContextAttribi not implemented");
            retValue = Delegates.pwfcGetContextAttribi(dev, ctx, attrib);
            LogCommand("wfcGetContextAttribi", retValue, dev, ctx, attrib);
            DebugCheckErrors(retValue);

            return(retValue);
        }
        public static int GetContextAttribi(UInt32 dev, UInt32 ctx, WFCContextAttrib attrib)
        {
            int retValue;

            Debug.Assert(Delegates.pwfcGetContextAttribi != null, "pwfcGetContextAttribi not implemented");
            retValue = Delegates.pwfcGetContextAttribi(dev, ctx, attrib);
            LogFunction("wfcGetContextAttribi({0}, {1}, {2}) = {3}", dev, ctx, attrib, retValue);
            DebugCheckErrors(retValue);

            return(retValue);
        }
 public static void SetContextAttribfv(UInt32 dev, UInt32 ctx, WFCContextAttrib attrib, int count, float[] values)
 {
     unsafe
     {
         fixed(float *p_values = values)
         {
             Debug.Assert(Delegates.pwfcSetContextAttribfv != null, "pwfcSetContextAttribfv not implemented");
             Delegates.pwfcSetContextAttribfv(dev, ctx, attrib, count, p_values);
             LogCommand("wfcSetContextAttribfv", null, dev, ctx, attrib, count, values);
         }
     }
     DebugCheckErrors(null);
 }
 public static void SetContextAttribfv(UInt32 dev, UInt32 ctx, WFCContextAttrib attrib, int count, float[] values)
 {
     unsafe
     {
         fixed(float *p_values = values)
         {
             Debug.Assert(Delegates.pwfcSetContextAttribfv != null, "pwfcSetContextAttribfv not implemented");
             Delegates.pwfcSetContextAttribfv(dev, ctx, attrib, count, p_values);
             LogFunction("wfcSetContextAttribfv({0}, {1}, {2}, {3}, {4})", dev, ctx, attrib, count, LogValue(values));
         }
     }
     DebugCheckErrors(null);
 }
 internal extern static unsafe void wfcSetContextAttribfv(UInt32 dev, UInt32 ctx, WFCContextAttrib attrib, int count, float *values);
 internal extern static void wfcSetContextAttribi(UInt32 dev, UInt32 ctx, WFCContextAttrib attrib, int value);
 internal extern static int wfcGetContextAttribi(UInt32 dev, UInt32 ctx, WFCContextAttrib attrib);