More commentary.

This commit is contained in:
Pietro Gagliardi 2015-02-13 16:21:31 -05:00
parent 980e36a0f0
commit 3e654bf959
1 changed files with 1 additions and 0 deletions

View File

@ -248,6 +248,7 @@ HANDLER(accessibilityHandler)
// its two siblings only cast lParam, resulting in an erroneous DWORD to LONG comparison
// The Old New Thing book does not cast anything
// Microsoft's MSAA sample casts lParam to LONG instead!
// (As you can probably tell, the biggest problem with MSAA is that its documentation is ambiguous and/or self-contradictory...)
if (((DWORD) lParam) != ((DWORD) OBJID_CLIENT))
return FALSE;
*lResult = LresultFromObject(&IID_IAccessible, wParam, (LPUNKNOWN) (t->ta));