2 * Win32 ordinal only exported functions that can't be stuffed somehwere else.
4 * Copyright 1997 Marcus Meissner
10 #include "selectors.h"
17 #include "stackframe.h"
18 #include "debugtools.h"
20 DECLARE_DEBUG_CHANNEL(dosmem
)
21 DECLARE_DEBUG_CHANNEL(thread
)
22 DECLARE_DEBUG_CHANNEL(win
)
23 DECLARE_DEBUG_CHANNEL(win32
)
26 /***********************************************************************
27 * GetWin16DOSEnv (KERNEL32.34)
28 * Returns some internal value.... probably the default environment database?
30 DWORD WINAPI
GetWin16DOSEnv()
32 FIXME_(dosmem
)("stub, returning 0\n");
36 /**********************************************************************
37 * GetPK16SysVar (KERNEL32.92)
39 LPVOID WINAPI
GetPK16SysVar(void)
41 static BYTE PK16SysVar
[128];
43 FIXME_(win32
)("()\n");
47 /**********************************************************************
48 * CommonUnimpStub (KERNEL32.17)
50 void WINAPI
CommonUnimpStub( CONTEXT86
*context
)
53 MESSAGE( "*** Unimplemented Win32 API: %s\n", (LPSTR
)EAX_reg(context
) );
55 switch ((ECX_reg(context
) >> 4) & 0x0f)
57 case 15: EAX_reg(context
) = -1; break;
58 case 14: EAX_reg(context
) = 0x78; break;
59 case 13: EAX_reg(context
) = 0x32; break;
60 case 1: EAX_reg(context
) = 1; break;
61 default: EAX_reg(context
) = 0; break;
64 ESP_reg(context
) += (ECX_reg(context
) & 0x0f) * 4;
67 /**********************************************************************
68 * HouseCleanLogicallyDeadHandles (KERNEL32.33)
70 void WINAPI
HouseCleanLogicallyDeadHandles(void)
72 /* Whatever this is supposed to do, our handles probably
77 BOOL WINAPI
_KERNEL32_100(HANDLE threadid
,DWORD exitcode
,DWORD x
) {
78 FIXME_(thread
)("(%d,%ld,0x%08lx): stub\n",threadid
,exitcode
,x
);
82 DWORD WINAPI
_KERNEL32_99(DWORD x
) {
83 FIXME_(win32
)("(0x%08lx): stub\n",x
);
86 /***********************************************************************
87 * PrivateExtractIconExA [USER32.442]
89 HRESULT WINAPI
PrivateExtractIconExA ( DWORD u
, DWORD v
, DWORD w
, DWORD x
,DWORD y
)
90 { FIXME_(win
)("0x%08lx 0x%08lx 0x%08lx 0x%08lx 0x%08lx stub\n",u
,v
,w
,x
,y
);
94 /***********************************************************************
95 * PrivateExtractIconExW [USER32.443]
97 HRESULT WINAPI
PrivateExtractIconExW ( DWORD u
, DWORD v
, DWORD w
, DWORD x
,DWORD y
)
98 { FIXME_(win
)("0x%08lx 0x%08lx 0x%08lx 0x%08lx 0x%08lx stub\n",u
,v
,w
,x
,y
);
102 /***********************************************************************
103 * PrivateExtractIconsW [USER32.445]
105 HRESULT WINAPI
PrivateExtractIconsW ( DWORD r
, DWORD s
, DWORD t
, DWORD u
, DWORD v
, DWORD w
, DWORD x
, DWORD y
)
106 { FIXME_(win
)("0x%08lx 0x%08lx 0x%08lx 0x%08lx 0x%08lx 0x%08lx 0x%08lx 0x%08lx stub\n",r
,s
,t
,u
,v
,w
,x
,y
);
110 /***********************************************************************
111 * RegisterShellHookWindow [USER32.459]
113 HRESULT WINAPI
RegisterShellHookWindow ( DWORD u
)
114 { FIXME_(win
)("0x%08lx stub\n",u
);
118 /***********************************************************************
119 * DeregisterShellHookWindow [USER32.132]
121 HRESULT WINAPI
DeregisterShellHookWindow ( DWORD u
)
122 { FIXME_(win
)("0x%08lx stub\n",u
);
126 /***********************************************************************
127 * RegisterTaskList32 [USER23.436]
129 DWORD WINAPI
RegisterTaskList (DWORD x
)
130 { FIXME_(win
)("0x%08lx\n",x
);