Some stubs for pccard vxd to debug the native shell32.

This commit is contained in:
Juergen Schmied 1999-05-22 10:33:50 +00:00 committed by Alexandre Julliard
parent 1a22964240
commit f08b81961b
2 changed files with 45 additions and 0 deletions

View file

@ -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;

View file

@ -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)
{