mirror of
https://github.com/reactos/wine.git
synced 2024-11-25 20:59:54 +00:00
Some stubs for pccard vxd to debug the native shell32.
This commit is contained in:
parent
1a22964240
commit
f08b81961b
16
msdos/vxd.c
16
msdos/vxd.c
@ -193,7 +193,23 @@ void WINAPI VXD_Shell( CONTEXT *context )
|
||||
case 0x0001:
|
||||
case 0x0002:
|
||||
case 0x0003:
|
||||
/* SHELL_SYSMODAL_Message
|
||||
ebx virtual maschine handle
|
||||
eax message box flags
|
||||
ecx address of message
|
||||
edi address of caption
|
||||
return response in eax
|
||||
*/
|
||||
case 0x0004:
|
||||
/* SHELL_Message
|
||||
ebx virtual maschine handle
|
||||
eax message box flags
|
||||
ecx address of message
|
||||
edi address of caption
|
||||
esi address callback
|
||||
edx reference data for callback
|
||||
return response in eax
|
||||
*/
|
||||
case 0x0005:
|
||||
VXD_BARF( context, "shell" );
|
||||
break;
|
||||
|
@ -65,6 +65,11 @@ static BOOL DeviceIo_VWin32(DWORD dwIoControlCode,
|
||||
LPDWORD lpcbBytesReturned,
|
||||
LPOVERLAPPED lpOverlapped);
|
||||
|
||||
static BOOL DeviceIo_PCCARD (DWORD dwIoControlCode,
|
||||
LPVOID lpvInBuffer, DWORD cbInBuffer,
|
||||
LPVOID lpvOutBuffer, DWORD cbOutBuffer,
|
||||
LPDWORD lpcbBytesReturned,
|
||||
LPOVERLAPPED lpOverlapped);
|
||||
/*
|
||||
* VxD names are taken from the Win95 DDK
|
||||
*/
|
||||
@ -205,6 +210,8 @@ static const struct VxDInfo VxDList[] =
|
||||
{ "AFILTER", 0x04A1, NULL, NULL },
|
||||
{ "IRLAMP", 0x04A2, NULL, NULL },
|
||||
|
||||
{ "PCCARD", 0x097C, NULL, DeviceIo_PCCARD },
|
||||
|
||||
/* WINE additions, ids unknown */
|
||||
{ "MONODEBG.VXD", 0x4242, NULL, DeviceIo_MONODEBG },
|
||||
|
||||
@ -959,6 +966,28 @@ static BOOL DeviceIo_MONODEBG(DWORD dwIoControlCode,
|
||||
}
|
||||
return TRUE;
|
||||
}
|
||||
/* pccard */
|
||||
static BOOL DeviceIo_PCCARD (DWORD dwIoControlCode,
|
||||
LPVOID lpvInBuffer, DWORD cbInBuffer,
|
||||
LPVOID lpvOutBuffer, DWORD cbOutBuffer,
|
||||
LPDWORD lpcbBytesReturned,
|
||||
LPOVERLAPPED lpOverlapped)
|
||||
{
|
||||
switch (dwIoControlCode) {
|
||||
case 0x0000: /* PCCARD_Get_Version */
|
||||
case 0x0001: /* PCCARD_Card_Services */
|
||||
default:
|
||||
FIXME( "(%ld,%p,%ld,%p,%ld,%p,%p): stub\n",
|
||||
dwIoControlCode,
|
||||
lpvInBuffer,cbInBuffer,
|
||||
lpvOutBuffer,cbOutBuffer,
|
||||
lpcbBytesReturned,
|
||||
lpOverlapped
|
||||
);
|
||||
break;
|
||||
}
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
DWORD WINAPI OpenVxDHandle(DWORD pmt)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user