~stomato463/+junk/nvdajp

« back to all changes in this revision

Viewing changes to nvdaHelper/interfaces/displayModel/displayModel.idl

  • Committer: Masataka Shinke
  • Date: 2011-10-25 12:35:26 UTC
  • mfrom: (4185 jpmain)
  • mto: This revision was merged to the branch mainline in revision 4211.
  • Revision ID: mshinke@users.sourceforge.jp-20111025123526-ze527a2rl3z0g2ky
lp:~nishimotz/nvdajp/main : 4185 をマージ

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
This file is a part of the NVDA project.
 
3
URL: http://www.nvda-project.org/
 
4
Copyright 2006-2010 NVDA contributers.
 
5
    This program is free software: you can redistribute it and/or modify
 
6
    it under the terms of the GNU General Public License version 2.0, as published by
 
7
    the Free Software Foundation.
 
8
    This program is distributed in the hope that it will be useful,
 
9
    but WITHOUT ANY WARRANTY; without even the implied warranty of
 
10
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
 
11
This license can be found at:
 
12
http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
 
13
*/
 
14
 
 
15
cpp_quote("/*")
 
16
cpp_quote("This file is a part of the NVDA project.")
 
17
cpp_quote("URL: http://www.nvda-project.org/")
 
18
cpp_quote("Copyright 2006-2010 NVDA contributers.")
 
19
cpp_quote("This program is free software: you can redistribute it and/or modify")
 
20
cpp_quote("it under the terms of the GNU General Public License version 2.0, as published by")
 
21
cpp_quote("the Free Software Foundation.")
 
22
cpp_quote("This program is distributed in the hope that it will be useful,")
 
23
cpp_quote("but WITHOUT ANY WARRANTY; without even the implied warranty of")
 
24
cpp_quote("MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.")
 
25
cpp_quote("This license can be found at:")
 
26
cpp_quote("http://www.gnu.org/licenses/old-licenses/gpl-2.0.html")
 
27
cpp_quote("*/")
 
28
 
 
29
import "wtypes.idl";
 
30
 
 
31
[
 
32
        uuid(F624BAF9-2020-453a-B781-05ECF6E4EF54),
 
33
        version(1.0),
 
34
]
 
35
interface DisplayModel {
 
36
 
 
37
/**
 
38
 * Retreaves the text within the given rectangle (in client coordinates), within the given window.
 
39
  */
 
40
        error_status_t getWindowTextInRect([in] handle_t bindingHandle, [in] const long windowHandle, [in] const int left, [in] const int top, [in] const int right, [in] const int bottom, [in] const int minHorizontalWhitespace, [in] const int minVerticalWhitespace, [in] boolean usexML, [out,string] BSTR* text, [out, string] BSTR* characterPoints);
 
41
 
 
42
/**
 
43
 * Request that text change notifications be sent when text is updated in the given window.
 
44
 * @param enable if true then notifications will start or if already started a reference count will be increased. If flase then the reference count will be decreased and if it hits 0 notifications will stop.
 
45
 */
 
46
        error_status_t requestTextChangeNotificationsForWindow([in] handle_t bindingHandle, [in] const long windowHandle, [in] const BOOL enable);
 
47
 
 
48
 
 
49
}