Skip to content
Snippets Groups Projects
Commit f08b8196 authored by Juergen Schmied's avatar Juergen Schmied Committed by Alexandre Julliard
Browse files

Some stubs for pccard vxd to debug the native shell32.

parent 1a229642
No related branches found
No related tags found
No related merge requests found
......@@ -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)
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment