[IMM32][IMM32_WINETEST] Re-implement ImmSetCompositionStringA/W (#4040)

- Modify ImmSetCompositionStringA and ImmSetCompositionStringW prototypes (removing const of two arguments).
- Add Imm32OpenICAndCS helper function.
- Implement Imm32SetCompositionStringAW function.
- Modify imm32_winetest (due to removal of const).
CORE-11700
This commit is contained in:
Katayama Hirofumi MZ 2021-10-17 19:32:48 +09:00 committed by GitHub
parent e98684ed8b
commit aa8fc872a0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 372 additions and 16 deletions

View file

@ -891,9 +891,9 @@ WINAPI
ImmSetCompositionStringA(
_In_ HIMC,
_In_ DWORD dwIndex,
_In_reads_bytes_opt_(dwCompLen) LPCVOID lpComp,
_Inout_updates_bytes_opt_(dwCompLen) LPVOID lpComp,
_In_ DWORD dwCompLen,
_In_reads_bytes_opt_(dwReadLen) LPCVOID lpRead,
_Inout_updates_bytes_opt_(dwReadLen) LPVOID lpRead,
_In_ DWORD dwReadLen);
BOOL
@ -901,9 +901,9 @@ WINAPI
ImmSetCompositionStringW(
_In_ HIMC,
_In_ DWORD dwIndex,
_In_reads_bytes_opt_(dwCompLen) LPCVOID lpComp,
_Inout_updates_bytes_opt_(dwCompLen) LPVOID lpComp,
_In_ DWORD dwCompLen,
_In_reads_bytes_opt_(dwReadLen) LPCVOID lpRead,
_Inout_updates_bytes_opt_(dwReadLen) LPVOID lpRead,
_In_ DWORD dwReadLen);
#define ImmSetCompositionString WINELIB_NAME_AW(ImmSetCompositionString)