Mask out the upper 12 bits from the resourceid, just like win95 does.
[wine/multimedia.git] / misc / tapi32.c
blob331518d0329238458863a3db4aa78da41d08cf57
1 /*
2 * TAPI32
4 * Copyright (c) 1998 Andreas Mohr
5 */
7 #include <string.h>
8 #include <stdlib.h>
9 #include <stdio.h>
10 #include "wintypes.h"
11 #include "debug.h"
13 UINT WINAPI lineInitialize(
14 LPVOID lphLineApp, /* FIXME */
15 HINSTANCE hInstance,
16 LPVOID lpfnCallback, /* FIXME */
17 LPCSTR lpszAppName,
18 LPDWORD lpdwNumDevs)
20 FIXME(comm, "stub.\n");
21 return 0;
24 UINT WINAPI lineShutdown( HANDLE hLineApp ) /* FIXME */
26 FIXME(comm, "stub.\n");
27 return 0;
30 UINT WINAPI lineNegotiateAPIVersion(
31 HANDLE hLineApp, /* FIXME */
32 DWORD dwDeviceID,
33 DWORD dwAPILowVersion,
34 DWORD dwAPIHighVersion,
35 LPDWORD lpdwAPIVersion,
36 LPVOID lpExtensionID /* FIXME */
39 FIXME(comm, "stub.\n");
40 *lpdwAPIVersion = dwAPIHighVersion;
41 return 0;
44 /*************************************************************************
45 * lineRedirect32 [TAPI32.53]
48 LONG WINAPI lineRedirect(
49 HANDLE* hCall,
50 LPCSTR lpszDestAddress,
51 DWORD dwCountryCode) {
53 FIXME(comm, ": stub.\n");
54 return -1;
55 /* return LINEERR_OPERATIONFAILED; */
58 /*************************************************************************
59 * tapiRequestMakeCall32 [TAPI32.113]
62 LONG WINAPI tapiRequestMakeCall(
63 LPCSTR lpszDestAddress,
64 LPCSTR lpszAppName,
65 LPCSTR lpszCalledParty,
66 LPCSTR lpszComment) {
68 FIXME(comm, ": stub.\n");
69 return -1;
70 /* return TAPIERR_REQUESTQUEUEFULL; */