00001 namespace OpenTK.Platform.Windows
00002 {
00003 using System;
00004 using System.Runtime.InteropServices;
00005 #pragma warning disable 0649
00006 #pragma warning disable 3019
00007 #pragma warning disable 1591
00008
00009 partial class Wgl
00010 {
00011 internal static partial class Delegates
00012 {
00013 [System.Security.SuppressUnmanagedCodeSecurity()]
00014 internal delegate IntPtr CreateContext(IntPtr hDc);
00015 internal static CreateContext wglCreateContext;
00016 [System.Security.SuppressUnmanagedCodeSecurity()]
00017 internal delegate Boolean DeleteContext(IntPtr oldContext);
00018 internal static DeleteContext wglDeleteContext;
00019 [System.Security.SuppressUnmanagedCodeSecurity()]
00020 internal delegate IntPtr GetCurrentContext();
00021 internal static GetCurrentContext wglGetCurrentContext;
00022 [System.Security.SuppressUnmanagedCodeSecurity()]
00023 internal delegate Boolean MakeCurrent(IntPtr hDc, IntPtr newContext);
00024 internal static MakeCurrent wglMakeCurrent;
00025 [System.Security.SuppressUnmanagedCodeSecurity()]
00026 internal delegate Boolean CopyContext(IntPtr hglrcSrc, IntPtr hglrcDst, UInt32 mask);
00027 internal static CopyContext wglCopyContext;
00028 [System.Security.SuppressUnmanagedCodeSecurity()]
00029 internal unsafe delegate int ChoosePixelFormat(IntPtr hDc, PixelFormatDescriptor* pPfd);
00030 internal unsafe static ChoosePixelFormat wglChoosePixelFormat;
00031 [System.Security.SuppressUnmanagedCodeSecurity()]
00032 internal unsafe delegate int DescribePixelFormat(IntPtr hdc, int ipfd, UInt32 cjpfd, PixelFormatDescriptor* ppfd);
00033 internal unsafe static DescribePixelFormat wglDescribePixelFormat;
00034 [System.Security.SuppressUnmanagedCodeSecurity()]
00035 internal delegate IntPtr GetCurrentDC();
00036 internal static GetCurrentDC wglGetCurrentDC;
00037 [System.Security.SuppressUnmanagedCodeSecurity()]
00038 internal delegate IntPtr GetDefaultProcAddress(String lpszProc);
00039 internal static GetDefaultProcAddress wglGetDefaultProcAddress;
00040 [System.Security.SuppressUnmanagedCodeSecurity()]
00041 internal delegate IntPtr GetProcAddress(String lpszProc);
00042 internal static GetProcAddress wglGetProcAddress;
00043 [System.Security.SuppressUnmanagedCodeSecurity()]
00044 internal delegate int GetPixelFormat(IntPtr hdc);
00045 internal static GetPixelFormat wglGetPixelFormat;
00046 [System.Security.SuppressUnmanagedCodeSecurity()]
00047 internal unsafe delegate Boolean SetPixelFormat(IntPtr hdc, int ipfd, PixelFormatDescriptor* ppfd);
00048 internal unsafe static SetPixelFormat wglSetPixelFormat;
00049 [System.Security.SuppressUnmanagedCodeSecurity()]
00050 internal delegate Boolean SwapBuffers(IntPtr hdc);
00051 internal static SwapBuffers wglSwapBuffers;
00052 [System.Security.SuppressUnmanagedCodeSecurity()]
00053 internal delegate Boolean ShareLists(IntPtr hrcSrvShare, IntPtr hrcSrvSource);
00054 internal static ShareLists wglShareLists;
00055 [System.Security.SuppressUnmanagedCodeSecurity()]
00056 internal delegate IntPtr CreateLayerContext(IntPtr hDc, int level);
00057 internal static CreateLayerContext wglCreateLayerContext;
00058 [System.Security.SuppressUnmanagedCodeSecurity()]
00059 internal unsafe delegate Boolean DescribeLayerPlane(IntPtr hDc, int pixelFormat, int layerPlane, UInt32 nBytes, LayerPlaneDescriptor* plpd);
00060 internal unsafe static DescribeLayerPlane wglDescribeLayerPlane;
00061 [System.Security.SuppressUnmanagedCodeSecurity()]
00062 internal unsafe delegate int SetLayerPaletteEntries(IntPtr hdc, int iLayerPlane, int iStart, int cEntries, Int32* pcr);
00063 internal unsafe static SetLayerPaletteEntries wglSetLayerPaletteEntries;
00064 [System.Security.SuppressUnmanagedCodeSecurity()]
00065 internal unsafe delegate int GetLayerPaletteEntries(IntPtr hdc, int iLayerPlane, int iStart, int cEntries, Int32* pcr);
00066 internal unsafe static GetLayerPaletteEntries wglGetLayerPaletteEntries;
00067 [System.Security.SuppressUnmanagedCodeSecurity()]
00068 internal delegate Boolean RealizeLayerPalette(IntPtr hdc, int iLayerPlane, Boolean bRealize);
00069 internal static RealizeLayerPalette wglRealizeLayerPalette;
00070 [System.Security.SuppressUnmanagedCodeSecurity()]
00071 internal delegate Boolean SwapLayerBuffers(IntPtr hdc, UInt32 fuFlags);
00072 internal static SwapLayerBuffers wglSwapLayerBuffers;
00073 [System.Security.SuppressUnmanagedCodeSecurity()]
00074 internal delegate Boolean UseFontBitmapsA(IntPtr hDC, Int32 first, Int32 count, Int32 listBase);
00075 internal static UseFontBitmapsA wglUseFontBitmapsA;
00076 [System.Security.SuppressUnmanagedCodeSecurity()]
00077 internal delegate Boolean UseFontBitmapsW(IntPtr hDC, Int32 first, Int32 count, Int32 listBase);
00078 internal static UseFontBitmapsW wglUseFontBitmapsW;
00079 [System.Security.SuppressUnmanagedCodeSecurity()]
00080 internal unsafe delegate Boolean UseFontOutlinesA(IntPtr hDC, Int32 first, Int32 count, Int32 listBase, float thickness, float deviation, Int32 fontMode, GlyphMetricsFloat* glyphMetrics);
00081 internal unsafe static UseFontOutlinesA wglUseFontOutlinesA;
00082 [System.Security.SuppressUnmanagedCodeSecurity()]
00083 internal unsafe delegate Boolean UseFontOutlinesW(IntPtr hDC, Int32 first, Int32 count, Int32 listBase, float thickness, float deviation, Int32 fontMode, GlyphMetricsFloat* glyphMetrics);
00084 internal unsafe static UseFontOutlinesW wglUseFontOutlinesW;
00085 [System.Security.SuppressUnmanagedCodeSecurity()]
00086 internal unsafe delegate IntPtr CreateContextAttribsARB(IntPtr hDC, IntPtr hShareContext, int* attribList);
00087 internal unsafe static CreateContextAttribsARB wglCreateContextAttribsARB;
00088 [System.Security.SuppressUnmanagedCodeSecurity()]
00089 internal delegate IntPtr CreateBufferRegionARB(IntPtr hDC, int iLayerPlane, UInt32 uType);
00090 internal static CreateBufferRegionARB wglCreateBufferRegionARB;
00091 [System.Security.SuppressUnmanagedCodeSecurity()]
00092 internal delegate void DeleteBufferRegionARB(IntPtr hRegion);
00093 internal static DeleteBufferRegionARB wglDeleteBufferRegionARB;
00094 [System.Security.SuppressUnmanagedCodeSecurity()]
00095 internal delegate Boolean SaveBufferRegionARB(IntPtr hRegion, int x, int y, int width, int height);
00096 internal static SaveBufferRegionARB wglSaveBufferRegionARB;
00097 [System.Security.SuppressUnmanagedCodeSecurity()]
00098 internal delegate Boolean RestoreBufferRegionARB(IntPtr hRegion, int x, int y, int width, int height, int xSrc, int ySrc);
00099 internal static RestoreBufferRegionARB wglRestoreBufferRegionARB;
00100 [System.Security.SuppressUnmanagedCodeSecurity()]
00101 internal delegate IntPtr GetExtensionsStringARB(IntPtr hdc);
00102 internal static GetExtensionsStringARB wglGetExtensionsStringARB;
00103 [System.Security.SuppressUnmanagedCodeSecurity()]
00104 internal unsafe delegate Boolean GetPixelFormatAttribivARB(IntPtr hdc, int iPixelFormat, int iLayerPlane, UInt32 nAttributes, int* piAttributes, [Out] int* piValues);
00105 internal unsafe static GetPixelFormatAttribivARB wglGetPixelFormatAttribivARB;
00106 [System.Security.SuppressUnmanagedCodeSecurity()]
00107 internal unsafe delegate Boolean GetPixelFormatAttribfvARB(IntPtr hdc, int iPixelFormat, int iLayerPlane, UInt32 nAttributes, int* piAttributes, [Out] Single* pfValues);
00108 internal unsafe static GetPixelFormatAttribfvARB wglGetPixelFormatAttribfvARB;
00109 [System.Security.SuppressUnmanagedCodeSecurity()]
00110 internal unsafe delegate Boolean ChoosePixelFormatARB(IntPtr hdc, int* piAttribIList, Single* pfAttribFList, UInt32 nMaxFormats, [Out] int* piFormats, [Out] UInt32* nNumFormats);
00111 internal unsafe static ChoosePixelFormatARB wglChoosePixelFormatARB;
00112 [System.Security.SuppressUnmanagedCodeSecurity()]
00113 internal delegate Boolean MakeContextCurrentARB(IntPtr hDrawDC, IntPtr hReadDC, IntPtr hglrc);
00114 internal static MakeContextCurrentARB wglMakeContextCurrentARB;
00115 [System.Security.SuppressUnmanagedCodeSecurity()]
00116 internal delegate IntPtr GetCurrentReadDCARB();
00117 internal static GetCurrentReadDCARB wglGetCurrentReadDCARB;
00118 [System.Security.SuppressUnmanagedCodeSecurity()]
00119 internal unsafe delegate IntPtr CreatePbufferARB(IntPtr hDC, int iPixelFormat, int iWidth, int iHeight, int* piAttribList);
00120 internal unsafe static CreatePbufferARB wglCreatePbufferARB;
00121 [System.Security.SuppressUnmanagedCodeSecurity()]
00122 internal delegate IntPtr GetPbufferDCARB(IntPtr hPbuffer);
00123 internal static GetPbufferDCARB wglGetPbufferDCARB;
00124 [System.Security.SuppressUnmanagedCodeSecurity()]
00125 internal delegate int ReleasePbufferDCARB(IntPtr hPbuffer, IntPtr hDC);
00126 internal static ReleasePbufferDCARB wglReleasePbufferDCARB;
00127 [System.Security.SuppressUnmanagedCodeSecurity()]
00128 internal delegate Boolean DestroyPbufferARB(IntPtr hPbuffer);
00129 internal static DestroyPbufferARB wglDestroyPbufferARB;
00130 [System.Security.SuppressUnmanagedCodeSecurity()]
00131 internal unsafe delegate Boolean QueryPbufferARB(IntPtr hPbuffer, int iAttribute, [Out] int* piValue);
00132 internal unsafe static QueryPbufferARB wglQueryPbufferARB;
00133 [System.Security.SuppressUnmanagedCodeSecurity()]
00134 internal delegate Boolean BindTexImageARB(IntPtr hPbuffer, int iBuffer);
00135 internal static BindTexImageARB wglBindTexImageARB;
00136 [System.Security.SuppressUnmanagedCodeSecurity()]
00137 internal delegate Boolean ReleaseTexImageARB(IntPtr hPbuffer, int iBuffer);
00138 internal static ReleaseTexImageARB wglReleaseTexImageARB;
00139 [System.Security.SuppressUnmanagedCodeSecurity()]
00140 internal unsafe delegate Boolean SetPbufferAttribARB(IntPtr hPbuffer, int* piAttribList);
00141 internal unsafe static SetPbufferAttribARB wglSetPbufferAttribARB;
00142 [System.Security.SuppressUnmanagedCodeSecurity()]
00143 internal delegate bool CreateDisplayColorTableEXT(UInt16 id);
00144 internal static CreateDisplayColorTableEXT wglCreateDisplayColorTableEXT;
00145 [System.Security.SuppressUnmanagedCodeSecurity()]
00146 internal unsafe delegate bool LoadDisplayColorTableEXT(UInt16* table, UInt32 length);
00147 internal unsafe static LoadDisplayColorTableEXT wglLoadDisplayColorTableEXT;
00148 [System.Security.SuppressUnmanagedCodeSecurity()]
00149 internal delegate bool BindDisplayColorTableEXT(UInt16 id);
00150 internal static BindDisplayColorTableEXT wglBindDisplayColorTableEXT;
00151 [System.Security.SuppressUnmanagedCodeSecurity()]
00152 internal delegate void DestroyDisplayColorTableEXT(UInt16 id);
00153 internal static DestroyDisplayColorTableEXT wglDestroyDisplayColorTableEXT;
00154 [System.Security.SuppressUnmanagedCodeSecurity()]
00155 internal delegate IntPtr GetExtensionsStringEXT();
00156 internal static GetExtensionsStringEXT wglGetExtensionsStringEXT;
00157 [System.Security.SuppressUnmanagedCodeSecurity()]
00158 internal delegate Boolean MakeContextCurrentEXT(IntPtr hDrawDC, IntPtr hReadDC, IntPtr hglrc);
00159 internal static MakeContextCurrentEXT wglMakeContextCurrentEXT;
00160 [System.Security.SuppressUnmanagedCodeSecurity()]
00161 internal delegate IntPtr GetCurrentReadDCEXT();
00162 internal static GetCurrentReadDCEXT wglGetCurrentReadDCEXT;
00163 [System.Security.SuppressUnmanagedCodeSecurity()]
00164 internal unsafe delegate IntPtr CreatePbufferEXT(IntPtr hDC, int iPixelFormat, int iWidth, int iHeight, int* piAttribList);
00165 internal unsafe static CreatePbufferEXT wglCreatePbufferEXT;
00166 [System.Security.SuppressUnmanagedCodeSecurity()]
00167 internal delegate IntPtr GetPbufferDCEXT(IntPtr hPbuffer);
00168 internal static GetPbufferDCEXT wglGetPbufferDCEXT;
00169 [System.Security.SuppressUnmanagedCodeSecurity()]
00170 internal delegate int ReleasePbufferDCEXT(IntPtr hPbuffer, IntPtr hDC);
00171 internal static ReleasePbufferDCEXT wglReleasePbufferDCEXT;
00172 [System.Security.SuppressUnmanagedCodeSecurity()]
00173 internal delegate Boolean DestroyPbufferEXT(IntPtr hPbuffer);
00174 internal static DestroyPbufferEXT wglDestroyPbufferEXT;
00175 [System.Security.SuppressUnmanagedCodeSecurity()]
00176 internal unsafe delegate Boolean QueryPbufferEXT(IntPtr hPbuffer, int iAttribute, [Out] int* piValue);
00177 internal unsafe static QueryPbufferEXT wglQueryPbufferEXT;
00178 [System.Security.SuppressUnmanagedCodeSecurity()]
00179 internal unsafe delegate Boolean GetPixelFormatAttribivEXT(IntPtr hdc, int iPixelFormat, int iLayerPlane, UInt32 nAttributes, [Out] int* piAttributes, [Out] int* piValues);
00180 internal unsafe static GetPixelFormatAttribivEXT wglGetPixelFormatAttribivEXT;
00181 [System.Security.SuppressUnmanagedCodeSecurity()]
00182 internal unsafe delegate Boolean GetPixelFormatAttribfvEXT(IntPtr hdc, int iPixelFormat, int iLayerPlane, UInt32 nAttributes, [Out] int* piAttributes, [Out] Single* pfValues);
00183 internal unsafe static GetPixelFormatAttribfvEXT wglGetPixelFormatAttribfvEXT;
00184 [System.Security.SuppressUnmanagedCodeSecurity()]
00185 internal unsafe delegate Boolean ChoosePixelFormatEXT(IntPtr hdc, int* piAttribIList, Single* pfAttribFList, UInt32 nMaxFormats, [Out] int* piFormats, [Out] UInt32* nNumFormats);
00186 internal unsafe static ChoosePixelFormatEXT wglChoosePixelFormatEXT;
00187 [System.Security.SuppressUnmanagedCodeSecurity()]
00188 internal delegate Boolean SwapIntervalEXT(int interval);
00189 internal static SwapIntervalEXT wglSwapIntervalEXT;
00190 [System.Security.SuppressUnmanagedCodeSecurity()]
00191 internal delegate int GetSwapIntervalEXT();
00192 internal static GetSwapIntervalEXT wglGetSwapIntervalEXT;
00193 [System.Security.SuppressUnmanagedCodeSecurity()]
00194 internal unsafe delegate IntPtr AllocateMemoryNV(Int32 size, Single readfreq, Single writefreq, Single priority);
00195 internal unsafe static AllocateMemoryNV wglAllocateMemoryNV;
00196 [System.Security.SuppressUnmanagedCodeSecurity()]
00197 internal delegate void FreeMemoryNV([Out] IntPtr pointer);
00198 internal static FreeMemoryNV wglFreeMemoryNV;
00199 [System.Security.SuppressUnmanagedCodeSecurity()]
00200 internal unsafe delegate Boolean GetSyncValuesOML(IntPtr hdc, [Out] Int64* ust, [Out] Int64* msc, [Out] Int64* sbc);
00201 internal unsafe static GetSyncValuesOML wglGetSyncValuesOML;
00202 [System.Security.SuppressUnmanagedCodeSecurity()]
00203 internal unsafe delegate Boolean GetMscRateOML(IntPtr hdc, [Out] Int32* numerator, [Out] Int32* denominator);
00204 internal unsafe static GetMscRateOML wglGetMscRateOML;
00205 [System.Security.SuppressUnmanagedCodeSecurity()]
00206 internal delegate Int64 SwapBuffersMscOML(IntPtr hdc, Int64 target_msc, Int64 divisor, Int64 remainder);
00207 internal static SwapBuffersMscOML wglSwapBuffersMscOML;
00208 [System.Security.SuppressUnmanagedCodeSecurity()]
00209 internal delegate Int64 SwapLayerBuffersMscOML(IntPtr hdc, int fuPlanes, Int64 target_msc, Int64 divisor, Int64 remainder);
00210 internal static SwapLayerBuffersMscOML wglSwapLayerBuffersMscOML;
00211 [System.Security.SuppressUnmanagedCodeSecurity()]
00212 internal unsafe delegate Boolean WaitForMscOML(IntPtr hdc, Int64 target_msc, Int64 divisor, Int64 remainder, [Out] Int64* ust, [Out] Int64* msc, [Out] Int64* sbc);
00213 internal unsafe static WaitForMscOML wglWaitForMscOML;
00214 [System.Security.SuppressUnmanagedCodeSecurity()]
00215 internal unsafe delegate Boolean WaitForSbcOML(IntPtr hdc, Int64 target_sbc, [Out] Int64* ust, [Out] Int64* msc, [Out] Int64* sbc);
00216 internal unsafe static WaitForSbcOML wglWaitForSbcOML;
00217 [System.Security.SuppressUnmanagedCodeSecurity()]
00218 internal unsafe delegate Boolean GetDigitalVideoParametersI3D(IntPtr hDC, int iAttribute, [Out] int* piValue);
00219 internal unsafe static GetDigitalVideoParametersI3D wglGetDigitalVideoParametersI3D;
00220 [System.Security.SuppressUnmanagedCodeSecurity()]
00221 internal unsafe delegate Boolean SetDigitalVideoParametersI3D(IntPtr hDC, int iAttribute, int* piValue);
00222 internal unsafe static SetDigitalVideoParametersI3D wglSetDigitalVideoParametersI3D;
00223 [System.Security.SuppressUnmanagedCodeSecurity()]
00224 internal unsafe delegate Boolean GetGammaTableParametersI3D(IntPtr hDC, int iAttribute, [Out] int* piValue);
00225 internal unsafe static GetGammaTableParametersI3D wglGetGammaTableParametersI3D;
00226 [System.Security.SuppressUnmanagedCodeSecurity()]
00227 internal unsafe delegate Boolean SetGammaTableParametersI3D(IntPtr hDC, int iAttribute, int* piValue);
00228 internal unsafe static SetGammaTableParametersI3D wglSetGammaTableParametersI3D;
00229 [System.Security.SuppressUnmanagedCodeSecurity()]
00230 internal unsafe delegate Boolean GetGammaTableI3D(IntPtr hDC, int iEntries, [Out] UInt16* puRed, [Out] UInt16* puGreen, [Out] UInt16* puBlue);
00231 internal unsafe static GetGammaTableI3D wglGetGammaTableI3D;
00232 [System.Security.SuppressUnmanagedCodeSecurity()]
00233 internal unsafe delegate Boolean SetGammaTableI3D(IntPtr hDC, int iEntries, UInt16* puRed, UInt16* puGreen, UInt16* puBlue);
00234 internal unsafe static SetGammaTableI3D wglSetGammaTableI3D;
00235 [System.Security.SuppressUnmanagedCodeSecurity()]
00236 internal delegate Boolean EnableGenlockI3D(IntPtr hDC);
00237 internal static EnableGenlockI3D wglEnableGenlockI3D;
00238 [System.Security.SuppressUnmanagedCodeSecurity()]
00239 internal delegate Boolean DisableGenlockI3D(IntPtr hDC);
00240 internal static DisableGenlockI3D wglDisableGenlockI3D;
00241 [System.Security.SuppressUnmanagedCodeSecurity()]
00242 internal unsafe delegate Boolean IsEnabledGenlockI3D(IntPtr hDC, [Out] Boolean* pFlag);
00243 internal unsafe static IsEnabledGenlockI3D wglIsEnabledGenlockI3D;
00244 [System.Security.SuppressUnmanagedCodeSecurity()]
00245 internal delegate Boolean GenlockSourceI3D(IntPtr hDC, UInt32 uSource);
00246 internal static GenlockSourceI3D wglGenlockSourceI3D;
00247 [System.Security.SuppressUnmanagedCodeSecurity()]
00248 internal unsafe delegate Boolean GetGenlockSourceI3D(IntPtr hDC, [Out] UInt32* uSource);
00249 internal unsafe static GetGenlockSourceI3D wglGetGenlockSourceI3D;
00250 [System.Security.SuppressUnmanagedCodeSecurity()]
00251 internal delegate Boolean GenlockSourceEdgeI3D(IntPtr hDC, UInt32 uEdge);
00252 internal static GenlockSourceEdgeI3D wglGenlockSourceEdgeI3D;
00253 [System.Security.SuppressUnmanagedCodeSecurity()]
00254 internal unsafe delegate Boolean GetGenlockSourceEdgeI3D(IntPtr hDC, [Out] UInt32* uEdge);
00255 internal unsafe static GetGenlockSourceEdgeI3D wglGetGenlockSourceEdgeI3D;
00256 [System.Security.SuppressUnmanagedCodeSecurity()]
00257 internal delegate Boolean GenlockSampleRateI3D(IntPtr hDC, UInt32 uRate);
00258 internal static GenlockSampleRateI3D wglGenlockSampleRateI3D;
00259 [System.Security.SuppressUnmanagedCodeSecurity()]
00260 internal unsafe delegate Boolean GetGenlockSampleRateI3D(IntPtr hDC, [Out] UInt32* uRate);
00261 internal unsafe static GetGenlockSampleRateI3D wglGetGenlockSampleRateI3D;
00262 [System.Security.SuppressUnmanagedCodeSecurity()]
00263 internal delegate Boolean GenlockSourceDelayI3D(IntPtr hDC, UInt32 uDelay);
00264 internal static GenlockSourceDelayI3D wglGenlockSourceDelayI3D;
00265 [System.Security.SuppressUnmanagedCodeSecurity()]
00266 internal unsafe delegate Boolean GetGenlockSourceDelayI3D(IntPtr hDC, [Out] UInt32* uDelay);
00267 internal unsafe static GetGenlockSourceDelayI3D wglGetGenlockSourceDelayI3D;
00268 [System.Security.SuppressUnmanagedCodeSecurity()]
00269 internal unsafe delegate Boolean QueryGenlockMaxSourceDelayI3D(IntPtr hDC, [Out] UInt32* uMaxLineDelay, [Out] UInt32* uMaxPixelDelay);
00270 internal unsafe static QueryGenlockMaxSourceDelayI3D wglQueryGenlockMaxSourceDelayI3D;
00271 [System.Security.SuppressUnmanagedCodeSecurity()]
00272 internal unsafe delegate IntPtr CreateImageBufferI3D(IntPtr hDC, Int32 dwSize, UInt32 uFlags);
00273 internal unsafe static CreateImageBufferI3D wglCreateImageBufferI3D;
00274 [System.Security.SuppressUnmanagedCodeSecurity()]
00275 internal delegate Boolean DestroyImageBufferI3D(IntPtr hDC, IntPtr pAddress);
00276 internal static DestroyImageBufferI3D wglDestroyImageBufferI3D;
00277 [System.Security.SuppressUnmanagedCodeSecurity()]
00278 internal unsafe delegate Boolean AssociateImageBufferEventsI3D(IntPtr hDC, IntPtr* pEvent, IntPtr pAddress, Int32* pSize, UInt32 count);
00279 internal unsafe static AssociateImageBufferEventsI3D wglAssociateImageBufferEventsI3D;
00280 [System.Security.SuppressUnmanagedCodeSecurity()]
00281 internal delegate Boolean ReleaseImageBufferEventsI3D(IntPtr hDC, IntPtr pAddress, UInt32 count);
00282 internal static ReleaseImageBufferEventsI3D wglReleaseImageBufferEventsI3D;
00283 [System.Security.SuppressUnmanagedCodeSecurity()]
00284 internal delegate Boolean EnableFrameLockI3D();
00285 internal static EnableFrameLockI3D wglEnableFrameLockI3D;
00286 [System.Security.SuppressUnmanagedCodeSecurity()]
00287 internal delegate Boolean DisableFrameLockI3D();
00288 internal static DisableFrameLockI3D wglDisableFrameLockI3D;
00289 [System.Security.SuppressUnmanagedCodeSecurity()]
00290 internal unsafe delegate Boolean IsEnabledFrameLockI3D([Out] Boolean* pFlag);
00291 internal unsafe static IsEnabledFrameLockI3D wglIsEnabledFrameLockI3D;
00292 [System.Security.SuppressUnmanagedCodeSecurity()]
00293 internal unsafe delegate Boolean QueryFrameLockMasterI3D([Out] Boolean* pFlag);
00294 internal unsafe static QueryFrameLockMasterI3D wglQueryFrameLockMasterI3D;
00295 [System.Security.SuppressUnmanagedCodeSecurity()]
00296 internal unsafe delegate Boolean GetFrameUsageI3D([Out] float* pUsage);
00297 internal unsafe static GetFrameUsageI3D wglGetFrameUsageI3D;
00298 [System.Security.SuppressUnmanagedCodeSecurity()]
00299 internal delegate Boolean BeginFrameTrackingI3D();
00300 internal static BeginFrameTrackingI3D wglBeginFrameTrackingI3D;
00301 [System.Security.SuppressUnmanagedCodeSecurity()]
00302 internal delegate Boolean EndFrameTrackingI3D();
00303 internal static EndFrameTrackingI3D wglEndFrameTrackingI3D;
00304 [System.Security.SuppressUnmanagedCodeSecurity()]
00305 internal unsafe delegate Boolean QueryFrameTrackingI3D([Out] Int32* pFrameCount, [Out] Int32* pMissedFrames, [Out] float* pLastMissedUsage);
00306 internal unsafe static QueryFrameTrackingI3D wglQueryFrameTrackingI3D;
00307 }
00308 }
00309 }