Image Masterin api (imapi)



Yüklə 226.52 Kb.
səhifə1/6
tarix07.11.2018
ölçüsü226.52 Kb.
  1   2   3   4   5   6


Windows Platform Design Notes

Designing Hardware for the Microsoft Windows Family of Operating Systems

Image Mastering API (IMAPI)



Abstract: This document describes the Image Master API (IMAPI) provided under the next version of the Microsoft® Windows® 2000 operating system, code-named “Whistler.” IMAPI allows an application to “stage” and “burn” a simple audio or data image to on a CD-R or CD-R/W devices. The specific formats to be supported are Redbook audio and data discs with both Joliet and ISO 9660. The API architecture allows for future expansion of the supported format set.

PREVIEW Draft Version 0.9 — March 1, 2001

Disclaimer: The information contained in this document represents the current view of Microsoft Corporation on the issues discussed as of the date of publication. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information presented. This document is for informational purposes only. MICROSOFT MAKES NO WARRANTIES, EXPRESS OR IMPLIED, IN THIS DOCUMENT.

Microsoft Corporation may have patents or pending patent applications, trademarks, copyrights, or other intellectual property rights covering subject matter in this document. The furnishing of this document does not give you any license to the patents, trademarks, copyrights, or other intellectual property rights except as expressly provided in any written license agreement from Microsoft Corporation.

Microsoft does not make any representation or warranty regarding specifications in this document or any product or item developed based on these specifications. Microsoft disclaims all express and implied warranties, including but not limited to the implied warranties or mer­chantability, Fitness for a particular purpose and freedom from infringement. Without limiting the generality of the foregoing, Microsoft does not make any warranty of any kind that any item developed based on these specifications, or any portion of a specification, will not infringe any copyright, patent, trade secret or other intellectual property right of any person or entity in any country. It is your responsibility to seek licenses for such intellectual property rights where appropriate. Microsoft shall not be liable for any damages arising out of or in connection with the use of these specifications, including liability for lost profit, business interruption, or any other damages whatsoever. Some states do not allow the exclusion or limitation of liability or consequential or incidental damages; the above limitation may not apply to you.

Microsoft, Win32, Windows, and Windows NT are trademarks or registered trademarks of Microsoft Corporation in the United States and/or other countries. Other product and company names mentioned herein may be the trademarks of their respective owners.

© 2001 Microsoft Corporation. All rights reserved.

Contents

About the Image Mastering API 4

Using the Image Mastering API 5

Extending the IDiscmaster and IDiscRecorder Interfaces 6

Creating Multi-session Discs 6

Language Notes 6

Image Mastering API Reference 7

Interfaces 7

IDiscMaster 7

IDiscMaster::Open 8

IDiscMaster::Open 8

IDiscMaster::EnumDiscMasterFormats 8

IDiscMaster::EnumDiscMasterFormats 8

IDiscMaster::GetActiveDiscMasterFormat 9

IDiscMaster::GetActiveDiscMasterFormat 9

IDiscMaster::SetActiveDiscMasterFormat 9

IDiscMaster::SetActiveDiscMasterFormat 9

IDiscMaster::EnumDiscRecorders 10

IDiscMaster::EnumDiscRecorders 10

IDiscMaster::GetActiveDiscRecorder 11

IDiscMaster::GetActiveDiscRecorder 11

IDiscMaster::SetActiveDiscRecorder 12

IDiscMaster::SetActiveDiscRecorder 12

IDiscMaster::ClearFormatContent 13

IDiscMaster::ClearFormatContent 13

IDiscMaster::ProgressAdvise 13

IDiscMaster::ProgressAdvise 13

IDiscMaster::ProgressUnadvise 14

IDiscMaster::ProgressUnadvise 14

IDiscMaster::RecordDisc 14

IDiscMaster::RecordDisc 14

IDiscMaster::Close 16

IDiscMaster::Close 16

IDiscRecorder 16

IDiscRecorder::GetRecorderGUID 18

IDiscRecorder::GetRecorderGUID 18

IDiscRecorder::GetRecorderType 18

IDiscRecorder::GetRecorderType 18

IDiscRecorder::GetDisplayNames 19

