Compartilhar via


CDisp::CDisp (Compact 2013)

3/26/2014

Constructs a CDisp object.

Syntax

CDisp(
  LONGLONG ll,
  int Format = CDISP_HEX 
);
CDisp(
  REFCLSID clsid 
);
CDisp(
  double d 
);
CDisp(
  CRefTime t 
);
CDisp(
  IPin* pPin 
);

Parameters

  • ll
    LONGLONG value for display.
  • Format
    Whether the value should be displayed in decimal (CDISP_DEC) or (by default) hexadecimal (CDISP_HEX).
  • clsid
    Class identifier to display.
  • d
    The double value to display.
  • t
    Reference time to display. Note that passing a value of type REFERENCE_TIME will use the LONGLONG constructor.
  • pPin
    IPin interface to display a pin as "CLSID of the filter(Pin name)"; for example, CLSID_AudioRenderer(Audio input pin).

Return Value

None.

Remarks

Various constructors are provided, which allows information to be displayed in the most suitable way.

Requirements

Header

dshow.h,
Streams.h

Library

ole32.lib,
Ole32auth.lib,
Strmbase.lib,
Strmiids.lib,
uuid.lib

See Also

Reference

CDisp Class