Release 970415
[wine/multimedia.git] / graphics / escape.c
blobd742fc12b4ba2c1b4695b1a60766f4ec060861f9
1 /*
2 * Escape() function.
4 * Copyright 1994 Bob Amstadt
5 */
7 #include <stdio.h>
8 #include "windows.h"
9 #include "gdi.h"
10 #include "dc.h"
12 INT16 Escape16( HDC16 hdc, INT16 nEscape, INT16 cbInput,
13 SEGPTR lpszInData, SEGPTR lpvOutData )
15 DC * dc = DC_GetDCPtr( hdc );
16 if (!dc || !dc->funcs->pEscape) return 0;
17 return dc->funcs->pEscape( dc, nEscape, cbInput, lpszInData, lpvOutData );
20 INT32 Escape32( HDC32 hdc, INT32 nEscape, INT32 cbInput,
21 LPVOID lpszInData, LPVOID lpvOutData )
23 DC * dc = DC_GetDCPtr( hdc );
24 if (!dc || !dc->funcs->pEscape) return 0;
25 return dc->funcs->pEscape( dc, nEscape, cbInput,
26 (SEGPTR)lpszInData, (SEGPTR)lpvOutData );