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

📄 vm_file_win.h

📁 audio-video-codecs.rar语音编解码器
💻 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.
//
*/
/*
 * VM 64-bits buffered file operations library
 *    Windows definitions
 */
#ifndef  VM_FILE_WIN_H
#  define VM_FILE_WIN_H
#  include <windows.h>
#  include <Winbase.h>
#  include <stdarg.h>
#  include <string.h>
#  include "vm_mutex.h"
#  if _MSC_VER >= 1400
#    pragma warning( disable: 4996 )
#  endif

#    define VM_TEMPORARY_PREFIX 0x55

#define vm_stdin  (vm_file *)3
#define vm_stderr (vm_file *)1
#define vm_stdout (vm_file *)2


typedef struct {
  HANDLE fd;
  vm_mutex lck;
  vm_char *tbuf;    /* temporary buffer for character io operations */
  Ipp64u fsize;
  Ipp32u fattributes;
  Ipp8u   ftemp; /* temporary flag sign - added to support temporary files VM_TEMPORARY_PREFIX - temporary file */
  } vm_file;

typedef struct {
  HANDLE handle;
  WIN32_FIND_DATA ent;
  } vm_dir;
#endif

⌨️ 快捷键说明

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