Class: Gsf::InfileMSOle

Inherits:
Infile show all
Defined in:
(unknown)

Instance Method Summary collapse

Methods inherited from Infile

#child_by_aname, #child_by_index, #child_by_name, #child_by_vaname, #child_by_vname, #name_by_index, #num_children

Methods inherited from Input

#container, #container=, #copy, #dump, #dup, #eof, #eof=, #eof?, error_id, #find_vba, #modtime, #modtime=, #modtime_from_stat=, #name, #name=, #name_from_filename=, #position, #position=, #read, #read0, #read_raw, #remaining, #remaining=, #seek, #seek_emulate, #sibling, #size, #size=, #tell, #uncompress

Constructor Details

#initialize(source) ⇒ Gsf::Infile

Opens the root directory of an MS OLE file. This adds a reference to source.

Parameters:

Instance Method Details

#get_class_id(res) ⇒ Boolean

Retrieves the 16 byte indentifier (often a GUID in MS Windows apps) stored within the directory associated with ole and stores it in res.

Parameters:

  • res (Integer)

    16 byte identifier (often a GUID in MS Windows apps)

Returns:

  • (Boolean)

    TRUE on success