4 * Copyright 1993 Martin Ayotte
12 #include <sys/ioctl.h>
21 /**************************************************************************
22 * JoyGetNumDevs [MMSYSTEM.101]
24 WORD
JoyGetNumDevs(void)
26 fprintf(stdnimp
, "EMPTY STUB !!! JoyGetNumDevs();\n");
30 /**************************************************************************
31 * JoyGetDevCaps [MMSYSTEM.102]
33 WORD
JoyGetDevCaps(WORD wID
, LPJOYCAPS lpCaps
, WORD wSize
)
35 fprintf(stdnimp
, "EMPTY STUB !!! JoyGetDevCaps(%04X, %p, %d);\n",
37 return MMSYSERR_NODRIVER
;
40 /**************************************************************************
41 * JoyGetPos [MMSYSTEM.103]
43 WORD
JoyGetPos(WORD wID
, LPJOYINFO lpInfo
)
45 fprintf(stdnimp
, "EMPTY STUB !!! JoyGetPos(%04X, %p);\n", wID
, lpInfo
);
46 return MMSYSERR_NODRIVER
;
49 /**************************************************************************
50 * JoyGetThreshold [MMSYSTEM.104]
52 WORD
JoyGetThreshold(WORD wID
, LPWORD lpThreshold
)
54 fprintf(stdnimp
, "EMPTY STUB !!! JoyGetThreshold(%04X, %p);\n", wID
, lpThreshold
);
55 return MMSYSERR_NODRIVER
;
58 /**************************************************************************
59 * JoyReleaseCapture [MMSYSTEM.105]
61 WORD
JoyReleaseCapture(WORD wID
)
63 fprintf(stdnimp
, "EMPTY STUB !!! JoyReleaseCapture(%04X);\n", wID
);
64 return MMSYSERR_NODRIVER
;
67 /**************************************************************************
68 * JoySetCapture [MMSYSTEM.106]
70 WORD
JoySetCapture(HWND16 hWnd
, WORD wID
, WORD wPeriod
, BOOL bChanged
)
72 fprintf(stdnimp
, "EMPTY STUB !!! JoySetCapture(%04X, %04X, %d, %d);\n",
73 hWnd
, wID
, wPeriod
, bChanged
);
74 return MMSYSERR_NODRIVER
;
77 /**************************************************************************
78 * JoySetThreshold [MMSYSTEM.107]
80 WORD
JoySetThreshold(WORD wID
, WORD wThreshold
)
82 fprintf(stdnimp
, "EMPTY STUB !!! JoySetThreshold(%04X, %d);\n", wID
, wThreshold
);
83 return MMSYSERR_NODRIVER
;
86 /**************************************************************************
87 * JoySetCalibration [MMSYSTEM.109]
89 WORD
JoySetCalibration(WORD wID
)
91 fprintf(stdnimp
, "EMPTY STUB !!! JoySetCalibration(%04X);\n", wID
);
92 return MMSYSERR_NODRIVER
;