| 172 | |
| 173 | |
| 174 | class IViewObjectEx(IViewObject2): |
| 175 | _case_insensitive_ = False |
| 176 | _iid_ = GUID("{3AF24292-0C96-11CE-A0CF-00AA00600AB8}") |
| 177 | _idlflags_ = [] |
| 178 | _methods_ = [ |
| 179 | COMMETHOD( |
| 180 | [], |
| 181 | HRESULT, |
| 182 | "GetRect", |
| 183 | (["in"], c_ulong, "dwAspect"), |
| 184 | (["out"], POINTER(_RECTL), "pRect"), |
| 185 | ), |
| 186 | COMMETHOD( |
| 187 | [], HRESULT, "GetViewStatus", (["out"], POINTER(c_ulong), "pdwStatus") |
| 188 | ), |
| 189 | COMMETHOD( |
| 190 | [], |
| 191 | HRESULT, |
| 192 | "QueryHitPoint", |
| 193 | (["in"], c_ulong, "dwAspect"), |
| 194 | (["in"], POINTER(tagRECT), "pRectBounds"), |
| 195 | (["in"], tagPOINT, "ptlLoc"), |
| 196 | (["in"], c_int, "lCloseHint"), |
| 197 | (["out"], POINTER(c_ulong), "pHitResult"), |
| 198 | ), |
| 199 | COMMETHOD( |
| 200 | [], |
| 201 | HRESULT, |
| 202 | "QueryHitRect", |
| 203 | (["in"], c_ulong, "dwAspect"), |
| 204 | (["in"], POINTER(tagRECT), "pRectBounds"), |
| 205 | (["in"], POINTER(tagRECT), "pRectLoc"), |
| 206 | (["in"], c_int, "lCloseHint"), |
| 207 | (["out"], POINTER(c_ulong), "pHitResult"), |
| 208 | ), |
| 209 | COMMETHOD( |
| 210 | [], |
| 211 | HRESULT, |
| 212 | "GetNaturalExtent", |
| 213 | (["in"], c_ulong, "dwAspect"), |
| 214 | (["in"], c_int, "lindex"), |
| 215 | (["in"], POINTER(tagDVTARGETDEVICE), "ptd"), |
| 216 | (["in"], HDC, "hicTargetDev"), |
| 217 | (["in"], POINTER(tagExtentInfo), "pExtentInfo"), |
| 218 | (["out"], POINTER(SIZEL), "pSizel"), |
| 219 | ), |
| 220 | ] |
| 221 | |
| 222 | |
| 223 | DVASPECT = c_int # enum |