2019-05-03 00:29:04 +02:00
|
|
|
/*++
|
|
|
|
|
|
|
|
Copyright (c) Microsoft Corporation.
|
|
|
|
Licensed under the MIT license.
|
|
|
|
|
|
|
|
Module Name:
|
|
|
|
|
|
|
|
contsf.h
|
|
|
|
|
|
|
|
Abstract:
|
|
|
|
|
|
|
|
This module contains the internal structures and definitions used
|
|
|
|
by the console IME.
|
|
|
|
|
|
|
|
Author:
|
|
|
|
|
|
|
|
v-HirShi Jul.4.1995
|
|
|
|
|
|
|
|
Revision History:
|
|
|
|
|
|
|
|
--*/
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include "conime.h"
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
2019-06-11 22:27:09 +02:00
|
|
|
typedef RECT (*GetSuggestionWindowPos)();
|
2021-10-04 16:29:56 +02:00
|
|
|
typedef RECT (*GetTextBoxAreaPos)();
|
2019-05-03 00:29:04 +02:00
|
|
|
|
2021-10-04 16:29:56 +02:00
|
|
|
BOOL ActivateTextServices(HWND hwndConsole, GetSuggestionWindowPos pfnPosition, GetTextBoxAreaPos pfnTextArea);
|
2019-06-11 22:27:09 +02:00
|
|
|
void DeactivateTextServices();
|
|
|
|
BOOL NotifyTextServices(UINT uMsg, WPARAM wParam, LPARAM lParam, LRESULT* lplResult);
|
2019-05-03 00:29:04 +02:00
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|