DirectX SDK

Common Chunks

The following chunks occur within various list chunks and forms.

GUID Chunk

<guid-ck> -> guid( <GUID> )

This is the GUID identifier of the element.

Version Chunk

<vers-ck> -> vers( <DMUS_IO_VERSION> )

This chunk contains version information for the element.

UNFO Chunk

<UNFO-list> -> LIST( 'UNFO' 
    <unfo-text-ck>... 
    ) 

The UNFO chunk is like a standard RIFF INFO list, except that it uses Unicode characters. INFO and UNFO lists consist of various chunks that contain null-terminated strings.

Reference List Chunk

The reference list chunk contains information about a reference to an object in another file. For example, a band object might contain a reference to a DLS collection in a separate file.

The notation for a reference list is as follows:

<DMRF-list> ->LIST( 'DMRF'
    <refh-ck>       // Reference header
    [<guid-ck>]     // Object GUID
    [<date-ck>]     // File date
    [<name-ck>]     // Name
    [<file-ck>]     // File name
    [<catg-ck>]     // Category name
    [<vers-ck>]     // Version information
)

The data begins with a header that includes information about the object being referred to:

<refh-ck> -> refh( <DMUS_IO_REFERENCE> )

All other chunks are optional. The GUID and version chunks were described previously. The notation for the others is as follows:

<date-ck> -> date( <FILETIME> )
<name-ck> -> name( <WCHAR>... )  // Null-terminated string
<file-ck> -> file( <WCHAR>... )  // Null-terminated string
<catg-ck> -> catg( <WCHAR>... )  // Null-terminated string