bincomp.h
来自「WinCE5.0部分核心源码」· C头文件 代码 · 共 62 行
H
62 行
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
//
// This source code is licensed under Microsoft Shared Source License
// Version 1.0 for Windows CE.
// For a copy of the license visit http://go.microsoft.com/fwlink/?LinkId=3223.
//
/*++
Module Name: bincomp.h
Abstract:
Contents:
--*/
#ifndef _BINCOMP_H_
#define _BINCOMP_H_
// Error codes for BinCompress and BinDecompress APIs.
#define BC_ERROR_NO_ERROR 0
#define BC_ERROR_NOT_ENOUGH_MEMORY 1
#define BC_ERROR_INVALID_PARAMETER 2
#define BC_ERROR_BUFFER_OVERFLOW 3
#define BC_ERROR_FAILURE 4
#define BC_ERROR_CONFIGURATION 5
int BinCompress(
IN DWORD dwWindowSize,
IN PVOID pvSource,
IN DWORD cbSource,
OUT PVOID pvDestination,
IN OUT PDWORD pcbDestination
);
int BinCompressROM(
IN DWORD dwWindowSize,
IN PVOID pvSource,
IN DWORD cbSource,
OUT PVOID pvDestination,
IN OUT PDWORD pcbDestination
);
int BinDecompress(
IN PVOID pvSource,
IN DWORD cbSource,
OUT PVOID pvDestination,
IN OUT PDWORD pcbDestination
);
int BinDecompressROM(
IN PVOID pvSource,
IN DWORD cbSource,
OUT PVOID pvDestination,
IN OUT PDWORD pcbDestination
);
#endif // _BINCOMP_H_
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?