mirror of
https://github.com/decompals/wibo.git
synced 2025-12-12 06:45:05 +00:00
Reimplement kernel32 time functions, fix HeapReAlloc, debug log improvements
This commit is contained in:
@@ -2,7 +2,8 @@
|
||||
|
||||
namespace ole32 {
|
||||
int WIN_FUNC CoInitialize(void *pvReserved) {
|
||||
DEBUG_LOG("CoInitialize(...)\n");
|
||||
DEBUG_LOG("STUB: CoInitialize(%p)\n", pvReserved);
|
||||
(void) pvReserved;
|
||||
return 0; // S_OK
|
||||
}
|
||||
|
||||
@@ -20,7 +21,7 @@ namespace ole32 {
|
||||
const GUID *riid,
|
||||
void **ppv
|
||||
) {
|
||||
DEBUG_LOG("CoCreateInstance 0x%x %p %d 0x%x %p\n", rclsid->Data1, pUnkOuter, dwClsContext, riid->Data1, *ppv);
|
||||
DEBUG_LOG("STUB: CoCreateInstance(0x%x, %p, %d, 0x%x, %p)\n", rclsid->Data1, pUnkOuter, dwClsContext, riid->Data1, *ppv);
|
||||
*ppv = 0;
|
||||
// E_POINTER is returned when ppv is NULL, which isn't true here, but returning 1 results
|
||||
// in a segfault with mwcceppc.exe when it's told to include directories that don't exist
|
||||
|
||||
Reference in New Issue
Block a user