1 /*****************************************************************************
2 * asi-deltacast.h: support for Deltacast ASI cards
3 *****************************************************************************
4 * Copyright (C) 2004, 2009 VideoLAN
6 * Authors: Simon Lockhart <simon@slimey.org>
8 * This program is free software; you can redistribute it and/or modify
9 * it under the terms of the GNU General Public License as published by
10 * the Free Software Foundation; either version 2 of the License, or
11 * (at your option) any later version.
13 * This program is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 * GNU General Public License for more details.
18 * You should have received a copy of the GNU General Public License
19 * along with this program; if not, write to the Free Software
20 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
21 *****************************************************************************/
23 #ifndef _ASI_DELTACAST_H
24 #define _ASI_DELTACAST_H
26 typedef enum error_source
28 DCERR_SRC_WIN32
= 0, /*! Win32 error code */
29 DCERR_SRC_SDI_API
, /*! DELTA-sdi VIDEOMASTER error code */
30 DCERR_SRC_SDI_DRIVER
, /*! DELTA-sdi DRIVER error code */
31 DCERR_SRC_STREAMMASTER
, /*! DELTA-asi StreamMaster error code */
32 DCERR_SRC_SYSTEMSMASTER
/*! DELTA-asi SystemsMaster error code */
35 ULONG WINAPI
Dc_GetLastError (ERRORSOURCE
*pErrorSource
);
37 #define DC_ERRORCODE_MASK 0x2FFF0000 /* facility mask */
38 #define DCERR_TIMEOUT 0x80000201 /*! A time-out occured */