Go to the source code of this file.
Data Structures | |
struct | wgl_context |
Functions | |
struct wgl_context * | wgl_context_from_hdc (HDC hdc) |
struct wgl_context* wgl_context_from_hdc | ( | HDC | hdc | ) | [read] |
Definition at line 278 of file stw_wgl_context.c.
References wgl_context::hdc, and wgl_context::next.
00280 { 00281 struct wgl_context *ctx = ctx_head; 00282 00283 while (ctx != NULL) { 00284 if (ctx->hdc == hdc) 00285 return ctx; 00286 ctx = ctx->next; 00287 } 00288 return NULL; 00289 }