nw::ut::IsValidBinaryFile Function

Syntax

bool IsValidBinaryFile(
     const BinaryFileHeader * pHeader,
     u32 signature,
     u32 version,
     u16 minBlocks = 1
);

Arguments

Name Description
in pHeader Pointer to the file header to be checked.
in signature Signature that should be stored
in version Version that should be stored
in minBlocks Minimum number of binary blocks that should be stored

Return Values

Returns true if all checks are passed; otherwise, returns false.

Description

Checks the validity of the NintendoWare standard binary file header.

Revision History

2009/10/20
Initial version.

CONFIDENTIAL