C#
VB
C++
Gets the error code for the last operation performed.
A long value containing the error code for the last operation.
Refer to the Error Codes or the HRESULT error codes in the DirectShow documentation for a complete list of possible error codes.