1 /* 2 * @(#)CDDB2API.h 7.4 01/04/13 3 * from cddb2sdk-1.0.R3 4 * 5 * CDDB2API.h Copyright (C) 2000 CDDB, Inc. All Rights Reserved. 6 * 7 * This file defines the interface to the CDDB shared library. 8 * 9 * This file is published to 3rd party developers so that they may call the SDK. 10 */ 11 #ifndef CDDB2API_H 12 #define CDDB2API_H 13 14 /* Only include the enums if the main IDL generated header file has not been included. */ 15 #ifndef __CDDBControl_h__ 16 #ifdef XMCD_CDDB 17 #include "cddb_d/CDDBdefs.h" 18 #else 19 #include "CDDBEnums.h" 20 #endif 21 #endif 22 23 /* Error codes */ 24 /* TBD REC: Define strings for these errors. */ 25 #define _CddbResult_TYPEDEF_(_sc) ((CddbResult)_sc) 26 #define Cddb_OK ((CddbResult)0x00000000L) 27 #define Cddb_FALSE ((CddbResult)0x00000001L) 28 #define Cddb_E_UNEXPECTED _CddbResult_TYPEDEF_(0x8000FFFFL) 29 #define Cddb_E_NOTIMPL _CddbResult_TYPEDEF_(0x80004001L) 30 #define Cddb_E_OUTOFMEMORY _CddbResult_TYPEDEF_(0x8007000EL) 31 #define Cddb_E_INVALIDARG _CddbResult_TYPEDEF_(0x80070057L) 32 #define Cddb_E_NOINTERFACE _CddbResult_TYPEDEF_(0x80004002L) 33 #define Cddb_E_POINTER _CddbResult_TYPEDEF_(0x80004003L) 34 #define Cddb_E_HANDLE _CddbResult_TYPEDEF_(0x80070006L) 35 #define Cddb_E_ABORT _CddbResult_TYPEDEF_(0x80004004L) 36 #define Cddb_E_FAIL _CddbResult_TYPEDEF_(0x80004005L) 37 #define Cddb_E_ACCESSDENIED _CddbResult_TYPEDEF_(0x80070005L) 38 #define Cddb_E_PENDING _CddbResult_TYPEDEF_(0x8000000AL) 39 40 typedef unsigned char CddbBoolean; 41 typedef long CddbResult; 42 43 /* Null terminated C string */ 44 typedef char * CddbStr; 45 typedef const char* CddbConstStr; 46 47 /* The following definitions are opaque object pointers. */ 48 typedef struct OpaqueCddbControl* CddbControlPtr; 49 typedef struct OpaqueCddbDiscs* CddbDiscsPtr; 50 typedef struct OpaqueCddbDisc* CddbDiscPtr; 51 typedef struct OpaqueCddbTrack* CddbTrackPtr; 52 typedef struct OpaqueCddbTracks* CddbTracksPtr; 53 typedef struct OpaqueCddbGenre* CddbGenrePtr; 54 typedef struct OpaqueCddbGenreList* CddbGenreListPtr; 55 typedef struct OpaqueCddbRole* CddbRolePtr; 56 typedef struct OpaqueCddbLanguage* CddbLanguagePtr; 57 typedef struct OpaqueCddbRegion* CddbRegionPtr; 58 /* CddbFieldPtr has been deprecated. */ 59 /*typedef struct OpaqueCddbField* CddbFieldPtr;*/ 60 typedef struct OpaqueCddbSegment* CddbSegmentPtr; 61 typedef struct OpaqueCddbURL* CddbURLPtr; 62 typedef struct OpaqueCddbFullName* CddbFullNamePtr; 63 typedef struct OpaqueCddbCredit* CddbCreditPtr; 64 typedef struct OpaqueCddbSegments* CddbSegmentsPtr; 65 typedef struct OpaqueCddbGenreTree* CddbGenreTreePtr; 66 typedef struct OpaqueCddbCredits* CddbCreditsPtr; 67 typedef struct OpaqueCddbURLList* CddbURLListPtr; 68 typedef struct OpaqueCddbURLTree* CddbURLTreePtr; 69 /* CddbFieldListPtr has been deprecated. */ 70 /*typedef struct OpaqueCddbFieldList* CddbFieldListPtr;*/ 71 typedef struct OpaqueCddbLanguageList* CddbLanguageListPtr; 72 typedef struct OpaqueCddbRegionList* CddbRegionListPtr; 73 typedef struct OpaqueCddbRoleList* CddbRoleListPtr; 74 typedef struct OpaqueCddbUserInfo* CddbUserInfoPtr; 75 typedef struct OpaqueCddbOptions* CddbOptionsPtr; 76 typedef struct OpaqueCddbRoleTree* CddbRoleTreePtr; 77 typedef struct OpaqueCddbLanguages* CddbLanguagesPtr; 78 typedef struct OpaqueCddbURLManager* CddbURLManagerPtr; 79 typedef struct OpaqueCddbID3TagManager* CddbID3TagManagerPtr; 80 typedef struct OpaqueCddbID3Tag* CddbID3TagPtr; 81 typedef struct OpaqueCddbInfoWindow* CddbInfoWindowPtr; 82 83 /* 84 * These are the type codes that you can pass to CddbCreateObject. Currently, the only type 85 * codes defined are for the CddbFullName, CddbURL, and CddbID3Tag objects. This is because 86 * no other APIs exist for creating objects of these type. Other objects you might want to 87 * create, such as CddbDisc, CddbTrack, CddbCredit, and CddbSegment are created automatically 88 * when you call CddbControl_GetSubmitDisc, CddbDisc_AddTrack, CddbDisc_AddCredit, 89 * CddbDisc_AddSegment, etc. 90 */ 91 typedef enum CddbObjectType 92 { 93 CddbFullNameType = 1, 94 CddbURLType = 2, 95 CddbID3TagType = 3 96 } CddbObjectType; 97 98 #ifdef Cddb_Build 99 /* Defined if building the Cddb shared library. Don't define this in a client application. */ 100 #pragma export on 101 #endif 102 103 #ifdef __cplusplus 104 extern "C" { 105 #endif 106 107 /* --- General Functions --------------------------------------------------- */ 108 109 /* 110 * On the Mac, CddbInitialize has been deprecated. Use CddbMacInitialize 111 * (declared in CddbMacExtras.h) instead. 112 */ 113 CddbResult CddbInitialize(CddbControlPtr *cddb); 114 115 CddbResult CddbTerminate(CddbControlPtr cddb); 116 117 void CddbGetErrorString(CddbResult code, char* buffer, int bufferSize); 118 119 void CddbAlert(CddbResult code); 120 121 void* CddbCreateObject(CddbObjectType type); 122 123 int CddbAddRefObject(void* pObj); 124 125 int CddbReleaseObject(void* pObj); 126 127 /* --- Callbacks --------------------------------------------------- */ 128 129 typedef void (*CddbCommandCompletedCallback)(long commandCode, CddbResult commandResult, long value, long userData); 130 typedef void (*CddbLogMessageCallback)(CddbStr message, long userData); 131 typedef void (*CddbServerMessageCallback)(long messageCode, long messageAction, CddbStr messageData, long userData); 132 typedef void (*CddbCommandProgressCallback)(long commandCode, long progressCode, long bytesDone, long bytesTotal, long userData); 133 134 void CddbSetCommandCompletedCallback(CddbCommandCompletedCallback callback, long userData); 135 void CddbSetLogMessageCallback(CddbLogMessageCallback callback, long userData); 136 void CddbSetServerMessageCallback(CddbServerMessageCallback callback, long userData); 137 void CddbSetCommandProgressCallback(CddbCommandProgressCallback callback, long userData); 138 139 /* --- CddbControl --------------------------------------------------- */ 140 141 CddbResult CddbControl_GetVersion( CddbControlPtr that, 142 /* [retval][out] */ CddbStr *pVal); 143 144 CddbResult CddbControl_IsRegistered( CddbControlPtr that, 145 CddbBoolean InvokeDialog, 146 /* [retval][out] */ CddbBoolean *Registered); 147 148 CddbResult CddbControl_SetClientInfo( CddbControlPtr that, 149 CddbConstStr ClientId, 150 CddbConstStr ClientTag, 151 CddbConstStr ClientVersion, 152 CddbConstStr ClientRegString); 153 154 CddbResult CddbControl_GetUserInfo( CddbControlPtr that, 155 /* [retval][out] */ CddbUserInfoPtr *pVal); 156 157 CddbResult CddbControl_SetUserInfo( CddbControlPtr that, 158 CddbUserInfoPtr UserInfo); 159 160 CddbResult CddbControl_GetOptions( CddbControlPtr that, 161 /* [retval][out] */ CddbOptionsPtr *pVal); 162 163 CddbResult CddbControl_SetOptions( CddbControlPtr that, 164 CddbOptionsPtr Options); 165 166 CddbResult CddbControl_GetMediaToc( CddbControlPtr that, 167 long unitNumber, 168 /* [retval][out] */ CddbStr *MediaToc); 169 170 CddbResult CddbControl_LookupMediaByToc( CddbControlPtr that, 171 CddbConstStr MediaToc, 172 CddbBoolean EventOnCompletion, 173 /* [retval][out] */ CDDBMatchCode *pMatchCode); 174 175 #if 0 176 /* GetMatchedDiscInfo has been deprecated. Use GetMatchedDisc and GetMatchedDiscs instead. */ 177 CddbResult CddbControl_GetMatchedDiscInfo( CddbControlPtr that, 178 /* [out] */ CddbDiscPtr *ppDisc, 179 /* [out] */ CddbDiscsPtr *ppDiscs); 180 #endif 181 182 CddbResult CddbControl_GetMatchedDisc( CddbControlPtr that, 183 /* [retval][out] */ CddbDiscPtr *ppDisc); 184 185 CddbResult CddbControl_GetMatchedDiscs( CddbControlPtr that, 186 /* [retval][out] */ CddbDiscsPtr *ppDiscs); 187 188 CddbResult CddbControl_Initialize( CddbControlPtr that, 189 long ParentHWND, /* ignored */ 190 CDDBCacheFlags Flags); 191 192 CddbResult CddbControl_Shutdown( CddbControlPtr that); 193 194 #if 0 195 /* CddbControl_SetClientInfoFromHost has been deprecated. */ 196 CddbResult CddbControl_SetClientInfoFromHost( CddbControlPtr that, 197 CddbConstStr Target, 198 CddbConstStr User, 199 CddbConstStr Password); 200 #endif 201 202 CddbResult CddbControl_InvokeFuzzyMatchDialog( CddbControlPtr that, 203 CddbDiscsPtr Discs, 204 /* [retval][out] */ CddbDiscPtr *pVal); 205 206 CddbResult CddbControl_GetFullDiscInfo( CddbControlPtr that, 207 CddbDiscPtr Disc, 208 CddbBoolean EventOnCompletion, 209 /* [retval][out] */ CddbDiscPtr *pVal); 210 211 CddbResult CddbControl_GetDiscInfo( CddbControlPtr that, 212 CddbConstStr MediaId, 213 CddbConstStr MuiId, 214 CddbConstStr RevisionId, 215 CddbConstStr RevisionTag, 216 CddbBoolean EventOnCompletion, 217 /* [out] */ CddbDiscPtr *ppDisc, 218 /* [out] */ CddbDiscsPtr *ppDiscs); 219 220 CddbResult CddbControl_InvokeDiscInfo( CddbControlPtr that, 221 CddbConstStr MediaToc, 222 CddbConstStr MediaId, 223 CddbConstStr MuiId, 224 long unitNumber, 225 /* [retval][out] */ long *pVal); 226 227 CddbResult CddbControl_DisplayDiscInfo( CddbControlPtr that, 228 CddbDiscPtr Disc, 229 CDDBUIFlags Flags, 230 /* [retval][out] */ CDDBUIFlags *pVal); 231 232 CddbResult CddbControl_GetSubmitDisc( CddbControlPtr that, 233 CddbConstStr MediaToc, 234 CddbConstStr MediaId, 235 CddbConstStr MuiId, 236 /* [retval][out] */ CddbDiscPtr *pVal); 237 238 CddbResult CddbControl_SubmitDisc( CddbControlPtr that, 239 CddbDiscPtr Disc, 240 CddbBoolean EventOnCompletion, 241 /* [retval][out] */ long *pVal); 242 243 CddbResult CddbControl_InvokeSubmitDisc( CddbControlPtr that, 244 CddbConstStr MediaToc, 245 long unitNumber, 246 /* [retval][out] */ long *pVal); 247 248 CddbResult CddbControl_GetGenreList( CddbControlPtr that, 249 CddbBoolean EventOnCompletion, 250 /* [retval][out] */ CddbGenreListPtr *pVal); 251 252 CddbResult CddbControl_GetGenreTree( CddbControlPtr that, 253 CddbBoolean EventOnCompletion, 254 /* [retval][out] */ CddbGenreTreePtr *pVal); 255 256 CddbResult CddbControl_GetGenreInfo( CddbControlPtr that, 257 CddbConstStr GenreId, 258 /* [retval][out] */ CddbGenrePtr *pVal); 259 260 CddbResult CddbControl_GetRegionList( CddbControlPtr that, 261 CddbBoolean EventOnCompletion, 262 /* [retval][out] */ CddbRegionListPtr *pVal); 263 264 CddbResult CddbControl_GetRegionInfo( CddbControlPtr that, 265 CddbConstStr RegionId, 266 /* [retval][out] */ CddbRegionPtr *pVal); 267 268 CddbResult CddbControl_GetRoleList( CddbControlPtr that, 269 CddbBoolean EventOnCompletion, 270 /* [retval][out] */ CddbRoleListPtr *pVal); 271 272 CddbResult CddbControl_GetRoleTree( CddbControlPtr that, 273 CddbBoolean EventOnCompletion, 274 /* [retval][out] */ CddbRoleTreePtr *pVal); 275 276 CddbResult CddbControl_GetRoleInfo( CddbControlPtr that, 277 CddbConstStr RoleId, 278 /* [retval][out] */ CddbRolePtr *pVal); 279 280 CddbResult CddbControl_GetLanguageList( CddbControlPtr that, 281 CddbBoolean EventOnCompletion, 282 /* [retval][out] */ CddbLanguageListPtr *pVal); 283 284 CddbResult CddbControl_GetLanguageInfo( CddbControlPtr that, 285 CddbConstStr LanguageId, 286 /* [retval][out] */ CddbLanguagePtr *pVal); 287 288 #if 0 289 /* CddbControl_GetFieldList has been deprecated. */ 290 CddbResult CddbControl_GetFieldList( CddbControlPtr that, 291 CddbConstStr Target, 292 CddbBoolean EventOnCompletion, 293 /* [retval][out] */ CddbFieldListPtr *pVal); 294 295 /* CddbControl_GetFieldInfo has been deprecated. */ 296 CddbResult CddbControl_GetFieldInfo( CddbControlPtr that, 297 CddbConstStr Target, 298 CddbConstStr Name, 299 /* [retval][out] */ CddbFieldPtr *pVal); 300 #endif 301 302 CddbResult CddbControl_GetURLList( CddbControlPtr that, 303 CddbDiscPtr Disc, 304 CddbBoolean EventOnCompletion, 305 /* [retval][out] */ CddbURLListPtr *pVal); 306 307 CddbResult CddbControl_GetURLManager( CddbControlPtr that, 308 /* [retval][out] */ CddbURLManagerPtr *pVal); 309 310 CddbResult CddbControl_UpdateControl( CddbControlPtr that, 311 CddbBoolean UpdateNow, 312 CddbBoolean EventOnCompletion, 313 /* [retval][out] */ CddbBoolean *pVal); 314 315 CddbResult CddbControl_GetServiceStatusURL( CddbControlPtr that, 316 /* [retval][out] */ CddbStr *pVal); 317 318 CddbResult CddbControl_GetServiceStatus( CddbControlPtr that, 319 /* [retval][out] */ CddbStr *pVal); 320 321 #if 0 322 /* CddbControl_GetCoverURL has not been implemented. */ 323 CddbResult CddbControl_GetCoverURL( CddbControlPtr that, 324 CddbDiscPtr Disc, 325 CddbBoolean EventOnCompletion, 326 /* [retval][out] */ CddbURLPtr *pVal); 327 #endif 328 329 CddbResult CddbControl_GetUpdateURL( CddbControlPtr that, 330 /* [retval][out] */ CddbStr *pVal); 331 332 CddbResult CddbControl_InvokeAboutCddbDialog( CddbControlPtr that); 333 334 CddbResult CddbControl_InvokePopupMenu( CddbControlPtr that, 335 CDDBUIFlags Flags); 336 337 CddbResult CddbControl_InvokeUserRegDialog( CddbControlPtr that, 338 CddbUserInfoPtr UserInfo, 339 CDDBUIFlags Flags, 340 /* [retval][out] */ CDDBUIFlags *pVal); 341 342 CddbResult CddbControl_InvokeOptionsDialog( CddbControlPtr that, 343 CddbOptionsPtr Options, 344 /* [retval][out] */ CDDBUIFlags *pVal); 345 346 CddbResult CddbControl_InvokeNoMatchDialog( CddbControlPtr that, 347 /* [retval][out] */ CDDBUIFlags *pVal); 348 349 CddbResult CddbControl_GetDiscTagId( CddbControlPtr that, 350 CddbDiscPtr Disc, 351 long TrackNum, 352 /* [retval][out] */ CddbStr *pVal); 353 354 CddbResult CddbControl_LookupMediaByTagId( CddbControlPtr that, 355 CddbConstStr TagId, 356 CddbBoolean EventOnCompletion, 357 /* out */ long* TrackNum, 358 /* [retval][out] */ CddbDiscPtr *pVal); 359 360 CddbResult CddbControl_GetTagManager( CddbControlPtr that, 361 /* [retval][out] */ CddbID3TagManagerPtr *pVal); 362 363 CddbResult CddbControl_HttpPost( CddbControlPtr that, 364 CddbConstStr URL, 365 CddbConstStr Header, 366 void *PostData, 367 long PostDataSize, 368 /* [out] */ void **Data, 369 /* [out] */ long *DataSize); 370 371 CddbResult CddbControl_HttpGet( CddbControlPtr that, 372 CddbConstStr URL, 373 CddbConstStr Header, 374 void *GetData, 375 long GetDataSize, 376 /* [out] */ void **Data, 377 /* [out] */ long *DataSize); 378 379 CddbResult CddbControl_HttpGetFile( CddbControlPtr that, 380 CddbConstStr URL, 381 CddbConstStr Header, 382 void *GetData, 383 long GetDataSize, 384 CddbConstStr File); 385 386 CddbResult CddbControl_InvokeInfoBrowser( CddbControlPtr that, 387 CddbDiscPtr Disc, 388 CddbURLPtr URL, 389 CDDBUIFlags Flags); 390 391 CddbResult CddbControl_Cancel( CddbControlPtr that, 392 /* [retval][out] */ long *pVal); 393 394 CddbResult CddbControl_FlushLocalCache( CddbControlPtr that, 395 CDDBFlushFlags Flags); 396 397 CddbResult CddbControl_Status( CddbControlPtr that); 398 399 CddbResult CddbControl_ServerNoop( CddbControlPtr that, 400 CddbBoolean EventOnCompletion); 401 402 /* --- CddbDiscs --------------------------------------------------- */ 403 404 CddbResult CddbDiscs_GetCount( CddbDiscsPtr that, 405 /* [retval][out] */ long *pVal); 406 407 CddbResult CddbDiscs_GetDisc( CddbDiscsPtr that, 408 long lIndex, 409 /* [retval][out] */ CddbDiscPtr *pVal); 410 411 /* --- CddbDisc ---------------------------------------------------- */ 412 413 CddbResult CddbDisc_GetToc( CddbDiscPtr that, 414 /* [retval][out] */ CddbStr *pVal); 415 416 CddbResult CddbDisc_PutToc( CddbDiscPtr that, 417 CddbConstStr newVal); 418 419 CddbResult CddbDisc_GetTitle( CddbDiscPtr that, 420 /* [retval][out] */ CddbStr *pVal); 421 422 CddbResult CddbDisc_PutTitle( CddbDiscPtr that, 423 CddbConstStr newVal); 424 425 CddbResult CddbDisc_GetArtist( CddbDiscPtr that, 426 /* [retval][out] */ CddbStr *pVal); 427 428 CddbResult CddbDisc_PutArtist( CddbDiscPtr that, 429 CddbConstStr newVal); 430 431 CddbResult CddbDisc_GetLabel( CddbDiscPtr that, 432 /* [retval][out] */ CddbStr *pVal); 433 434 CddbResult CddbDisc_PutLabel( CddbDiscPtr that, 435 CddbConstStr newVal); 436 437 CddbResult CddbDisc_GetYear( CddbDiscPtr that, 438 /* [retval][out] */ CddbStr *pVal); 439 440 CddbResult CddbDisc_PutYear( CddbDiscPtr that, 441 CddbConstStr newVal); 442 443 CddbResult CddbDisc_GetNumTracks( CddbDiscPtr that, 444 /* [retval][out] */ long *pVal); 445 446 CddbResult CddbDisc_GetTrackTitle( CddbDiscPtr that, 447 long Number, 448 /* [retval][out] */ CddbStr *Title); 449 450 CddbResult CddbDisc_AddTrack( CddbDiscPtr that, 451 long Number, 452 CddbConstStr Title, 453 /* [retval][out] */ CddbTrackPtr *pVal); 454 455 CddbResult CddbDisc_GetMediaId( CddbDiscPtr that, 456 /* [retval][out] */ CddbStr *pVal); 457 458 CddbResult CddbDisc_GetMuiId( CddbDiscPtr that, 459 /* [retval][out] */ CddbStr *pVal); 460 461 CddbResult CddbDisc_GetNotes( CddbDiscPtr that, 462 /* [retval][out] */ CddbStr *pVal); 463 464 CddbResult CddbDisc_PutNotes( CddbDiscPtr that, 465 CddbConstStr newVal); 466 467 CddbResult CddbDisc_GetGenreId( CddbDiscPtr that, 468 /* [retval][out] */ CddbStr *pVal); 469 470 CddbResult CddbDisc_PutGenreId( CddbDiscPtr that, 471 CddbConstStr newVal); 472 473 CddbResult CddbDisc_GetSecondaryGenreId( CddbDiscPtr that, 474 /* [retval][out] */ CddbStr *pVal); 475 476 CddbResult CddbDisc_PutSecondaryGenreId( CddbDiscPtr that, 477 CddbConstStr newVal); 478 479 CddbResult CddbDisc_GetRegionId( CddbDiscPtr that, 480 /* [retval][out] */ CddbStr *pVal); 481 482 CddbResult CddbDisc_PutRegionId( CddbDiscPtr that, 483 CddbConstStr newVal); 484 485 CddbResult CddbDisc_GetRevision( CddbDiscPtr that, 486 /* [retval][out] */ CddbStr *pVal); 487 488 CddbResult CddbDisc_PutRevision( CddbDiscPtr that, 489 CddbConstStr newVal); 490 491 CddbResult CddbDisc_GetTotalInSet( CddbDiscPtr that, 492 /* [retval][out] */ CddbStr *pVal); 493 494 CddbResult CddbDisc_PutTotalInSet( CddbDiscPtr that, 495 CddbConstStr newVal); 496 497 CddbResult CddbDisc_GetNumberInSet( CddbDiscPtr that, 498 /* [retval][out] */ CddbStr *pVal); 499 500 CddbResult CddbDisc_PutNumberInSet( CddbDiscPtr that, 501 CddbConstStr newVal); 502 503 CddbResult CddbDisc_GetTitleUId( CddbDiscPtr that, 504 /* [retval][out] */ CddbStr *pVal); 505 506 CddbResult CddbDisc_GetCertifier( CddbDiscPtr that, 507 /* [retval][out] */ CddbStr *pVal); 508 509 CddbResult CddbDisc_GetTitleSort( CddbDiscPtr that, 510 /* [retval][out] */ CddbStr *pVal); 511 512 CddbResult CddbDisc_PutTitleSort( CddbDiscPtr that, 513 CddbConstStr newVal); 514 515 CddbResult CddbDisc_GetTitleThe( CddbDiscPtr that, 516 /* [retval][out] */ CddbStr *pVal); 517 518 CddbResult CddbDisc_PutTitleThe( CddbDiscPtr that, 519 CddbConstStr newVal); 520 521 CddbResult CddbDisc_GetTracks( CddbDiscPtr that, 522 /* [retval][out] */ CddbTracksPtr *pVal); 523 524 CddbResult CddbDisc_GetSegments( CddbDiscPtr that, 525 /* [retval][out] */ CddbSegmentsPtr *pVal); 526 527 CddbResult CddbDisc_GetCredits( CddbDiscPtr that, 528 /* [retval][out] */ CddbCreditsPtr *pVal); 529 530 CddbResult CddbDisc_GetArtistFullName( CddbDiscPtr that, 531 /* [retval][out] */ CddbFullNamePtr *pVal); 532 533 CddbResult CddbDisc_PutArtistFullName( CddbDiscPtr that, 534 const CddbFullNamePtr newVal); 535 536 #if 0 537 /* Deprecated. Use CddbControl_GetURLList followed by CddbURLList_CreateURLTree instead. */ 538 CddbResult CddbDisc_GetURLTree( CddbDiscPtr that, 539 /* [retval][out] */ CddbURLTreePtr *pVal); 540 #endif 541 542 CddbResult CddbDisc_AddSegment( CddbDiscPtr that, 543 CddbConstStr Name, 544 /* [retval][out] */ CddbSegmentPtr *pVal); 545 546 CddbResult CddbDisc_RemoveSegment( CddbDiscPtr that, 547 CddbConstStr Name); 548 549 CddbResult CddbDisc_AddCredit( CddbDiscPtr that, 550 CddbConstStr RoleId, 551 CddbConstStr Name, 552 /* [retval][out] */ CddbCreditPtr *pVal); 553 554 CddbResult CddbDisc_RemoveCredit( CddbDiscPtr that, 555 CddbCreditPtr credit); 556 557 CddbResult CddbDisc_GetLanguageId( CddbDiscPtr that, 558 /* [retval][out] */ CddbStr *pVal); 559 560 CddbResult CddbDisc_PutLanguageId( CddbDiscPtr that, 561 CddbConstStr newVal); 562 563 CddbResult CddbDisc_GetRevisionTag( CddbDiscPtr that, 564 /* [retval][out] */ CddbStr *pVal); 565 566 CddbResult CddbDisc_PutRevisionTag( CddbDiscPtr that, 567 CddbConstStr newVal); 568 569 CddbResult CddbDisc_GetCompilation( CddbDiscPtr that, 570 /* [retval][out] */ CddbBoolean *pVal); 571 572 CddbResult CddbDisc_PutCompilation( CddbDiscPtr that, 573 CddbBoolean newVal); 574 575 CddbResult CddbDisc_GetLanguages( CddbDiscPtr that, 576 /* [retval][out] */ CddbLanguagesPtr *pVal); 577 578 CddbResult CddbDisc_GetTrack( CddbDiscPtr that, 579 long Number, 580 /* [retval][out] */ CddbTrackPtr *pVal); 581 582 CddbResult CddbDisc_GetSegment( CddbDiscPtr that, 583 long SegmentIndex, 584 /* [retval][out] */ CddbSegmentPtr *pVal); 585 586 CddbResult CddbDisc_GetNumCredits( CddbDiscPtr that, 587 /* [retval][out] */ long *pVal); 588 589 CddbResult CddbDisc_GetNumSegments( CddbDiscPtr that, 590 /* [retval][out] */ long *pVal); 591 592 CddbResult CddbDisc_GetCredit( CddbDiscPtr that, 593 long CreditIndex, 594 /* [retval][out] */ CddbCreditPtr *pVal); 595 596 CddbResult CddbDisc_IsSubmit( CddbDiscPtr that, 597 /* [retval][out] */ CddbBoolean *pVal); 598 599 CddbResult CddbDisc_IsPropertyCertified( CddbDiscPtr that, 600 CDDBProperty Property, 601 /* [retval][out] */ CddbBoolean *pVal); 602 603 CddbResult CddbDisc_RemoveSegmentObject( CddbDiscPtr that, 604 CddbSegmentPtr Segment); 605 606 /* --- CddbTracks --------------------------------------------------- */ 607 608 CddbResult CddbTracks_GetCount( CddbTracksPtr that, 609 /* [retval][out] */ long *pVal); 610 611 CddbResult CddbTracks_GetTrack( CddbTracksPtr that, 612 long lIndex, 613 /* [retval][out] */ CddbTrackPtr *pVal); 614 615 /* --- CddbTrack --------------------------------------------------- */ 616 617 CddbResult CddbTrack_GetTitle( CddbTrackPtr that, 618 /* [retval][out] */ CddbStr *pVal); 619 620 CddbResult CddbTrack_PutTitle( CddbTrackPtr that, 621 CddbConstStr newVal); 622 623 CddbResult CddbTrack_GetArtist( CddbTrackPtr that, 624 /* [retval][out] */ CddbStr *pVal); 625 626 CddbResult CddbTrack_PutArtist( CddbTrackPtr that, 627 CddbConstStr newVal); 628 629 CddbResult CddbTrack_GetYear( CddbTrackPtr that, 630 /* [retval][out] */ CddbStr *pVal); 631 632 CddbResult CddbTrack_PutYear( CddbTrackPtr that, 633 CddbConstStr newVal); 634 635 CddbResult CddbTrack_GetLabel( CddbTrackPtr that, 636 /* [retval][out] */ CddbStr *pVal); 637 638 CddbResult CddbTrack_PutLabel( CddbTrackPtr that, 639 CddbConstStr newVal); 640 641 CddbResult CddbTrack_GetNotes( CddbTrackPtr that, 642 /* [retval][out] */ CddbStr *pVal); 643 644 CddbResult CddbTrack_PutNotes( CddbTrackPtr that, 645 CddbConstStr newVal); 646 647 CddbResult CddbTrack_GetGenreId( CddbTrackPtr that, 648 /* [retval][out] */ CddbStr *pVal); 649 650 CddbResult CddbTrack_PutGenreId( CddbTrackPtr that, 651 CddbConstStr newVal); 652 653 CddbResult CddbTrack_GetSecondaryGenreId( CddbTrackPtr that, 654 /* [retval][out] */ CddbStr *pVal); 655 656 CddbResult CddbTrack_PutSecondaryGenreId( CddbTrackPtr that, 657 CddbConstStr newVal); 658 659 CddbResult CddbTrack_GetLyrics( CddbTrackPtr that, 660 /* [retval][out] */ CddbStr *pVal); 661 662 CddbResult CddbTrack_PutLyrics( CddbTrackPtr that, 663 CddbConstStr newVal); 664 665 CddbResult CddbTrack_GetBeatsPerMinute( CddbTrackPtr that, 666 /* [retval][out] */ CddbStr *pVal); 667 668 CddbResult CddbTrack_PutBeatsPerMinute( CddbTrackPtr that, 669 CddbConstStr newVal); 670 671 CddbResult CddbTrack_GetISRC( CddbTrackPtr that, 672 /* [retval][out] */ CddbStr *pVal); 673 674 CddbResult CddbTrack_PutISRC( CddbTrackPtr that, 675 CddbConstStr newVal); 676 677 CddbResult CddbTrack_GetTitleSort( CddbTrackPtr that, 678 /* [retval][out] */ CddbStr *pVal); 679 680 CddbResult CddbTrack_PutTitleSort( CddbTrackPtr that, 681 CddbConstStr newVal); 682 683 CddbResult CddbTrack_GetTitleThe( CddbTrackPtr that, 684 /* [retval][out] */ CddbStr *pVal); 685 686 CddbResult CddbTrack_PutTitleThe( CddbTrackPtr that, 687 CddbConstStr newVal); 688 689 CddbResult CddbTrack_GetArtistFullName( CddbTrackPtr that, 690 /* [retval][out] */ CddbFullNamePtr *pVal); 691 692 CddbResult CddbTrack_PutArtistFullName( CddbTrackPtr that, 693 const CddbFullNamePtr newVal); 694 695 CddbResult CddbTrack_AddCredit( CddbTrackPtr that, 696 CddbConstStr RoleId, 697 CddbConstStr Name, 698 /* [retval][out] */ CddbCreditPtr *pVal); 699 700 CddbResult CddbTrack_RemoveCredit( CddbTrackPtr that, 701 CddbCreditPtr Credit); 702 703 CddbResult CddbTrack_GetCredits( CddbTrackPtr that, 704 /* [retval][out] */ CddbCreditsPtr *pVal); 705 706 CddbResult CddbTrack_GetCredit( CddbTrackPtr that, 707 long CreditIndex, 708 /* [retval][out] */ CddbCreditPtr *pVal); 709 710 CddbResult CddbTrack_GetNumCredits( CddbTrackPtr that, 711 /* [retval][out] */ long *pVal); 712 713 CddbResult CddbTrack_IsPropertyCertified( CddbTrackPtr that, 714 CDDBProperty Property, 715 /* [retval][out] */ CddbBoolean *pVal); 716 717 /* --- CddbGenre --------------------------------------------------- */ 718 719 CddbResult CddbGenre_GetId( CddbGenrePtr that, 720 /* [retval][out] */ CddbStr *pVal); 721 722 CddbResult CddbGenre_GetName( CddbGenrePtr that, 723 /* [retval][out] */ CddbStr *pVal); 724 725 CddbResult CddbGenre_GetDescription( CddbGenrePtr that, 726 /* [retval][out] */ CddbStr *pVal); 727 728 #if 0 729 /* CddbGenre_GetType has been deprecated. */ 730 CddbResult CddbGenre_GetType( CddbGenrePtr that, 731 /* [retval][out] */ CddbStr *pVal); 732 #endif 733 734 CddbResult CddbGenre_GetParent( CddbGenrePtr that, 735 /* [retval][out] */ CddbStr *pVal); 736 737 /* --- CddbGenreList --------------------------------------------------- */ 738 739 CddbResult CddbGenreList_GetCount( CddbGenreListPtr that, 740 /* [retval][out] */ long *pVal); 741 742 CddbResult CddbGenreList_GetGenreName( CddbGenreListPtr that, 743 CddbConstStr GenreId, 744 /* [retval][out] */ CddbStr *GenreName); 745 746 CddbResult CddbGenreList_GetMetaGenre( CddbGenreListPtr that, 747 /* [retval][out] */ CddbGenrePtr *pVal); 748 749 CddbResult CddbGenreList_GetGenre( CddbGenreListPtr that, 750 long lIndex, 751 /* [retval][out] */ CddbGenrePtr *pVal); 752 753 CddbResult CddbGenreList_GetGenreInfo( CddbGenreListPtr that, 754 CddbConstStr GenreId, 755 /* [retval][out] */ CddbGenrePtr *pVal); 756 757 /* --- CddbRole --------------------------------------------------- */ 758 759 CddbResult CddbRole_GetId( CddbRolePtr that, 760 /* [retval][out] */ CddbStr *pVal); 761 762 CddbResult CddbRole_GetName( CddbRolePtr that, 763 /* [retval][out] */ CddbStr *pVal); 764 765 CddbResult CddbRole_GetDescription( CddbRolePtr that, 766 /* [retval][out] */ CddbStr *pVal); 767 768 CddbResult CddbRole_GetParent( CddbRolePtr that, 769 /* [retval][out] */ CddbStr *pVal); 770 771 /* --- CddbLanguage --------------------------------------------------- */ 772 773 CddbResult CddbLanguage_GetId( CddbLanguagePtr that, 774 /* [retval][out] */ CddbStr *pVal); 775 776 CddbResult CddbLanguage_GetName( CddbLanguagePtr that, 777 /* [retval][out] */ CddbStr *pVal); 778 779 CddbResult CddbLanguage_GetDescription( CddbLanguagePtr that, 780 /* [retval][out] */ CddbStr *pVal); 781 782 /* --- CddbRegion --------------------------------------------------- */ 783 784 CddbResult CddbRegion_GetId( CddbRegionPtr that, 785 /* [retval][out] */ CddbStr *pVal); 786 787 CddbResult CddbRegion_GetName( CddbRegionPtr that, 788 /* [retval][out] */ CddbStr *pVal); 789 790 CddbResult CddbRegion_GetDescription( CddbRegionPtr that, 791 /* [retval][out] */ CddbStr *pVal); 792 793 #if 0 794 /* CddbField has been deprecated. */ 795 /* --- CddbField --------------------------------------------------- */ 796 797 CddbResult CddbField_GetDisplayName( CddbFieldPtr that, 798 /* [retval][out] */ CddbStr *pVal); 799 800 CddbResult CddbField_GetName( CddbFieldPtr that, 801 /* [retval][out] */ CddbStr *pVal); 802 803 CddbResult CddbField_GetDescription( CddbFieldPtr that, 804 /* [retval][out] */ CddbStr *pVal); 805 806 CddbResult CddbField_GetType( CddbFieldPtr that, 807 /* [retval][out] */ CddbStr *pVal); 808 809 CddbResult CddbField_GetLength( CddbFieldPtr that, 810 /* [retval][out] */ CddbStr *pVal); 811 812 CddbResult CddbField_GetEnumCount( CddbFieldPtr that, 813 /* [retval][out] */ CddbStr *pVal); 814 815 CddbResult CddbField_GetTable( CddbFieldPtr that, 816 /* [retval][out] */ CddbStr *pVal); 817 818 CddbResult CddbField_GetTarget( CddbFieldPtr that, 819 /* [retval][out] */ CddbStr *pVal); 820 #endif 821 822 /* --- CddbSegment --------------------------------------------------- */ 823 824 CddbResult CddbSegment_GetName( CddbSegmentPtr that, 825 /* [retval][out] */ CddbStr *pVal); 826 827 CddbResult CddbSegment_PutName( CddbSegmentPtr that, 828 CddbConstStr newVal); 829 830 CddbResult CddbSegment_GetNotes( CddbSegmentPtr that, 831 /* [retval][out] */ CddbStr *pVal); 832 833 CddbResult CddbSegment_PutNotes( CddbSegmentPtr that, 834 CddbConstStr newVal); 835 836 CddbResult CddbSegment_GetStartTrack( CddbSegmentPtr that, 837 /* [retval][out] */ CddbStr *pVal); 838 839 CddbResult CddbSegment_PutStartTrack( CddbSegmentPtr that, 840 CddbConstStr newVal); 841 842 CddbResult CddbSegment_GetStartFrame( CddbSegmentPtr that, 843 /* [retval][out] */ CddbStr *pVal); 844 845 CddbResult CddbSegment_PutStartFrame( CddbSegmentPtr that, 846 CddbConstStr newVal); 847 848 CddbResult CddbSegment_GetEndTrack( CddbSegmentPtr that, 849 /* [retval][out] */ CddbStr *pVal); 850 851 CddbResult CddbSegment_PutEndTrack( CddbSegmentPtr that, 852 CddbConstStr newVal); 853 854 CddbResult CddbSegment_GetEndFrame( CddbSegmentPtr that, 855 /* [retval][out] */ CddbStr *pVal); 856 857 CddbResult CddbSegment_PutEndFrame( CddbSegmentPtr that, 858 CddbConstStr newVal); 859 860 CddbResult CddbSegment_GetCredits( CddbSegmentPtr that, 861 /* [retval][out] */ CddbCreditsPtr *pVal); 862 863 CddbResult CddbSegment_AddCredit( CddbSegmentPtr that, 864 CddbConstStr RoleId, 865 CddbConstStr Name, 866 /* [retval][out] */ CddbCreditPtr *pVal); 867 868 CddbResult CddbSegment_RemoveCredit( CddbSegmentPtr that, 869 CddbCreditPtr Credit); 870 871 CddbResult CddbSegment_GetCredit( CddbSegmentPtr that, 872 long CreditIndex, 873 /* [retval][out] */ CddbCreditPtr *pVal); 874 875 CddbResult CddbSegment_GetNumCredits( CddbSegmentPtr that, 876 /* [retval][out] */ long *pVal); 877 878 CddbResult CddbSegment_IsPropertyCertified( CddbSegmentPtr that, 879 CDDBProperty Property, 880 /* [retval][out] */ CddbBoolean *pVal); 881 882 /* --- CddbURL --------------------------------------------------- */ 883 884 CddbResult CddbURL_GetHref( CddbURLPtr that, 885 /* [retval][out] */ CddbStr *pVal); 886 887 CddbResult CddbURL_PutHref( CddbURLPtr that, 888 CddbConstStr newVal); 889 890 CddbResult CddbURL_GetDisplayLink( CddbURLPtr that, 891 /* [retval][out] */ CddbStr *pVal); 892 893 CddbResult CddbURL_PutDisplayLink( CddbURLPtr that, 894 CddbConstStr newVal); 895 896 CddbResult CddbURL_GetDescription( CddbURLPtr that, 897 /* [retval][out] */ CddbStr *pVal); 898 899 CddbResult CddbURL_PutDescription( CddbURLPtr that, 900 CddbConstStr newVal); 901 902 CddbResult CddbURL_GetType( CddbURLPtr that, 903 /* [retval][out] */ CddbStr *pVal); 904 905 CddbResult CddbURL_PutType( CddbURLPtr that, 906 CddbConstStr newVal); 907 908 CddbResult CddbURL_GetCategory( CddbURLPtr that, 909 /* [retval][out] */ CddbStr *pVal); 910 911 CddbResult CddbURL_PutCategory( CddbURLPtr that, 912 CddbConstStr newVal); 913 914 CddbResult CddbURL_GetWeight( CddbURLPtr that, 915 /* [retval][out] */ CddbStr *pVal); 916 917 CddbResult CddbURL_PutWeight( CddbURLPtr that, 918 CddbConstStr newVal); 919 920 CddbResult CddbURL_GetSize( CddbURLPtr that, 921 /* [retval][out] */ CddbStr *pVal); 922 923 CddbResult CddbURL_PutSize( CddbURLPtr that, 924 CddbConstStr newVal); 925 926 CddbResult CddbURL_GetDisplayText( CddbURLPtr that, 927 /* [retval][out] */ CddbStr *pVal); 928 929 CddbResult CddbURL_PutDisplayText( CddbURLPtr that, 930 CddbConstStr newVal); 931 932 CddbResult CddbURL_IsPropertyCertified( CddbURLPtr that, 933 CDDBProperty Property, 934 /* [retval][out] */ CddbBoolean *pVal); 935 936 /* --- CddbFullName --------------------------------------------------- */ 937 938 CddbResult CddbFullName_GetName( CddbFullNamePtr that, 939 /* [retval][out] */ CddbStr *pVal); 940 941 CddbResult CddbFullName_PutName( CddbFullNamePtr that, 942 CddbConstStr newVal); 943 944 CddbResult CddbFullName_GetFirstName( CddbFullNamePtr that, 945 /* [retval][out] */ CddbStr *pVal); 946 947 CddbResult CddbFullName_PutFirstName( CddbFullNamePtr that, 948 CddbConstStr newVal); 949 950 CddbResult CddbFullName_GetLastName( CddbFullNamePtr that, 951 /* [retval][out] */ CddbStr *pVal); 952 953 CddbResult CddbFullName_PutLastName( CddbFullNamePtr that, 954 CddbConstStr newVal); 955 956 CddbResult CddbFullName_GetThe( CddbFullNamePtr that, 957 /* [retval][out] */ CddbStr *pVal); 958 959 CddbResult CddbFullName_PutThe( CddbFullNamePtr that, 960 CddbConstStr newVal); 961 962 /* --- CddbCredit --------------------------------------------------- */ 963 964 CddbResult CddbCredit_GetId( CddbCreditPtr that, 965 /* [retval][out] */ CddbStr *pVal); 966 967 CddbResult CddbCredit_PutId( CddbCreditPtr that, 968 CddbConstStr newVal); 969 970 CddbResult CddbCredit_GetName( CddbCreditPtr that, 971 /* [retval][out] */ CddbStr *pVal); 972 973 CddbResult CddbCredit_PutName( CddbCreditPtr that, 974 CddbConstStr newVal); 975 976 CddbResult CddbCredit_GetNotes( CddbCreditPtr that, 977 /* [retval][out] */ CddbStr *pVal); 978 979 CddbResult CddbCredit_PutNotes( CddbCreditPtr that, 980 CddbConstStr newVal); 981 982 CddbResult CddbCredit_GetFullName( CddbCreditPtr that, 983 /* [retval][out] */ CddbFullNamePtr *pVal); 984 985 CddbResult CddbCredit_PutFullName( CddbCreditPtr that, 986 const CddbFullNamePtr newVal); 987 988 CddbResult CddbCredit_IsPropertyCertified( CddbCreditPtr that, 989 CDDBProperty Property, 990 /* [retval][out] */ CddbBoolean *pVal); 991 992 /* --- CddbSegments --------------------------------------------------- */ 993 994 CddbResult CddbSegments_GetCount( CddbSegmentsPtr that, 995 /* [retval][out] */ long *pVal); 996 997 CddbResult CddbSegments_GetSegment( CddbSegmentsPtr that, 998 long lIndex, 999 /* [retval][out] */ CddbSegmentPtr *pVal); 1000 1001 /* --- CddbGenreTree --------------------------------------------------- */ 1002 1003 CddbResult CddbGenreTree_GetCount( CddbGenreTreePtr that, 1004 /* [retval][out] */ long *pVal); 1005 1006 CddbResult CddbGenreTree_GetSubGenreList( CddbGenreTreePtr that, 1007 CddbConstStr GenreId, 1008 /* [retval][out] */ CddbGenreListPtr *pVal); 1009 1010 CddbResult CddbGenreTree_GetMetaGenre( CddbGenreTreePtr that, 1011 long genreIndex, 1012 /* [retval][out] */ CddbGenrePtr *pVal); 1013 1014 CddbResult CddbGenreTree_GetItem( CddbGenreTreePtr that, 1015 long lIndex, 1016 /* [retval][out] */ CddbGenreListPtr *pVal); 1017 1018 /* --- CddbCredits --------------------------------------------------- */ 1019 1020 CddbResult CddbCredits_GetCount( CddbCreditsPtr that, 1021 /* [retval][out] */ long *pVal); 1022 1023 CddbResult CddbCredits_GetCredit( CddbCreditsPtr that, 1024 long lIndex, 1025 /* [retval][out] */ CddbCreditPtr *pVal); 1026 1027 /* --- CddbURLList --------------------------------------------------- */ 1028 1029 CddbResult CddbURLList_GetCount( CddbURLListPtr that, 1030 /* [retval][out] */ long *pVal); 1031 1032 CddbResult CddbURLList_GetCategory( CddbURLListPtr that, 1033 /* [retval][out] */ CddbStr *pVal); 1034 1035 CddbResult CddbURLList_GetURL( CddbURLListPtr that, 1036 long lIndex, 1037 /* [retval][out] */ CddbURLPtr *pVal); 1038 1039 CddbResult CddbURLList_CreateURLTree( CddbURLListPtr that, 1040 /* [retval][out] */ CddbURLTreePtr *pVal); 1041 1042 /* --- CddbURLTree --------------------------------------------------- */ 1043 1044 CddbResult CddbURLTree_GetCount( CddbURLTreePtr that, 1045 /* [retval][out] */ long *pVal); 1046 1047 CddbResult CddbURLTree_CategoryList( CddbURLTreePtr that, 1048 CddbConstStr Category, 1049 /* [retval][out] */ CddbURLListPtr *pVal); 1050 1051 CddbResult CddbURLTree_GetURLList( CddbURLTreePtr that, 1052 long lIndex, 1053 /* [retval][out] */ CddbURLListPtr *pVal); 1054 1055 #if 0 1056 /* CddbFieldList has been deprecated. */ 1057 /* --- CddbFieldList --------------------------------------------------- */ 1058 1059 CddbResult CddbFieldList_GetCount( CddbFieldListPtr that, 1060 /* [retval][out] */ long *pVal); 1061 1062 CddbResult CddbFieldList_GetFieldName( CddbFieldListPtr that, 1063 CddbConstStr Name, 1064 CddbConstStr Target, 1065 /* [retval][out] */ CddbStr *pVal); 1066 1067 CddbResult CddbFieldList_GetItem( CddbFieldListPtr that, 1068 long lIndex, 1069 /* [retval][out] */ CddbFieldPtr *pVal); 1070 #endif 1071 1072 /* --- CddbLanguageList --------------------------------------------------- */ 1073 1074 CddbResult CddbLanguageList_GetCount( CddbLanguageListPtr that, 1075 /* [retval][out] */ long *pVal); 1076 1077 CddbResult CddbLanguageList_GetLanguageName(CddbLanguageListPtr that, 1078 CddbConstStr Id, 1079 /* [retval][out] */ CddbStr *pVal); 1080 1081 CddbResult CddbLanguageList_GetLanguage( CddbLanguageListPtr that, 1082 long lIndex, 1083 /* [retval][out] */ CddbLanguagePtr *pVal); 1084 1085 CddbResult CddbLanguageList_GetLanguageInfo(CddbLanguageListPtr that, 1086 CddbConstStr LanguageId, 1087 /* [retval][out] */ CddbLanguagePtr *pVal); 1088 1089 /* --- CddbRegionList --------------------------------------------------- */ 1090 1091 CddbResult CddbRegionList_GetCount( CddbRegionListPtr that, 1092 /* [retval][out] */ long *pVal); 1093 1094 CddbResult CddbRegionList_GetRegionName( CddbRegionListPtr that, 1095 CddbConstStr Id, 1096 /* [retval][out] */ CddbStr *pVal); 1097 1098 CddbResult CddbRegionList_GetRegion( CddbRegionListPtr that, 1099 long lIndex, 1100 /* [retval][out] */ CddbRegionPtr *pVal); 1101 1102 CddbResult CddbRegionList_GetRegionInfo( CddbRegionListPtr that, 1103 CddbConstStr RegionId, 1104 /* [retval][out] */ CddbRegionPtr *pVal); 1105 1106 /* --- CddbRoleList --------------------------------------------------- */ 1107 1108 CddbResult CddbRoleList_GetCount( CddbRoleListPtr that, 1109 /* [retval][out] */ long *pVal); 1110 1111 CddbResult CddbRoleList_GetRoleName( CddbRoleListPtr that, 1112 CddbConstStr Id, 1113 /* [retval][out] */ CddbStr *pVal); 1114 1115 CddbResult CddbRoleList_GetRole( CddbRoleListPtr that, 1116 long lIndex, 1117 /* [retval][out] */ CddbRolePtr *pVal); 1118 1119 CddbResult CddbRoleList_GetCategory( CddbRoleListPtr that, 1120 /* [retval][out] */ CddbStr *pVal); 1121 1122 CddbResult CddbRoleList_GetCategoryRole( CddbRoleListPtr that, 1123 /* [retval][out] */ CddbRolePtr *pVal); 1124 1125 CddbResult CddbRoleList_GetRoleInfo( CddbRoleListPtr that, 1126 CddbConstStr RoleId, 1127 /* [retval][out] */ CddbRolePtr *pVal); 1128 1129 /* --- CddbUserInfo --------------------------------------------------- */ 1130 1131 CddbResult CddbUserInfo_GetEmailAddress( CddbUserInfoPtr that, 1132 /* [retval][out] */ CddbStr *pVal); 1133 1134 CddbResult CddbUserInfo_PutEmailAddress( CddbUserInfoPtr that, 1135 CddbConstStr newVal); 1136 1137 CddbResult CddbUserInfo_GetUserHandle( CddbUserInfoPtr that, 1138 /* [retval][out] */ CddbStr *pVal); 1139 1140 CddbResult CddbUserInfo_PutUserHandle( CddbUserInfoPtr that, 1141 CddbConstStr newVal); 1142 1143 CddbResult CddbUserInfo_GetPassword( CddbUserInfoPtr that, 1144 /* [retval][out] */ CddbStr *pVal); 1145 1146 CddbResult CddbUserInfo_PutPassword( CddbUserInfoPtr that, 1147 CddbConstStr newVal); 1148 1149 CddbResult CddbUserInfo_GetPasswordHint( CddbUserInfoPtr that, 1150 /* [retval][out] */ CddbStr *pVal); 1151 1152 CddbResult CddbUserInfo_PutPasswordHint( CddbUserInfoPtr that, 1153 CddbConstStr newVal); 1154 1155 CddbResult CddbUserInfo_GetRegionId( CddbUserInfoPtr that, 1156 /* [retval][out] */ CddbStr *pVal); 1157 1158 CddbResult CddbUserInfo_PutRegionId( CddbUserInfoPtr that, 1159 CddbConstStr newVal); 1160 1161 CddbResult CddbUserInfo_GetPostalCode( CddbUserInfoPtr that, 1162 /* [retval][out] */ CddbStr *pVal); 1163 1164 CddbResult CddbUserInfo_PutPostalCode( CddbUserInfoPtr that, 1165 CddbConstStr newVal); 1166 1167 CddbResult CddbUserInfo_GetAge( CddbUserInfoPtr that, 1168 /* [retval][out] */ CddbStr *pVal); 1169 1170 CddbResult CddbUserInfo_PutAge( CddbUserInfoPtr that, 1171 CddbConstStr newVal); 1172 1173 CddbResult CddbUserInfo_GetSex( CddbUserInfoPtr that, 1174 /* [retval][out] */ CddbStr *pVal); 1175 1176 CddbResult CddbUserInfo_PutSex( CddbUserInfoPtr that, 1177 CddbConstStr newVal); 1178 1179 CddbResult CddbUserInfo_GetAllowEmail( CddbUserInfoPtr that, 1180 /* [retval][out] */ CddbBoolean *pVal); 1181 1182 CddbResult CddbUserInfo_PutAllowEmail( CddbUserInfoPtr that, 1183 CddbBoolean newVal); 1184 1185 CddbResult CddbUserInfo_GetAllowStats( CddbUserInfoPtr that, 1186 /* [retval][out] */ CddbBoolean *pVal); 1187 1188 CddbResult CddbUserInfo_PutAllowStats( CddbUserInfoPtr that, 1189 CddbBoolean newVal); 1190 1191 /* --- CddbOptions --------------------------------------------------- */ 1192 1193 CddbResult CddbOptions_GetLanguage( CddbOptionsPtr that, 1194 /* [retval][out] */ CddbStr *pVal); 1195 1196 CddbResult CddbOptions_PutLanguage( CddbOptionsPtr that, 1197 CddbConstStr newVal); 1198 1199 CddbResult CddbOptions_GetLocalCachePath( CddbOptionsPtr that, 1200 /* [retval][out] */ CddbStr *pVal); 1201 1202 CddbResult CddbOptions_PutLocalCachePath( CddbOptionsPtr that, 1203 CddbConstStr newVal); 1204 1205 CddbResult CddbOptions_GetLocalCacheSize( CddbOptionsPtr that, 1206 /* [retval][out] */ long *pVal); 1207 1208 CddbResult CddbOptions_PutLocalCacheSize( CddbOptionsPtr that, 1209 long newVal); 1210 1211 CddbResult CddbOptions_GetLogFile( CddbOptionsPtr that, 1212 /* [retval][out] */ CddbStr *pVal); 1213 1214 CddbResult CddbOptions_PutLogFile( CddbOptionsPtr that, 1215 CddbConstStr newVal); 1216 1217 CddbResult CddbOptions_GetLogFlags( CddbOptionsPtr that, 1218 /* [retval][out] */ long *pVal); 1219 1220 CddbResult CddbOptions_PutLogFlags( CddbOptionsPtr that, 1221 long newVal); 1222 1223 #if 0 1224 /* CddbOptions_GetLogWindow and CddbOptions_PutLogWindow have been deprecated. */ 1225 CddbResult CddbOptions_GetLogWindow( CddbOptionsPtr that, 1226 /* [retval][out] */ long *pVal); 1227 1228 CddbResult CddbOptions_PutLogWindow( CddbOptionsPtr that, 1229 long newVal); 1230 #endif 1231 1232 CddbResult CddbOptions_GetProxyServer( CddbOptionsPtr that, 1233 /* [retval][out] */ CddbStr *pVal); 1234 1235 CddbResult CddbOptions_PutProxyServer( CddbOptionsPtr that, 1236 CddbConstStr newVal); 1237 1238 CddbResult CddbOptions_GetProxyServerPort( CddbOptionsPtr that, 1239 /* [retval][out] */ long *pVal); 1240 1241 CddbResult CddbOptions_PutProxyServerPort( CddbOptionsPtr that, 1242 long newVal); 1243 1244 #if 0 1245 /* CddbOptions_GetResourceModule and CddbOptions_PutResourceModule have been deprecated. */ 1246 CddbResult CddbOptions_GetResourceModule( CddbOptionsPtr that, 1247 /* [retval][out] */ long *pVal); 1248 1249 CddbResult CddbOptions_PutResourceModule( CddbOptionsPtr that, 1250 long newVal); 1251 #endif 1252 1253 CddbResult CddbOptions_GetServerTimeout( CddbOptionsPtr that, 1254 /* [retval][out] */ long *pVal); 1255 1256 CddbResult CddbOptions_PutServerTimeout( CddbOptionsPtr that, 1257 long newVal); 1258 1259 #if 0 1260 /* CddbOptions_GetAsyncCompletion and CddbOptions_PutAsyncCompletion have been deprecated. */ 1261 CddbResult CddbOptions_GetAsyncCompletion( CddbOptionsPtr that, 1262 /* [retval][out] */ CddbBoolean *pVal); 1263 1264 CddbResult CddbOptions_PutAsyncCompletion( CddbOptionsPtr that, 1265 CddbBoolean newVal); 1266 #endif 1267 1268 CddbResult CddbOptions_GetAutoDownloadURLs( CddbOptionsPtr that, 1269 /* [retval][out] */ CddbBoolean *pVal); 1270 1271 CddbResult CddbOptions_PutAutoDownloadURLs( CddbOptionsPtr that, 1272 CddbBoolean newVal); 1273 1274 CddbResult CddbOptions_GetAutoDownloadTargetedURLs( CddbOptionsPtr that, 1275 /* [retval][out] */ CddbBoolean *pVal); 1276 1277 CddbResult CddbOptions_PutAutoDownloadTargetedURLs( CddbOptionsPtr that, 1278 CddbBoolean newVal); 1279 1280 CddbResult CddbOptions_GetProxyUserName( CddbOptionsPtr that, 1281 /* [retval][out] */ CddbStr *pVal); 1282 1283 CddbResult CddbOptions_PutProxyUserName( CddbOptionsPtr that, 1284 CddbConstStr newVal); 1285 1286 CddbResult CddbOptions_GetProxyPassword( CddbOptionsPtr that, 1287 /* [retval][out] */ CddbStr *pVal); 1288 1289 CddbResult CddbOptions_PutProxyPassword( CddbOptionsPtr that, 1290 CddbConstStr newVal); 1291 1292 CddbResult CddbOptions_GetProgressEvents( CddbOptionsPtr that, 1293 /* [retval][out] */ CddbBoolean *pVal); 1294 1295 CddbResult CddbOptions_PutProgressEvents( CddbOptionsPtr that, 1296 CddbBoolean newVal); 1297 1298 CddbResult CddbOptions_GetLocalCacheTimeout(CddbOptionsPtr that, 1299 /* [retval][out] */ long *pVal); 1300 1301 CddbResult CddbOptions_PutLocalCacheTimeout(CddbOptionsPtr that, 1302 long newVal); 1303 1304 CddbResult CddbOptions_GetLocalCacheFlags( CddbOptionsPtr that, 1305 /* [retval][out] */ long *pVal); 1306 1307 CddbResult CddbOptions_PutLocalCacheFlags( CddbOptionsPtr that, 1308 long newVal); 1309 1310 CddbResult CddbOptions_GetTestSubmitMode( CddbOptionsPtr that, 1311 /* [retval][out] */ CddbBoolean *pVal); 1312 1313 CddbResult CddbOptions_PutTestSubmitMode( CddbOptionsPtr that, 1314 CddbBoolean newVal); 1315 1316 /* --- CddbRoleTree --------------------------------------------------- */ 1317 1318 CddbResult CddbRoleTree_GetCount( CddbRoleTreePtr that, 1319 /* [retval][out] */ long *pVal); 1320 1321 CddbResult CddbRoleTree_GetCategoryRoleList(CddbRoleTreePtr that, 1322 CddbConstStr RoleId, 1323 /* [retval][out] */ CddbRoleListPtr *pVal); 1324 1325 CddbResult CddbRoleTree_GetRoleList( CddbRoleTreePtr that, 1326 long ListIndex, 1327 /* [retval][out] */ CddbRoleListPtr *pVal); 1328 1329 1330 /* --- CddbLanguages --------------------------------------------------- */ 1331 1332 1333 /* --- CddbURLManager --------------------------------------------------- */ 1334 1335 CddbResult CddbURLManager_GetCoverURLs( CddbURLManagerPtr that, 1336 CddbDiscPtr Disc, 1337 /* [retval][out] */ CddbURLListPtr* pVal); 1338 1339 CddbResult CddbURLManager_GetInfoURLs( CddbURLManagerPtr that, 1340 CddbDiscPtr Disc, 1341 /* [retval][out] */ CddbURLListPtr* pVal); 1342 1343 CddbResult CddbURLManager_GetAdURLs( CddbURLManagerPtr that, 1344 CddbDiscPtr Disc, 1345 /* [retval][out] */ CddbURLListPtr* pVal); 1346 1347 CddbResult CddbURLManager_GetMenuURLs( CddbURLManagerPtr that, 1348 CddbDiscPtr Disc, 1349 /* [retval][out] */ CddbURLListPtr* pVal); 1350 1351 CddbResult CddbURLManager_GetSkinURLs( CddbURLManagerPtr that, 1352 CddbDiscPtr Disc, 1353 /* [retval][out] */ CddbURLListPtr* pVal); 1354 1355 CddbResult CddbURLManager_GetPluginURLs( CddbURLManagerPtr that, 1356 CddbDiscPtr Disc, 1357 /* [retval][out] */ CddbURLListPtr* pVal); 1358 1359 CddbResult CddbURLManager_GetTypedURLs( CddbURLManagerPtr that, 1360 CddbDiscPtr Disc, 1361 CddbConstStr Type, 1362 /* [retval][out] */ CddbURLListPtr* pVal); 1363 1364 CddbResult CddbURLManager_GetAssociatedURLs(CddbURLManagerPtr that, 1365 CddbDiscPtr Disc, 1366 CddbConstStr Type, 1367 CddbConstStr Property, 1368 CddbConstStr Value, 1369 /* [retval][out] */ CddbURLListPtr* pVal); 1370 1371 CddbResult CddbURLManager_GetURLAssociations(CddbURLManagerPtr that, 1372 /* [retval][out] */ CddbURLListPtr* pVal); 1373 1374 CddbResult CddbURLManager_GetCurrentURL( CddbURLManagerPtr that, 1375 CddbDiscPtr Disc, 1376 CddbConstStr URL, 1377 /* [retval][out] */ CddbStr* pVal); 1378 1379 CddbResult CddbURLManager_SubmitURL( CddbURLManagerPtr that, 1380 CddbDiscPtr Disc, 1381 CddbURLPtr URL); 1382 1383 CddbResult CddbURLManager_DeleteURL( CddbURLManagerPtr that, 1384 CddbURLPtr URL); 1385 1386 CddbResult CddbURLManager_GotoURL( CddbURLManagerPtr that, 1387 CddbURLPtr URL, 1388 CddbConstStr RawURL); 1389 1390 /* --- CddbID3TagManager --------------------------------------------------- */ 1391 1392 CddbResult CddbID3TagManager_InitTagFromDisc( CddbID3TagManagerPtr that, 1393 CddbDiscPtr Disc, 1394 long TrackNum, 1395 /* [retval][out] */ CddbID3TagPtr *pVal); 1396 1397 CddbResult CddbID3TagManager_MergeToFile( CddbID3TagManagerPtr that, 1398 CddbID3TagPtr Tag, 1399 CddbConstStr Filename, 1400 long Flags); 1401 1402 CddbResult CddbID3TagManager_GetID3TagFileId( CddbID3TagManagerPtr that, 1403 CddbDiscPtr Disc, 1404 long TrackNum, 1405 /* [retval][out] */ CddbStr *pVal); 1406 1407 CddbResult CddbID3TagManager_GetCddbOwnerId( CddbID3TagManagerPtr that, 1408 /* [retval][out] */ CddbStr *pVal); 1409 1410 CddbResult CddbID3TagManager_GetCddbCommentString( CddbID3TagManagerPtr that, 1411 /* [retval][out] */ CddbStr *pVal); 1412 1413 CddbResult CddbID3TagManager_LookupMediaByFile( CddbID3TagManagerPtr that, 1414 CddbConstStr Filename, 1415 CddbBoolean EventOnCompletion, 1416 /* [out] */ long* TrackNum, 1417 /* [retval][out] */ CddbDiscPtr* pVal); 1418 1419 /* --- CddbID3Tag --------------------------------------------------- */ 1420 1421 CddbResult CddbID3Tag_GetAlbum( CddbID3TagPtr that, 1422 /* [retval][out] */ CddbStr *pVal); 1423 1424 CddbResult CddbID3Tag_PutAlbum( CddbID3TagPtr that, 1425 CddbConstStr newVal); 1426 1427 CddbResult CddbID3Tag_GetMovie( CddbID3TagPtr that, 1428 /* [retval][out] */ CddbStr *pVal); 1429 1430 CddbResult CddbID3Tag_PutMovie( CddbID3TagPtr that, 1431 CddbConstStr newVal); 1432 1433 CddbResult CddbID3Tag_GetTitle( CddbID3TagPtr that, 1434 /* [retval][out] */ CddbStr *pVal); 1435 1436 CddbResult CddbID3Tag_PutTitle( CddbID3TagPtr that, 1437 CddbConstStr newVal); 1438 1439 CddbResult CddbID3Tag_GetCopyrightYear( CddbID3TagPtr that, 1440 /* [retval][out] */ CddbStr *pVal); 1441 1442 CddbResult CddbID3Tag_PutCopyrightYear( CddbID3TagPtr that, 1443 CddbConstStr newVal); 1444 1445 CddbResult CddbID3Tag_GetCopyrightHolder( CddbID3TagPtr that, 1446 /* [retval][out] */ CddbStr *pVal); 1447 1448 CddbResult CddbID3Tag_PutCopyrightHolder( CddbID3TagPtr that, 1449 CddbConstStr newVal); 1450 1451 CddbResult CddbID3Tag_GetComments( CddbID3TagPtr that, 1452 /* [retval][out] */ CddbStr *pVal); 1453 1454 CddbResult CddbID3Tag_PutComments( CddbID3TagPtr that, 1455 CddbConstStr newVal); 1456 1457 CddbResult CddbID3Tag_GetLabel( CddbID3TagPtr that, 1458 /* [retval][out] */ CddbStr *pVal); 1459 1460 CddbResult CddbID3Tag_PutLabel( CddbID3TagPtr that, 1461 CddbConstStr newVal); 1462 1463 CddbResult CddbID3Tag_GetBeatsPerMinute( CddbID3TagPtr that, 1464 /* [retval][out] */ CddbStr *pVal); 1465 1466 CddbResult CddbID3Tag_PutBeatsPerMinute( CddbID3TagPtr that, 1467 CddbConstStr newVal); 1468 1469 CddbResult CddbID3Tag_GetLeadArtist( CddbID3TagPtr that, 1470 /* [retval][out] */ CddbStr *pVal); 1471 1472 CddbResult CddbID3Tag_PutLeadArtist( CddbID3TagPtr that, 1473 CddbConstStr newVal); 1474 1475 CddbResult CddbID3Tag_GetPartOfSet( CddbID3TagPtr that, 1476 /* [retval][out] */ CddbStr *pVal); 1477 1478 CddbResult CddbID3Tag_PutPartOfSet( CddbID3TagPtr that, 1479 CddbConstStr newVal); 1480 1481 CddbResult CddbID3Tag_GetTrackPosition( CddbID3TagPtr that, 1482 /* [retval][out] */ CddbStr *pVal); 1483 1484 CddbResult CddbID3Tag_PutTrackPosition( CddbID3TagPtr that, 1485 CddbConstStr newVal); 1486 1487 CddbResult CddbID3Tag_GetYear( CddbID3TagPtr that, 1488 /* [retval][out] */ CddbStr *pVal); 1489 1490 CddbResult CddbID3Tag_PutYear( CddbID3TagPtr that, 1491 CddbConstStr newVal); 1492 1493 CddbResult CddbID3Tag_GetGenre( CddbID3TagPtr that, 1494 /* [retval][out] */ CddbStr *pVal); 1495 1496 CddbResult CddbID3Tag_PutGenre( CddbID3TagPtr that, 1497 CddbConstStr newVal); 1498 1499 CddbResult CddbID3Tag_GetFileId( CddbID3TagPtr that, 1500 /* [retval][out] */ CddbStr *pVal); 1501 1502 CddbResult CddbID3Tag_PutFileId( CddbID3TagPtr that, 1503 CddbConstStr newVal); 1504 1505 CddbResult CddbID3Tag_GetISRC( CddbID3TagPtr that, 1506 /* [retval][out] */ CddbStr *pVal); 1507 1508 CddbResult CddbID3Tag_PutISRC( CddbID3TagPtr that, 1509 CddbConstStr newVal); 1510 1511 CddbResult CddbID3Tag_LoadFromFile( CddbID3TagPtr that, 1512 CddbConstStr Filename, 1513 CddbBoolean Readonly); 1514 1515 CddbResult CddbID3Tag_BindToFile( CddbID3TagPtr that, 1516 CddbConstStr Filename, 1517 CddbBoolean Readonly); 1518 1519 CddbResult CddbID3Tag_SaveToFile( CddbID3TagPtr that, 1520 CddbConstStr Filename); 1521 1522 CddbResult CddbID3Tag_Commit( CddbID3TagPtr that); 1523 1524 CddbResult CddbID3Tag_Clear( CddbID3TagPtr that); 1525 1526 CddbResult CddbID3Tag_LoadFromBuffer( CddbID3TagPtr that, 1527 unsigned char* Buffer, 1528 long BufferSize); 1529 1530 CddbResult CddbID3Tag_GetBufferSize( CddbID3TagPtr that, 1531 /* [retval][out] */ long *pVal); 1532 1533 CddbResult CddbID3Tag_SaveToBuffer( CddbID3TagPtr that, 1534 unsigned char* Buffer, 1535 long BufferSize); 1536 1537 CddbResult CddbID3Tag_GetTextFrame( CddbID3TagPtr that, 1538 CddbConstStr frame, 1539 /* [retval][out] */ CddbStr *pVal); 1540 1541 CddbResult CddbID3Tag_SetTextFrame( CddbID3TagPtr that, 1542 CddbConstStr frame, 1543 CddbConstStr newVal); 1544 1545 /* --- CddbInfoWindow --------------------------------------------------- */ 1546 #if 0 1547 /* Though you can't create or use CddbInfoWindow objects, */ 1548 /* you can call CddbControl_InvokeInfoBrowser to display */ 1549 /* disc-related URLs in the default browser. */ 1550 1551 /* TBD REC: Wrap this class. */ 1552 CddbResult CddbInfoWindow_Init( CddbInfoWindowPtr that 1553 long hWnd, 1554 long left, 1555 long top, 1556 long right, 1557 long bottom); 1558 1559 CddbResult CddbInfoWindow_SetRawURL( CddbInfoWindowPtr that 1560 CddbConstStr RawURL); 1561 1562 CddbResult CddbInfoWindow_GetHwnd( CddbInfoWindowPtr that 1563 /* [out] */ long* phwnd); 1564 1565 CddbResult CddbInfoWindow_SetDisc( CddbInfoWindowPtr that 1566 CddbDiscPtr Disc); 1567 1568 CddbResult CddbInfoWindow_SetURL( CddbInfoWindowPtr that 1569 CddbURLPtr URL); 1570 1571 CddbResult CddbInfoWindow_Refresh( CddbInfoWindowPtr that); 1572 1573 CddbResult CddbInfoWindow_Shutdown( CddbInfoWindowPtr that); 1574 1575 CddbResult CddbInfoWindow_SetAdPosition( CddbInfoWindowPtr that 1576 CddbConstStr Position); 1577 #endif 1578 1579 /* --- CddbUIOptions --------------------------------------------------- */ 1580 1581 #ifdef __cplusplus 1582 } 1583 #endif 1584 1585 #ifdef Cddb_Build 1586 #pragma export off 1587 #endif 1588 1589 #endif 1590