Microsoft DirectX 9.0

IAMDroppedFrames::GetDroppedInfo

The GetDroppedInfo method retrieves an array of frame numbers that were dropped.

Syntax

HRESULT GetDroppedInfo(
  long lSize,
  long *plArray,
  long *plNumCopied
);

Parameters

lSize

[in]  Specifies the size of the array.

plArray

[out]  Pointer to an array of size lSize, allocated by the caller. The method fills the array with the frame numbers of the first lSize frames that were dropped, up to a maximum number that is device-depedent.

plNumCopied

[outl]  Pointer to a variable that receives the number of items returned in plArray. This number might be less than the value of lSize.

Return Values

Returns an HRESULT value. Possible values include the following.

Return code Description
S_OK Success.
E_INVALIDARG Invalid argument; the lSize parameter must by greater than zero.
E_NOTIMPL Not implemented.
E_POINTER NULL pointer argument.
E_PROP_ID_UNSUPPORTED Not supported by this device.

See Also