source: trunk/include/winuser32.h@ 6552

Last change on this file since 6552 was 6479, checked in by sandervl, 24 years ago

header updates

File size: 1.6 KB
Line 
1/*
2 * Internal functions exported by user32
3 *
4 * Project Odin Software License can be found in LICENSE.TXT
5 *
6 */
7#ifndef __WINUSER32_H__
8#define __WINUSER32_H__
9
10#ifndef NO_DCDATA
11
12#include <dcdata.h>
13
14ULONG OSLibGetScreenHeight();
15ULONG OSLibGetScreenWidth();
16
17void WIN32API Calculate1PixelDelta(pDCData pHps);
18void WIN32API TestWideLine (pDCData pHps);
19BOOL WIN32API changePageXForm(pDCData pHps, POINTL *pValue, int x, int y, POINTL *pPrev);
20BOOL WIN32API setPageXForm(pDCData pHps);
21VOID WIN32API selectClientArea(pDCData pHps);
22VOID WIN32API checkOrigin(pDCData pHps);
23VOID WIN32API removeClientArea(pDCData pHps);
24LONG WIN32API clientHeight(HWND hwnd, pDCData pHps);
25int WIN32API setMapModeDC(pDCData pHps, int mode);
26#endif
27
28int WIN32API DIB_GetDIBWidthBytes( int width, int depth );
29int WIN32API BITMAP_GetWidthBytes( INT width, INT depth );
30
31HWND WIN32API Win32ToOS2Handle(HWND hwndWin32);
32HWND WIN32API OS2ToWin32Handle(HWND hwnd);
33
34BOOL WIN32API IsSystemPen(HPEN hPen);
35BOOL WIN32API IsSystemBrush(HBRUSH hBrush);
36
37HICON WIN32API GetOS2Icon(HICON hIcon);
38
39//Turns native OS/2 window into window recognized by Odin (with only very
40//limited functionality)
41//Useful for creating an Odin window with an OS/2 window as parent.
42HWND WIN32API CreateFakeWindowEx(HWND hwndOS2);
43
44#define WIN32_APPEARANCE 0
45#define OS2_APPEARANCE 1
46void WIN32API SetWindowAppearance(BOOL fOS2Looks);
47
48BOOL WIN32API OSLibWinCreateObject(LPSTR pszPath, LPSTR pszArgs, LPSTR pszWorkDir, LPSTR pszName,
49 LPSTR pszDescription, LPSTR pszIcoPath, INT iIcoNdx, BOOL fDesktop);
50
51#endif //__WINUSER32_H__
Note: See TracBrowser for help on using the repository browser.