stafostypes.h

来自「Software Testing Automation Framework (S」· C头文件 代码 · 共 71 行

H
71
字号
/*****************************************************************************//* 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 + =
减小字号Ctrl + -
显示快捷键?