Release 950727
[wine/multimedia.git] / multimedia / joystick.c
blob9eff80181da5a95bca636b51c42daf9a1913868c
1 /*
2 * MMSYTEM functions
4 * Copyright 1993 Martin Ayotte
5 */
7 #ifndef WINELIB
9 #include <unistd.h>
10 #include <stdio.h>
11 #include <stdlib.h>
12 #include <string.h>
13 #include <fcntl.h>
14 #include <sys/ioctl.h>
15 #include "windows.h"
16 #include "ldt.h"
17 #include "callback.h"
18 #include "user.h"
19 #include "driver.h"
20 #include "mmsystem.h"
21 #include "stddebug.h"
22 #include "debug.h"
24 /**************************************************************************
25 * JoyGetNumDevs [MMSYSTEM.101]
27 WORD JoyGetNumDevs(void)
29 fprintf(stdnimp, "EMPTY STUB !!! JoyGetNumDevs();\n");
30 return 0;
33 /**************************************************************************
34 * JoyGetDevCaps [MMSYSTEM.102]
36 WORD JoyGetDevCaps(WORD wID, LPJOYCAPS lpCaps, WORD wSize)
38 fprintf(stdnimp, "EMPTY STUB !!! JoyGetDevCaps(%04X, %p, %d);\n",
39 wID, lpCaps, wSize);
40 return MMSYSERR_NODRIVER;
43 /**************************************************************************
44 * JoyGetPos [MMSYSTEM.103]
46 WORD JoyGetPos(WORD wID, LPJOYINFO lpInfo)
48 fprintf(stdnimp, "EMPTY STUB !!! JoyGetPos(%04X, %p);\n", wID, lpInfo);
49 return MMSYSERR_NODRIVER;
52 /**************************************************************************
53 * JoyGetThreshold [MMSYSTEM.104]
55 WORD JoyGetThreshold(WORD wID, LPWORD lpThreshold)
57 fprintf(stdnimp, "EMPTY STUB !!! JoyGetThreshold(%04X, %p);\n", wID, lpThreshold);
58 return MMSYSERR_NODRIVER;
61 /**************************************************************************
62 * JoyReleaseCapture [MMSYSTEM.105]
64 WORD JoyReleaseCapture(WORD wID)
66 fprintf(stdnimp, "EMPTY STUB !!! JoyReleaseCapture(%04X);\n", wID);
67 return MMSYSERR_NODRIVER;
70 /**************************************************************************
71 * JoySetCapture [MMSYSTEM.106]
73 WORD JoySetCapture(HWND hWnd, WORD wID, WORD wPeriod, BOOL bChanged)
75 fprintf(stdnimp, "EMPTY STUB !!! JoySetCapture(%04X, %04X, %d, %d);\n",
76 hWnd, wID, wPeriod, bChanged);
77 return MMSYSERR_NODRIVER;
80 /**************************************************************************
81 * JoySetThreshold [MMSYSTEM.107]
83 WORD JoySetThreshold(WORD wID, WORD wThreshold)
85 fprintf(stdnimp, "EMPTY STUB !!! JoySetThreshold(%04X, %d);\n", wID, wThreshold);
86 return MMSYSERR_NODRIVER;
89 /**************************************************************************
90 * JoySetCalibration [MMSYSTEM.109]
92 WORD JoySetCalibration(WORD wID)
94 fprintf(stdnimp, "EMPTY STUB !!! JoySetCalibration(%04X);\n", wID);
95 return MMSYSERR_NODRIVER;
98 #endif