Commit 1f0c216e authored by Andreas Mohr's avatar Andreas Mohr Committed by Alexandre Julliard

Implemented/stubbed IconSize() and ControlPanelInfo() needed for Win

2.0 control.exe and paint.exe.
parent 8fec3261
...@@ -87,7 +87,7 @@ file user.exe ...@@ -87,7 +87,7 @@ file user.exe
83 pascal16 FrameRect(word ptr word) FrameRect16 83 pascal16 FrameRect(word ptr word) FrameRect16
84 pascal16 DrawIcon(word s_word s_word word) DrawIcon16 84 pascal16 DrawIcon(word s_word s_word word) DrawIcon16
85 pascal16 DrawText(word str s_word ptr word) DrawText16 85 pascal16 DrawText(word str s_word ptr word) DrawText16
86 stub BEAR86 # IconSize 86 pascal IconSize() IconSize16 # later versions: BEAR86
87 pascal16 DialogBox(word segstr word segptr) DialogBox16 87 pascal16 DialogBox(word segstr word segptr) DialogBox16
88 pascal16 EndDialog(word s_word) EndDialog16 88 pascal16 EndDialog(word s_word) EndDialog16
89 pascal16 CreateDialog(word segstr word segptr) CreateDialog16 89 pascal16 CreateDialog(word segstr word segptr) CreateDialog16
...@@ -279,7 +279,7 @@ file user.exe ...@@ -279,7 +279,7 @@ file user.exe
270 pascal16 GlobalFindAtom(str) GlobalFindAtomA 270 pascal16 GlobalFindAtom(str) GlobalFindAtomA
271 pascal16 GlobalGetAtomName(word ptr s_word) GlobalGetAtomNameA 271 pascal16 GlobalGetAtomName(word ptr s_word) GlobalGetAtomNameA
272 pascal16 IsZoomed(word) IsZoomed16 272 pascal16 IsZoomed(word) IsZoomed16
273 stub ControlPanelInfo 273 pascal16 ControlPanelInfo(word word str) ControlPanelInfo16
274 stub GetNextQueueWindow 274 stub GetNextQueueWindow
275 stub RepaintScreen 275 stub RepaintScreen
276 stub LockMyTask 276 stub LockMyTask
......
...@@ -640,6 +640,7 @@ VOID WINAPI ClientToScreen16(HWND16,LPPOINT16); ...@@ -640,6 +640,7 @@ VOID WINAPI ClientToScreen16(HWND16,LPPOINT16);
BOOL16 WINAPI ClipCursor16(const RECT16*); BOOL16 WINAPI ClipCursor16(const RECT16*);
BOOL16 WINAPI CloseClipboard16(void); BOOL16 WINAPI CloseClipboard16(void);
BOOL16 WINAPI CloseWindow16(HWND16); BOOL16 WINAPI CloseWindow16(HWND16);
void WINAPI ControlPanelInfo16(INT16, WORD, LPSTR);
HCURSOR16 WINAPI CopyCursor16(HINSTANCE16,HCURSOR16); HCURSOR16 WINAPI CopyCursor16(HINSTANCE16,HCURSOR16);
HICON16 WINAPI CopyIcon16(HINSTANCE16,HICON16); HICON16 WINAPI CopyIcon16(HINSTANCE16,HICON16);
BOOL16 WINAPI CopyRect16(RECT16*,const RECT16*); BOOL16 WINAPI CopyRect16(RECT16*,const RECT16*);
...@@ -789,6 +790,7 @@ INT16 WINAPI GetWindowTextLength16(HWND16); ...@@ -789,6 +790,7 @@ INT16 WINAPI GetWindowTextLength16(HWND16);
WORD WINAPI GetWindowWord16(HWND16,INT16); WORD WINAPI GetWindowWord16(HWND16,INT16);
VOID WINAPI HideCaret16(HWND16); VOID WINAPI HideCaret16(HWND16);
BOOL16 WINAPI HiliteMenuItem16(HWND16,HMENU16,UINT16,UINT16); BOOL16 WINAPI HiliteMenuItem16(HWND16,HMENU16,UINT16,UINT16);
DWORD WINAPI IconSize16(void);
void WINAPI InflateRect16(LPRECT16,INT16,INT16); void WINAPI InflateRect16(LPRECT16,INT16,INT16);
BOOL16 WINAPI InSendMessage16(void); BOOL16 WINAPI InSendMessage16(void);
BOOL16 WINAPI InsertMenu16(HMENU16,UINT16,UINT16,UINT16,SEGPTR); BOOL16 WINAPI InsertMenu16(HMENU16,UINT16,UINT16,UINT16,SEGPTR);
......
...@@ -1347,6 +1347,17 @@ BOOL WINAPI DrawIcon( HDC hdc, INT x, INT y, HICON hIcon ) ...@@ -1347,6 +1347,17 @@ BOOL WINAPI DrawIcon( HDC hdc, INT x, INT y, HICON hIcon )
/*********************************************************************** /***********************************************************************
* IconSize16 (USER.86)
*
* See "Undocumented Windows". Used by W2.0 paint.exe.
*/
DWORD WINAPI IconSize16( void )
{
return MAKELONG(GetSystemMetrics(SM_CYICON), GetSystemMetrics(SM_CXICON));
}
/***********************************************************************
* DumpIcon (USER.459) * DumpIcon (USER.459)
*/ */
DWORD WINAPI DumpIcon16( SEGPTR pInfo, WORD *lpLen, DWORD WINAPI DumpIcon16( SEGPTR pInfo, WORD *lpLen,
......
...@@ -29,6 +29,14 @@ LONG WINAPI GetTimerResolution16(void) ...@@ -29,6 +29,14 @@ LONG WINAPI GetTimerResolution16(void)
} }
/*********************************************************************** /***********************************************************************
* ControlPanelInfo16 (USER.273)
*/
void WINAPI ControlPanelInfo16( INT16 nInfoType, WORD wData, LPSTR lpBuffer)
{
FIXME("(%d, %04x, %p): stub.\n", nInfoType, wData, lpBuffer);
}
/***********************************************************************
* SystemParametersInfoA (USER32.540) * SystemParametersInfoA (USER32.540)
*/ */
BOOL WINAPI SystemParametersInfoA( UINT uAction, UINT uParam, BOOL WINAPI SystemParametersInfoA( UINT uAction, UINT uParam,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment