“If specified, srcPitch must be greater than or equal to WidthInBytes + srcXInBytes, and dstPitch must be greater than or equal to WidthInBytes + dstXInBytes.”
This would imply that srcPitch and dstPitch are specified in bytes, which is also how pitch is typically specified in general. srcHeight and dstHeight would appear to refer to the number of element rows, so these are not in bytes. I will check with our driver team to see how we might be able to make the documentation of this function clearer.