platform.h

来自「可信计算 TPM 很重要的应用底层接口封装中间层 IBM资深人员开发」· C头文件 代码 · 共 33 行

H
33
字号
/* * * There are platform dependent and general defines. * *//* * * On Windows platforms the types are: * */#ifdef _WINDOWS_ // --- This should be used on Windows platformstypedef  unsigned char  BYTE;typedef  signed char    TSS_BOOL;  // Make specific to TSS to avoid potential conflictstypedef  unsigned short UINT16;typedef  unsigned long  UINT32;typedef  unsigned short UNICODE;typedef  void*          PVOID;#endif// On Linux platforms the types are:#ifdef __GNUC__typedef unsigned char  BYTE;typedef signed char    TSS_BOOL;  // Make specific to TSS to avoid potential conflictstypedef unsigned short UINT16;typedef unsigned int   UINT32;typedef unsigned short UNICODE;typedef void*          PVOID;#endif

⌨️ 快捷键说明

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