2007-08-20 10:46:37 +00:00
|
|
|
namespace OpenTK.Platform.Windows
|
2007-08-12 16:14:23 +00:00
|
|
|
{
|
|
|
|
using System;
|
|
|
|
using System.Runtime.InteropServices;
|
|
|
|
|
|
|
|
partial class Wgl
|
|
|
|
{
|
|
|
|
|
|
|
|
internal static class Delegates
|
|
|
|
{
|
|
|
|
static Delegates()
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
[System.Security.SuppressUnmanagedCodeSecurity()]
|
|
|
|
internal delegate IntPtr CreateContext(IntPtr hDc);
|
2007-08-20 10:46:37 +00:00
|
|
|
internal static CreateContext wglCreateContext = null;
|
2007-08-12 16:14:23 +00:00
|
|
|
[System.Security.SuppressUnmanagedCodeSecurity()]
|
|
|
|
internal delegate Boolean DeleteContext(IntPtr oldContext);
|
2007-08-20 10:46:37 +00:00
|
|
|
internal static DeleteContext wglDeleteContext = null;
|
2007-08-12 16:14:23 +00:00
|
|
|
[System.Security.SuppressUnmanagedCodeSecurity()]
|
|
|
|
internal delegate IntPtr GetCurrentContext();
|
2007-08-20 10:46:37 +00:00
|
|
|
internal static GetCurrentContext wglGetCurrentContext = null;
|
2007-08-12 16:14:23 +00:00
|
|
|
[System.Security.SuppressUnmanagedCodeSecurity()]
|
|
|
|
internal delegate Boolean MakeCurrent(IntPtr hDc, IntPtr newContext);
|
2007-08-20 10:46:37 +00:00
|
|
|
internal static MakeCurrent wglMakeCurrent = null;
|
2007-08-12 16:14:23 +00:00
|
|
|
[System.Security.SuppressUnmanagedCodeSecurity()]
|
|
|
|
internal delegate Boolean CopyContext(IntPtr hglrcSrc, IntPtr hglrcDst, UInt32 mask);
|
2007-08-20 10:46:37 +00:00
|
|
|
internal static CopyContext wglCopyContext = null;
|
2007-08-12 16:14:23 +00:00
|
|
|
[System.Security.SuppressUnmanagedCodeSecurity()]
|
2007-09-02 00:16:22 +00:00
|
|
|
internal unsafe delegate int ChoosePixelFormat(IntPtr hDc, PixelFormatDescriptor* pPfd);
|
2007-08-20 12:25:48 +00:00
|
|
|
internal unsafe static ChoosePixelFormat wglChoosePixelFormat = null;
|
2007-08-12 16:14:23 +00:00
|
|
|
[System.Security.SuppressUnmanagedCodeSecurity()]
|
2007-09-02 00:16:22 +00:00
|
|
|
internal unsafe delegate int DescribePixelFormat(IntPtr hdc, int ipfd, UInt32 cjpfd, PixelFormatDescriptor* ppfd);
|
2007-08-20 12:25:48 +00:00
|
|
|
internal unsafe static DescribePixelFormat wglDescribePixelFormat = null;
|
2007-08-12 16:14:23 +00:00
|
|
|
[System.Security.SuppressUnmanagedCodeSecurity()]
|
|
|
|
internal delegate IntPtr GetCurrentDC();
|
2007-08-20 10:46:37 +00:00
|
|
|
internal static GetCurrentDC wglGetCurrentDC = null;
|
2007-08-12 16:14:23 +00:00
|
|
|
[System.Security.SuppressUnmanagedCodeSecurity()]
|
|
|
|
internal delegate IntPtr GetDefaultProcAddress(String lpszProc);
|
2007-08-20 10:46:37 +00:00
|
|
|
internal static GetDefaultProcAddress wglGetDefaultProcAddress = null;
|
2007-08-12 16:14:23 +00:00
|
|
|
[System.Security.SuppressUnmanagedCodeSecurity()]
|
|
|
|
internal delegate IntPtr GetProcAddress(String lpszProc);
|
2007-08-20 10:46:37 +00:00
|
|
|
internal static GetProcAddress wglGetProcAddress = null;
|
2007-08-12 16:14:23 +00:00
|
|
|
[System.Security.SuppressUnmanagedCodeSecurity()]
|
|
|
|
internal delegate int GetPixelFormat(IntPtr hdc);
|
2007-08-20 10:46:37 +00:00
|
|
|
internal static GetPixelFormat wglGetPixelFormat = null;
|
2007-08-12 16:14:23 +00:00
|
|
|
[System.Security.SuppressUnmanagedCodeSecurity()]
|
2007-09-02 00:16:22 +00:00
|
|
|
internal unsafe delegate Boolean SetPixelFormat(IntPtr hdc, int ipfd, PixelFormatDescriptor* ppfd);
|
2007-08-20 12:25:48 +00:00
|
|
|
internal unsafe static SetPixelFormat wglSetPixelFormat = null;
|
2007-08-12 16:14:23 +00:00
|
|
|
[System.Security.SuppressUnmanagedCodeSecurity()]
|
|
|
|
internal delegate Boolean SwapBuffers(IntPtr hdc);
|
2007-08-20 10:46:37 +00:00
|
|
|
internal static SwapBuffers wglSwapBuffers = null;
|
2007-08-12 16:14:23 +00:00
|
|
|
[System.Security.SuppressUnmanagedCodeSecurity()]
|
|
|
|
internal delegate Boolean ShareLists(IntPtr hrcSrvShare, IntPtr hrcSrvSource);
|
2007-08-20 10:46:37 +00:00
|
|
|
internal static ShareLists wglShareLists = null;
|
2007-08-12 16:14:23 +00:00
|
|
|
[System.Security.SuppressUnmanagedCodeSecurity()]
|
|
|
|
internal delegate IntPtr CreateLayerContext(IntPtr hDc, int level);
|
2007-08-20 10:46:37 +00:00
|
|
|
internal static CreateLayerContext wglCreateLayerContext = null;
|
2007-08-12 16:14:23 +00:00
|
|
|
[System.Security.SuppressUnmanagedCodeSecurity()]
|
2007-09-02 00:16:22 +00:00
|
|
|
internal unsafe delegate Boolean DescribeLayerPlane(IntPtr hDc, int pixelFormat, int layerPlane, UInt32 nBytes, LayerPlaneDescriptor* plpd);
|
2007-08-20 12:25:48 +00:00
|
|
|
internal unsafe static DescribeLayerPlane wglDescribeLayerPlane = null;
|
2007-08-12 16:14:23 +00:00
|
|
|
[System.Security.SuppressUnmanagedCodeSecurity()]
|
2007-08-20 12:25:48 +00:00
|
|
|
internal unsafe delegate int SetLayerPaletteEntries(IntPtr hdc, int iLayerPlane, int iStart, int cEntries, Int32* pcr);
|
|
|
|
internal unsafe static SetLayerPaletteEntries wglSetLayerPaletteEntries = null;
|
2007-08-12 16:14:23 +00:00
|
|
|
[System.Security.SuppressUnmanagedCodeSecurity()]
|
2007-08-20 12:25:48 +00:00
|
|
|
internal unsafe delegate int GetLayerPaletteEntries(IntPtr hdc, int iLayerPlane, int iStart, int cEntries, Int32* pcr);
|
|
|
|
internal unsafe static GetLayerPaletteEntries wglGetLayerPaletteEntries = null;
|
2007-08-12 16:14:23 +00:00
|
|
|
[System.Security.SuppressUnmanagedCodeSecurity()]
|
|
|
|
internal delegate Boolean RealizeLayerPalette(IntPtr hdc, int iLayerPlane, Boolean bRealize);
|
2007-08-20 10:46:37 +00:00
|
|
|
internal static RealizeLayerPalette wglRealizeLayerPalette = null;
|
2007-08-12 16:14:23 +00:00
|
|
|
[System.Security.SuppressUnmanagedCodeSecurity()]
|
|
|
|
internal delegate Boolean SwapLayerBuffers(IntPtr hdc, UInt32 fuFlags);
|
2007-08-20 10:46:37 +00:00
|
|
|
internal static SwapLayerBuffers wglSwapLayerBuffers = null;
|
2007-08-12 16:14:23 +00:00
|
|
|
[System.Security.SuppressUnmanagedCodeSecurity()]
|
|
|
|
internal delegate Boolean UseFontBitmapsA(IntPtr hDC, Int32 first, Int32 count, Int32 listBase);
|
2007-08-20 10:46:37 +00:00
|
|
|
internal static UseFontBitmapsA wglUseFontBitmapsA = null;
|
2007-08-12 16:14:23 +00:00
|
|
|
[System.Security.SuppressUnmanagedCodeSecurity()]
|
|
|
|
internal delegate Boolean UseFontBitmapsW(IntPtr hDC, Int32 first, Int32 count, Int32 listBase);
|
2007-08-20 10:46:37 +00:00
|
|
|
internal static UseFontBitmapsW wglUseFontBitmapsW = null;
|
2007-08-12 16:14:23 +00:00
|
|
|
[System.Security.SuppressUnmanagedCodeSecurity()]
|
2007-09-02 00:16:22 +00:00
|
|
|
internal unsafe delegate Boolean UseFontOutlinesA(IntPtr hDC, Int32 first, Int32 count, Int32 listBase, float thickness, float deviation, Int32 fontMode, GlyphMetricsFloat* glyphMetrics);
|
2007-08-20 12:25:48 +00:00
|
|
|
internal unsafe static UseFontOutlinesA wglUseFontOutlinesA = null;
|
|
|
|
[System.Security.SuppressUnmanagedCodeSecurity()]
|
2007-09-02 00:16:22 +00:00
|
|
|
internal unsafe delegate Boolean UseFontOutlinesW(IntPtr hDC, Int32 first, Int32 count, Int32 listBase, float thickness, float deviation, Int32 fontMode, GlyphMetricsFloat* glyphMetrics);
|
2007-08-20 12:25:48 +00:00
|
|
|
internal unsafe static UseFontOutlinesW wglUseFontOutlinesW = null;
|
|
|
|
[System.Security.SuppressUnmanagedCodeSecurity()]
|
2007-08-12 16:14:23 +00:00
|
|
|
internal delegate IntPtr CreateBufferRegionARB(IntPtr hDC, int iLayerPlane, UInt32 uType);
|
2007-08-20 10:46:37 +00:00
|
|
|
internal static CreateBufferRegionARB wglCreateBufferRegionARB = null;
|
2007-08-12 16:14:23 +00:00
|
|
|
[System.Security.SuppressUnmanagedCodeSecurity()]
|
|
|
|
internal delegate void DeleteBufferRegionARB(IntPtr hRegion);
|
2007-08-20 10:46:37 +00:00
|
|
|
internal static DeleteBufferRegionARB wglDeleteBufferRegionARB = null;
|
2007-08-12 16:14:23 +00:00
|
|
|
[System.Security.SuppressUnmanagedCodeSecurity()]
|
|
|
|
internal delegate Boolean SaveBufferRegionARB(IntPtr hRegion, int x, int y, int width, int height);
|
2007-08-20 10:46:37 +00:00
|
|
|
internal static SaveBufferRegionARB wglSaveBufferRegionARB = null;
|
2007-08-12 16:14:23 +00:00
|
|
|
[System.Security.SuppressUnmanagedCodeSecurity()]
|
|
|
|
internal delegate Boolean RestoreBufferRegionARB(IntPtr hRegion, int x, int y, int width, int height, int xSrc, int ySrc);
|
2007-08-20 10:46:37 +00:00
|
|
|
internal static RestoreBufferRegionARB wglRestoreBufferRegionARB = null;
|
2007-08-12 16:14:23 +00:00
|
|
|
[System.Security.SuppressUnmanagedCodeSecurity()]
|
|
|
|
internal delegate IntPtr GetExtensionsStringARB(IntPtr hdc);
|
2007-08-20 10:46:37 +00:00
|
|
|
internal static GetExtensionsStringARB wglGetExtensionsStringARB = null;
|
2007-08-12 16:14:23 +00:00
|
|
|
[System.Security.SuppressUnmanagedCodeSecurity()]
|
|
|
|
internal unsafe delegate Boolean GetPixelFormatAttribivARB(IntPtr hdc, int iPixelFormat, int iLayerPlane, UInt32 nAttributes, int* piAttributes, [Out] int* piValues);
|
2007-08-20 10:46:37 +00:00
|
|
|
internal unsafe static GetPixelFormatAttribivARB wglGetPixelFormatAttribivARB = null;
|
2007-08-12 16:14:23 +00:00
|
|
|
[System.Security.SuppressUnmanagedCodeSecurity()]
|
|
|
|
internal unsafe delegate Boolean GetPixelFormatAttribfvARB(IntPtr hdc, int iPixelFormat, int iLayerPlane, UInt32 nAttributes, int* piAttributes, [Out] Single* pfValues);
|
2007-08-20 10:46:37 +00:00
|
|
|
internal unsafe static GetPixelFormatAttribfvARB wglGetPixelFormatAttribfvARB = null;
|
2007-08-12 16:14:23 +00:00
|
|
|
[System.Security.SuppressUnmanagedCodeSecurity()]
|
2007-08-20 12:25:48 +00:00
|
|
|
internal unsafe delegate Boolean ChoosePixelFormatARB(IntPtr hdc, int* piAttribIList, Single* pfAttribFList, UInt32 nMaxFormats, [Out] int* piFormats, [Out] UInt32* nNumFormats);
|
2007-08-20 10:46:37 +00:00
|
|
|
internal unsafe static ChoosePixelFormatARB wglChoosePixelFormatARB = null;
|
2007-08-12 16:14:23 +00:00
|
|
|
[System.Security.SuppressUnmanagedCodeSecurity()]
|
|
|
|
internal delegate Boolean MakeContextCurrentARB(IntPtr hDrawDC, IntPtr hReadDC, IntPtr hglrc);
|
2007-08-20 10:46:37 +00:00
|
|
|
internal static MakeContextCurrentARB wglMakeContextCurrentARB = null;
|
2007-08-12 16:14:23 +00:00
|
|
|
[System.Security.SuppressUnmanagedCodeSecurity()]
|
|
|
|
internal delegate IntPtr GetCurrentReadDCARB();
|
2007-08-20 10:46:37 +00:00
|
|
|
internal static GetCurrentReadDCARB wglGetCurrentReadDCARB = null;
|
2007-08-12 16:14:23 +00:00
|
|
|
[System.Security.SuppressUnmanagedCodeSecurity()]
|
|
|
|
internal unsafe delegate IntPtr CreatePbufferARB(IntPtr hDC, int iPixelFormat, int iWidth, int iHeight, int* piAttribList);
|
2007-08-20 10:46:37 +00:00
|
|
|
internal unsafe static CreatePbufferARB wglCreatePbufferARB = null;
|
2007-08-12 16:14:23 +00:00
|
|
|
[System.Security.SuppressUnmanagedCodeSecurity()]
|
|
|
|
internal delegate IntPtr GetPbufferDCARB(IntPtr hPbuffer);
|
2007-08-20 10:46:37 +00:00
|
|
|
internal static GetPbufferDCARB wglGetPbufferDCARB = null;
|
2007-08-12 16:14:23 +00:00
|
|
|
[System.Security.SuppressUnmanagedCodeSecurity()]
|
|
|
|
internal delegate int ReleasePbufferDCARB(IntPtr hPbuffer, IntPtr hDC);
|
2007-08-20 10:46:37 +00:00
|
|
|
internal static ReleasePbufferDCARB wglReleasePbufferDCARB = null;
|
2007-08-12 16:14:23 +00:00
|
|
|
[System.Security.SuppressUnmanagedCodeSecurity()]
|
|
|
|
internal delegate Boolean DestroyPbufferARB(IntPtr hPbuffer);
|
2007-08-20 10:46:37 +00:00
|
|
|
internal static DestroyPbufferARB wglDestroyPbufferARB = null;
|
2007-08-12 16:14:23 +00:00
|
|
|
[System.Security.SuppressUnmanagedCodeSecurity()]
|
2007-08-20 12:25:48 +00:00
|
|
|
internal unsafe delegate Boolean QueryPbufferARB(IntPtr hPbuffer, int iAttribute, [Out] int* piValue);
|
|
|
|
internal unsafe static QueryPbufferARB wglQueryPbufferARB = null;
|
2007-08-12 16:14:23 +00:00
|
|
|
[System.Security.SuppressUnmanagedCodeSecurity()]
|
|
|
|
internal delegate Boolean BindTexImageARB(IntPtr hPbuffer, int iBuffer);
|
2007-08-20 10:46:37 +00:00
|
|
|
internal static BindTexImageARB wglBindTexImageARB = null;
|
2007-08-12 16:14:23 +00:00
|
|
|
[System.Security.SuppressUnmanagedCodeSecurity()]
|
|
|
|
internal delegate Boolean ReleaseTexImageARB(IntPtr hPbuffer, int iBuffer);
|
2007-08-20 10:46:37 +00:00
|
|
|
internal static ReleaseTexImageARB wglReleaseTexImageARB = null;
|
2007-08-12 16:14:23 +00:00
|
|
|
[System.Security.SuppressUnmanagedCodeSecurity()]
|
|
|
|
internal unsafe delegate Boolean SetPbufferAttribARB(IntPtr hPbuffer, int* piAttribList);
|
2007-08-20 10:46:37 +00:00
|
|
|
internal unsafe static SetPbufferAttribARB wglSetPbufferAttribARB = null;
|
2007-08-12 16:14:23 +00:00
|
|
|
[System.Security.SuppressUnmanagedCodeSecurity()]
|
|
|
|
internal delegate Boolean CreateDisplayColorTableEXT(UInt16 id);
|
2007-08-20 10:46:37 +00:00
|
|
|
internal static CreateDisplayColorTableEXT wglCreateDisplayColorTableEXT = null;
|
2007-08-12 16:14:23 +00:00
|
|
|
[System.Security.SuppressUnmanagedCodeSecurity()]
|
|
|
|
internal unsafe delegate Boolean LoadDisplayColorTableEXT(UInt16* table, UInt32 length);
|
2007-08-20 10:46:37 +00:00
|
|
|
internal unsafe static LoadDisplayColorTableEXT wglLoadDisplayColorTableEXT = null;
|
2007-08-12 16:14:23 +00:00
|
|
|
[System.Security.SuppressUnmanagedCodeSecurity()]
|
|
|
|
internal delegate Boolean BindDisplayColorTableEXT(UInt16 id);
|
2007-08-20 10:46:37 +00:00
|
|
|
internal static BindDisplayColorTableEXT wglBindDisplayColorTableEXT = null;
|
2007-08-12 16:14:23 +00:00
|
|
|
[System.Security.SuppressUnmanagedCodeSecurity()]
|
|
|
|
internal delegate void DestroyDisplayColorTableEXT(UInt16 id);
|
2007-08-20 10:46:37 +00:00
|
|
|
internal static DestroyDisplayColorTableEXT wglDestroyDisplayColorTableEXT = null;
|
2007-08-12 16:14:23 +00:00
|
|
|
[System.Security.SuppressUnmanagedCodeSecurity()]
|
|
|
|
internal delegate IntPtr GetExtensionsStringEXT();
|
2007-08-20 10:46:37 +00:00
|
|
|
internal static GetExtensionsStringEXT wglGetExtensionsStringEXT = null;
|
2007-08-12 16:14:23 +00:00
|
|
|
[System.Security.SuppressUnmanagedCodeSecurity()]
|
|
|
|
internal delegate Boolean MakeContextCurrentEXT(IntPtr hDrawDC, IntPtr hReadDC, IntPtr hglrc);
|
2007-08-20 10:46:37 +00:00
|
|
|
internal static MakeContextCurrentEXT wglMakeContextCurrentEXT = null;
|
2007-08-12 16:14:23 +00:00
|
|
|
[System.Security.SuppressUnmanagedCodeSecurity()]
|
|
|
|
internal delegate IntPtr GetCurrentReadDCEXT();
|
2007-08-20 10:46:37 +00:00
|
|
|
internal static GetCurrentReadDCEXT wglGetCurrentReadDCEXT = null;
|
2007-08-12 16:14:23 +00:00
|
|
|
[System.Security.SuppressUnmanagedCodeSecurity()]
|
|
|
|
internal unsafe delegate IntPtr CreatePbufferEXT(IntPtr hDC, int iPixelFormat, int iWidth, int iHeight, int* piAttribList);
|
2007-08-20 10:46:37 +00:00
|
|
|
internal unsafe static CreatePbufferEXT wglCreatePbufferEXT = null;
|
2007-08-12 16:14:23 +00:00
|
|
|
[System.Security.SuppressUnmanagedCodeSecurity()]
|
|
|
|
internal delegate IntPtr GetPbufferDCEXT(IntPtr hPbuffer);
|
2007-08-20 10:46:37 +00:00
|
|
|
internal static GetPbufferDCEXT wglGetPbufferDCEXT = null;
|
2007-08-12 16:14:23 +00:00
|
|
|
[System.Security.SuppressUnmanagedCodeSecurity()]
|
|
|
|
internal delegate int ReleasePbufferDCEXT(IntPtr hPbuffer, IntPtr hDC);
|
2007-08-20 10:46:37 +00:00
|
|
|
internal static ReleasePbufferDCEXT wglReleasePbufferDCEXT = null;
|
2007-08-12 16:14:23 +00:00
|
|
|
[System.Security.SuppressUnmanagedCodeSecurity()]
|
|
|
|
internal delegate Boolean DestroyPbufferEXT(IntPtr hPbuffer);
|
2007-08-20 10:46:37 +00:00
|
|
|
internal static DestroyPbufferEXT wglDestroyPbufferEXT = null;
|
2007-08-12 16:14:23 +00:00
|
|
|
[System.Security.SuppressUnmanagedCodeSecurity()]
|
2007-08-20 12:25:48 +00:00
|
|
|
internal unsafe delegate Boolean QueryPbufferEXT(IntPtr hPbuffer, int iAttribute, [Out] int* piValue);
|
|
|
|
internal unsafe static QueryPbufferEXT wglQueryPbufferEXT = null;
|
2007-08-12 16:14:23 +00:00
|
|
|
[System.Security.SuppressUnmanagedCodeSecurity()]
|
|
|
|
internal unsafe delegate Boolean GetPixelFormatAttribivEXT(IntPtr hdc, int iPixelFormat, int iLayerPlane, UInt32 nAttributes, [Out] int* piAttributes, [Out] int* piValues);
|
2007-08-20 10:46:37 +00:00
|
|
|
internal unsafe static GetPixelFormatAttribivEXT wglGetPixelFormatAttribivEXT = null;
|
2007-08-12 16:14:23 +00:00
|
|
|
[System.Security.SuppressUnmanagedCodeSecurity()]
|
|
|
|
internal unsafe delegate Boolean GetPixelFormatAttribfvEXT(IntPtr hdc, int iPixelFormat, int iLayerPlane, UInt32 nAttributes, [Out] int* piAttributes, [Out] Single* pfValues);
|
2007-08-20 10:46:37 +00:00
|
|
|
internal unsafe static GetPixelFormatAttribfvEXT wglGetPixelFormatAttribfvEXT = null;
|
2007-08-12 16:14:23 +00:00
|
|
|
[System.Security.SuppressUnmanagedCodeSecurity()]
|
2007-08-20 12:25:48 +00:00
|
|
|
internal unsafe delegate Boolean ChoosePixelFormatEXT(IntPtr hdc, int* piAttribIList, Single* pfAttribFList, UInt32 nMaxFormats, [Out] int* piFormats, [Out] UInt32* nNumFormats);
|
2007-08-20 10:46:37 +00:00
|
|
|
internal unsafe static ChoosePixelFormatEXT wglChoosePixelFormatEXT = null;
|
2007-08-12 16:14:23 +00:00
|
|
|
[System.Security.SuppressUnmanagedCodeSecurity()]
|
|
|
|
internal delegate Boolean SwapIntervalEXT(int interval);
|
2007-08-20 10:46:37 +00:00
|
|
|
internal static SwapIntervalEXT wglSwapIntervalEXT = null;
|
2007-08-12 16:14:23 +00:00
|
|
|
[System.Security.SuppressUnmanagedCodeSecurity()]
|
|
|
|
internal delegate int GetSwapIntervalEXT();
|
2007-08-20 10:46:37 +00:00
|
|
|
internal static GetSwapIntervalEXT wglGetSwapIntervalEXT = null;
|
2007-08-12 16:14:23 +00:00
|
|
|
[System.Security.SuppressUnmanagedCodeSecurity()]
|
|
|
|
internal delegate IntPtr AllocateMemoryNV(Int32 size, Single readfreq, Single writefreq, Single priority);
|
2007-08-20 10:46:37 +00:00
|
|
|
internal static AllocateMemoryNV wglAllocateMemoryNV = null;
|
2007-08-12 16:14:23 +00:00
|
|
|
[System.Security.SuppressUnmanagedCodeSecurity()]
|
|
|
|
internal unsafe delegate void FreeMemoryNV([Out] void* pointer);
|
2007-08-20 10:46:37 +00:00
|
|
|
internal unsafe static FreeMemoryNV wglFreeMemoryNV = null;
|
2007-08-12 16:14:23 +00:00
|
|
|
[System.Security.SuppressUnmanagedCodeSecurity()]
|
|
|
|
internal unsafe delegate Boolean GetSyncValuesOML(IntPtr hdc, [Out] Int64* ust, [Out] Int64* msc, [Out] Int64* sbc);
|
2007-08-20 10:46:37 +00:00
|
|
|
internal unsafe static GetSyncValuesOML wglGetSyncValuesOML = null;
|
2007-08-12 16:14:23 +00:00
|
|
|
[System.Security.SuppressUnmanagedCodeSecurity()]
|
|
|
|
internal unsafe delegate Boolean GetMscRateOML(IntPtr hdc, [Out] Int32* numerator, [Out] Int32* denominator);
|
2007-08-20 10:46:37 +00:00
|
|
|
internal unsafe static GetMscRateOML wglGetMscRateOML = null;
|
2007-08-12 16:14:23 +00:00
|
|
|
[System.Security.SuppressUnmanagedCodeSecurity()]
|
|
|
|
internal delegate Int64 SwapBuffersMscOML(IntPtr hdc, Int64 target_msc, Int64 divisor, Int64 remainder);
|
2007-08-20 10:46:37 +00:00
|
|
|
internal static SwapBuffersMscOML wglSwapBuffersMscOML = null;
|
2007-08-12 16:14:23 +00:00
|
|
|
[System.Security.SuppressUnmanagedCodeSecurity()]
|
|
|
|
internal delegate Int64 SwapLayerBuffersMscOML(IntPtr hdc, int fuPlanes, Int64 target_msc, Int64 divisor, Int64 remainder);
|
2007-08-20 10:46:37 +00:00
|
|
|
internal static SwapLayerBuffersMscOML wglSwapLayerBuffersMscOML = null;
|
2007-08-12 16:14:23 +00:00
|
|
|
[System.Security.SuppressUnmanagedCodeSecurity()]
|
|
|
|
internal unsafe delegate Boolean WaitForMscOML(IntPtr hdc, Int64 target_msc, Int64 divisor, Int64 remainder, [Out] Int64* ust, [Out] Int64* msc, [Out] Int64* sbc);
|
2007-08-20 10:46:37 +00:00
|
|
|
internal unsafe static WaitForMscOML wglWaitForMscOML = null;
|
2007-08-12 16:14:23 +00:00
|
|
|
[System.Security.SuppressUnmanagedCodeSecurity()]
|
|
|
|
internal unsafe delegate Boolean WaitForSbcOML(IntPtr hdc, Int64 target_sbc, [Out] Int64* ust, [Out] Int64* msc, [Out] Int64* sbc);
|
2007-08-20 10:46:37 +00:00
|
|
|
internal unsafe static WaitForSbcOML wglWaitForSbcOML = null;
|
2007-08-12 16:14:23 +00:00
|
|
|
[System.Security.SuppressUnmanagedCodeSecurity()]
|
|
|
|
internal unsafe delegate Boolean GetDigitalVideoParametersI3D(IntPtr hDC, int iAttribute, [Out] int* piValue);
|
2007-08-20 10:46:37 +00:00
|
|
|
internal unsafe static GetDigitalVideoParametersI3D wglGetDigitalVideoParametersI3D = null;
|
2007-08-12 16:14:23 +00:00
|
|
|
[System.Security.SuppressUnmanagedCodeSecurity()]
|
|
|
|
internal unsafe delegate Boolean SetDigitalVideoParametersI3D(IntPtr hDC, int iAttribute, int* piValue);
|
2007-08-20 10:46:37 +00:00
|
|
|
internal unsafe static SetDigitalVideoParametersI3D wglSetDigitalVideoParametersI3D = null;
|
2007-08-12 16:14:23 +00:00
|
|
|
[System.Security.SuppressUnmanagedCodeSecurity()]
|
|
|
|
internal unsafe delegate Boolean GetGammaTableParametersI3D(IntPtr hDC, int iAttribute, [Out] int* piValue);
|
2007-08-20 10:46:37 +00:00
|
|
|
internal unsafe static GetGammaTableParametersI3D wglGetGammaTableParametersI3D = null;
|
2007-08-12 16:14:23 +00:00
|
|
|
[System.Security.SuppressUnmanagedCodeSecurity()]
|
|
|
|
internal unsafe delegate Boolean SetGammaTableParametersI3D(IntPtr hDC, int iAttribute, int* piValue);
|
2007-08-20 10:46:37 +00:00
|
|
|
internal unsafe static SetGammaTableParametersI3D wglSetGammaTableParametersI3D = null;
|
2007-08-12 16:14:23 +00:00
|
|
|
[System.Security.SuppressUnmanagedCodeSecurity()]
|
|
|
|
internal unsafe delegate Boolean GetGammaTableI3D(IntPtr hDC, int iEntries, [Out] UInt16* puRed, [Out] UInt16* puGreen, [Out] UInt16* puBlue);
|
2007-08-20 10:46:37 +00:00
|
|
|
internal unsafe static GetGammaTableI3D wglGetGammaTableI3D = null;
|
2007-08-12 16:14:23 +00:00
|
|
|
[System.Security.SuppressUnmanagedCodeSecurity()]
|
|
|
|
internal unsafe delegate Boolean SetGammaTableI3D(IntPtr hDC, int iEntries, UInt16* puRed, UInt16* puGreen, UInt16* puBlue);
|
2007-08-20 10:46:37 +00:00
|
|
|
internal unsafe static SetGammaTableI3D wglSetGammaTableI3D = null;
|
2007-08-12 16:14:23 +00:00
|
|
|
[System.Security.SuppressUnmanagedCodeSecurity()]
|
|
|
|
internal delegate Boolean EnableGenlockI3D(IntPtr hDC);
|
2007-08-20 10:46:37 +00:00
|
|
|
internal static EnableGenlockI3D wglEnableGenlockI3D = null;
|
2007-08-12 16:14:23 +00:00
|
|
|
[System.Security.SuppressUnmanagedCodeSecurity()]
|
|
|
|
internal delegate Boolean DisableGenlockI3D(IntPtr hDC);
|
2007-08-20 10:46:37 +00:00
|
|
|
internal static DisableGenlockI3D wglDisableGenlockI3D = null;
|
2007-08-12 16:14:23 +00:00
|
|
|
[System.Security.SuppressUnmanagedCodeSecurity()]
|
2007-08-20 12:25:48 +00:00
|
|
|
internal unsafe delegate Boolean IsEnabledGenlockI3D(IntPtr hDC, [Out] Boolean* pFlag);
|
|
|
|
internal unsafe static IsEnabledGenlockI3D wglIsEnabledGenlockI3D = null;
|
2007-08-12 16:14:23 +00:00
|
|
|
[System.Security.SuppressUnmanagedCodeSecurity()]
|
|
|
|
internal delegate Boolean GenlockSourceI3D(IntPtr hDC, UInt32 uSource);
|
2007-08-20 10:46:37 +00:00
|
|
|
internal static GenlockSourceI3D wglGenlockSourceI3D = null;
|
2007-08-12 16:14:23 +00:00
|
|
|
[System.Security.SuppressUnmanagedCodeSecurity()]
|
2007-08-20 12:25:48 +00:00
|
|
|
internal unsafe delegate Boolean GetGenlockSourceI3D(IntPtr hDC, [Out] UInt32* uSource);
|
|
|
|
internal unsafe static GetGenlockSourceI3D wglGetGenlockSourceI3D = null;
|
2007-08-12 16:14:23 +00:00
|
|
|
[System.Security.SuppressUnmanagedCodeSecurity()]
|
|
|
|
internal delegate Boolean GenlockSourceEdgeI3D(IntPtr hDC, UInt32 uEdge);
|
2007-08-20 10:46:37 +00:00
|
|
|
internal static GenlockSourceEdgeI3D wglGenlockSourceEdgeI3D = null;
|
2007-08-12 16:14:23 +00:00
|
|
|
[System.Security.SuppressUnmanagedCodeSecurity()]
|
2007-08-20 12:25:48 +00:00
|
|
|
internal unsafe delegate Boolean GetGenlockSourceEdgeI3D(IntPtr hDC, [Out] UInt32* uEdge);
|
|
|
|
internal unsafe static GetGenlockSourceEdgeI3D wglGetGenlockSourceEdgeI3D = null;
|
2007-08-12 16:14:23 +00:00
|
|
|
[System.Security.SuppressUnmanagedCodeSecurity()]
|
|
|
|
internal delegate Boolean GenlockSampleRateI3D(IntPtr hDC, UInt32 uRate);
|
2007-08-20 10:46:37 +00:00
|
|
|
internal static GenlockSampleRateI3D wglGenlockSampleRateI3D = null;
|
2007-08-12 16:14:23 +00:00
|
|
|
[System.Security.SuppressUnmanagedCodeSecurity()]
|
2007-08-20 12:25:48 +00:00
|
|
|
internal unsafe delegate Boolean GetGenlockSampleRateI3D(IntPtr hDC, [Out] UInt32* uRate);
|
|
|
|
internal unsafe static GetGenlockSampleRateI3D wglGetGenlockSampleRateI3D = null;
|
2007-08-12 16:14:23 +00:00
|
|
|
[System.Security.SuppressUnmanagedCodeSecurity()]
|
|
|
|
internal delegate Boolean GenlockSourceDelayI3D(IntPtr hDC, UInt32 uDelay);
|
2007-08-20 10:46:37 +00:00
|
|
|
internal static GenlockSourceDelayI3D wglGenlockSourceDelayI3D = null;
|
2007-08-12 16:14:23 +00:00
|
|
|
[System.Security.SuppressUnmanagedCodeSecurity()]
|
2007-08-20 12:25:48 +00:00
|
|
|
internal unsafe delegate Boolean GetGenlockSourceDelayI3D(IntPtr hDC, [Out] UInt32* uDelay);
|
|
|
|
internal unsafe static GetGenlockSourceDelayI3D wglGetGenlockSourceDelayI3D = null;
|
2007-08-12 16:14:23 +00:00
|
|
|
[System.Security.SuppressUnmanagedCodeSecurity()]
|
2007-08-20 12:25:48 +00:00
|
|
|
internal unsafe delegate Boolean QueryGenlockMaxSourceDelayI3D(IntPtr hDC, [Out] UInt32* uMaxLineDelay, [Out] UInt32* uMaxPixelDelay);
|
|
|
|
internal unsafe static QueryGenlockMaxSourceDelayI3D wglQueryGenlockMaxSourceDelayI3D = null;
|
2007-08-12 16:14:23 +00:00
|
|
|
[System.Security.SuppressUnmanagedCodeSecurity()]
|
|
|
|
internal delegate IntPtr CreateImageBufferI3D(IntPtr hDC, Int32 dwSize, UInt32 uFlags);
|
2007-08-20 10:46:37 +00:00
|
|
|
internal static CreateImageBufferI3D wglCreateImageBufferI3D = null;
|
2007-08-12 16:14:23 +00:00
|
|
|
[System.Security.SuppressUnmanagedCodeSecurity()]
|
|
|
|
internal unsafe delegate Boolean DestroyImageBufferI3D(IntPtr hDC, void* pAddress);
|
2007-08-20 10:46:37 +00:00
|
|
|
internal unsafe static DestroyImageBufferI3D wglDestroyImageBufferI3D = null;
|
2007-08-12 16:14:23 +00:00
|
|
|
[System.Security.SuppressUnmanagedCodeSecurity()]
|
2007-09-02 22:52:00 +00:00
|
|
|
internal unsafe delegate Boolean AssociateImageBufferEventsI3D(IntPtr hDC, IntPtr pEvent, void* pAddress, Int32* pSize, UInt32 count);
|
2007-08-20 10:46:37 +00:00
|
|
|
internal unsafe static AssociateImageBufferEventsI3D wglAssociateImageBufferEventsI3D = null;
|
2007-08-12 16:14:23 +00:00
|
|
|
[System.Security.SuppressUnmanagedCodeSecurity()]
|
|
|
|
internal unsafe delegate Boolean ReleaseImageBufferEventsI3D(IntPtr hDC, void* pAddress, UInt32 count);
|
2007-08-20 10:46:37 +00:00
|
|
|
internal unsafe static ReleaseImageBufferEventsI3D wglReleaseImageBufferEventsI3D = null;
|
2007-08-12 16:14:23 +00:00
|
|
|
[System.Security.SuppressUnmanagedCodeSecurity()]
|
|
|
|
internal delegate Boolean EnableFrameLockI3D();
|
2007-08-20 10:46:37 +00:00
|
|
|
internal static EnableFrameLockI3D wglEnableFrameLockI3D = null;
|
2007-08-12 16:14:23 +00:00
|
|
|
[System.Security.SuppressUnmanagedCodeSecurity()]
|
|
|
|
internal delegate Boolean DisableFrameLockI3D();
|
2007-08-20 10:46:37 +00:00
|
|
|
internal static DisableFrameLockI3D wglDisableFrameLockI3D = null;
|
2007-08-12 16:14:23 +00:00
|
|
|
[System.Security.SuppressUnmanagedCodeSecurity()]
|
2007-08-20 12:25:48 +00:00
|
|
|
internal unsafe delegate Boolean IsEnabledFrameLockI3D([Out] Boolean* pFlag);
|
|
|
|
internal unsafe static IsEnabledFrameLockI3D wglIsEnabledFrameLockI3D = null;
|
2007-08-12 16:14:23 +00:00
|
|
|
[System.Security.SuppressUnmanagedCodeSecurity()]
|
2007-08-20 12:25:48 +00:00
|
|
|
internal unsafe delegate Boolean QueryFrameLockMasterI3D([Out] Boolean* pFlag);
|
|
|
|
internal unsafe static QueryFrameLockMasterI3D wglQueryFrameLockMasterI3D = null;
|
2007-08-12 16:14:23 +00:00
|
|
|
[System.Security.SuppressUnmanagedCodeSecurity()]
|
2007-08-20 12:25:48 +00:00
|
|
|
internal unsafe delegate Boolean GetFrameUsageI3D([Out] float* pUsage);
|
|
|
|
internal unsafe static GetFrameUsageI3D wglGetFrameUsageI3D = null;
|
2007-08-12 16:14:23 +00:00
|
|
|
[System.Security.SuppressUnmanagedCodeSecurity()]
|
|
|
|
internal delegate Boolean BeginFrameTrackingI3D();
|
2007-08-20 10:46:37 +00:00
|
|
|
internal static BeginFrameTrackingI3D wglBeginFrameTrackingI3D = null;
|
2007-08-12 16:14:23 +00:00
|
|
|
[System.Security.SuppressUnmanagedCodeSecurity()]
|
|
|
|
internal delegate Boolean EndFrameTrackingI3D();
|
2007-08-20 10:46:37 +00:00
|
|
|
internal static EndFrameTrackingI3D wglEndFrameTrackingI3D = null;
|
2007-08-12 16:14:23 +00:00
|
|
|
[System.Security.SuppressUnmanagedCodeSecurity()]
|
2007-08-20 12:25:48 +00:00
|
|
|
internal unsafe delegate Boolean QueryFrameTrackingI3D([Out] Int32* pFrameCount, [Out] Int32* pMissedFrames, [Out] float* pLastMissedUsage);
|
|
|
|
internal unsafe static QueryFrameTrackingI3D wglQueryFrameTrackingI3D = null;
|
2007-08-12 16:14:23 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|