Home | Info | Community | Development | myReactOS | Contact Us
[static]
Definition at line 1193 of file samplegrabber.c.
{ SG_Pin *This = (SG_Pin *)iface; TRACE("(%p)->(%p)\n", This, mtype); if (!mtype) return E_POINTER; if (!This->pair) return VFW_E_NOT_CONNECTED; *mtype = This->sg->mtype; if (mtype->cbFormat) { mtype->pbFormat = CoTaskMemAlloc(mtype->cbFormat); CopyMemory(mtype->pbFormat, This->sg->mtype.pbFormat, mtype->cbFormat); } return S_OK; }