25 references to ZLibNative
WindowsBase (25)
Base\MS\Internal\IO\Packaging\CompoundFile\CompoundFileDeflateTransform.cs (20)
96ZLibNative.ZLibStreamHandle zStream; 99ZLibNative.ErrorCode retVal = ZLibNative.CreateZLibStreamForInflate(out zStream, DEFAULT_WINDOW_BITS); 138retVal = zStream.Inflate(ZLibNative.FlushCode.SyncFlush); 238ZLibNative.ZLibStreamHandle zStream; 241ZLibNative.ErrorCode retVal = ZLibNative.CreateZLibStreamForDeflate( 243ZLibNative.CompressionLevel.DefaultCompression, 246ZLibNative.CompressionStrategy.DefaultStrategy); 287retVal = zStream.Deflate(ZLibNative.FlushCode.SyncFlush); 427private static void ThrowIfZLibError(ZLibNative.ErrorCode retVal) 435case ZLibNative.ErrorCode.Ok: 438case ZLibNative.ErrorCode.StreamEnd: 441case ZLibNative.ErrorCode.NeedDictionary: 444case ZLibNative.ErrorCode.StreamError: 447case ZLibNative.ErrorCode.DataError: 450case ZLibNative.ErrorCode.MemError: 453case ZLibNative.ErrorCode.BufError: 456case ZLibNative.ErrorCode.VersionError: 458ZLibNative.ZLibVersion));
parent\parent\InternalApis\NDP_FX\inc\ZLibNative.cs (5)
349bool res = ZLibNative.NativeMethods.FreeLibrary(handle); 438SafeLibraryHandle libHndl = ZLibNative.NativeMethods.LoadLibrary(zlibDllPath); 456IntPtr entryPoint = ZLibNative.NativeMethods.GetProcAddress(ZLibStreamHandle.zlibLibraryHandle, entryPointName); 561case State.InitializedForDeflate: return (DeflateEnd() == ZLibNative.ErrorCode.Ok); 562case State.InitializedForInflate: return (InflateEnd() == ZLibNative.ErrorCode.Ok);