1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750
| // Created by Microsoft (R) C/C++ Compiler Version 15.00.21022.08 (1ab4e4bb).
//
// c:\documents and settings\invite\mes documents\visual studio 2008\projects\test\debug\nerovisionapi.tlh
//
// C++ source equivalent of Win32 type library D:\Program Files\Nero\Nero 9\Nero Vision\NeroVisionAPI.dll
// compiler-generated file created 01/12/09 at 13:38:25 - DO NOT EDIT!
#pragma once
#pragma pack(push, 8)
#include <comdef.h>
namespace NeroVisionAPI {
//
// Forward references and typedefs
//
struct __declspec(uuid("bf84bfd8-b411-4948-9bda-3a6c02ce7bd4"))
/* LIBID */ __NeroVisionAPI;
enum ContentType;
struct __declspec(uuid("0c91a72c-dcfb-4e45-800f-071d385b980b"))
/* interface */ IContentProvider;
struct __declspec(uuid("94174bb6-f818-47ee-9c92-61b548e88c19"))
/* interface */ IContentResolver;
enum AudioFormat;
enum VideoFormat;
enum FrameStructure;
struct VideoInfo;
struct AudioInfo;
struct __declspec(uuid("7c904e33-9175-4c73-a142-8c4da7bbeeb8"))
/* interface */ IAVStreamSample;
struct __declspec(uuid("fac437c8-dacf-415e-b485-b9beedb0465c"))
/* interface */ IAVStream;
struct __declspec(uuid("e926b553-f943-4d69-934f-f66412451d18"))
/* interface */ IAVStreamProvider;
struct __declspec(uuid("002ba3cc-9c42-4f8c-b1b4-90cab2ab903f"))
/* interface */ IAudioStreamProvider;
struct __declspec(uuid("a4c139cf-6062-4df4-ad16-882eaad1ccb9"))
/* interface */ IVideoStreamProvider;
struct __declspec(uuid("8de64fcc-95cd-42dc-a332-d435e3326eef"))
/* interface */ IError;
enum ErrorCode;
struct __declspec(uuid("25c8265e-d1f4-4502-8664-ea1f497ef76c"))
/* interface */ INeroBurnContext;
struct __declspec(uuid("da1f536b-6548-4185-9372-6f0c4539c1d0"))
/* interface */ IProgressCallback;
enum ProgressAction;
struct __declspec(uuid("01ed3daa-f36d-470b-ac64-7b1e950796f3"))
/* interface */ IProject;
struct __declspec(uuid("bca08af9-0d38-4535-84bd-37daf6b5cfe5"))
/* interface */ IProject2;
struct __declspec(uuid("2377307a-ad38-477b-a4eb-ec4be0add508"))
/* interface */ IProject3;
struct __declspec(uuid("a4c9ec97-fdf1-428f-97da-599f8dd314bd"))
/* interface */ IProject4;
struct __declspec(uuid("6fb769ea-5872-4adb-b1d7-6fb48af995b6"))
/* interface */ IProjectBurner;
struct BurnOptionInfo;
enum BurnOption;
union __MIDL_IProjectBurner_0003;
struct __declspec(uuid("48be2daa-e6e0-45d0-bc98-b8b9304753dc"))
/* interface */ IMovieExporter;
struct __declspec(uuid("4860e8ac-4431-4020-9985-678fa6690a8e"))
/* interface */ IEffectEnumerator;
enum EffectCategory;
struct __declspec(uuid("0ec213c4-dfe6-4152-823f-46329464c6f9"))
/* interface */ IMenuTemplateEnumerator;
enum MenuTemplateFlags;
enum MenuTemplateFormat;
struct /* coclass */ Project;
struct /* coclass */ ProjectBurner;
struct /* coclass */ MovieExporter;
struct /* coclass */ EffectEnumerator;
struct /* coclass */ MenuTemplateEnumerator;
struct __declspec(uuid("b8a9267b-f8eb-4aef-acfa-bf18f43a32fd"))
/* interface */ IMediaInfo;
enum FileType;
struct __declspec(uuid("7b64280b-4277-43dd-b753-92a1315046b0"))
/* interface */ IFileInfo;
struct __declspec(uuid("9cc2383f-485f-4593-983d-4686da5ca265"))
/* interface */ IMediaAnalyzer;
struct /* coclass */ MediaAnalyzer;
struct __declspec(uuid("67240823-38da-4693-a9c3-d4eeac602cb8"))
/* interface */ IPreviewCallback;
struct __declspec(uuid("75a17c62-ccb7-4801-b1a1-c3868c8ef2fe"))
/* interface */ IPreview;
enum SimulationState;
enum SimulationKey;
struct /* coclass */ Preview;
//
// Smart pointer typedef declarations
//
_COM_SMARTPTR_TYPEDEF(IContentProvider, __uuidof(IContentProvider));
_COM_SMARTPTR_TYPEDEF(IContentResolver, __uuidof(IContentResolver));
_COM_SMARTPTR_TYPEDEF(IAVStreamSample, __uuidof(IAVStreamSample));
_COM_SMARTPTR_TYPEDEF(IAVStream, __uuidof(IAVStream));
_COM_SMARTPTR_TYPEDEF(IAVStreamProvider, __uuidof(IAVStreamProvider));
_COM_SMARTPTR_TYPEDEF(IAudioStreamProvider, __uuidof(IAudioStreamProvider));
_COM_SMARTPTR_TYPEDEF(IVideoStreamProvider, __uuidof(IVideoStreamProvider));
_COM_SMARTPTR_TYPEDEF(IError, __uuidof(IError));
_COM_SMARTPTR_TYPEDEF(INeroBurnContext, __uuidof(INeroBurnContext));
_COM_SMARTPTR_TYPEDEF(IProgressCallback, __uuidof(IProgressCallback));
_COM_SMARTPTR_TYPEDEF(IProject, __uuidof(IProject));
_COM_SMARTPTR_TYPEDEF(IProject2, __uuidof(IProject2));
_COM_SMARTPTR_TYPEDEF(IProject3, __uuidof(IProject3));
_COM_SMARTPTR_TYPEDEF(IProject4, __uuidof(IProject4));
_COM_SMARTPTR_TYPEDEF(IProjectBurner, __uuidof(IProjectBurner));
_COM_SMARTPTR_TYPEDEF(IMovieExporter, __uuidof(IMovieExporter));
_COM_SMARTPTR_TYPEDEF(IEffectEnumerator, __uuidof(IEffectEnumerator));
_COM_SMARTPTR_TYPEDEF(IMenuTemplateEnumerator, __uuidof(IMenuTemplateEnumerator));
_COM_SMARTPTR_TYPEDEF(IMediaInfo, __uuidof(IMediaInfo));
_COM_SMARTPTR_TYPEDEF(IFileInfo, __uuidof(IFileInfo));
_COM_SMARTPTR_TYPEDEF(IMediaAnalyzer, __uuidof(IMediaAnalyzer));
_COM_SMARTPTR_TYPEDEF(IPreviewCallback, __uuidof(IPreviewCallback));
_COM_SMARTPTR_TYPEDEF(IPreview, __uuidof(IPreview));
//
// Type library items
//
enum ContentType
{
AudioStream = 0,
VideoStream = 1
};
struct __declspec(uuid("0c91a72c-dcfb-4e45-800f-071d385b980b"))
IContentProvider : IUnknown
{
//
// Raw methods provided by interface
//
virtual HRESULT __stdcall get_ProvidedContentType (
/*[out,retval]*/ enum ContentType * pCT ) = 0;
};
struct __declspec(uuid("94174bb6-f818-47ee-9c92-61b548e88c19"))
IContentResolver : IUnknown
{
//
// Raw methods provided by interface
//
virtual HRESULT __stdcall ResolveContent (
/*[in]*/ BSTR id,
/*[out,retval]*/ struct IContentProvider * * ppCP ) = 0;
};
enum AudioFormat
{
AudioFormat_PCM = 0
};
enum VideoFormat
{
VideoFormat_YV12 = 0,
VideoFormat_RGB32 = 1,
VideoFormat_RGB24 = 2
};
enum FrameStructure
{
FrameStructure_Progressive = 0,
FrameStructure_InterlacedTopFirst = 1,
FrameStructure_InterlacedBottomFirst = 2
};
#pragma pack(push, 8)
struct VideoInfo
{
enum VideoFormat viFormat;
enum FrameStructure viStructure;
int viWidth;
int viHeight;
__int64 viTimePerFrame;
int viAspectX;
int viAspectY;
};
#pragma pack(pop)
#pragma pack(push, 4)
struct AudioInfo
{
enum AudioFormat aiFormat;
int aiSamplesPerSec;
short aiBitsPerSample;
short aiNumChannels;
};
#pragma pack(pop)
struct __declspec(uuid("7c904e33-9175-4c73-a142-8c4da7bbeeb8"))
IAVStreamSample : IUnknown
{
//
// Raw methods provided by interface
//
virtual HRESULT __stdcall GetTime (
/*[out]*/ __int64 * start,
/*[out]*/ __int64 * stop ) = 0;
virtual HRESULT __stdcall GetData (
/*[out]*/ unsigned long * size,
/*[out]*/ void * * dataPtr ) = 0;
};
struct __declspec(uuid("fac437c8-dacf-415e-b485-b9beedb0465c"))
IAVStream : IUnknown
{
//
// Raw methods provided by interface
//
virtual HRESULT __stdcall SetPosition (
/*[in]*/ __int64 * pos ) = 0;
virtual HRESULT __stdcall GetSample (
/*[out,retval]*/ struct IAVStreamSample * * sample ) = 0;
};
struct __declspec(uuid("e926b553-f943-4d69-934f-f66412451d18"))
IAVStreamProvider : IContentProvider
{
//
// Raw methods provided by interface
//
virtual HRESULT __stdcall GetStream (
/*[out,retval]*/ struct IAVStream * * stream ) = 0;
virtual HRESULT __stdcall GetDuration (
/*[out,retval]*/ __int64 * dur ) = 0;
};
struct __declspec(uuid("002ba3cc-9c42-4f8c-b1b4-90cab2ab903f"))
IAudioStreamProvider : IAVStreamProvider
{
//
// Raw methods provided by interface
//
virtual HRESULT __stdcall GetInfo (
/*[out]*/ struct AudioInfo * info ) = 0;
};
struct __declspec(uuid("a4c139cf-6062-4df4-ad16-882eaad1ccb9"))
IVideoStreamProvider : IAVStreamProvider
{
//
// Raw methods provided by interface
//
virtual HRESULT __stdcall GetInfo (
/*[out]*/ struct VideoInfo * info ) = 0;
};
enum ErrorCode
{
NoError = 0,
Canceled = 1,
InternalError = 2,
APIUsageError = 3,
InstallationError = 4,
XMLSyntaxError = 5,
FileIOError = 6,
MenuTemplateError = 7,
NeroAPIError = 8,
TranscodingFailed = 9,
DiscOverflow = 10,
ContentResolverError = 11,
ContentProviderError = 12,
DiscStructureError = 13,
PreviewError = 14,
EffectError = 15
};
struct __declspec(uuid("8de64fcc-95cd-42dc-a332-d435e3326eef"))
IError : IUnknown
{
//
// Raw methods provided by interface
//
virtual HRESULT __stdcall get_ErrCode (
/*[out,retval]*/ enum ErrorCode * ErrCode ) = 0;
virtual HRESULT __stdcall get_ErrText (
/*[out,retval]*/ BSTR * errStr ) = 0;
virtual HRESULT __stdcall get_XMLID (
/*[out,retval]*/ BSTR * XMLID ) = 0;
};
struct __declspec(uuid("25c8265e-d1f4-4502-8664-ea1f497ef76c"))
INeroBurnContext : IUnknown
{
//
// Raw methods provided by interface
//
virtual HRESULT __stdcall get_NERO_CD_FORMAT (
/*[out,retval]*/ int * pFormat ) = 0;
virtual HRESULT __stdcall get_NERO_WRITE_CD (
/*[out,retval]*/ void * * pNWCD ) = 0;
};
enum ProgressAction
{
Estimating = 0,
Preparing = 1,
Transcoding = 2,
Generating = 3,
Analyzing = 4
};
struct __declspec(uuid("da1f536b-6548-4185-9372-6f0c4539c1d0"))
IProgressCallback : IUnknown
{
//
// Raw methods provided by interface
//
virtual HRESULT __stdcall OnProgress (
/*[in]*/ enum ProgressAction action,
/*[in]*/ BSTR itemname,
/*[in]*/ double currentRemain,
/*[in]*/ double currentTotal,
/*[in]*/ float currentFraction,
/*[in]*/ double totalRemain,
/*[in]*/ double totalTotal,
/*[in]*/ float totalFraction ) = 0;
virtual HRESULT __stdcall ShouldCancel (
/*[out,retval]*/ VARIANT_BOOL * pbCancel ) = 0;
};
struct __declspec(uuid("01ed3daa-f36d-470b-ac64-7b1e950796f3"))
IProject : IUnknown
{
//
// Raw methods provided by interface
//
virtual HRESULT __stdcall SetXMLString (
/*[in]*/ char * data,
/*[out,retval]*/ VARIANT_BOOL * pbSuccess ) = 0;
virtual HRESULT __stdcall SetXMLFile (
/*[in]*/ BSTR filepath,
/*[out,retval]*/ VARIANT_BOOL * pbSuccess ) = 0;
virtual HRESULT __stdcall EstimateDiskSize (
/*[out]*/ __int64 * size,
/*[out,retval]*/ VARIANT_BOOL * pbSuccess ) = 0;
virtual HRESULT __stdcall EstimateCreateNeroBurnContextTime (
/*[in]*/ struct IProgressCallback * pCallback,
/*[out]*/ double * seconds,
/*[out,retval]*/ VARIANT_BOOL * pbSuccess ) = 0;
virtual HRESULT __stdcall CreateNeroBurnContext (
/*[in]*/ void * hNeroAPIDLL,
/*[in]*/ struct IProgressCallback * pCallback,
/*[out]*/ struct INeroBurnContext * * ppburnContext,
/*[out,retval]*/ VARIANT_BOOL * pbSuccess ) = 0;
virtual HRESULT __stdcall put_TempDirectory (
/*[in]*/ BSTR _arg1 ) = 0;
virtual HRESULT __stdcall get_LastError (
/*[out,retval]*/ struct IError * * pError ) = 0;
};
struct __declspec(uuid("bca08af9-0d38-4535-84bd-37daf6b5cfe5"))
IProject2 : IProject
{
//
// Raw methods provided by interface
//
virtual HRESULT __stdcall put_ContentResolver (
/*[in]*/ struct IContentResolver * _arg1 ) = 0;
};
struct __declspec(uuid("2377307a-ad38-477b-a4eb-ec4be0add508"))
IProject3 : IProject2
{
//
// Raw methods provided by interface
//
virtual HRESULT __stdcall get_SupportedXMLSchema (
/*[out,retval]*/ BSTR * schema ) = 0;
};
struct __declspec(uuid("a4c9ec97-fdf1-428f-97da-599f8dd314bd"))
IProject4 : IProject3
{
//
// Raw methods provided by interface
//
virtual HRESULT __stdcall get_SmartEncodingRatio (
/*[in]*/ BSTR titleID,
/*[out]*/ double * audioSmartEncodingRatio,
/*[out]*/ double * videoSmartEncodingRatio,
/*[out,retval]*/ VARIANT_BOOL * pbSuccess ) = 0;
};
enum BurnOption
{
NBO_WriteSpeedinKBs = 0,
NBO_DVDHighCompatibilityBorder = 1
};
#pragma pack(push, 4)
union __MIDL_IProjectBurner_0003
{
unsigned long ulWriteSpeed;
VARIANT_BOOL bHCB;
};
#pragma pack(pop)
#pragma pack(push, 4)
struct BurnOptionInfo
{
enum BurnOption option;
union __MIDL_IProjectBurner_0003 __MIDL__IProjectBurner0001;
};
#pragma pack(pop)
struct __declspec(uuid("6fb769ea-5872-4adb-b1d7-6fb48af995b6"))
IProjectBurner : IUnknown
{
//
// Raw methods provided by interface
//
virtual HRESULT __stdcall SetProject (
/*[in]*/ struct IProject * pProject,
/*[out,retval]*/ VARIANT_BOOL * pbSuccess ) = 0;
virtual HRESULT __stdcall SetOption (
/*[in]*/ struct BurnOptionInfo * pOptionInfo,
/*[out,retval]*/ VARIANT_BOOL * pbSuccess ) = 0;
virtual HRESULT __stdcall Burn (
/*[in]*/ void * hNeroAPIDLL,
/*[in]*/ void * pNeroDeviceHandle,
/*[in]*/ struct IProgressCallback * pCallback,
/*[out,retval]*/ VARIANT_BOOL * pbSuccess ) = 0;
virtual HRESULT __stdcall get_LastError (
/*[out,retval]*/ struct IError * * pError ) = 0;
};
struct __declspec(uuid("48be2daa-e6e0-45d0-bc98-b8b9304753dc"))
IMovieExporter : IUnknown
{
//
// Raw methods provided by interface
//
virtual HRESULT __stdcall SetSource (
/*[in]*/ struct IProject * prj,
/*[in]*/ BSTR XMLID,
/*[out,retval]*/ VARIANT_BOOL * pbSuccess ) = 0;
virtual HRESULT __stdcall EstimateFileSize (
/*[out]*/ __int64 * size,
/*[out,retval]*/ VARIANT_BOOL * pbSuccess ) = 0;
virtual HRESULT __stdcall ExportMovie (
/*[in]*/ BSTR filepath,
/*[in]*/ struct IProgressCallback * pCallback,
/*[out,retval]*/ VARIANT_BOOL * pbSuccess ) = 0;
virtual HRESULT __stdcall get_LastError (
/*[out,retval]*/ struct IError * * pError ) = 0;
};
enum EffectCategory
{
EffectCategory_Video = 0,
EffectCategory_Transition = 1,
EffectCategory_Text = 2
};
struct __declspec(uuid("4860e8ac-4431-4020-9985-678fa6690a8e"))
IEffectEnumerator : IUnknown
{
//
// Raw methods provided by interface
//
virtual HRESULT __stdcall get_NumEffects (
/*[out,retval]*/ int * NumEffects ) = 0;
virtual HRESULT __stdcall GetEffectBaseInfo (
/*[in]*/ int effectIndex,
/*[out]*/ BSTR * typeID,
/*[out]*/ BSTR * displayName,
/*[out]*/ enum EffectCategory * category,
/*[out,retval]*/ VARIANT_BOOL * pbSuccess ) = 0;
virtual HRESULT __stdcall get_LastError (
/*[out,retval]*/ struct IError * * pError ) = 0;
};
enum MenuTemplateFlags
{
MenuTemplateFlags_3D = 1,
MenuTemplateFlags_Animated = 2,
MenuTemplateFlags_UserDefined = 4,
MenuTemplateFlags_NeroHome = 8
};
enum MenuTemplateFormat
{
MenuTemplateFormat_SD4_3 = 1,
MenuTemplateFormat_SD16_9 = 2,
MenuTemplateFormat_HD = 4
};
struct __declspec(uuid("0ec213c4-dfe6-4152-823f-46329464c6f9"))
IMenuTemplateEnumerator : IUnknown
{
//
// Raw methods provided by interface
//
virtual HRESULT __stdcall get_NumTemplates (
/*[out,retval]*/ int * NumTemplates ) = 0;
virtual HRESULT __stdcall GetTemplateInfo (
/*[in]*/ int templateIndex,
/*[out]*/ BSTR * templateID,
/*[out]*/ BSTR * templateName,
/*[out]*/ BSTR * groupName,
/*[out]*/ enum MenuTemplateFlags * flags,
/*[out]*/ enum MenuTemplateFormat * formats,
/*[out,retval]*/ VARIANT_BOOL * pbSuccess ) = 0;
virtual HRESULT __stdcall GetTemplateThumbnail (
/*[in]*/ int templateIndex,
/*[in]*/ enum MenuTemplateFormat format,
/*[out]*/ unsigned long * hDib,
/*[out,retval]*/ VARIANT_BOOL * pbSuccess ) = 0;
virtual HRESULT __stdcall get_LastError (
/*[out,retval]*/ struct IError * * pError ) = 0;
};
struct __declspec(uuid("bb32fbed-a8cc-41a8-8a15-3f6d5e3d25c7"))
Project;
// [ default ] interface IProject4
struct __declspec(uuid("aa8a3797-9e53-4c06-9891-875430fd3219"))
ProjectBurner;
// [ default ] interface IProjectBurner
struct __declspec(uuid("7f4a72b1-e512-4e8d-bfed-cc6606ff1824"))
MovieExporter;
// [ default ] interface IMovieExporter
struct __declspec(uuid("e3b54e5d-579c-4ff2-853b-e21dd05ea690"))
EffectEnumerator;
// [ default ] interface IEffectEnumerator
struct __declspec(uuid("0f7a0b28-9adb-4311-b1e6-44a80400a70d"))
MenuTemplateEnumerator;
// [ default ] interface IMenuTemplateEnumerator
enum FileType
{
Invalid = 0,
Other = 1,
MPEG1 = 2,
MPEG2 = 3,
DV_DV = 4,
DV_AVI1 = 5,
DV_AVI2 = 6
};
struct __declspec(uuid("b8a9267b-f8eb-4aef-acfa-bf18f43a32fd"))
IMediaInfo : IUnknown
{
//
// Raw methods provided by interface
//
virtual HRESULT __stdcall get_FileType (
/*[out,retval]*/ enum FileType * ft ) = 0;
virtual HRESULT __stdcall get_Duration (
/*[out,retval]*/ double * sec ) = 0;
virtual HRESULT __stdcall get_HasAudio (
/*[out,retval]*/ VARIANT_BOOL * has ) = 0;
virtual HRESULT __stdcall get_HasVideo (
/*[out,retval]*/ VARIANT_BOOL * has ) = 0;
virtual HRESULT __stdcall get_Width (
/*[out,retval]*/ int * w ) = 0;
virtual HRESULT __stdcall get_Height (
/*[out,retval]*/ int * h ) = 0;
virtual HRESULT __stdcall get_AspectXByY (
/*[out,retval]*/ double * aspect ) = 0;
virtual HRESULT __stdcall get_FrameRate (
/*[out,retval]*/ double * rate ) = 0;
virtual HRESULT __stdcall GetThumbnail (
/*[in]*/ VARIANT_BOOL ensureNotEmpty,
/*[out,retval]*/ unsigned long * hDib ) = 0;
virtual HRESULT __stdcall GetImage (
/*[in]*/ double posSec,
/*[out,retval]*/ unsigned long * hDib ) = 0;
};
struct __declspec(uuid("7b64280b-4277-43dd-b753-92a1315046b0"))
IFileInfo : IUnknown
{
//
// Raw methods provided by interface
//
virtual HRESULT __stdcall get_filepath (
/*[out,retval]*/ BSTR * filepath ) = 0;
virtual HRESULT __stdcall get_NumSegments (
/*[out,retval]*/ int * numSeg ) = 0;
virtual HRESULT __stdcall GetSegmentMediaInfo (
/*[in]*/ int segIndex,
/*[out,retval]*/ struct IMediaInfo * * pMediaInfo ) = 0;
};
struct __declspec(uuid("9cc2383f-485f-4593-983d-4686da5ca265"))
IMediaAnalyzer : IUnknown
{
//
// Raw methods provided by interface
//
virtual HRESULT __stdcall AddFile (
/*[in]*/ BSTR filepath,
/*[out,retval]*/ struct IFileInfo * * fileInfo ) = 0;
virtual HRESULT __stdcall AnalyzeFiles (
/*[in]*/ struct IProgressCallback * pCallback,
/*[out,retval]*/ VARIANT_BOOL * pbSuccess ) = 0;
virtual HRESULT __stdcall get_LastError (
/*[out,retval]*/ struct IError * * pError ) = 0;
};
struct __declspec(uuid("aef4e74f-7767-4fed-b4a8-2f9a0a713d26"))
MediaAnalyzer;
// [ default ] interface IMediaAnalyzer
struct __declspec(uuid("67240823-38da-4693-a9c3-d4eeac602cb8"))
IPreviewCallback : IUnknown
{
//
// Raw methods provided by interface
//
virtual HRESULT __stdcall NotifyPosChanged (
/*[in]*/ double pos,
/*[in]*/ int title,
/*[in]*/ int chapter ) = 0;
virtual HRESULT __stdcall NotifyPlaybackEnd ( ) = 0;
};
enum SimulationState
{
SimulationState_Stopped = 0,
SimulationState_Paused = 1,
SimulationState_Running = 2
};
enum SimulationKey
{
SimulationKey_Play = 0,
SimulationKey_Pause = 1,
SimulationKey_Up = 2,
SimulationKey_Down = 3,
SimulationKey_Left = 4,
SimulationKey_Right = 5,
SimulationKey_Enter = 6,
SimulationKey_RootMenu = 7,
SimulationKey_TitleMenu = 8,
SimulationKey_Prev = 9,
SimulationKey_Next = 10,
SimulationKey_Return = 11,
SimulationKey_Numeric = 12
};
struct __declspec(uuid("75a17c62-ccb7-4801-b1a1-c3868c8ef2fe"))
IPreview : IUnknown
{
//
// Raw methods provided by interface
//
virtual HRESULT __stdcall SetPreviewContext (
/*[in]*/ struct IProject * Project,
/*[in]*/ BSTR XMLID,
/*[out,retval]*/ VARIANT_BOOL * pbSuccess ) = 0;
virtual HRESULT __stdcall SetPreviewWindow (
/*[in]*/ unsigned long hParentWnd,
/*[in]*/ int left,
/*[in]*/ int top,
/*[in]*/ int right,
/*[in]*/ int bottom,
/*[out,retval]*/ VARIANT_BOOL * pbSuccess ) = 0;
virtual HRESULT __stdcall put_BackgroundBitmap (
/*[in]*/ unsigned long _arg1 ) = 0;
virtual HRESULT __stdcall put_BackgroundColor (
/*[in]*/ unsigned long _arg1 ) = 0;
virtual HRESULT __stdcall NotifyOwnerMessage (
/*[in]*/ unsigned int uMsg,
/*[in]*/ long wParam,
/*[in]*/ long lParam ) = 0;
virtual HRESULT __stdcall StartPreview (
/*[out,retval]*/ VARIANT_BOOL * pbSuccess ) = 0;
virtual HRESULT __stdcall StopPreview ( ) = 0;
virtual HRESULT __stdcall JumpToID (
/*[in]*/ BSTR XMLID,
/*[out,retval]*/ VARIANT_BOOL * pbSuccess ) = 0;
virtual HRESULT __stdcall JumpToChapter (
/*[in]*/ int title,
/*[in]*/ int chapter,
/*[out,retval]*/ VARIANT_BOOL * pbSuccess ) = 0;
virtual HRESULT __stdcall GetCurrentChapter (
/*[out]*/ int * title,
/*[out]*/ int * chapter ) = 0;
virtual HRESULT __stdcall get_Duration (
/*[out,retval]*/ double * Duration ) = 0;
virtual HRESULT __stdcall put_Volume (
/*[in]*/ double Volume ) = 0;
virtual HRESULT __stdcall get_Volume (
/*[out,retval]*/ double * Volume ) = 0;
virtual HRESULT __stdcall put_Position (
/*[in]*/ double pos ) = 0;
virtual HRESULT __stdcall get_Position (
/*[out,retval]*/ double * pos ) = 0;
virtual HRESULT __stdcall get_State (
/*[out,retval]*/ enum SimulationState * State ) = 0;
virtual HRESULT __stdcall HandleKeyInput (
/*[in]*/ enum SimulationKey key ) = 0;
virtual HRESULT __stdcall HandleNumericInput (
/*[in]*/ unsigned char num ) = 0;
virtual HRESULT __stdcall IsKeySupported (
/*[in]*/ enum SimulationKey key,
/*[out,retval]*/ VARIANT_BOOL * supported ) = 0;
virtual HRESULT __stdcall put_Callback (
/*[in]*/ struct IPreviewCallback * _arg1 ) = 0;
virtual HRESULT __stdcall get_LastError (
/*[out,retval]*/ struct IError * * pError ) = 0;
};
struct __declspec(uuid("fdec7b7f-1209-40bc-aa36-9cac8cd1a35a"))
Preview;
// [ default ] interface IPreview
} // namespace NeroVisionAPI
#pragma pack(pop) |