static HRESULT WINAPI IDirectMusicInstrumentImpl_SetPatch(LPDIRECTMUSICINSTRUMENT iface, DWORD dwPatch) { IDirectMusicInstrumentImpl *This = impl_from_IDirectMusicInstrument(iface); TRACE("(%p)->(%d): stub\n", This, dwPatch); Patch2MIDILOCALE(dwPatch, &This->header.Locale); return S_OK; }
static HRESULT WINAPI IDirectMusicInstrumentImpl_IDirectMusicInstrument_SetPatch (LPDIRECTMUSICINSTRUMENT iface, DWORD dwPatch) { ICOM_THIS_MULTI(IDirectMusicInstrumentImpl, InstrumentVtbl, iface); TRACE("(%p, %d): stub\n", This, dwPatch); Patch2MIDILOCALE(dwPatch, &This->pHeader->Locale); return S_OK; }