📄 sc_types.h
字号:
/*------------------------------------------------------------------------------
$File: //tdi_sw/tdi/source/common/sc_types.h $
$DateTime: 2004/12/20 19:06:16 $
$Revision: #5 $
Purpose: This file holds the standard types for USBLink.
------------------------------------------------------------------------------*/
/*------------------------------------------------------------------------------
CONFIDENTIAL AND PROPRIETARY INFORMATION OF SOFTCONNEX TECHNOLOGIES, INC.
THIS NOTICE IS NOT TO BE DELETED, MODIFIED, MOVED OR CHANGED IN ANY WAY.
Copyright (c) 1999 - 2004 by SoftConnex Technologies, Inc.
This software is protected by copyright laws and international copyright
treaties, as well as other intellectual property laws and treaties. This
software is a CONFIDENTIAL, unpublished work of authorship, and with portions
constituting TRADE SECRETS of SoftConnex Technologies, Inc., a Delaware USA
corporation. Any unauthorized use, disclosure, and/or reproduction of this
software, or any part of this software; or distribution of this software in any
form or by any means; or storage of this software in any database or retrieval
system, without the express written consent of, and license from, SoftConnex
Technologies, Inc. is strictly prohibited. This software is protected under the
copyright and/or trade secret laws in other countries in addition to USA. All
Rights Reserved. Failure to abide by the use, disclosure and/or reproduction
restrictions may result in civil and /or criminal penalties, and will be
prosecuted to the maximum extent of the law.
------------------------------------------------------------------------------*/
#ifndef _SOFTCONNEX_SC_TYPES_H_
#define _SOFTCONNEX_SC_TYPES_H_
/* Use this to include the UCHAR, UINT and USHORT types. */
#include "types/vxTypesOld.h"
/*******************************************************************************
Public Definitions
*******************************************************************************/
#define SCC_TRUE 1
#define SCC_FALSE 0
#ifndef NULL
#define NULL 0
#endif
#define STATIC static
#define INLINE
/*******************************************************************************
Public Data Types
*******************************************************************************/
typedef signed int S32;
typedef signed short S16;
typedef signed char S8;
typedef unsigned int U32;
typedef unsigned short U16;
typedef unsigned char U8;
typedef unsigned int UCPU;
/*------------------------------------------------------------------------------
SoftConnex Status - This type should be used for all status reporting by
functions in USBLink.
------------------------------------------------------------------------------*/
typedef unsigned short SctUnicode;
typedef unsigned char SctBool;
typedef unsigned long SctStatus;
typedef unsigned long SctMask;
typedef unsigned long SctId;
extern void* OS_Malloc(U32 size);
extern void* OS_MallocNoncached(U32 size);
extern void OS_Free(void *buffer);
extern void OS_FreeNoncached(void *buffer);
extern void* OS_MemSet(void *ptr, U8 val, U32 len);
extern SctStatus OS_MemMove(void *dest, void *src, U32 len);
#endif /* _SOFTCONNEX_SC_TYPES_H_ */
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -