📄 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-2005 Intel Corporation. All Rights Reserved.
//
*/
#ifndef __VM_TYPES_H__
#define __VM_TYPES_H__
#include "sys/vm_types_win32.h"
#include "sys/vm_types_linux32.h"
#include "vm_strings.h"
#ifndef max
#define max(a,b) (((a) > (b)) ? (a) : (b))
#endif /* max */
#ifndef min
#define min(a,b) (((a) < (b)) ? (a) : (b))
#endif /* min */
#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)
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;
#ifdef __cplusplus
}
#endif /* __cplusplus */
#endif /* __VM_TYPES_H__ */
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -