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