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

📄 ntstream.h

📁 open arj source
💻 H
字号:
/* * $Id: ntstream.h,v 1.1 2003/01/25 15:10:04 andrew_belov Exp $ * --------------------------------------------------------------------------- * Prototypes of the functions located in NTSTREAM.C are declared here. * * */#ifndef NTSTREAM_INCLUDED#define NTSTREAM_INCLUDED#if TARGET==WIN32#include <largeint.h>/* Read/write (backup/restore) modes */#define NTSTREAMS_READ             0#define NTSTREAMS_WRITE            1/* NT stream operations structure */struct nt_sid{ HANDLE hf;                             /* Win32 file handle */ LARGE_INTEGER rem;                     /* Bytes remaining in xaction */ int is_write;                          /* 1 = write */ LPVOID lpcontext;                      /* !NULL = need to finalize */};/* Prototypes */struct nt_sid *open_streams(char *name, int is_write);void close_streams(struct nt_sid *sid);int next_stream(WIN32_STREAM_ID *dest, struct nt_sid *sid);unsigned long seek_stream_id(DWORD id, struct nt_sid *sid);unsigned long read_stream(unsigned char *dest, unsigned long bytes, struct nt_sid *sid);int create_stream(WIN32_STREAM_ID *src, struct nt_sid *sid);unsigned long write_stream(unsigned char *src, unsigned long bytes, struct nt_sid *sid);#endif  /* TARGET==WIN32 */#endif

⌨️ 快捷键说明

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