?? sdtypes.h
字號(hào):
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
//
// Use of this source code is subject to the terms of the Microsoft end-user
// license agreement (EULA) under which you licensed this SOFTWARE PRODUCT.
// If you did not accept the terms of the EULA, you are not authorized to use
// this source code. For a copy of the EULA, please see the LICENSE.RTF on your
// install media.
//
/*****************************************************************************
* Filename: SDTYPES.H - Type Definition for HDTK
*
* SanDisk Host Developer's Toolkit
*
* Copyright (c) 1997 - 1999 SanDisk Corporation
* All rights reserved.
*
* Description:
* Data Type Definitions
*
*****************************************************************************/
#ifndef _SDTYPES_H_
#ifndef FALSE
# define FALSE (0)
#endif /* FALSE */
#ifndef TRUE
# define TRUE (!FALSE)
#endif /* TRUE */
#if 0
#define YES TRUE /* True */
#define NO FALSE /* False */
#endif
/* Pseudo types to eliminate confusion about the sizes of native types */
/* Note: these are artifacts of this package's roots in SanDisk's Host
Developer's Toolkit. Most of these are defined in Windows types.h and
wtypes.h. Keep the rest of this around to make the code happy*/
#include <windows.h>
#include <types.h>
#include <wtypes.h>
//typedef char CHAR; /* 8-bit signed */
typedef char INT08; /* 8-bit signed */
//typedef short INT16; /* 16-bit signed */
typedef short COUNT; /* 16 bit signed */
//typedef long INT32; /* 32-bit signed */
//typedef long LONG; /* 32-bit signed */
typedef unsigned char UCHAR; /* 8-bit unsigned */
typedef unsigned char UINT08; /* 8-bit unsigned */
//typedef unsigned short UINT16; /* 16-bit unsigned */
typedef unsigned short UCOUNT; /* 16-bit unsigned */
//typedef unsigned long UINT32; /* 32-bit unsigned */
//typedef unsigned long ULONG; /* 32-bit unsigned */
typedef void * SDHANDLE;
typedef UINT16 SDWIN_HANDLE;
typedef UINT16 SDCLIENT_HANDLE;
typedef unsigned char UTINY; /* unsigned 8 bit */
typedef unsigned char UTEXT; /* unsigned 8 bit for string */
typedef char TEXT; /* char for string */
typedef unsigned long BLOCKT; /* 32-bit unsigned */
typedef short PCFD; /* file desc */
#define SDVOID void /* void */
#define SDIMPORT extern /* For external data */
#define SDLOCAL static /* For internal data and functions */
#define SDGLOBAL extern /* For external functions */
/* Null pointer */
#define SDNULL ((void *)0)
typedef enum SD_YES_NO
{
NO = FALSE,
YES = TRUE
} SDBOOL;
/*---------------------- Typedefs ---------------------*/
#ifndef bool
typedef unsigned char bool;
#endif
#define BLOCKEQ0 0L
#define _SDTYPES_H_
#endif
?? 快捷鍵說(shuō)明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -