Release 950727
[wine/multimedia.git] / misc / kernel32.c
blobdf6a5ba1217daa9f2b5a75da952d19108923a989
1 /*
2 * Win32 kernel functions
4 * Copyright 1995 Martin von Loewis
5 */
7 /* This file contains only wrappers to existing Wine functions or trivial
8 stubs. 'Real' implementations go into context specific files */
10 #include "windows.h"
11 #include "winerror.h"
12 #include <unistd.h>
14 int WIN32_LastError;
16 /***********************************************************************
17 * GetCommandLineA (KERNEL32.161)
19 LPSTR GetCommandLineA(void)
21 return 0;
24 /***********************************************************************
25 * GetCurrentThreadId (KERNEL32.200)
28 int GetCurrentThreadId(void)
30 return getpid();
34 /***********************************************************************
35 * GetEnvironmentStrings (KERNEL32.210)
37 LPSTR GetEnvironmentStrings(void)
39 return 0;
42 /***********************************************************************
43 * GetStdHandle (KERNEL32.276)
45 HANDLE GetStdHandle(DWORD nStdHandle)
47 switch(nStdHandle)
49 case -10/*STD_INPUT_HANDLE*/:return 0;
50 case -11/*STD_OUTPUT_HANDLE*/:return 1;
51 case -12/*STD_ERROR_HANDLE*/:return 2;
53 return -1;
56 /***********************************************************************
57 * GetThreadContext (KERNEL32.294)
59 BOOL GetThreadContext(HANDLE hThread, void *lpContext)
61 return FALSE;