IDiscRecorder::GetDisplayNames 19

IDiscRecorder::GetBasePnPID 19

IDiscRecorder::GetBasePnPID 19

IDiscRecorder::GetPath 20

IDiscRecorder::GetPath 20

IDiscRecorder::GetRecorderProperties 20

IDiscRecorder::GetRecorderProperties 20

IDiscRecorder::SetRecorderProperties 21

IDiscRecorder::SetRecorderProperties 21

IDiscRecorder::OpenExclusive 22

IDiscRecorder::OpenExclusive 22

IDiscRecorder::QueryMediaType 23

IDiscRecorder::QueryMediaType 23

IDiscRecorder::QueryMediaInfo 24

IDiscRecorder::QueryMediaInfo 24

IDiscRecorder::Eject 25

IDiscRecorder::Eject 25

IDiscRecorder::Erase 25

IDiscRecorder::Erase 25

IDiscRecorder::Close 26

IDiscRecorder::Close 26

IRedbookDiscMaster 27

IRedbookDiscMaster::GetTotalAudioTracks 27

IRedbookDiscMaster::GetTotalAudioTracks 27

IRedbookDiscMaster::GetTotalAudioBlocks 28

IRedbookDiscMaster::GetTotalAudioBlocks 28

IRedbookDiscMaster::GetUsedAudioBlocks 28

IRedbookDiscMaster::GetUsedAudioBlocks 28

IRedbookDiscMaster::GetAvailableAudioTrackBlocks 28

IRedbookDiscMaster::GetAvailableAudioTrackBlocks 28

IRedbookDiscMaster::GetAudioBlockSize 29

IRedbookDiscMaster::GetAudioBlockSize 29

IRedbookDiscMaster::CreateAudioTrack 29

IRedbookDiscMaster::CreateAudioTrack 29

IRedbookDiscMaster::AddAudioTrackBlocks 30

IRedbookDiscMaster::AddAudioTrackBlocks 30

IRedbookDiscMaster::CloseAudioTrack 31

IRedbookDiscMaster::CloseAudioTrack 31

IJolietDiscMaster 31

IJolietDiscMaster::GetTotalDataBlocks 32

IJolietDiscMaster::GetTotalDataBlocks 32

IJolietDiscMaster::GetUsedDataBlocks 32

IJolietDiscMaster::GetUsedDataBlocks 32

IJolietDiscMaster::GetDataBlockSize 32

IJolietDiscMaster::GetDataBlockSize 32

IJolietDiscMaster::AddData 33

IJolietDiscMaster::AddData 33

IJolietDiscMaster::GetJolietProperties 34

IJolietDiscMaster::GetJolietProperties 34

IJolietDiscMaster::SetJolietProperties 35

IJolietDiscMaster::SetJolietProperties 35

IDiscMasterProgressEvents 36

IDiscMasterProgressEvents::QueryCancel 37

IDiscMasterProgressEvents::QueryCancel 37

IDiscMasterProgressEvents::NotifyPnPActivity 37

IDiscMasterProgressEvents::NotifyPnPActivity 37

IDiscMasterProgressEvents::NotifyAddProgress 37

IDiscMasterProgressEvents::NotifyAddProgress 37

IDiscMasterProgressEvents::NotifyBlockProgress 38

IDiscMasterProgressEvents::NotifyBlockProgress 38

IDiscMasterProgressEvents::NotifyTrackProgress 38

IDiscMasterProgressEvents::NotifyTrackProgress 38

IDiscMasterProgressEvents::NotifyPreparingBurn 39

IDiscMasterProgressEvents::NotifyPreparingBurn 39

IDiscMasterProgressEvents::NotifyClosingDisc 39

IDiscMasterProgressEvents::NotifyClosingDisc 39

IDiscMasterProgressEvents::NotifyBurnComplete 40

IDiscMasterProgressEvents::NotifyBurnComplete 40

IMAPI Result Codes 40






Dostları ilə paylaş:
  1   2   3   4   5   6


Verilənlər bazası müəlliflik hüququ ilə müdafiə olunur ©genderi.org 2017
rəhbərliyinə müraciət

    Ana səhifə