MCPcopy Create free account
hub / github.com/WallBreaker2/op / GetWindowClass

Method GetWindowClass

libop/com/OpAutomation.cpp:288–296  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

286}
287
288STDMETHODIMP OpAutomation::GetWindowClass(LONGLONG hwnd, BSTR *retstring) {
289 wstring s;
290 obj.GetWindowClass(static_cast<LONG_PTR>(hwnd), s);
291
292 CComBSTR newbstr;
293 newbstr.Append(s.data());
294 newbstr.CopyTo(retstring);
295 return S_OK;
296}
297
298STDMETHODIMP OpAutomation::GetWindowProcessId(LONGLONG hwnd, LONG *nretpid) {
299 obj.GetWindowProcessId(static_cast<LONG_PTR>(hwnd), nretpid);

Callers 1

OpGetWindowClassFunction · 0.45

Calls 2

CopyToMethod · 0.80
dataMethod · 0.45

Tested by

no test coverage detected