| 214 | performing a thread safe AddRef as necessary */ |
| 215 | |
| 216 | STDAPI GetInterface(LPUNKNOWN pUnk, __out void **ppv) |
| 217 | { |
| 218 | CheckPointer(ppv, E_POINTER); |
| 219 | *ppv = pUnk; |
| 220 | pUnk->AddRef(); |
| 221 | return NOERROR; |
| 222 | } |
| 223 | |
| 224 | /* Compares two interfaces and returns TRUE if they are on the same object */ |
| 225 |
no test coverage detected