From b9f45e7a704a79eb60dea39ee4b0a811f77279e3 Mon Sep 17 00:00:00 2001 From: Raphael Junqueira Date: Thu, 1 Apr 2004 02:12:41 +0000 Subject: [PATCH] Added some stubs. --- dlls/imm32/imm32.spec | 39 +++++++++++++++++++++++++++++-- dlls/kernel/kernel32.spec | 10 ++++++++ dlls/ntdll/ntdll.spec | 48 +++++++++++++++++++++++++++++++++++---- dlls/user/misc.c | 8 +++++++ dlls/user/user32.spec | 4 ++++ 5 files changed, 103 insertions(+), 6 deletions(-) diff --git a/dlls/imm32/imm32.spec b/dlls/imm32/imm32.spec index 025a6850750..d6eb620c315 100644 --- a/dlls/imm32/imm32.spec +++ b/dlls/imm32/imm32.spec @@ -1,3 +1,4 @@ +@ stub ImmActivateLayout @ stdcall ImmAssociateContext(long long) @ stdcall ImmAssociateContextEx(long long long) @ stdcall ImmConfigureIMEA(long long long ptr) @@ -9,10 +10,13 @@ @ stub ImmDestroyIMCC @ stub ImmDestroySoftKeyboard @ stdcall ImmDisableIME(long) +@ stub ImmDisableIme +@ stub ImmEnumInputContext @ stdcall ImmEnumRegisterWordA(long ptr str long str ptr) @ stdcall ImmEnumRegisterWordW(long ptr wstr long wstr ptr) @ stdcall ImmEscapeA(long long long ptr) @ stdcall ImmEscapeW(long long long ptr) +@ stub ImmFreeLayout @ stub ImmGenerateMessage @ stdcall ImmGetCandidateListA(long long ptr long) @ stdcall ImmGetCandidateListCountA(long ptr) @@ -39,25 +43,49 @@ @ stub ImmGetIMCCSize @ stub ImmGetIMCLockCount @ stdcall ImmGetIMEFileNameA(long ptr long) -@ stdcall ImmGetIMEFileNameW(long ptr long) +@ stdcall ImmGetIMEFileNameW(long ptr long) +@ stub ImmGetImeInfoEx +@ stub ImmGetImeMenuItemsA +@ stub ImmGetImeMenuItemsW @ stdcall ImmGetOpenStatus(long) @ stdcall ImmGetProperty(long long) @ stdcall ImmGetRegisterWordStyleA(long long ptr) @ stdcall ImmGetRegisterWordStyleW(long long ptr) @ stdcall ImmGetStatusWindowPos(long ptr) @ stdcall ImmGetVirtualKey(long) +@ stub ImmIMPGetIMEA +@ stub ImmIMPGetIMEW +@ stub ImmIMPQueryIMEA +@ stub ImmIMPQueryIMEW +@ stub ImmIMPSetIMEA +@ stub ImmIMPSetIMEW @ stdcall ImmInstallIMEA(str str) @ stdcall ImmInstallIMEW(wstr wstr) @ stdcall ImmIsIME(long) @ stdcall ImmIsUIMessageA(long long long long) @ stdcall ImmIsUIMessageW(long long long long) +@ stub ImmLoadIME +@ stub ImmLoadLayout +@ stub ImmLockClientImc @ stub ImmLockIMC @ stub ImmLockIMCC +@ stub ImmLockImeDpi @ stdcall ImmNotifyIME(long long long long) +@ stub ImmPenAuxInput +@ stub ImmProcessKey +@ stub ImmPutImeMenuItemsIntoMappedFile @ stub ImmReSizeIMCC +@ stub ImmRegisterClient @ stdcall ImmRegisterWordA(long str long str) @ stdcall ImmRegisterWordW(long wstr long wstr) @ stdcall ImmReleaseContext(long long) +@ stub ImmRequestMessageA +@ stub ImmRequestMessageW +@ stub ImmSendIMEMessageExA +@ stub ImmSendIMEMessageExW +@ stub ImmSendMessageToActiveDefImeWndW +@ stub ImmSetActiveContext +@ stub ImmSetActiveContextConsoleIME @ stdcall ImmSetCandidateWindow(long ptr) @ stdcall ImmSetCompositionFontA(long ptr) @ stdcall ImmSetCompositionFontW(long ptr) @@ -65,12 +93,19 @@ @ stdcall ImmSetCompositionStringW(long long ptr long ptr long) @ stdcall ImmSetCompositionWindow(long ptr) @ stdcall ImmSetConversionStatus(long long long) -@ stub ImmSetHotKey +@ stdcall ImmSetHotKey(long long long ptr) user32.CliImmSetHotKey @ stdcall ImmSetOpenStatus(long long) @ stdcall ImmSetStatusWindowPos(long ptr) @ stub ImmShowSoftKeyboard @ stdcall ImmSimulateHotKey(long long) +@ stub ImmSystemHandler +@ stub ImmTranslateMessage +@ stub ImmUnlockClientImc @ stub ImmUnlockIMC @ stub ImmUnlockIMCC +@ stub ImmUnlockImeDpi @ stdcall ImmUnregisterWordA(long str long str) @ stdcall ImmUnregisterWordW(long wstr long wstr) +@ stub ImmWINNLSEnableIME +@ stub ImmWINNLSGetEnableStatus +@ stub ImmWINNLSGetIMEHotkey diff --git a/dlls/kernel/kernel32.spec b/dlls/kernel/kernel32.spec index d77de29154c..5eef50eb60b 100644 --- a/dlls/kernel/kernel32.spec +++ b/dlls/kernel/kernel32.spec @@ -137,12 +137,22 @@ @ stdcall AddAtomW(wstr) @ stdcall AddVectoredExceptionHandler(long ptr) ntdll.RtlAddVectoredExceptionHandler @ stdcall AllocConsole() +@ stub AllocateUserPhysicalPages @ stub AllocLSCallback @ stdcall AllocSLCallback(ptr ptr) @ stdcall AreFileApisANSI() @ stdcall BackupRead(ptr ptr long ptr long long ptr) @ stdcall BackupSeek(ptr long long ptr ptr ptr) @ stdcall BackupWrite(ptr ptr long ptr long long ptr) +@ stub BaseCheckAppcompatCache +@ stub BaseCleanupAppcompatCache +@ stub BaseCleanupAppcompatCacheSupport +@ stub BaseDumpAppcompatCache +@ stub BaseFlushAppcompatCache +@ stub BaseInitAppcompatCache +@ stub BaseInitAppcompatCacheSupport +@ stub BaseProcessInitPostImport +@ stub BaseUpdateAppcompatCache @ stdcall Beep(long long) @ stdcall BeginUpdateResourceA(str long) @ stdcall BeginUpdateResourceW(wstr long) diff --git a/dlls/ntdll/ntdll.spec b/dlls/ntdll/ntdll.spec index f629eb084d0..4df63d17aaa 100644 --- a/dlls/ntdll/ntdll.spec +++ b/dlls/ntdll/ntdll.spec @@ -39,16 +39,22 @@ @ stdcall LdrFindEntryForAddress(ptr ptr) @ stdcall LdrFindResourceDirectory_U(long ptr long ptr) @ stdcall LdrFindResource_U(long ptr long ptr) +@ stub LdrFlushAlternateResourceModules @ stdcall LdrGetDllHandle(long long ptr ptr) @ stdcall LdrGetProcedureAddress(ptr ptr long ptr) +@ stub LdrInitShimEngineDynamic @ stdcall LdrInitializeThunk(long long long long) +@ stub LdrLoadAlternateResourceModule @ stdcall LdrLoadDll(wstr long ptr ptr) @ stdcall LdrLockLoaderLock(long ptr ptr) @ stub LdrProcessRelocationBlock @ stub LdrQueryImageFileExecutionOptions @ stdcall LdrQueryProcessModuleInformation(ptr long ptr) +@ stub LdrSetAppCompatDllRedirectionCallback +@ stub LdrSetDllManifestProber @ stdcall LdrShutdownProcess() @ stdcall LdrShutdownThread() +@ stub LdrUnloadAlternateResourceModule @ stdcall LdrUnloadDll(ptr) @ stdcall LdrUnlockLoaderLock(long long) @ stub LdrVerifyImageMatchesChecksum @@ -268,6 +274,9 @@ @ stdcall RtlAcquirePebLock() @ stdcall RtlAcquireResourceExclusive(ptr long) @ stdcall RtlAcquireResourceShared(ptr long) +@ stub RtlActivateActivationContext +@ stub RtlActivateActivationContextEx +@ stub RtlActivateActivationContextUnsafeFast @ stdcall RtlAddAccessAllowedAce(ptr long long ptr) @ stdcall RtlAddAccessAllowedAceEx(ptr long long long ptr) @ stdcall RtlAddAccessDeniedAce(ptr long long ptr) @@ -337,12 +346,21 @@ @ stub RtlCustomCPToUnicodeN @ stub RtlCutoverTimeToSystemTime @ stdcall RtlDeNormalizeProcessParams(ptr) +@ stub RtlDeactivateActivationContext +@ stub RtlDeactivateActivationContextUnsafeFast +@ stub RtlDebugPrintTimes @ stub RtlDecompressBuffer @ stub RtlDecompressFragment +@ stub RtlDefaultNpAcl @ stub RtlDelete @ stdcall RtlDeleteAce(ptr long) +@ stub RtlDeleteAtomFromAtomTable @ stdcall RtlDeleteCriticalSection(ptr) @ stub RtlDeleteElementGenericTable +@ stub RtlDeleteElementGenericTableAvl +@ stub RtlDeleteNoSplay +@ stub RtlDeleteOwnersRanges +@ stub RtlDeleteRange @ stub RtlDeleteRegistryValue @ stdcall RtlDeleteResource(ptr) @ stdcall RtlDeleteSecurityObject(long) @@ -380,6 +398,9 @@ @ stdcall -ret64 RtlExtendedMagicDivide(long long long long long) @ stdcall RtlFillMemory(ptr long long) @ stdcall RtlFillMemoryUlong(ptr long long) +@ stub RtlFinalReleaseOutOfProcessMemoryStream +@ stub RtlFindActivationContextSectionGuid +@ stub RtlFindActivationContextSectionString @ stdcall RtlFindCharInUnicodeString(long ptr ptr ptr) @ stdcall RtlFindClearBits(ptr long long) @ stdcall RtlFindClearBitsAndSet(ptr long long) @@ -393,17 +414,21 @@ @ stdcall RtlFindMostSignificantBit(long long) @ stdcall RtlFindNextForwardRunClear(ptr long ptr) @ stdcall RtlFindNextForwardRunSet(ptr long ptr) +@ stub RtlFindRange @ stdcall RtlFindSetBits(ptr long long) @ stdcall RtlFindSetBitsAndClear(ptr long long) @ stdcall RtlFindSetRuns(ptr ptr long long) +@ stub RtlFirstEntrySList @ stdcall RtlFirstFreeAce(ptr ptr) @ stdcall RtlFormatCurrentUserKeyPath(ptr) @ stub RtlFormatMessage @ stdcall RtlFreeAnsiString(long) +@ stub RtlFreeHandle @ stdcall RtlFreeHeap(long long long) @ stdcall RtlFreeOemString(ptr) @ stdcall RtlFreeSid (long) @ stdcall RtlFreeUnicodeString(ptr) +@ stub RtlFreeUserThreadStack @ stub RtlGenerate8dot3Name @ stdcall RtlGetAce(ptr long ptr) @ stdcall RtlGetNtVersionNumbers(ptr ptr ptr) @@ -490,8 +515,14 @@ @ stdcall RtlPrefixString(ptr ptr long) @ stdcall RtlPrefixUnicodeString(ptr ptr long) @ stub RtlProtectHeap +@ stub RtlQueryAtomInAtomTable +@ stub RtlQueryDepthSList @ stdcall RtlQueryEnvironmentVariable_U(ptr ptr ptr) +@ stub RtlQueryHeapInformation @ stdcall RtlQueryInformationAcl(ptr ptr long long) +@ stub RtlQueryInformationActivationContext +@ stub RtlQueryInformationActiveActivationContext +@ stub RtlQueryInterfaceMemoryStream @ stub RtlQueryProcessBackTraceInformation @ stdcall RtlQueryProcessDebugInformation(long long ptr) @ stub RtlQueryProcessHeapInformation @@ -500,18 +531,28 @@ @ stub RtlQuerySecurityObject @ stub RtlQueryTagHeap @ stdcall RtlQueryTimeZoneInformation(ptr) +@ stub RtlQueueApcWow64Thread +@ stub RtlQueueWorkItem @ stdcall RtlRaiseException(ptr) @ stdcall RtlRaiseStatus(long) @ stdcall RtlRandom(ptr) -@ stdcall RtlRestoreLastWin32Error(long) RtlSetLastWin32Error +@ stub RtlRandomEx @ stdcall RtlReAllocateHeap(long long ptr long) +@ stub RtlReadMemoryStream +@ stub RtlReadOutOfProcessMemoryStream @ stub RtlRealPredecessor @ stub RtlRealSuccessor +@ stub RtlRegisterSecureMemoryCacheCallback +@ stub RtlRegisterWait +@ stub RtlReleaseActivationContext +@ stub RtlReleaseMemoryStream @ stdcall RtlReleasePebLock() @ stdcall RtlReleaseResource(ptr) @ stub RtlRemoteCall @ stdcall RtlRemoveVectoredExceptionHandler(ptr) @ stub RtlResetRtlTranslations +@ stdcall RtlRestoreLastWin32Error(long) RtlSetLastWin32Error +@ stub RtlRevertMemoryStream @ stub RtlRunDecodeUnicodeString @ stub RtlRunEncodeUnicodeString @ stdcall RtlSecondsSince1970ToTime(long ptr) @@ -579,7 +620,9 @@ @ stdcall RtlValidateHeap(long long ptr) @ stub RtlValidateProcessHeaps @ stdcall RtlVerifyVersionInfo(ptr long long long) +@ stub RtlWalkFrameChain @ stdcall RtlWalkHeap(long ptr) +@ stub RtlWriteMemoryStream @ stub RtlWriteRegistryValue @ stub RtlZeroHeap @ stdcall RtlZeroMemory(ptr long) @@ -1030,12 +1073,9 @@ @ stub RtlAddAtomToAtomTable @ stub RtlAllocateHandle @ stub RtlCreateAtomTable -@ stub RtlDeleteAtomFromAtomTable -@ stub RtlFreeHandle @ stub RtlInitializeHandleTable @ stub RtlIsValidHandle @ stub RtlLookupAtomInAtomTable -@ stub RtlQueryAtomInAtomTable @ stdcall RtlTryEnterCriticalSection(ptr) @ stub RtlEnumerateProperties @ stub RtlSetPropertyClassId diff --git a/dlls/user/misc.c b/dlls/user/misc.c index 9c36273335c..88043123281 100644 --- a/dlls/user/misc.c +++ b/dlls/user/misc.c @@ -319,3 +319,11 @@ LONG WINAPI stub_USER_492(void) { FIXME("stub\n"); return 0; } * USER_496 (USER.496) */ LONG WINAPI stub_USER_496(void) { FIXME("stub\n"); return 0; } + +/*********************************************************************** + * User32InitializeImmEntryTable + */ +BOOL WINAPI User32InitializeImmEntryTable(LPVOID ptr) { + FIXME("(%p): stub\n", ptr); + return TRUE; +} diff --git a/dlls/user/user32.spec b/dlls/user/user32.spec index e7e8e7a9d52..dee3969f89b 100644 --- a/dlls/user/user32.spec +++ b/dlls/user/user32.spec @@ -52,6 +52,8 @@ @ stdcall ChildWindowFromPoint(long long long) @ stdcall ChildWindowFromPointEx(long long long long) @ stub ClientThreadConnect +@ stub CliImmSetHotKey +@ stub ClientThreadSetup @ stdcall ClientToScreen(long ptr) @ stdcall ClipCursor(ptr) @ stdcall CloseClipboard() @@ -599,6 +601,7 @@ @ stdcall UnregisterHotKey(long long) @ stub UpdatePerUserSystemParameters @ stdcall UpdateWindow(long) +@ stdcall User32InitializeImmEntryTable(ptr) @ stdcall UserClientDllInitialize(long long ptr) DllMain # @ stub UserIsSystemResumeAutomatic # @ stub UserSetDeviceHoldState @@ -616,6 +619,7 @@ # @ stub WINNLSGetIMEHotkey @ stdcall WaitForInputIdle(long long) @ stdcall WaitMessage() +@ stub WCSToMBEx @ stdcall WinHelpA(long str long long) @ stdcall WinHelpW(long wstr long long) # @ stub WinOldAppHackoMatic