⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 stafostypes.h

📁 Software Testing Automation Framework (STAF)的开发代码
💻 H
字号:
/*****************************************************************************//* Software Testing Automation Framework (STAF)                              *//* (C) Copyright IBM Corp. 2001                                              *//*                                                                           *//* This software is licensed under the Common Public License (CPL) V1.0.     *//*****************************************************************************/#ifndef STAF_OSTypes#define STAF_OSTypes/* Disable "identifier truncated" message from VC++ */ #ifdef _MSC_VER#pragma warning(disable:4786)#endif /* Define the STAF Operating System flag */#define STAF_OS_TYPE_WIN32#define STAF_CONFIG_NoSTDSetTerminate// XXX: Define this flag to ask windows.h not to include additional headers#ifndef WIN32_LEAN_AND_MEAN#define WIN32_LEAN_AND_MEAN#endif/* Include Base Operating System types */#include <windows.h>#include <winbase.h>#include <winnls.h>/* The Platform SDK shipped with MSVC++ V6 didn't define this, but it is in *//* later Platform SDKs, such as needed to build IA-64 support.              */#ifndef INVALID_FILE_ATTRIBUTES#define INVALID_FILE_ATTRIBUTES ((DWORD)-1)#endif/* Include Socket types */#ifdef STAF_USE_IPV6#include <winsock2.h>#include <ws2tcpip.h>#else#include <winsock.h>#endif #define SOCEINPROGRESS WSAEINPROGRESS#define SOCEWOULDBLOCK WSAEWOULDBLOCK#define SOCEINTR WSAEINTR#define STAF_MSG_NOSIGNAL 0typedef SOCKET STAFSocket_t;typedef int STAFSocketLen_t;/* Define necessary types */typedef DWORD STAFProcessID_t;typedef HANDLE STAFProcessHandle_t;typedef HANDLE STAFUserID_t;typedef unsigned int STAFThreadID_t;typedef long STAFThreadSafeScalar_t;/* Include process definitions */#include <process.h>#define SYSLINK __stdcall#endif

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -