Lines Matching refs:method
55 * Calls the given method of the given interface and then checks if the return
64 #define CHECK_ERROR(iface, method) \
66 rc = iface->method; \
68 com::GlueHandleComError(iface, #method, rc, __FILE__, __LINE__); \
75 #define CHECK_ERROR_STMT(iface, method, stmt) \
77 rc = iface->method; \
80 com::GlueHandleComError(iface, #method, rc, __FILE__, __LINE__); \
89 #define CHECK_ERROR2_STMT(iface, method, stmt) \
91 HRESULT hrcCheck = iface->method; \
94 com::GlueHandleComError(iface, #method, hrcCheck, __FILE__, __LINE__); \
105 # define CHECK_ERROR_BREAK(iface, method) \
108 rc = iface->method; \
111 com::GlueHandleComError(iface, #method, rc, __FILE__, __LINE__); \
116 # define CHECK_ERROR_BREAK(iface, method) \
119 rc = iface->method; \
122 com::GlueHandleComError(iface, #method, rc, __FILE__, __LINE__); \
133 #define CHECK_ERROR_RET(iface, method, ret) \
135 rc = iface->method; \
138 com::GlueHandleComError(iface, #method, rc, __FILE__, __LINE__); \
152 * @param method The method to invoke together with the parameters.
154 * the status code of the method call.
156 #define CHECK_ERROR2_RET(iface, method, rcRet) \
158 HRESULT hrcCheck = iface->method; \
161 com::GlueHandleComError(iface, #method, hrcCheck, __FILE__, __LINE__); \