Bindings (with new naming conventions) re-generated with Bind 0.9.9

This commit is contained in:
the_fiddler 2007-11-04 15:28:20 +00:00
parent 0833a9302a
commit 85f3be4365
3 changed files with 596 additions and 521 deletions

View file

@ -430,7 +430,7 @@ namespace OpenTK.Platform.Windows
return Delegates.wglUseFontOutlinesW((IntPtr)hDC, (Int32)first, (Int32)count, (Int32)listBase, (float)thickness, (float)deviation, (Int32)fontMode, (GlyphMetricsFloat*)glyphMetrics); return Delegates.wglUseFontOutlinesW((IntPtr)hDC, (Int32)first, (Int32)count, (Int32)listBase, (float)thickness, (float)deviation, (Int32)fontMode, (GlyphMetricsFloat*)glyphMetrics);
} }
public static partial class ARB public static partial class Arb
{ {
[System.CLSCompliant(false)] [System.CLSCompliant(false)]
public static public static
@ -834,24 +834,24 @@ namespace OpenTK.Platform.Windows
} }
public static partial class EXT public static partial class Ext
{ {
[System.CLSCompliant(false)] [System.CLSCompliant(false)]
public static public static
Boolean CreateDisplayColorTable(UInt16 id) bool CreateDisplayColorTable(UInt16 id)
{ {
return Delegates.wglCreateDisplayColorTableEXT((UInt16)id); return Delegates.wglCreateDisplayColorTableEXT((UInt16)id);
} }
public static public static
Boolean CreateDisplayColorTable(Int16 id) bool CreateDisplayColorTable(Int16 id)
{ {
return Delegates.wglCreateDisplayColorTableEXT((UInt16)id); return Delegates.wglCreateDisplayColorTableEXT((UInt16)id);
} }
[System.CLSCompliant(false)] [System.CLSCompliant(false)]
public static public static
Boolean LoadDisplayColorTable(UInt16[] table, UInt32 length) bool LoadDisplayColorTable(UInt16[] table, UInt32 length)
{ {
unsafe unsafe
{ {
@ -863,7 +863,7 @@ namespace OpenTK.Platform.Windows
} }
public static public static
Boolean LoadDisplayColorTable(Int16[] table, Int32 length) bool LoadDisplayColorTable(Int16[] table, Int32 length)
{ {
unsafe unsafe
{ {
@ -876,7 +876,7 @@ namespace OpenTK.Platform.Windows
[System.CLSCompliant(false)] [System.CLSCompliant(false)]
public static public static
Boolean LoadDisplayColorTable(ref UInt16 table, UInt32 length) bool LoadDisplayColorTable(ref UInt16 table, UInt32 length)
{ {
unsafe unsafe
{ {
@ -888,7 +888,7 @@ namespace OpenTK.Platform.Windows
} }
public static public static
Boolean LoadDisplayColorTable(ref Int16 table, Int32 length) bool LoadDisplayColorTable(ref Int16 table, Int32 length)
{ {
unsafe unsafe
{ {
@ -901,27 +901,27 @@ namespace OpenTK.Platform.Windows
[System.CLSCompliant(false)] [System.CLSCompliant(false)]
public static public static
unsafe Boolean LoadDisplayColorTable(UInt16* table, UInt32 length) unsafe bool LoadDisplayColorTable(UInt16* table, UInt32 length)
{ {
return Delegates.wglLoadDisplayColorTableEXT((UInt16*)table, (UInt32)length); return Delegates.wglLoadDisplayColorTableEXT((UInt16*)table, (UInt32)length);
} }
[System.CLSCompliant(false)] [System.CLSCompliant(false)]
public static public static
unsafe Boolean LoadDisplayColorTable(Int16* table, Int32 length) unsafe bool LoadDisplayColorTable(Int16* table, Int32 length)
{ {
return Delegates.wglLoadDisplayColorTableEXT((UInt16*)table, (UInt32)length); return Delegates.wglLoadDisplayColorTableEXT((UInt16*)table, (UInt32)length);
} }
[System.CLSCompliant(false)] [System.CLSCompliant(false)]
public static public static
Boolean BindDisplayColorTable(UInt16 id) bool BindDisplayColorTable(UInt16 id)
{ {
return Delegates.wglBindDisplayColorTableEXT((UInt16)id); return Delegates.wglBindDisplayColorTableEXT((UInt16)id);
} }
public static public static
Boolean BindDisplayColorTable(Int16 id) bool BindDisplayColorTable(Int16 id)
{ {
return Delegates.wglBindDisplayColorTableEXT((UInt16)id); return Delegates.wglBindDisplayColorTableEXT((UInt16)id);
} }
@ -1314,7 +1314,7 @@ namespace OpenTK.Platform.Windows
} }
public static partial class OML public static partial class Oml
{ {
public static public static
Boolean GetSyncValues(IntPtr hdc, [Out] Int64[] ust, [Out] Int64[] msc, [Out] Int64[] sbc) Boolean GetSyncValues(IntPtr hdc, [Out] Int64[] ust, [Out] Int64[] msc, [Out] Int64[] sbc)
@ -1483,7 +1483,7 @@ namespace OpenTK.Platform.Windows
} }
public static partial class I3D public static partial class I3d
{ {
public static public static
Boolean GetDigitalVideoParameters(IntPtr hDC, int iAttribute, [Out] int[] piValue) Boolean GetDigitalVideoParameters(IntPtr hDC, int iAttribute, [Out] int[] piValue)
@ -1777,6 +1777,32 @@ namespace OpenTK.Platform.Windows
return Delegates.wglDisableGenlockI3D((IntPtr)hDC); return Delegates.wglDisableGenlockI3D((IntPtr)hDC);
} }
public static
Boolean IsEnabledGenlock(IntPtr hDC, [Out] Boolean[] pFlag)
{
unsafe
{
fixed (Boolean* pFlag_ptr = pFlag)
{
return Delegates.wglIsEnabledGenlockI3D((IntPtr)hDC, (Boolean*)pFlag_ptr);
}
}
}
public static
Boolean IsEnabledGenlock(IntPtr hDC, [Out] out Boolean pFlag)
{
unsafe
{
fixed (Boolean* pFlag_ptr = &pFlag)
{
Boolean retval = Delegates.wglIsEnabledGenlockI3D((IntPtr)hDC, (Boolean*)pFlag_ptr);
pFlag = *pFlag_ptr;
return retval;
}
}
}
[System.CLSCompliant(false)] [System.CLSCompliant(false)]
public static public static
unsafe Boolean IsEnabledGenlock(IntPtr hDC, [Out] Boolean* pFlag) unsafe Boolean IsEnabledGenlock(IntPtr hDC, [Out] Boolean* pFlag)
@ -2407,6 +2433,32 @@ namespace OpenTK.Platform.Windows
return Delegates.wglDisableFrameLockI3D(); return Delegates.wglDisableFrameLockI3D();
} }
public static
Boolean IsEnabledFrameLock([Out] Boolean[] pFlag)
{
unsafe
{
fixed (Boolean* pFlag_ptr = pFlag)
{
return Delegates.wglIsEnabledFrameLockI3D((Boolean*)pFlag_ptr);
}
}
}
public static
Boolean IsEnabledFrameLock([Out] out Boolean pFlag)
{
unsafe
{
fixed (Boolean* pFlag_ptr = &pFlag)
{
Boolean retval = Delegates.wglIsEnabledFrameLockI3D((Boolean*)pFlag_ptr);
pFlag = *pFlag_ptr;
return retval;
}
}
}
[System.CLSCompliant(false)] [System.CLSCompliant(false)]
public static public static
unsafe Boolean IsEnabledFrameLock([Out] Boolean* pFlag) unsafe Boolean IsEnabledFrameLock([Out] Boolean* pFlag)
@ -2414,6 +2466,32 @@ namespace OpenTK.Platform.Windows
return Delegates.wglIsEnabledFrameLockI3D((Boolean*)pFlag); return Delegates.wglIsEnabledFrameLockI3D((Boolean*)pFlag);
} }
public static
Boolean QueryFrameLockMaster([Out] Boolean[] pFlag)
{
unsafe
{
fixed (Boolean* pFlag_ptr = pFlag)
{
return Delegates.wglQueryFrameLockMasterI3D((Boolean*)pFlag_ptr);
}
}
}
public static
Boolean QueryFrameLockMaster([Out] out Boolean pFlag)
{
unsafe
{
fixed (Boolean* pFlag_ptr = &pFlag)
{
Boolean retval = Delegates.wglQueryFrameLockMasterI3D((Boolean*)pFlag_ptr);
pFlag = *pFlag_ptr;
return retval;
}
}
}
[System.CLSCompliant(false)] [System.CLSCompliant(false)]
public static public static
unsafe Boolean QueryFrameLockMaster([Out] Boolean* pFlag) unsafe Boolean QueryFrameLockMaster([Out] Boolean* pFlag)

View file

@ -135,13 +135,13 @@ namespace OpenTK.Platform.Windows
internal unsafe delegate Boolean SetPbufferAttribARB(IntPtr hPbuffer, int* piAttribList); internal unsafe delegate Boolean SetPbufferAttribARB(IntPtr hPbuffer, int* piAttribList);
internal unsafe static SetPbufferAttribARB wglSetPbufferAttribARB; internal unsafe static SetPbufferAttribARB wglSetPbufferAttribARB;
[System.Security.SuppressUnmanagedCodeSecurity()] [System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate Boolean CreateDisplayColorTableEXT(UInt16 id); internal delegate bool CreateDisplayColorTableEXT(UInt16 id);
internal static CreateDisplayColorTableEXT wglCreateDisplayColorTableEXT; internal static CreateDisplayColorTableEXT wglCreateDisplayColorTableEXT;
[System.Security.SuppressUnmanagedCodeSecurity()] [System.Security.SuppressUnmanagedCodeSecurity()]
internal unsafe delegate Boolean LoadDisplayColorTableEXT(UInt16* table, UInt32 length); internal unsafe delegate bool LoadDisplayColorTableEXT(UInt16* table, UInt32 length);
internal unsafe static LoadDisplayColorTableEXT wglLoadDisplayColorTableEXT; internal unsafe static LoadDisplayColorTableEXT wglLoadDisplayColorTableEXT;
[System.Security.SuppressUnmanagedCodeSecurity()] [System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate Boolean BindDisplayColorTableEXT(UInt16 id); internal delegate bool BindDisplayColorTableEXT(UInt16 id);
internal static BindDisplayColorTableEXT wglBindDisplayColorTableEXT; internal static BindDisplayColorTableEXT wglBindDisplayColorTableEXT;
[System.Security.SuppressUnmanagedCodeSecurity()] [System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void DestroyDisplayColorTableEXT(UInt16 id); internal delegate void DestroyDisplayColorTableEXT(UInt16 id);

File diff suppressed because it is too large Load diff