⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 dvoraksip.tlh

📁 这个是可以用于windos mobile平台下面的软键盘的代码
💻 TLH
字号:
// Created by Microsoft (R) C/C++ Compiler Version 12.00.8168.0 (7f3c0272).
//
// dvoraksip.tlh
//
// C++ source equivalent of Win32 type library D:\Project_Test\KeyBoard\MRSSIP\dvoraksip.tlb
// compiler-generated file created 08/16/05 at 14:28:20 - DO NOT EDIT!

#pragma once
#pragma pack(push, 8)

#include <comdef.h>

//
// Forward references and typedefs
//

struct _tagImInfo;
struct __declspec(uuid("42429669-ae04-11d0-a4f8-00aa00a749b9"))
/* interface */ IIMCallback;
struct __declspec(uuid("42429666-ae04-11d0-a4f8-00aa00a749b9"))
/* interface */ IInputMethod;
struct _tagSipInfo;
struct /* coclass */ CMSDvorakIm;

//
// Smart pointer typedef declarations
//

_COM_SMARTPTR_TYPEDEF(IIMCallback, __uuidof(IIMCallback));
_COM_SMARTPTR_TYPEDEF(IInputMethod, __uuidof(IInputMethod));

//
// Type library items
//

struct _tagImInfo
{
    unsigned long cbSize;
    void * hImageNarrow;
    void * hImageWide;
    int iNarrow;
    int iWide;
    unsigned long fdwFlags;
    struct tagRECT rcSipRect;
};

struct __declspec(uuid("42429669-ae04-11d0-a4f8-00aa00a749b9"))
IIMCallback : IUnknown
{
    //
    // Raw methods provided by interface
    //

    virtual HRESULT __stdcall SetImInfo (
        struct _tagImInfo * pimi ) = 0;
    virtual HRESULT __stdcall SendVirtualKey (
        unsigned char bVK,
        unsigned long dwFlags ) = 0;
    virtual HRESULT __stdcall SendCharEvents (
        unsigned int uVK,
        unsigned int uKeyFlags,
        unsigned int uChars,
        unsigned int * puShift,
        unsigned int * puChars ) = 0;
    virtual HRESULT __stdcall SendString (
        BSTR ptszStr,
        unsigned long dwChars ) = 0;
};

struct __declspec(uuid("42429666-ae04-11d0-a4f8-00aa00a749b9"))
IInputMethod : IUnknown
{
    //
    // Raw methods provided by interface
    //

    virtual HRESULT __stdcall Select (
        wireHWND hwndSip ) = 0;
    virtual HRESULT __stdcall Deselect ( ) = 0;
    virtual HRESULT __stdcall Showing ( ) = 0;
    virtual HRESULT __stdcall Hiding ( ) = 0;
    virtual HRESULT __stdcall GetInfo (
        struct _tagImInfo * pimi ) = 0;
    virtual HRESULT __stdcall ReceiveSipInfo (
        struct _tagSipInfo * psi ) = 0;
    virtual HRESULT __stdcall RegisterCallback (
        struct IIMCallback * lpIMCallback ) = 0;
    virtual HRESULT __stdcall GetImData (
        unsigned long dwSize,
        void * pvImData ) = 0;
    virtual HRESULT __stdcall SetImData (
        unsigned long dwSize,
        void * pvImData ) = 0;
    virtual HRESULT __stdcall UserOptionsDlg (
        wireHWND hwndParent ) = 0;
};

struct _tagSipInfo
{
    unsigned int cbSize;
    unsigned int fdwFlags;
    struct tagRECT rcVisibleDesktop;
    struct tagRECT rcSipRect;
};

struct __declspec(uuid("42429695-ae04-11d0-a4f8-00aa00a749b9"))
CMSDvorakIm;
    // [ default ] interface IInputMethod

//
// Named GUID constants initializations
//

extern "C" const GUID __declspec(selectany) LIBID_DVORAKSIPLib =
    {0x5863cffb,0xc83a,0x45a8,{0xa1,0xf6,0x6a,0x87,0xc0,0x5c,0x12,0x75}};
extern "C" const GUID __declspec(selectany) IID_IIMCallback =
    {0x42429669,0xae04,0x11d0,{0xa4,0xf8,0x00,0xaa,0x00,0xa7,0x49,0xb9}};
extern "C" const GUID __declspec(selectany) IID_IInputMethod =
    {0x42429666,0xae04,0x11d0,{0xa4,0xf8,0x00,0xaa,0x00,0xa7,0x49,0xb9}};
extern "C" const GUID __declspec(selectany) CLSID_CMSDvorakIm =
    {0x42429695,0xae04,0x11d0,{0xa4,0xf8,0x00,0xaa,0x00,0xa7,0x49,0xb9}};

#pragma pack(pop)

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -