Details | Last modification | View Log | RSS feed
| Rev | Author | Line No. | Line |
|---|---|---|---|
| 1452 | chris | 1 | namespace OpenTK.Platform.Windows |
| 2 | { |
||
| 3 | using System; |
||
| 4 | using System.Runtime.InteropServices; |
||
| 5 | #pragma warning disable 0649 |
||
| 6 | #pragma warning disable 3019 |
||
| 7 | #pragma warning disable 1591 |
||
| 8 | |||
| 9 | partial class Wgl |
||
| 10 | { |
||
| 11 | internal static partial class Delegates |
||
| 12 | { |
||
| 13 | [System.Security.SuppressUnmanagedCodeSecurity()] |
||
| 14 | internal delegate IntPtr CreateContext(IntPtr hDc); |
||
| 15 | internal static CreateContext wglCreateContext; |
||
| 16 | [System.Security.SuppressUnmanagedCodeSecurity()] |
||
| 17 | internal delegate Boolean DeleteContext(IntPtr oldContext); |
||
| 18 | internal static DeleteContext wglDeleteContext; |
||
| 19 | [System.Security.SuppressUnmanagedCodeSecurity()] |
||
| 20 | internal delegate IntPtr GetCurrentContext(); |
||
| 21 | internal static GetCurrentContext wglGetCurrentContext; |
||
| 22 | [System.Security.SuppressUnmanagedCodeSecurity()] |
||
| 23 | internal delegate Boolean MakeCurrent(IntPtr hDc, IntPtr newContext); |
||
| 24 | internal static MakeCurrent wglMakeCurrent; |
||
| 25 | [System.Security.SuppressUnmanagedCodeSecurity()] |
||
| 26 | internal delegate Boolean CopyContext(IntPtr hglrcSrc, IntPtr hglrcDst, UInt32 mask); |
||
| 27 | internal static CopyContext wglCopyContext; |
||
| 28 | [System.Security.SuppressUnmanagedCodeSecurity()] |
||
| 29 | internal unsafe delegate int ChoosePixelFormat(IntPtr hDc, PixelFormatDescriptor* pPfd); |
||
| 30 | internal unsafe static ChoosePixelFormat wglChoosePixelFormat; |
||
| 31 | [System.Security.SuppressUnmanagedCodeSecurity()] |
||
| 32 | internal unsafe delegate int DescribePixelFormat(IntPtr hdc, int ipfd, UInt32 cjpfd, PixelFormatDescriptor* ppfd); |
||
| 33 | internal unsafe static DescribePixelFormat wglDescribePixelFormat; |
||
| 34 | [System.Security.SuppressUnmanagedCodeSecurity()] |
||
| 35 | internal delegate IntPtr GetCurrentDC(); |
||
| 36 | internal static GetCurrentDC wglGetCurrentDC; |
||
| 37 | [System.Security.SuppressUnmanagedCodeSecurity()] |
||
| 38 | internal delegate IntPtr GetDefaultProcAddress(String lpszProc); |
||
| 39 | internal static GetDefaultProcAddress wglGetDefaultProcAddress; |
||
| 40 | [System.Security.SuppressUnmanagedCodeSecurity()] |
||
| 41 | internal delegate IntPtr GetProcAddress(String lpszProc); |
||
| 42 | internal static GetProcAddress wglGetProcAddress; |
||
| 43 | [System.Security.SuppressUnmanagedCodeSecurity()] |
||
| 44 | internal delegate int GetPixelFormat(IntPtr hdc); |
||
| 45 | internal static GetPixelFormat wglGetPixelFormat; |
||
| 46 | [System.Security.SuppressUnmanagedCodeSecurity()] |
||
| 47 | internal unsafe delegate Boolean SetPixelFormat(IntPtr hdc, int ipfd, PixelFormatDescriptor* ppfd); |
||
| 48 | internal unsafe static SetPixelFormat wglSetPixelFormat; |
||
| 49 | [System.Security.SuppressUnmanagedCodeSecurity()] |
||
| 50 | internal delegate Boolean SwapBuffers(IntPtr hdc); |
||
| 51 | internal static SwapBuffers wglSwapBuffers; |
||
| 52 | [System.Security.SuppressUnmanagedCodeSecurity()] |
||
| 53 | internal delegate Boolean ShareLists(IntPtr hrcSrvShare, IntPtr hrcSrvSource); |
||
| 54 | internal static ShareLists wglShareLists; |
||
| 55 | [System.Security.SuppressUnmanagedCodeSecurity()] |
||
| 56 | internal delegate IntPtr CreateLayerContext(IntPtr hDc, int level); |
||
| 57 | internal static CreateLayerContext wglCreateLayerContext; |
||
| 58 | [System.Security.SuppressUnmanagedCodeSecurity()] |
||
| 59 | internal unsafe delegate Boolean DescribeLayerPlane(IntPtr hDc, int pixelFormat, int layerPlane, UInt32 nBytes, LayerPlaneDescriptor* plpd); |
||
| 60 | internal unsafe static DescribeLayerPlane wglDescribeLayerPlane; |
||
| 61 | [System.Security.SuppressUnmanagedCodeSecurity()] |
||
| 62 | internal unsafe delegate int SetLayerPaletteEntries(IntPtr hdc, int iLayerPlane, int iStart, int cEntries, Int32* pcr); |
||
| 63 | internal unsafe static SetLayerPaletteEntries wglSetLayerPaletteEntries; |
||
| 64 | [System.Security.SuppressUnmanagedCodeSecurity()] |
||
| 65 | internal unsafe delegate int GetLayerPaletteEntries(IntPtr hdc, int iLayerPlane, int iStart, int cEntries, Int32* pcr); |
||
| 66 | internal unsafe static GetLayerPaletteEntries wglGetLayerPaletteEntries; |
||
| 67 | [System.Security.SuppressUnmanagedCodeSecurity()] |
||
| 68 | internal delegate Boolean RealizeLayerPalette(IntPtr hdc, int iLayerPlane, Boolean bRealize); |
||
| 69 | internal static RealizeLayerPalette wglRealizeLayerPalette; |
||
| 70 | [System.Security.SuppressUnmanagedCodeSecurity()] |
||
| 71 | internal delegate Boolean SwapLayerBuffers(IntPtr hdc, UInt32 fuFlags); |
||
| 72 | internal static SwapLayerBuffers wglSwapLayerBuffers; |
||
| 73 | [System.Security.SuppressUnmanagedCodeSecurity()] |
||
| 74 | internal delegate Boolean UseFontBitmapsA(IntPtr hDC, Int32 first, Int32 count, Int32 listBase); |
||
| 75 | internal static UseFontBitmapsA wglUseFontBitmapsA; |
||
| 76 | [System.Security.SuppressUnmanagedCodeSecurity()] |
||
| 77 | internal delegate Boolean UseFontBitmapsW(IntPtr hDC, Int32 first, Int32 count, Int32 listBase); |
||
| 78 | internal static UseFontBitmapsW wglUseFontBitmapsW; |
||
| 79 | [System.Security.SuppressUnmanagedCodeSecurity()] |
||
| 80 | internal unsafe delegate Boolean UseFontOutlinesA(IntPtr hDC, Int32 first, Int32 count, Int32 listBase, float thickness, float deviation, Int32 fontMode, GlyphMetricsFloat* glyphMetrics); |
||
| 81 | internal unsafe static UseFontOutlinesA wglUseFontOutlinesA; |
||
| 82 | [System.Security.SuppressUnmanagedCodeSecurity()] |
||
| 83 | internal unsafe delegate Boolean UseFontOutlinesW(IntPtr hDC, Int32 first, Int32 count, Int32 listBase, float thickness, float deviation, Int32 fontMode, GlyphMetricsFloat* glyphMetrics); |
||
| 84 | internal unsafe static UseFontOutlinesW wglUseFontOutlinesW; |
||
| 85 | [System.Security.SuppressUnmanagedCodeSecurity()] |
||
| 86 | internal unsafe delegate IntPtr CreateContextAttribsARB(IntPtr hDC, IntPtr hShareContext, int* attribList); |
||
| 87 | internal unsafe static CreateContextAttribsARB wglCreateContextAttribsARB; |
||
| 88 | [System.Security.SuppressUnmanagedCodeSecurity()] |
||
| 89 | internal delegate IntPtr CreateBufferRegionARB(IntPtr hDC, int iLayerPlane, UInt32 uType); |
||
| 90 | internal static CreateBufferRegionARB wglCreateBufferRegionARB; |
||
| 91 | [System.Security.SuppressUnmanagedCodeSecurity()] |
||
| 92 | internal delegate void DeleteBufferRegionARB(IntPtr hRegion); |
||
| 93 | internal static DeleteBufferRegionARB wglDeleteBufferRegionARB; |
||
| 94 | [System.Security.SuppressUnmanagedCodeSecurity()] |
||
| 95 | internal delegate Boolean SaveBufferRegionARB(IntPtr hRegion, int x, int y, int width, int height); |
||
| 96 | internal static SaveBufferRegionARB wglSaveBufferRegionARB; |
||
| 97 | [System.Security.SuppressUnmanagedCodeSecurity()] |
||
| 98 | internal delegate Boolean RestoreBufferRegionARB(IntPtr hRegion, int x, int y, int width, int height, int xSrc, int ySrc); |
||
| 99 | internal static RestoreBufferRegionARB wglRestoreBufferRegionARB; |
||
| 100 | [System.Security.SuppressUnmanagedCodeSecurity()] |
||
| 101 | internal delegate IntPtr GetExtensionsStringARB(IntPtr hdc); |
||
| 102 | internal static GetExtensionsStringARB wglGetExtensionsStringARB; |
||
| 103 | [System.Security.SuppressUnmanagedCodeSecurity()] |
||
| 104 | internal unsafe delegate Boolean GetPixelFormatAttribivARB(IntPtr hdc, int iPixelFormat, int iLayerPlane, UInt32 nAttributes, int* piAttributes, [Out] int* piValues); |
||
| 105 | internal unsafe static GetPixelFormatAttribivARB wglGetPixelFormatAttribivARB; |
||
| 106 | [System.Security.SuppressUnmanagedCodeSecurity()] |
||
| 107 | internal unsafe delegate Boolean GetPixelFormatAttribfvARB(IntPtr hdc, int iPixelFormat, int iLayerPlane, UInt32 nAttributes, int* piAttributes, [Out] Single* pfValues); |
||
| 108 | internal unsafe static GetPixelFormatAttribfvARB wglGetPixelFormatAttribfvARB; |
||
| 109 | [System.Security.SuppressUnmanagedCodeSecurity()] |
||
| 110 | internal unsafe delegate Boolean ChoosePixelFormatARB(IntPtr hdc, int* piAttribIList, Single* pfAttribFList, UInt32 nMaxFormats, [Out] int* piFormats, [Out] UInt32* nNumFormats); |
||
| 111 | internal unsafe static ChoosePixelFormatARB wglChoosePixelFormatARB; |
||
| 112 | [System.Security.SuppressUnmanagedCodeSecurity()] |
||
| 113 | internal delegate Boolean MakeContextCurrentARB(IntPtr hDrawDC, IntPtr hReadDC, IntPtr hglrc); |
||
| 114 | internal static MakeContextCurrentARB wglMakeContextCurrentARB; |
||
| 115 | [System.Security.SuppressUnmanagedCodeSecurity()] |
||
| 116 | internal delegate IntPtr GetCurrentReadDCARB(); |
||
| 117 | internal static GetCurrentReadDCARB wglGetCurrentReadDCARB; |
||
| 118 | [System.Security.SuppressUnmanagedCodeSecurity()] |
||
| 119 | internal unsafe delegate IntPtr CreatePbufferARB(IntPtr hDC, int iPixelFormat, int iWidth, int iHeight, int* piAttribList); |
||
| 120 | internal unsafe static CreatePbufferARB wglCreatePbufferARB; |
||
| 121 | [System.Security.SuppressUnmanagedCodeSecurity()] |
||
| 122 | internal delegate IntPtr GetPbufferDCARB(IntPtr hPbuffer); |
||
| 123 | internal static GetPbufferDCARB wglGetPbufferDCARB; |
||
| 124 | [System.Security.SuppressUnmanagedCodeSecurity()] |
||
| 125 | internal delegate int ReleasePbufferDCARB(IntPtr hPbuffer, IntPtr hDC); |
||
| 126 | internal static ReleasePbufferDCARB wglReleasePbufferDCARB; |
||
| 127 | [System.Security.SuppressUnmanagedCodeSecurity()] |
||
| 128 | internal delegate Boolean DestroyPbufferARB(IntPtr hPbuffer); |
||
| 129 | internal static DestroyPbufferARB wglDestroyPbufferARB; |
||
| 130 | [System.Security.SuppressUnmanagedCodeSecurity()] |
||
| 131 | internal unsafe delegate Boolean QueryPbufferARB(IntPtr hPbuffer, int iAttribute, [Out] int* piValue); |
||
| 132 | internal unsafe static QueryPbufferARB wglQueryPbufferARB; |
||
| 133 | [System.Security.SuppressUnmanagedCodeSecurity()] |
||
| 134 | internal delegate Boolean BindTexImageARB(IntPtr hPbuffer, int iBuffer); |
||
| 135 | internal static BindTexImageARB wglBindTexImageARB; |
||
| 136 | [System.Security.SuppressUnmanagedCodeSecurity()] |
||
| 137 | internal delegate Boolean ReleaseTexImageARB(IntPtr hPbuffer, int iBuffer); |
||
| 138 | internal static ReleaseTexImageARB wglReleaseTexImageARB; |
||
| 139 | [System.Security.SuppressUnmanagedCodeSecurity()] |
||
| 140 | internal unsafe delegate Boolean SetPbufferAttribARB(IntPtr hPbuffer, int* piAttribList); |
||
| 141 | internal unsafe static SetPbufferAttribARB wglSetPbufferAttribARB; |
||
| 142 | [System.Security.SuppressUnmanagedCodeSecurity()] |
||
| 143 | internal delegate bool CreateDisplayColorTableEXT(UInt16 id); |
||
| 144 | internal static CreateDisplayColorTableEXT wglCreateDisplayColorTableEXT; |
||
| 145 | [System.Security.SuppressUnmanagedCodeSecurity()] |
||
| 146 | internal unsafe delegate bool LoadDisplayColorTableEXT(UInt16* table, UInt32 length); |
||
| 147 | internal unsafe static LoadDisplayColorTableEXT wglLoadDisplayColorTableEXT; |
||
| 148 | [System.Security.SuppressUnmanagedCodeSecurity()] |
||
| 149 | internal delegate bool BindDisplayColorTableEXT(UInt16 id); |
||
| 150 | internal static BindDisplayColorTableEXT wglBindDisplayColorTableEXT; |
||
| 151 | [System.Security.SuppressUnmanagedCodeSecurity()] |
||
| 152 | internal delegate void DestroyDisplayColorTableEXT(UInt16 id); |
||
| 153 | internal static DestroyDisplayColorTableEXT wglDestroyDisplayColorTableEXT; |
||
| 154 | [System.Security.SuppressUnmanagedCodeSecurity()] |
||
| 155 | internal delegate IntPtr GetExtensionsStringEXT(); |
||
| 156 | internal static GetExtensionsStringEXT wglGetExtensionsStringEXT; |
||
| 157 | [System.Security.SuppressUnmanagedCodeSecurity()] |
||
| 158 | internal delegate Boolean MakeContextCurrentEXT(IntPtr hDrawDC, IntPtr hReadDC, IntPtr hglrc); |
||
| 159 | internal static MakeContextCurrentEXT wglMakeContextCurrentEXT; |
||
| 160 | [System.Security.SuppressUnmanagedCodeSecurity()] |
||
| 161 | internal delegate IntPtr GetCurrentReadDCEXT(); |
||
| 162 | internal static GetCurrentReadDCEXT wglGetCurrentReadDCEXT; |
||
| 163 | [System.Security.SuppressUnmanagedCodeSecurity()] |
||
| 164 | internal unsafe delegate IntPtr CreatePbufferEXT(IntPtr hDC, int iPixelFormat, int iWidth, int iHeight, int* piAttribList); |
||
| 165 | internal unsafe static CreatePbufferEXT wglCreatePbufferEXT; |
||
| 166 | [System.Security.SuppressUnmanagedCodeSecurity()] |
||
| 167 | internal delegate IntPtr GetPbufferDCEXT(IntPtr hPbuffer); |
||
| 168 | internal static GetPbufferDCEXT wglGetPbufferDCEXT; |
||
| 169 | [System.Security.SuppressUnmanagedCodeSecurity()] |
||
| 170 | internal delegate int ReleasePbufferDCEXT(IntPtr hPbuffer, IntPtr hDC); |
||
| 171 | internal static ReleasePbufferDCEXT wglReleasePbufferDCEXT; |
||
| 172 | [System.Security.SuppressUnmanagedCodeSecurity()] |
||
| 173 | internal delegate Boolean DestroyPbufferEXT(IntPtr hPbuffer); |
||
| 174 | internal static DestroyPbufferEXT wglDestroyPbufferEXT; |
||
| 175 | [System.Security.SuppressUnmanagedCodeSecurity()] |
||
| 176 | internal unsafe delegate Boolean QueryPbufferEXT(IntPtr hPbuffer, int iAttribute, [Out] int* piValue); |
||
| 177 | internal unsafe static QueryPbufferEXT wglQueryPbufferEXT; |
||
| 178 | [System.Security.SuppressUnmanagedCodeSecurity()] |
||
| 179 | internal unsafe delegate Boolean GetPixelFormatAttribivEXT(IntPtr hdc, int iPixelFormat, int iLayerPlane, UInt32 nAttributes, [Out] int* piAttributes, [Out] int* piValues); |
||
| 180 | internal unsafe static GetPixelFormatAttribivEXT wglGetPixelFormatAttribivEXT; |
||
| 181 | [System.Security.SuppressUnmanagedCodeSecurity()] |
||
| 182 | internal unsafe delegate Boolean GetPixelFormatAttribfvEXT(IntPtr hdc, int iPixelFormat, int iLayerPlane, UInt32 nAttributes, [Out] int* piAttributes, [Out] Single* pfValues); |
||
| 183 | internal unsafe static GetPixelFormatAttribfvEXT wglGetPixelFormatAttribfvEXT; |
||
| 184 | [System.Security.SuppressUnmanagedCodeSecurity()] |
||
| 185 | internal unsafe delegate Boolean ChoosePixelFormatEXT(IntPtr hdc, int* piAttribIList, Single* pfAttribFList, UInt32 nMaxFormats, [Out] int* piFormats, [Out] UInt32* nNumFormats); |
||
| 186 | internal unsafe static ChoosePixelFormatEXT wglChoosePixelFormatEXT; |
||
| 187 | [System.Security.SuppressUnmanagedCodeSecurity()] |
||
| 188 | internal delegate Boolean SwapIntervalEXT(int interval); |
||
| 189 | internal static SwapIntervalEXT wglSwapIntervalEXT; |
||
| 190 | [System.Security.SuppressUnmanagedCodeSecurity()] |
||
| 191 | internal delegate int GetSwapIntervalEXT(); |
||
| 192 | internal static GetSwapIntervalEXT wglGetSwapIntervalEXT; |
||
| 193 | [System.Security.SuppressUnmanagedCodeSecurity()] |
||
| 194 | internal unsafe delegate IntPtr AllocateMemoryNV(Int32 size, Single readfreq, Single writefreq, Single priority); |
||
| 195 | internal unsafe static AllocateMemoryNV wglAllocateMemoryNV; |
||
| 196 | [System.Security.SuppressUnmanagedCodeSecurity()] |
||
| 197 | internal delegate void FreeMemoryNV([Out] IntPtr pointer); |
||
| 198 | internal static FreeMemoryNV wglFreeMemoryNV; |
||
| 199 | [System.Security.SuppressUnmanagedCodeSecurity()] |
||
| 200 | internal unsafe delegate Boolean GetSyncValuesOML(IntPtr hdc, [Out] Int64* ust, [Out] Int64* msc, [Out] Int64* sbc); |
||
| 201 | internal unsafe static GetSyncValuesOML wglGetSyncValuesOML; |
||
| 202 | [System.Security.SuppressUnmanagedCodeSecurity()] |
||
| 203 | internal unsafe delegate Boolean GetMscRateOML(IntPtr hdc, [Out] Int32* numerator, [Out] Int32* denominator); |
||
| 204 | internal unsafe static GetMscRateOML wglGetMscRateOML; |
||
| 205 | [System.Security.SuppressUnmanagedCodeSecurity()] |
||
| 206 | internal delegate Int64 SwapBuffersMscOML(IntPtr hdc, Int64 target_msc, Int64 divisor, Int64 remainder); |
||
| 207 | internal static SwapBuffersMscOML wglSwapBuffersMscOML; |
||
| 208 | [System.Security.SuppressUnmanagedCodeSecurity()] |
||
| 209 | internal delegate Int64 SwapLayerBuffersMscOML(IntPtr hdc, int fuPlanes, Int64 target_msc, Int64 divisor, Int64 remainder); |
||
| 210 | internal static SwapLayerBuffersMscOML wglSwapLayerBuffersMscOML; |
||
| 211 | [System.Security.SuppressUnmanagedCodeSecurity()] |
||
| 212 | internal unsafe delegate Boolean WaitForMscOML(IntPtr hdc, Int64 target_msc, Int64 divisor, Int64 remainder, [Out] Int64* ust, [Out] Int64* msc, [Out] Int64* sbc); |
||
| 213 | internal unsafe static WaitForMscOML wglWaitForMscOML; |
||
| 214 | [System.Security.SuppressUnmanagedCodeSecurity()] |
||
| 215 | internal unsafe delegate Boolean WaitForSbcOML(IntPtr hdc, Int64 target_sbc, [Out] Int64* ust, [Out] Int64* msc, [Out] Int64* sbc); |
||
| 216 | internal unsafe static WaitForSbcOML wglWaitForSbcOML; |
||
| 217 | [System.Security.SuppressUnmanagedCodeSecurity()] |
||
| 218 | internal unsafe delegate Boolean GetDigitalVideoParametersI3D(IntPtr hDC, int iAttribute, [Out] int* piValue); |
||
| 219 | internal unsafe static GetDigitalVideoParametersI3D wglGetDigitalVideoParametersI3D; |
||
| 220 | [System.Security.SuppressUnmanagedCodeSecurity()] |
||
| 221 | internal unsafe delegate Boolean SetDigitalVideoParametersI3D(IntPtr hDC, int iAttribute, int* piValue); |
||
| 222 | internal unsafe static SetDigitalVideoParametersI3D wglSetDigitalVideoParametersI3D; |
||
| 223 | [System.Security.SuppressUnmanagedCodeSecurity()] |
||
| 224 | internal unsafe delegate Boolean GetGammaTableParametersI3D(IntPtr hDC, int iAttribute, [Out] int* piValue); |
||
| 225 | internal unsafe static GetGammaTableParametersI3D wglGetGammaTableParametersI3D; |
||
| 226 | [System.Security.SuppressUnmanagedCodeSecurity()] |
||
| 227 | internal unsafe delegate Boolean SetGammaTableParametersI3D(IntPtr hDC, int iAttribute, int* piValue); |
||
| 228 | internal unsafe static SetGammaTableParametersI3D wglSetGammaTableParametersI3D; |
||
| 229 | [System.Security.SuppressUnmanagedCodeSecurity()] |
||
| 230 | internal unsafe delegate Boolean GetGammaTableI3D(IntPtr hDC, int iEntries, [Out] UInt16* puRed, [Out] UInt16* puGreen, [Out] UInt16* puBlue); |
||
| 231 | internal unsafe static GetGammaTableI3D wglGetGammaTableI3D; |
||
| 232 | [System.Security.SuppressUnmanagedCodeSecurity()] |
||
| 233 | internal unsafe delegate Boolean SetGammaTableI3D(IntPtr hDC, int iEntries, UInt16* puRed, UInt16* puGreen, UInt16* puBlue); |
||
| 234 | internal unsafe static SetGammaTableI3D wglSetGammaTableI3D; |
||
| 235 | [System.Security.SuppressUnmanagedCodeSecurity()] |
||
| 236 | internal delegate Boolean EnableGenlockI3D(IntPtr hDC); |
||
| 237 | internal static EnableGenlockI3D wglEnableGenlockI3D; |
||
| 238 | [System.Security.SuppressUnmanagedCodeSecurity()] |
||
| 239 | internal delegate Boolean DisableGenlockI3D(IntPtr hDC); |
||
| 240 | internal static DisableGenlockI3D wglDisableGenlockI3D; |
||
| 241 | [System.Security.SuppressUnmanagedCodeSecurity()] |
||
| 242 | internal unsafe delegate Boolean IsEnabledGenlockI3D(IntPtr hDC, [Out] Boolean* pFlag); |
||
| 243 | internal unsafe static IsEnabledGenlockI3D wglIsEnabledGenlockI3D; |
||
| 244 | [System.Security.SuppressUnmanagedCodeSecurity()] |
||
| 245 | internal delegate Boolean GenlockSourceI3D(IntPtr hDC, UInt32 uSource); |
||
| 246 | internal static GenlockSourceI3D wglGenlockSourceI3D; |
||
| 247 | [System.Security.SuppressUnmanagedCodeSecurity()] |
||
| 248 | internal unsafe delegate Boolean GetGenlockSourceI3D(IntPtr hDC, [Out] UInt32* uSource); |
||
| 249 | internal unsafe static GetGenlockSourceI3D wglGetGenlockSourceI3D; |
||
| 250 | [System.Security.SuppressUnmanagedCodeSecurity()] |
||
| 251 | internal delegate Boolean GenlockSourceEdgeI3D(IntPtr hDC, UInt32 uEdge); |
||
| 252 | internal static GenlockSourceEdgeI3D wglGenlockSourceEdgeI3D; |
||
| 253 | [System.Security.SuppressUnmanagedCodeSecurity()] |
||
| 254 | internal unsafe delegate Boolean GetGenlockSourceEdgeI3D(IntPtr hDC, [Out] UInt32* uEdge); |
||
| 255 | internal unsafe static GetGenlockSourceEdgeI3D wglGetGenlockSourceEdgeI3D; |
||
| 256 | [System.Security.SuppressUnmanagedCodeSecurity()] |
||
| 257 | internal delegate Boolean GenlockSampleRateI3D(IntPtr hDC, UInt32 uRate); |
||
| 258 | internal static GenlockSampleRateI3D wglGenlockSampleRateI3D; |
||
| 259 | [System.Security.SuppressUnmanagedCodeSecurity()] |
||
| 260 | internal unsafe delegate Boolean GetGenlockSampleRateI3D(IntPtr hDC, [Out] UInt32* uRate); |
||
| 261 | internal unsafe static GetGenlockSampleRateI3D wglGetGenlockSampleRateI3D; |
||
| 262 | [System.Security.SuppressUnmanagedCodeSecurity()] |
||
| 263 | internal delegate Boolean GenlockSourceDelayI3D(IntPtr hDC, UInt32 uDelay); |
||
| 264 | internal static GenlockSourceDelayI3D wglGenlockSourceDelayI3D; |
||
| 265 | [System.Security.SuppressUnmanagedCodeSecurity()] |
||
| 266 | internal unsafe delegate Boolean GetGenlockSourceDelayI3D(IntPtr hDC, [Out] UInt32* uDelay); |
||
| 267 | internal unsafe static GetGenlockSourceDelayI3D wglGetGenlockSourceDelayI3D; |
||
| 268 | [System.Security.SuppressUnmanagedCodeSecurity()] |
||
| 269 | internal unsafe delegate Boolean QueryGenlockMaxSourceDelayI3D(IntPtr hDC, [Out] UInt32* uMaxLineDelay, [Out] UInt32* uMaxPixelDelay); |
||
| 270 | internal unsafe static QueryGenlockMaxSourceDelayI3D wglQueryGenlockMaxSourceDelayI3D; |
||
| 271 | [System.Security.SuppressUnmanagedCodeSecurity()] |
||
| 272 | internal unsafe delegate IntPtr CreateImageBufferI3D(IntPtr hDC, Int32 dwSize, UInt32 uFlags); |
||
| 273 | internal unsafe static CreateImageBufferI3D wglCreateImageBufferI3D; |
||
| 274 | [System.Security.SuppressUnmanagedCodeSecurity()] |
||
| 275 | internal delegate Boolean DestroyImageBufferI3D(IntPtr hDC, IntPtr pAddress); |
||
| 276 | internal static DestroyImageBufferI3D wglDestroyImageBufferI3D; |
||
| 277 | [System.Security.SuppressUnmanagedCodeSecurity()] |
||
| 278 | internal unsafe delegate Boolean AssociateImageBufferEventsI3D(IntPtr hDC, IntPtr* pEvent, IntPtr pAddress, Int32* pSize, UInt32 count); |
||
| 279 | internal unsafe static AssociateImageBufferEventsI3D wglAssociateImageBufferEventsI3D; |
||
| 280 | [System.Security.SuppressUnmanagedCodeSecurity()] |
||
| 281 | internal delegate Boolean ReleaseImageBufferEventsI3D(IntPtr hDC, IntPtr pAddress, UInt32 count); |
||
| 282 | internal static ReleaseImageBufferEventsI3D wglReleaseImageBufferEventsI3D; |
||
| 283 | [System.Security.SuppressUnmanagedCodeSecurity()] |
||
| 284 | internal delegate Boolean EnableFrameLockI3D(); |
||
| 285 | internal static EnableFrameLockI3D wglEnableFrameLockI3D; |
||
| 286 | [System.Security.SuppressUnmanagedCodeSecurity()] |
||
| 287 | internal delegate Boolean DisableFrameLockI3D(); |
||
| 288 | internal static DisableFrameLockI3D wglDisableFrameLockI3D; |
||
| 289 | [System.Security.SuppressUnmanagedCodeSecurity()] |
||
| 290 | internal unsafe delegate Boolean IsEnabledFrameLockI3D([Out] Boolean* pFlag); |
||
| 291 | internal unsafe static IsEnabledFrameLockI3D wglIsEnabledFrameLockI3D; |
||
| 292 | [System.Security.SuppressUnmanagedCodeSecurity()] |
||
| 293 | internal unsafe delegate Boolean QueryFrameLockMasterI3D([Out] Boolean* pFlag); |
||
| 294 | internal unsafe static QueryFrameLockMasterI3D wglQueryFrameLockMasterI3D; |
||
| 295 | [System.Security.SuppressUnmanagedCodeSecurity()] |
||
| 296 | internal unsafe delegate Boolean GetFrameUsageI3D([Out] float* pUsage); |
||
| 297 | internal unsafe static GetFrameUsageI3D wglGetFrameUsageI3D; |
||
| 298 | [System.Security.SuppressUnmanagedCodeSecurity()] |
||
| 299 | internal delegate Boolean BeginFrameTrackingI3D(); |
||
| 300 | internal static BeginFrameTrackingI3D wglBeginFrameTrackingI3D; |
||
| 301 | [System.Security.SuppressUnmanagedCodeSecurity()] |
||
| 302 | internal delegate Boolean EndFrameTrackingI3D(); |
||
| 303 | internal static EndFrameTrackingI3D wglEndFrameTrackingI3D; |
||
| 304 | [System.Security.SuppressUnmanagedCodeSecurity()] |
||
| 305 | internal unsafe delegate Boolean QueryFrameTrackingI3D([Out] Int32* pFrameCount, [Out] Int32* pMissedFrames, [Out] float* pLastMissedUsage); |
||
| 306 | internal unsafe static QueryFrameTrackingI3D wglQueryFrameTrackingI3D; |
||
| 307 | } |
||
| 308 | } |
||
| 309 | } |