[ TDx_DrawVideoPort ]
[ next: GetOutputFormats() ]
[ prev: GetFieldPolarity() ]
public:
virtual HRESULT __fastcall GetInputFormats( dword* pNumFormats, TDDPixelFormat* pFormats, dword pFlags );
If you would like to submit additions or improvements to this page, click: admin@bcb-tools.com.
DESCRIPTION
Top
Parameters
See Also
The
TDx_DrawVideoPort::GetInputFormats
method
will
retrieve
the
supported
video
port
input
pixel
formats.
Setting
the
Formats
parameter
to
NULL
will
cause
the
number
of
supported
input
formats
to
be
returned
in
the
NumFormats
parameter.
If
this
method
call
fails,
the
one
of
the
following
values
will
be
returned:
DDERR_INVALIDOBJECT
DDERR_INVALIDPARAMS
DDERR_MOREDATA
PARAMETERS
Top
See Also
NumFormats
The NumFormats parameter references the size of the array referenced by the Formats parameter of this method.
When the size needed exceeds this value, the array will be filled, this parameter set to the actual size needed and a DDERR_MOREDATA error returned.
Formats
The Formats parameter references an array of TDDPixelFormat components for holding the retrieved input pixel formats if this method returns successfully.
Setting this parameter to NULL will cause the required array size to be returned in the NumFormats parameter of this method.
Flags
The Flags parameter defines flags indicating which portion of the video signal to enumerate formats for.
The described effect applies when the flag is set.
SEE ALSO
Top
Parameters