source: Daodan/src/Oni.h @ 323

Last change on this file since 323 was 323, checked in by rossy, 13 years ago

DDrPlatform_Initialize

File size: 389 bytes
Line 
1#pragma once
2#ifndef ONI_H
3#define ONI_H
4
5typedef struct
6{
7        HINSTANCE Instance;
8        HWND Window;
9} ONtPlatformData;
10
11void __cdecl ONiMain(int ArgCount, char *ArgList[]);
12short ONICALL ONrPlatform_Initialize(ONtPlatformData *PlatformData);
13LRESULT CALLBACK ONrPlatform_WindowProc(HWND Window, UINT Message, WPARAM WParam, LPARAM LParam);
14
15extern HINSTANCE g_Instance;
16
17#endif
Note: See TracBrowser for help on using the repository browser.