📄 vm_types.h
字号:
/*
//
// INTEL CORPORATION PROPRIETARY INFORMATION
// This software is supplied under the terms of a license agreement or
// nondisclosure agreement with Intel Corporation and may not be copied
// or disclosed except in accordance with the terms of that agreement.
// Copyright(c) 2003-2007 Intel Corporation. All Rights Reserved.
//
*/
#ifndef __VM_TYPES_H__
#define __VM_TYPES_H__
#ifdef LINUX32
#include "sys/vm_types_linux32.h"
#else /* LINUX32 */
#include "sys/vm_types_win32.h"
#endif /* LINUX32 */
#include "vm_strings.h"
#ifndef NOMINMAX
#ifndef abs
#define abs(a) (((a) < 0) ? -(a) : (a))
#endif /* abs */
#ifdef LINUX32
#ifndef min
#define min(a, b) (((a) < (b)) ? (a) : (b))
#endif /* min */
#ifndef max
#define max(a, b) (((a) < (b)) ? (b) : (a))
#endif /* max */
#endif /* LINUX32 */
#endif // NOMINMAX
#ifdef __cplusplus
extern "C"
{
#endif /* __cplusplus */
#define VM_ALIGN16_DECL(X) VM_ALIGN_DECL(16,X)
#define VM_ALIGN32_DECL(X) VM_ALIGN_DECL(32,X)
#define _MAX_LEN 256
typedef enum e_vm_Status
{
VM_OK = 0, // no error
VM_OPERATION_FAILED =-999,
VM_NOT_INITIALIZED =-998,
VM_TIMEOUT =-987,
VM_NOT_ENOUGH_DATA =-996, // not enough input data
VM_NULL_PTR =-995,
VM_SO_CANT_LOAD =-994,
VM_SO_INVALID_HANDLE =-993,
VM_SO_CANT_GET_ADDR =-992
} vm_status;
#include "vm_file.h"
#ifdef __cplusplus
}
#endif /* __cplusplus */
#endif /* __VM_TYPES_H__ */
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -