Implemented/stubbed IconSize() and ControlPanelInfo() needed for Win
2.0 control.exe and paint.exe.
This commit is contained in:
parent
8fec32615b
commit
1f0c216e8f
|
@ -87,7 +87,7 @@ file user.exe
|
|||
83 pascal16 FrameRect(word ptr word) FrameRect16
|
||||
84 pascal16 DrawIcon(word s_word s_word word) DrawIcon16
|
||||
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
|
||||
88 pascal16 EndDialog(word s_word) EndDialog16
|
||||
89 pascal16 CreateDialog(word segstr word segptr) CreateDialog16
|
||||
|
@ -279,7 +279,7 @@ file user.exe
|
|||
270 pascal16 GlobalFindAtom(str) GlobalFindAtomA
|
||||
271 pascal16 GlobalGetAtomName(word ptr s_word) GlobalGetAtomNameA
|
||||
272 pascal16 IsZoomed(word) IsZoomed16
|
||||
273 stub ControlPanelInfo
|
||||
273 pascal16 ControlPanelInfo(word word str) ControlPanelInfo16
|
||||
274 stub GetNextQueueWindow
|
||||
275 stub RepaintScreen
|
||||
276 stub LockMyTask
|
||||
|
|
|
@ -640,6 +640,7 @@ VOID WINAPI ClientToScreen16(HWND16,LPPOINT16);
|
|||
BOOL16 WINAPI ClipCursor16(const RECT16*);
|
||||
BOOL16 WINAPI CloseClipboard16(void);
|
||||
BOOL16 WINAPI CloseWindow16(HWND16);
|
||||
void WINAPI ControlPanelInfo16(INT16, WORD, LPSTR);
|
||||
HCURSOR16 WINAPI CopyCursor16(HINSTANCE16,HCURSOR16);
|
||||
HICON16 WINAPI CopyIcon16(HINSTANCE16,HICON16);
|
||||
BOOL16 WINAPI CopyRect16(RECT16*,const RECT16*);
|
||||
|
@ -789,6 +790,7 @@ INT16 WINAPI GetWindowTextLength16(HWND16);
|
|||
WORD WINAPI GetWindowWord16(HWND16,INT16);
|
||||
VOID WINAPI HideCaret16(HWND16);
|
||||
BOOL16 WINAPI HiliteMenuItem16(HWND16,HMENU16,UINT16,UINT16);
|
||||
DWORD WINAPI IconSize16(void);
|
||||
void WINAPI InflateRect16(LPRECT16,INT16,INT16);
|
||||
BOOL16 WINAPI InSendMessage16(void);
|
||||
BOOL16 WINAPI InsertMenu16(HMENU16,UINT16,UINT16,UINT16,SEGPTR);
|
||||
|
|
|
@ -1346,6 +1346,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)
|
||||
*/
|
||||
|
|
|
@ -28,6 +28,14 @@ LONG WINAPI GetTimerResolution16(void)
|
|||
return (1000);
|
||||
}
|
||||
|
||||
/***********************************************************************
|
||||
* ControlPanelInfo16 (USER.273)
|
||||
*/
|
||||
void WINAPI ControlPanelInfo16( INT16 nInfoType, WORD wData, LPSTR lpBuffer)
|
||||
{
|
||||
FIXME("(%d, %04x, %p): stub.\n", nInfoType, wData, lpBuffer);
|
||||
}
|
||||
|
||||
/***********************************************************************
|
||||
* SystemParametersInfoA (USER32.540)
|
||||
*/
|
||||
|
|
Loading…
Reference in New Issue