d3d10/effect: Add support for 'imul' instruction.
[wine.git] / dlls / wineoss.drv / mmaux.c
blobf86ec6f4bae9ac513dc05330cab4800df46c39ed
1 /*
2 * Sample AUXILIARY Wine Driver
4 * Copyright 1994 Martin Ayotte
6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Lesser General Public
8 * License as published by the Free Software Foundation; either
9 * version 2.1 of the License, or (at your option) any later version.
11 * This library is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * Lesser General Public License for more details.
16 * You should have received a copy of the GNU Lesser General Public
17 * License along with this library; if not, write to the Free Software
18 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
21 #include <stdarg.h>
23 #include "windef.h"
24 #include "winbase.h"
25 #include "mmddk.h"
26 #include "audioclient.h"
27 #include "winternl.h"
29 #include "wine/debug.h"
30 #include "wine/unixlib.h"
32 #include "unixlib.h"
34 WINE_DEFAULT_DEBUG_CHANNEL(mmaux);
36 /**************************************************************************
37 * auxMessage (WINEOSS.2)
39 DWORD WINAPI OSS_auxMessage(UINT wDevID, UINT wMsg, DWORD_PTR dwUser,
40 DWORD_PTR dwParam1, DWORD_PTR dwParam2)
42 struct aux_message_params params;
43 UINT err;
45 TRACE("(%04X, %04X, %08IX, %08IX, %08IX);\n",
46 wDevID, wMsg, dwUser, dwParam1, dwParam2);
48 params.dev_id = wDevID;
49 params.msg = wMsg;
50 params.user = dwUser;
51 params.param_1 = dwParam1;
52 params.param_2 = dwParam2;
53 params.err = &err;
54 OSS_CALL(aux_message, &params);
56 return err;