获取(x,y)的颜色
| 884 | } |
| 885 | // 获取(x,y)的颜色 |
| 886 | STDMETHODIMP OpAutomation::GetColor(LONG x, LONG y, BSTR *ret) { |
| 887 | wstring s; |
| 888 | obj.GetColor(x, y, s); |
| 889 | |
| 890 | CComBSTR newstr; |
| 891 | newstr.Append(s.data()); |
| 892 | newstr.CopyTo(ret); |
| 893 | return S_OK; |
| 894 | } |
| 895 | |
| 896 | STDMETHODIMP OpAutomation::SetDisplayInput(BSTR mode, LONG *ret) { |
| 897 | obj.SetDisplayInput(mode, ret); |
no test coverage detected