kzu_preview_patcher.h File Reference

Preview patcher. More...

Namespaces

 kanzi
 

Macros

#define KZ_FEATURE_PATCHING
 

Functions

kzsError kzuPreviewPatcherPatchFromMemory (const kanzi::Domain *domain, kzUint byteCount, const kanzi::byte *bytes, struct KzuBinarySource **out_binarySource)
 Patches with the given .KZB data. More...
 
kzsError kzuPreviewPatcherPatchFromFile (const kanzi::Domain *domain, kzString filePath, struct KzuBinarySource **out_binarySource)
 Patches with the .KZB data of given file. More...
 
kzsError kzuPreviewPatcherPatchFromFileResource (const kanzi::Domain *domain, kzString resourcePath, struct KzuBinarySource **out_binarySource)
 Patches with the .KZB data of given resource. More...
 

Detailed Description

Preview patcher.

This component provides mechanism for loading and patching .KZB binary data while running under Tool preview.

Copyright 2008-2017 by Rightware. All rights reserved.

Macro Definition Documentation

#define KZ_FEATURE_PATCHING

Function Documentation

kzsError kzuPreviewPatcherPatchFromMemory ( const kanzi::Domain domain,
kzUint  byteCount,
const kanzi::byte bytes,
struct KzuBinarySource **  out_binarySource 
)

Patches with the given .KZB data.

Returns the binary source that was created for the data. out_binarySource can be KZ_NULL.

kzsError kzuPreviewPatcherPatchFromFile ( const kanzi::Domain domain,
kzString  filePath,
struct KzuBinarySource **  out_binarySource 
)

Patches with the .KZB data of given file.

Returns the binary source that was created for the data. out_binarySource can be KZ_NULL.

kzsError kzuPreviewPatcherPatchFromFileResource ( const kanzi::Domain domain,
kzString  resourcePath,
struct KzuBinarySource **  out_binarySource 
)

Patches with the .KZB data of given resource.

Returns the binary source that was created for the data. out_binarySource can be KZ_NULL.