soui 5.0.0.1
Soui5 Doc
 
Loading...
Searching...
No Matches
saccproxy-i.h
1#ifndef __SACCPROXY_I__H__
2#define __SACCPROXY_I__H__
3
4#include <interface/obj-ref-i.h>
5
6SNSBEGIN
7
8#ifdef _WIN32
9
10// Forward declaration of IAccProxy interface
11#undef INTERFACE
12#define INTERFACE IAccProxy
13DECLARE_INTERFACE_(IAccProxy, IObjRef)
14{
15 // Increments the reference count for an interface on an object
16 STDMETHOD_(long, AddRef)(THIS) PURE;
17
18 // Decrements the reference count for an interface on an object
19 STDMETHOD_(long, Release)(THIS) PURE;
20
21 // Called when the final release of the object occurs
22 STDMETHOD_(void, OnFinalRelease)(THIS) PURE;
23
24 // Retrieves the name of the accessible object
25 STDMETHOD(get_accName)(THIS_ BSTR * pszName) PURE;
26
27 // Retrieves the value of the accessible object
28 STDMETHOD(get_accValue)(THIS_ BSTR * pszValue) PURE;
29
30 // Retrieves the description of the accessible object
31 STDMETHOD(get_accDescription)(THIS_ BSTR * pszDescription) PURE;
32
33 // Retrieves the role of the accessible object
34 STDMETHOD(get_accRole)(THIS_ VARIANT * pvarRole) PURE;
35
36 // Retrieves the state of the accessible object
37 STDMETHOD(get_accState)(THIS_ VARIANT * pvarState) PURE;
38
39 // Retrieves the help string for the accessible object
40 STDMETHOD(get_accHelp)(THIS_ BSTR * pszHelp) PURE;
41
42 // Retrieves the help topic for the accessible object
43 STDMETHOD(get_accHelpTopic)(THIS_ BSTR * pszHelpFile, long *pidTopic) PURE;
44
45 // Retrieves the keyboard shortcut for the accessible object
46 STDMETHOD(get_accKeyboardShortcut)(THIS_ BSTR * pszKeyboardShortcut) PURE;
47
48 // Retrieves the default action for the accessible object
49 STDMETHOD(get_accDefaultAction)(THIS_ BSTR * pszDefaultAction) PURE;
50
51 // Selects the accessible object
52 STDMETHOD(accSelect)(THIS_ long flagsSelect) PURE;
53
54 // Performs the default action for the accessible object
55 STDMETHOD(accDoDefaultAction)(THIS) PURE;
56
57 // Sets the name of the accessible object
58 STDMETHOD(put_accName)(THIS_ BSTR szName) PURE;
59
60 // Sets the value of the accessible object
61 STDMETHOD(put_accValue)(THIS_ BSTR szValue) PURE;
62};
63
64#endif //_WIN32
65
66SNSEND
67#endif // __SACCPROXY_I__H__
Interface for reference counting.
Definition obj-ref-i.h:19