IMFExtendedCameraControl::LockPayload method (mfidl.h)
Locks the internal payload buffer contained in the capture device control to enable querying or changing the payload.
Syntax
HRESULT LockPayload(
BYTE **ppPayload,
ULONG *pulPayload
);
Parameters
ppPayload
Receives a BYTE pointer to the buffer containing the raw payload. The caller should not free the buffer directly, but instead should call IMFExtendedCameraControl::UnlockPayload to free the resources.
pulPayload
Receives the size of the buffer returned in ppPayload.
Return value
On success, returns S_OK.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 10 Build 20348 |
Minimum supported server | Windows 10 Build 20348 |
Header | mfidl.h |