summaryrefslogtreecommitdiff
path: root/wince/wincemain.c
blob: fb634a0eea7434838861216059c6c8089cca1eeb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#include <windows.h>
#include <stdio.h>
#include "wince.h"

extern int main(int, char**, char**);


int WINAPI
WinMain(HINSTANCE current, HINSTANCE prev, LPWSTR wcmd, int showcmd)
{
	/* wchar_t -> char */
	wce_SetCommandLine(wcmd);

	wce_SetCurrentDir();

	/* main. */
    return main(0, NULL, NULL);
}