source: trunk/include/winuser32.h@ 7002

Last change on this file since 7002 was 6904, checked in by sandervl, 24 years ago

* empty log message *

File size: 2.5 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
[6903]10#if !defined(NO_DCDATA) && (defined(INCL_GPI) && defined(OS2_INCLUDED))
[4860]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);
[6903]32HWND WIN32API Win32ToOS2FrameHandle(HWND hwndWin32);
[4848]33HWND WIN32API OS2ToWin32Handle(HWND hwnd);
34
[4855]35BOOL WIN32API IsSystemPen(HPEN hPen);
36BOOL WIN32API IsSystemBrush(HBRUSH hBrush);
37
[6167]38HICON WIN32API GetOS2Icon(HICON hIcon);
39
[5263]40//Turns native OS/2 window into window recognized by Odin (with only very
41//limited functionality)
42//Useful for creating an Odin window with an OS/2 window as parent.
43HWND WIN32API CreateFakeWindowEx(HWND hwndOS2);
44
[5991]45#define WIN32_APPEARANCE 0
46#define OS2_APPEARANCE 1
47void WIN32API SetWindowAppearance(BOOL fOS2Looks);
48
[6479]49BOOL WIN32API OSLibWinCreateObject(LPSTR pszPath, LPSTR pszArgs, LPSTR pszWorkDir, LPSTR pszName,
50 LPSTR pszDescription, LPSTR pszIcoPath, INT iIcoNdx, BOOL fDesktop);
51
[6904]52typedef BOOL (* WIN32API VISRGN_NOTIFY_PROC)(HWND hwnd, BOOL fDrawingAllowed, DWORD dwUserData);
[6903]53//******************************************************************************
54// WinSetVisibleRgnNotifyProc
55// To set a notification procedure for visible region changes of a specific window.
56// The procedure will be called when a WM_VRNENABLED message is posted
57// with ffVisRgnChanged set to TRUE
58//
59// Parameters:
60// HWND hwnd window handle
61// VISRGN_NOTIFY_PROC lpNotifyProc notification proc or NULL to clear proc
62// DWORD dwUserData value used as 3rd parameter during
63// visible region callback
64//
65// NOTE: Internal API
66//******************************************************************************
67BOOL WIN32API WinSetVisibleRgnNotifyProc(HWND hwnd, VISRGN_NOTIFY_PROC lpNotifyProc, DWORD dwUserData);
68
[3707]69#endif //__WINUSER32_H__
Note: See TracBrowser for help on using the repository browser.