Home COM GDI+ WebBrowser Data Access

IJolietDiscMaster Interface

 

IID_IJolietDiscMaster

{E3BC42CE-4E5C-11D3-9144-00104BA11C5E}

 

 

The IJolietDiscMaster interface enables the staging of a CD data disc. It represents one of the formats supported by MSDiscMasterObj, and it allows the creation of a single Track-at-Once data disc. The data is written to the disc with the Joliet and ISO-9660 file systems.

 

A temporary folder is constructed and added to the image. This can be repeated multiple times with the directory and file structures overlapping. The overlapping file structures appear seamlessly when read back. When the overwrite option is used, overlapping paths cause the last file added to show up in the directory, while the earlier files with conflicting names are still present on the disc but now not readable by normal means.

 

 

Methods in VTable order

IUnknown Methods

Description

QueryInterface

Returns pointers to supported interfaces.

AddRef

Increments reference count.

Release

Decrements reference count.

IJolietDiscMaster Methods

Description

GetTotalDataBlocks

Returns total data blocks available on disc.

GetUsedDataBlocks

Returns total data blocks staged in image.

GetDataBlockSize

Returns the data block size in bytes (2048).

AddData

Adds directories and files to the image file.

GetJolietProperties

Gets the properties of the Joliet interface.

SetJolietProperties

Sets the properties of the Joliet interface.

 

GetTotalDataBlocks

 

FUNCTION IJolietDiscMaster_GetTotalDataBlocks ( _
  BYVAL pthis AS DWORD PTR _

, BYREF pnBlocks AS LONG _

  ) AS LONG


  LOCAL HRESULT AS LONG
  CALL DWORD @@pthis[3] USING IJolietDiscMaster_GetTotalDataBlocks (pthis, pnBlocks) TO HRESULT
  FUNCTION = HRESULT

END FUNCTION

 

 

GetUsedDataBlocks

 

FUNCTION IJolietDiscMaster_GetUsedDataBlocks ( _
  BYVAL pthis AS DWORD PTR _

, BYREF pnBlocks AS LONG _

  ) AS LONG


  LOCAL HRESULT AS LONG
  CALL DWORD @@pthis[4] USING IJolietDiscMaster_GetUsedDataBlocks (pthis, pnBlocks) TO HRESULT
  FUNCTION = HRESULT

END FUNCTION

 

 

GetDataBlockSize

 

FUNCTION IJolietDiscMaster_GetDataBlockSize ( _
  BYVAL pthis AS DWORD PTR _

, BYREF pnBlockBytes AS LONG _

  ) AS LONG


  LOCAL HRESULT AS LONG
  CALL DWORD @@pthis[5] USING IJolietDiscMaster_GetDataBlockSize (pthis, pnBlockBytes) TO HRESULT
  FUNCTION = HRESULT

END FUNCTION

 

 

AddData

 

FUNCTION IJolietDiscMaster_AddData ( _
  BYVAL pthis AS DWORD PTR _

, BYVAL pStorage AS DWORD _

, BYVAL lFileOverwrite AS LONG _

  ) AS LONG


  LOCAL HRESULT AS LONG
  CALL DWORD @@pthis[6] USING IJolietDiscMaster_AddData (pthis, pStorage, lFileOverwrite) TO HRESULT
  FUNCTION = HRESULT

END FUNCTION

 

 

GetJolietProperties

 

FUNCTION IJolietDiscMaster_GetJolietProperties ( _
  BYVAL pthis AS DWORD PTR _

, BYREF ppPropStg AS DWORD _

  ) AS LONG


  LOCAL HRESULT AS LONG
  CALL DWORD @@pthis[7] USING IJolietDiscMaster_GetJolietProperties (pthis, ppPropStg) TO HRESULT
  FUNCTION = HRESULT

END FUNCTION

 

 

SetJolietProperties

 

FUNCTION IJolietDiscMaster_SetJolietProperties ( _
  BYVAL pthis AS DWORD PTR _

, BYVAL pPropStg AS DWORD _

  ) AS LONG


  LOCAL HRESULT AS LONG
  CALL DWORD @@pthis[8] USING IJolietDiscMaster_SetJolietProperties (pthis, pPropStg) TO HRESULT
  FUNCTION = HRESULT

END FUNCTION

 

 

Page last updated on Sunday, 12 March 2006 22:22:39 +0100