#ifdef _WIN32
  /** Initialize <a href="%Name:url%">%Name%</a> extension. 
   * Check presence with csGLExtensionFlags::CS_%Name%. */
  void Init%Name% (HDC hDC)
  {
    if (tested_CS_%Name%) return;
    tested_CS_%Name% = true;
    const char* ext = "%Name%";
    char cfgkey[%Cfglen% + %Namelen% + 1];
    sprintf (cfgkey, "%Cfgprefix%%%s", ext);
    
    (void)hDC;      // avoid `unused variable' warning.
%Extcheck%
    bool allclear, funcTest;
    (void)funcTest; // avoid `unused variable' warning.
    bool init = CS_%Name%;
    allclear = true;
    if (init)
    {
%FunctionsInit%
      EXTMGR_REPORT_INIT_RESULT("WGL", %Name%)
      CS_%Name% &= allclear;
    }
    else
    {
      Report (msgExtNotFound, "WGL", ext);
    }
  }
#endif

