1
0
mirror of https://github.com/unrealircd/unrealircd.git synced 2026-06-25 18:46:38 +02:00
Files
unrealircd/src/cio_init.c
T
stskeeps d33f4a8120 Index: Changes
===================================================================
RCS file: /home/cmunk/ircsystems/cvsroot/unreal/Changes,v
retrieving revision 1.1.1.1.2.1.2.1.2.179
diff -u -r1.1.1.1.2.1.2.1.2.179 Changes
--- Changes	2000/08/07 16:16:14	1.1.1.1.2.1.2.1.2.179
+++ Changes	2000/08/07 16:56:17
@@ -530,3 +530,4 @@
   Config, and all the things we want them to read/do to compile the IRCd
 - Updated PREFIX Client Protoctl
 - Added ^MrMike^'s command list, this one will be updated
+- Removed ID_CVS, hopefully fixing some bastard stuff
2000-08-07 16:56:31 +00:00

34 lines
704 B
C

#include <windows.h>
#include "Cio.h"
#include "CioFunc.h"
#include "common.h"
//
// FUNCTION: Cio_Init(void)
//
// PURPOSE: Initializes window data and registers window class and other stuff
//
BOOL Cio_Init(HINSTANCE hInstance)
{
WNDCLASS wc;
// Fill in window class structure with parameters that describe
// the main window.
wc.style = CS_HREDRAW | CS_VREDRAW;
wc.lpfnWndProc = (WNDPROC) Cio_WndProc;
wc.cbClsExtra = 0;
wc.cbWndExtra = 4;
wc.hInstance = hInstance;
wc.hIcon = NULL;
wc.hCursor = LoadCursor(NULL, IDC_ARROW);
wc.hbrBackground = (HBRUSH) (COLOR_BTNFACE);
wc.lpszMenuName = NULL;
wc.lpszClassName = CIOCLASS;
if (!RegisterClass(&wc))
return FALSE;
return TRUE;
}