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
RevLine 
[3707]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
[4860]10#ifndef NO_DCDATA
11
[4591]12#include <dcdata.h>
13
[3707]14ULONG OSLibGetScreenHeight();
15ULONG OSLibGetScreenWidth();
16
[4556]17void WIN32API Calculate1PixelDelta(pDCData pHps);
18void WIN32API TestWideLine (pDCData pHps);
[4591]19BOOL WIN32API changePageXForm(pDCData pHps, POINTL *pValue, int x, int y, POINTL *pPrev);
[4556]20BOOL WIN32API setPageXForm(pDCData pHps);
[4595]21VOID WIN32API selectClientArea(pDCData pHps);
[5604]22VOID WIN32API checkOrigin(pDCData pHps);
[4556]23VOID WIN32API removeClientArea(pDCData pHps);
24LONG WIN32API clientHeight(HWND hwnd, pDCData pHps);
[6411]25int WIN32API setMapModeDC(pDCData pHps, int mode);
[4860]26#endif
[4556]27
[4591]28int WIN32API DIB_GetDIBWidthBytes( int width, int depth );
[4600]29int WIN32API BITMAP_GetWidthBytes( INT width, INT depth );
[4591]30
[4848]31HWND WIN32API Win32ToOS2Handle(HWND hwndWin32);
32HWND WIN32API OS2ToWin32Handle(HWND hwnd);
33
[4855]34BOOL WIN32API IsSystemPen(HPEN hPen);
35BOOL WIN32API IsSystemBrush(HBRUSH hBrush);
36
[6167]37HICON WIN32API GetOS2Icon(HICON hIcon);
38
[5263]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
[5991]44#define WIN32_APPEARANCE 0
45#define OS2_APPEARANCE 1
46void WIN32API SetWindowAppearance(BOOL fOS2Looks);
47
[6479]48BOOL WIN32API OSLibWinCreateObject(LPSTR pszPath, LPSTR pszArgs, LPSTR pszWorkDir, LPSTR pszName,
49 LPSTR pszDescription, LPSTR pszIcoPath, INT iIcoNdx, BOOL fDesktop);
50
[3707]51#endif //__WINUSER32_H__
Note: See TracBrowser for help on using the repository browser.