Newsgroup: it.comp.lang.delphi
Titolo: ESPERTI - uso dll in delphi - URGENTE!!

Devo capire come tradurre ed importare in delphi 6.0 le seguenti funzioni
(localizzate in una DLL)
Cordiali saluti, Giorgio
// Created by Microsoft (R) C/C++ Compiler Version 13.00.9466 (0b3c713a).
// c:\dokume~1\christ~1\lokale~1\temp\NetMD.tlh
// C++ source equivalent of Win32 type library
C:/Programme/GemeinsameDateien/Sony Shared/AVLib/NetMD.dll
// compiler-generated file created 10/21/02 at 21:12:32 - DO NOT EDIT!
#pragma once
#pragma pack(push, 8)
//
// Forward references and typedefs
//
struct __declspec(uuid("62920c3c-753a-4b70-9232-b3eb1c40892e"))
/* LIBID */ __NetMDLib;
struct /* coclass */ LcmNetMD;
struct __declspec(uuid("0a91bd9a-c81e-4372-9ea3-ffe83ef04823"))
/* interface */ ILcmNetMD;
struct __declspec(uuid("f2e7f27d-f733-410a-b2c0-7d1d536c5bc3"))
/* interface */ IOmgPdClass;
struct _OPD_PDCLASSINFO;
struct _OPD_PDINFO;
struct _OPD_PMINFO;
struct /* coclass */ PdNetMD;
struct __declspec(uuid("271fc829-df65-4020-9087-2222aef54490"))
/* interface */ IPdNetMD;
struct __declspec(uuid("57473d92-309b-4575-9a34-6da04fd4be9d"))
/* interface */ IOmgPdObject;
struct __declspec(uuid("32faf96f-51c1-49da-8bc6-f2fc406c7124"))
/* interface */ IOmgPdControl;
struct _OPD_RECMODEINFO;
struct __declspec(uuid("69ea5b0e-1a56-4127-a727-6a3562756d1e"))
/* interface */ IOmgPcPlayer;
struct __declspec(uuid("1462f77d-a513-4cc6-b115-033dc24fff1c"))
/* interface */ IOmgPcPlayerCallback;
struct __declspec(uuid("9ec0e48e-f1c1-4f07-a549-1df4f394a424"))
/* interface */ IOmgPcPlayList2;
struct __declspec(uuid("0b332cbe-0e21-4406-bd1a-d82208f90dd0"))
/* interface */ IOmgPcPlayList;
struct _OPC_ITEMINFO;
struct /* coclass */ PmNetMD;
struct __declspec(uuid("62cc3969-56a3-49cc-a1de-ab3b8a28dc16"))
/* interface */ IPmNetMD;
struct __declspec(uuid("5d2bbccb-6a0a-4f59-8b78-f6ba8970c5b0"))
/* interface */ IOmgPmObject2;
struct __declspec(uuid("bed5202e-7b13-4004-a8ce-909f03a1b2e5"))
/* interface */ IOmgPmObject;
struct __declspec(uuid("9596e812-61d8-415a-8727-7d6531d7ef99"))
/* interface */ IOmgPmCallback;
struct _OPD_LOG_CALLBACKINFO;
struct _OPD_COMMAND_CALLBACKINFO;
struct __declspec(uuid("2259ecde-9091-4b7e-bb80-2929d869fdca"))
/* interface */ IOmgPmTrackList;
struct _OPD_TRACKINFO;
struct __declspec(uuid("d52d2b46-f32a-4dae-ac19-59ecd371015c"))
/* interface */ IOmgPmFileManagement;
struct _OPD_CHECKOUTFILEINFO;
struct _OPD_CHECKOUTINFO;
struct _OPD_CHECKININFO;
struct _OPD_DELETEINFO;
struct __declspec(uuid("ed8e397e-e2a9-4df3-b4da-931a8b7c86c7"))
/* interface */ IOmgPmMD;
struct _OMD_REHEARSAL_INFO;
struct /* coclass */ PageNetMD;
struct /* coclass */ PageNetMD2;
//
// Smart pointer typedef declarations
//
_COM_SMARTPTR_TYPEDEF(ILcmNetMD, __uuidof(ILcmNetMD));
_COM_SMARTPTR_TYPEDEF(IOmgPdClass, __uuidof(IOmgPdClass));
_COM_SMARTPTR_TYPEDEF(IPdNetMD, __uuidof(IPdNetMD));
_COM_SMARTPTR_TYPEDEF(IOmgPdObject, __uuidof(IOmgPdObject));
_COM_SMARTPTR_TYPEDEF(IOmgPdControl, __uuidof(IOmgPdControl));
_COM_SMARTPTR_TYPEDEF(IOmgPcPlayerCallback, __uuidof(IOmgPcPlayerCallback));
_COM_SMARTPTR_TYPEDEF(IOmgPcPlayer, __uuidof(IOmgPcPlayer));
_COM_SMARTPTR_TYPEDEF(IOmgPcPlayList, __uuidof(IOmgPcPlayList));
_COM_SMARTPTR_TYPEDEF(IOmgPcPlayList2, __uuidof(IOmgPcPlayList2));
_COM_SMARTPTR_TYPEDEF(IPmNetMD, __uuidof(IPmNetMD));
_COM_SMARTPTR_TYPEDEF(IOmgPmCallback, __uuidof(IOmgPmCallback));
_COM_SMARTPTR_TYPEDEF(IOmgPmObject, __uuidof(IOmgPmObject));
_COM_SMARTPTR_TYPEDEF(IOmgPmObject2, __uuidof(IOmgPmObject2));
_COM_SMARTPTR_TYPEDEF(IOmgPmTrackList, __uuidof(IOmgPmTrackList));
_COM_SMARTPTR_TYPEDEF(IOmgPmFileManagement, __uuidof(IOmgPmFileManagement));
_COM_SMARTPTR_TYPEDEF(IOmgPmMD, __uuidof(IOmgPmMD));
//
// Type library items
//
struct __declspec(uuid("f7d5cb7d-61e5-4258-ad3b-726dbab5162c"))
LcmNetMD;
// [ default ] interface ILcmNetMD
// interface IOmgPdClass
struct __declspec(uuid("0a91bd9a-c81e-4372-9ea3-ffe83ef04823"))
ILcmNetMD : IUnknown
{};
struct _OPD_PDCLASSINFO
{
unsigned long m_Size;
BSTR m_Name;
BSTR m_Version;
BSTR m_Mfr;
long m_AuthType;
long m_nPdInfo;
};
struct _OPD_PDINFO
{
unsigned long m_Size;
BSTR m_Mfr;
long m_Interface;
long m_PdCaps;
long m_FringeCaps;
long m_nPmInfo;
};
struct _OPD_PMINFO
{
unsigned long m_Size;
long m_PmCaps;
long m_MaxTracks;
};
struct __declspec(uuid("f2e7f27d-f733-410a-b2c0-7d1d536c5bc3"))
IOmgPdClass : IUnknown
{
//
// Wrapper methods for error-handling
//
HRESULT GetPdClassInfo (
struct _OPD_PDCLASSINFO * * ppData );
HRESULT GetPdInfo (
long PdIndex,
struct _OPD_PDINFO * * ppData );
HRESULT GetPmInfo (
long PdIndex,
long PmIndex,
struct _OPD_PMINFO * * ppData );
HRESULT GetPdCount (
long * pCount );
HRESULT GetPd (
long Index,
GUID * riid,
void * * ppPdObject );
HRESULT GetSupportedFileTypes (
long * pCount,
unsigned long * * ppType );
//
// Raw methods provided by interface
//
virtual HRESULT __stdcall raw_GetPdClassInfo (
/*[out]*/ struct _OPD_PDCLASSINFO * * ppData ) = 0;
virtual HRESULT __stdcall raw_GetPdInfo (
/*[in]*/ long PdIndex,
/*[out]*/ struct _OPD_PDINFO * * ppData ) = 0;
virtual HRESULT __stdcall raw_GetPmInfo (
/*[in]*/ long PdIndex,
/*[in]*/ long PmIndex,
/*[out]*/ struct _OPD_PMINFO * * ppData ) = 0;
virtual HRESULT __stdcall raw_GetPdCount (
/*[out]*/ long * pCount ) = 0;
virtual HRESULT __stdcall raw_GetPd (
/*[in]*/ long Index,
/*[in]*/ GUID * riid,
/*[out]*/ void * * ppPdObject ) = 0;
virtual HRESULT __stdcall raw_GetSupportedFileTypes (
/*[out]*/ long * pCount,
/*[out]*/ unsigned long * * ppType ) = 0;
};
struct __declspec(uuid("4793c987-099c-446e-964e-3f69f33834f3"))
PdNetMD;
// [ default ] interface IPdNetMD
// interface IOmgPdObject
// interface IOmgPdControl
// interface IOmgPcPlayer
// interface IOmgPcPlayerCallback
// interface IOmgPcPlayList2
// interface ISpecifyPropertyPages
struct __declspec(uuid("271fc829-df65-4020-9087-2222aef54490"))
IPdNetMD : IUnknown
{
//
// Wrapper methods for error-handling
//
HRESULT SetPowerMode ( );
HRESULT SetEjectMode ( );
HRESULT PutCheckOutCodec (
long Codec );
HRESULT GetCheckOutCodec (
long * Codec );
HRESULT SetPlayMode (
unsigned char PBMode );
HRESULT SetStopMode ( );
HRESULT SetTrackNo (
unsigned long * TrackNo,
long Diff );
HRESULT Next ( );
HRESULT Previous (
long TrackNo );
HRESULT GetPlayCounter (
unsigned long * TrackNo,
unsigned long * Position );
HRESULT SendVendorCommand (
long Size,
unsigned char * pData );
HRESULT ReceiveVendorCommand (
long Size,
long * pSize,
unsigned char * * ppData );
HRESULT SetCheckInFlag (
long bFlag );
//
// Raw methods provided by interface
//
virtual HRESULT __stdcall raw_SetPowerMode ( ) = 0;
virtual HRESULT __stdcall raw_SetEjectMode ( ) = 0;
virtual HRESULT __stdcall raw_PutCheckOutCodec (
/*[in]*/ long Codec ) = 0;
virtual HRESULT __stdcall raw_GetCheckOutCodec (
/*[out]*/ long * Codec ) = 0;
virtual HRESULT __stdcall raw_SetPlayMode (
/*[in]*/ unsigned char PBMode ) = 0;
virtual HRESULT __stdcall raw_SetStopMode ( ) = 0;
virtual HRESULT __stdcall raw_SetTrackNo (
/*[out]*/ unsigned long * TrackNo,
/*[in]*/ long Diff ) = 0;
virtual HRESULT __stdcall raw_Next ( ) = 0;
virtual HRESULT __stdcall raw_Previous (
long TrackNo ) = 0;
virtual HRESULT __stdcall raw_GetPlayCounter (
/*[out]*/ unsigned long * TrackNo,
/*[out]*/ unsigned long * Position ) = 0;
virtual HRESULT __stdcall raw_SendVendorCommand (
/*[in]*/ long Size,
/*[in]*/ unsigned char * pData ) = 0;
virtual HRESULT __stdcall raw_ReceiveVendorCommand (
/*[in]*/ long Size,
/*[out]*/ long * pSize,
/*[out]*/ unsigned char * * ppData ) = 0;
virtual HRESULT __stdcall raw_SetCheckInFlag (
/*[in]*/ long bFlag ) = 0;
};
struct __declspec(uuid("57473d92-309b-4575-9a34-6da04fd4be9d"))
IOmgPdObject : IUnknown
{
//
// Wrapper methods for error-handling
//
HRESULT Open ( );
HRESULT Close ( );
HRESULT GetPdInfo (
struct _OPD_PDINFO * * ppData );
HRESULT GetPmCount (
long * pCount );
HRESULT GetPm (
long Index,
GUID * riid,
void * * ppPmObject );
HRESULT GetDeviceId (
long * pcActual,
unsigned char * * ppData );
HRESULT GetDeviceName (
BSTR * pstrDeviceName );
HRESULT GetDeviceUserName (
BSTR * pstrDeviceUserName );
HRESULT PutDeviceUserName (
_bstr_t strDeviceUserName );
HRESULT GetSupportedFileTypes (
long * pCount,
unsigned long * * ppType );
//
// Raw methods provided by interface
//
virtual HRESULT __stdcall raw_Open ( ) = 0;
virtual HRESULT __stdcall raw_Close ( ) = 0;
virtual HRESULT __stdcall raw_GetPdInfo (
/*[out]*/ struct _OPD_PDINFO * * ppData ) = 0;
virtual HRESULT __stdcall raw_GetPmCount (
/*[out]*/ long * pCount ) = 0;
virtual HRESULT __stdcall raw_GetPm (
/*[in]*/ long Index,
/*[in]*/ GUID * riid,
/*[out]*/ void * * ppPmObject ) = 0;
virtual HRESULT __stdcall raw_GetDeviceId (
/*[out]*/ long * pcActual,
/*[out]*/ unsigned char * * ppData ) = 0;
virtual HRESULT __stdcall raw_GetDeviceName (
/*[out]*/ BSTR * pstrDeviceName ) = 0;
virtual HRESULT __stdcall raw_GetDeviceUserName (
/*[out]*/ BSTR * pstrDeviceUserName ) = 0;
virtual HRESULT __stdcall raw_PutDeviceUserName (
/*[in]*/ BSTR strDeviceUserName ) = 0;
virtual HRESULT __stdcall raw_GetSupportedFileTypes (
/*[out]*/ long * pCount,
/*[out]*/ unsigned long * * ppType ) = 0;
};
struct _OPD_RECMODEINFO
{
unsigned long m_Size;
long m_Codec;
long m_Channel;
long m_BitRate;
long m_RecLevelL;
long m_RecLevelR;
};
struct __declspec(uuid("32faf96f-51c1-49da-8bc6-f2fc406c7124"))
IOmgPdControl : IUnknown
{
//
// Wrapper methods for error-handling
//
HRESULT Power (
long On );
HRESULT Eject (
long Deck );
HRESULT IsEjected (
long Deck,
long * pEjected );
HRESULT Record (
long Deck );
HRESULT RecPause (
long Deck );
HRESULT RecUnpause (
long Deck );
HRESULT RecStop (
long Deck );
HRESULT PutRecMode (
long Deck,
struct _OPD_RECMODEINFO * pData );
HRESULT GetRecMode (
long Deck,
struct _OPD_RECMODEINFO * * ppData );
HRESULT SendCommand (
long Size,
unsigned char * pData );
HRESULT ReceiveCommand (
long * pSize,
unsigned char * * ppData );
//
// Raw methods provided by interface
//
virtual HRESULT __stdcall raw_Power (
/*[in]*/ long On ) = 0;
virtual HRESULT __stdcall raw_Eject (
/*[in]*/ long Deck ) = 0;
virtual HRESULT __stdcall raw_IsEjected (
/*[in]*/ long Deck,
/*[out]*/ long * pEjected ) = 0;
virtual HRESULT __stdcall raw_Record (
/*[in]*/ long Deck ) = 0;
virtual HRESULT __stdcall raw_RecPause (
/*[in]*/ long Deck ) = 0;
virtual HRESULT __stdcall raw_RecUnpause (
/*[in]*/ long Deck ) = 0;
virtual HRESULT __stdcall raw_RecStop (
/*[in]*/ long Deck ) = 0;
virtual HRESULT __stdcall raw_PutRecMode (
/*[in]*/ long Deck,
/*[in]*/ struct _OPD_RECMODEINFO * pData ) = 0;
virtual HRESULT __stdcall raw_GetRecMode (
/*[in]*/ long Deck,
/*[out]*/ struct _OPD_RECMODEINFO * * ppData ) = 0;
virtual HRESULT __stdcall raw_SendCommand (
/*[in]*/ long Size,
/*[in]*/ unsigned char * pData ) = 0;
virtual HRESULT __stdcall raw_ReceiveCommand (
/*[out]*/ long * pSize,
/*[out]*/ unsigned char * * ppData ) = 0;
};
struct __declspec(uuid("1462f77d-a513-4cc6-b115-033dc24fff1c"))
IOmgPcPlayerCallback : IUnknown
{
//
// Wrapper methods for error-handling
//
HRESULT OnStatus (
short State,
long Param );
//
// Raw methods provided by interface
//
virtual HRESULT __stdcall raw_OnStatus (
/*[in]*/ short State,
/*[in]*/ long Param ) = 0;
};
struct __declspec(uuid("69ea5b0e-1a56-4127-a727-6a3562756d1e"))
IOmgPcPlayer : IUnknown
{
//
// Wrapper methods for error-handling
//
HRESULT GetPlayCaps (
long * pCaps );
HRESULT GetPlayModeCaps (
long * pCaps );
HRESULT GetMediaCaps (
long * pCaps );
HRESULT Open (
_bstr_t strFileName,
long Flag );
HRESULT Close ( );
HRESULT Play ( );
HRESULT Stop ( );
HRESULT Pause ( );
HRESULT Unpause ( );
HRESULT SetRate (
double Rate );
HRESULT GetRate (
double * pRate );
HRESULT FastForward ( );
HRESULT Rewind ( );
HRESULT StopScan ( );
HRESULT SetScanRate (
long lPlay,
long lSkip );
HRESULT GetScanRate (
long * pPlay,
long * pSkip );
HRESULT GetDuration (
long * pDuration );
HRESULT GetPosition (
long * pPosition );
HRESULT Seek (
long Distance,
long Origin );
HRESULT GetState (
short * pState );
HRESULT SetPlayerNotifyWindow (
long hWnd,
long uMsg );
HRESULT SetPlayerCallback (
struct IOmgPcPlayerCallback * pCallback );
HRESULT SetFromTo (
long PosBegin,
long PosEnd,
long RepeatOn );
HRESULT GetFromTo (
long * pPosBegin,
long * pPosEnd,
long * pRepeatOn );
//
// Raw methods provided by interface
//
virtual HRESULT __stdcall raw_GetPlayCaps (
/*[out]*/ long * pCaps ) = 0;
virtual HRESULT __stdcall raw_GetPlayModeCaps (
/*[out]*/ long * pCaps ) = 0;
virtual HRESULT __stdcall raw_GetMediaCaps (
/*[out]*/ long * pCaps ) = 0;
virtual HRESULT __stdcall raw_Open (
/*[in]*/ BSTR strFileName,
/*[in]*/ long Flag ) = 0;
virtual HRESULT __stdcall raw_Close ( ) = 0;
virtual HRESULT __stdcall raw_Play ( ) = 0;
virtual HRESULT __stdcall raw_Stop ( ) = 0;
virtual HRESULT __stdcall raw_Pause ( ) = 0;
virtual HRESULT __stdcall raw_Unpause ( ) = 0;
virtual HRESULT __stdcall raw_SetRate (
/*[in]*/ double Rate ) = 0;
virtual HRESULT __stdcall raw_GetRate (
/*[out]*/ double * pRate ) = 0;
virtual HRESULT __stdcall raw_FastForward ( ) = 0;
virtual HRESULT __stdcall raw_Rewind ( ) = 0;
virtual HRESULT __stdcall raw_StopScan ( ) = 0;
virtual HRESULT __stdcall raw_SetScanRate (
/*[in]*/ long lPlay,
/*[in]*/ long lSkip ) = 0;
virtual HRESULT __stdcall raw_GetScanRate (
/*[out]*/ long * pPlay,
/*[out]*/ long * pSkip ) = 0;
virtual HRESULT __stdcall raw_GetDuration (
/*[out]*/ long * pDuration ) = 0;
virtual HRESULT __stdcall raw_GetPosition (
/*[out]*/ long * pPosition ) = 0;
virtual HRESULT __stdcall raw_Seek (
/*[in]*/ long Distance,
/*[in]*/ long Origin ) = 0;
virtual HRESULT __stdcall raw_GetState (
/*[out]*/ short * pState ) = 0;
virtual HRESULT __stdcall raw_SetPlayerNotifyWindow (
/*[in]*/ long hWnd,
/*[in]*/ long uMsg ) = 0;
virtual HRESULT __stdcall raw_SetPlayerCallback (
/*[in]*/ struct IOmgPcPlayerCallback * pCallback ) = 0;
virtual HRESULT __stdcall raw_SetFromTo (
/*[in]*/ long PosBegin,
/*[in]*/ long PosEnd,
/*[in]*/ long RepeatOn ) = 0;
virtual HRESULT __stdcall raw_GetFromTo (
/*[out]*/ long * pPosBegin,
/*[out]*/ long * pPosEnd,
/*[out]*/ long * pRepeatOn ) = 0;
};
struct __declspec(uuid("0b332cbe-0e21-4406-bd1a-d82208f90dd0"))
IOmgPcPlayList : IUnknown
{
//
// Wrapper methods for error-handling
//
HRESULT SelectTrackList (
long Album );
HRESULT GetTrackCount (
long * pCount );
HRESULT SetPlayMode (
long PlayMode );
HRESULT GetPlayMode (
long * pPlayMode );
HRESULT Next ( );
HRESULT Previous ( );
HRESULT GotoTrack (
long Track );
HRESULT SetRange (
long TrackBegin,
long TrackEnd );
HRESULT GetCurrentTrack (
long * pTrack );
HRESULT SetIntroDuration (
long Duration );
HRESULT GetIntroDuration (
long * pDuration );
//
// Raw methods provided by interface
//
virtual HRESULT __stdcall raw_SelectTrackList (
/*[in]*/ long Album ) = 0;
virtual HRESULT __stdcall raw_GetTrackCount (
/*[out]*/ long * pCount ) = 0;
virtual HRESULT __stdcall raw_SetPlayMode (
/*[in]*/ long PlayMode ) = 0;
virtual HRESULT __stdcall raw_GetPlayMode (
/*[out]*/ long * pPlayMode ) = 0;
virtual HRESULT __stdcall raw_Next ( ) = 0;
virtual HRESULT __stdcall raw_Previous ( ) = 0;
virtual HRESULT __stdcall raw_GotoTrack (
/*[in]*/ long Track ) = 0;
virtual HRESULT __stdcall raw_SetRange (
/*[in]*/ long TrackBegin,
/*[in]*/ long TrackEnd ) = 0;
virtual HRESULT __stdcall raw_GetCurrentTrack (
/*[out]*/ long * pTrack ) = 0;
virtual HRESULT __stdcall raw_SetIntroDuration (
/*[in]*/ long Duration ) = 0;
virtual HRESULT __stdcall raw_GetIntroDuration (
/*[out]*/ long * pDuration ) = 0;
};
struct _OPC_ITEMINFO
{
long m_nItem;
long * m_pItem;
};
struct __declspec(uuid("9ec0e48e-f1c1-4f07-a549-1df4f394a424"))
IOmgPcPlayList2 : IOmgPcPlayList
{
//
// Wrapper methods for error-handling
//
HRESULT SetItemList (
struct _OPC_ITEMINFO * pParentItem );
HRESULT SetTrackOrder (
long nTracks,
long * pTracks );
HRESULT GetTrackDuration (
long Track,
long * pDuration );
//
// Raw methods provided by interface
//
virtual HRESULT __stdcall raw_SetItemList (
/*[in]*/ struct _OPC_ITEMINFO * pParentItem ) = 0;
virtual HRESULT __stdcall raw_SetTrackOrder (
/*[in]*/ long nTracks,
/*[in]*/ long * pTracks ) = 0;
virtual HRESULT __stdcall raw_GetTrackDuration (
/*[in]*/ long Track,
/*[out]*/ long * pDuration ) = 0;
};
struct __declspec(uuid("9edbd4ba-7dcc-4819-97d6-bbae0654d498"))
PmNetMD;
// [ default ] interface IPmNetMD
// interface IOmgPmObject2
// interface IOmgPmTrackList
// interface IOmgPmFileManagement
// interface IOmgPmMD
// [ default, source ] interface IOmgPmCallback
struct __declspec(uuid("62cc3969-56a3-49cc-a1de-ab3b8a28dc16"))
IPmNetMD : IUnknown
{};
struct _OPD_LOG_CALLBACKINFO
{
unsigned long m_Size;
unsigned char m_ContentId[20];
BSTR m_CheckOutName;
};
struct _OPD_COMMAND_CALLBACKINFO
{
unsigned long m_Size;
long m_Command;
long m_Status;
long m_Cookie;
long m_Progress;
long m_Error;
BSTR m_DstFileName;
};
struct __declspec(uuid("9596e812-61d8-415a-8727-7d6531d7ef99"))
IOmgPmCallback : IUnknown
{
//
// Wrapper methods for error-handling
//
HRESULT OnCheckOut (
unsigned char PmId[16],
unsigned char ContentId[20],
_bstr_t CheckOutName );
HRESULT OnCheckIn (
unsigned char PmId[16],
unsigned char ContentId[20],
_bstr_t CheckOutName );
HRESULT OnMultiCheckIn (
unsigned char PmId[16],
long cMax,
struct _OPD_LOG_CALLBACKINFO * pData );
HRESULT OnMoveOut (
unsigned char PmId[16],
unsigned char ContentId[20],
_bstr_t CheckOutName );
HRESULT OnMoveIn (
unsigned char PmId[16],
unsigned char ContentId[20],
_bstr_t CheckOutName );
HRESULT OnImport (
unsigned char PmId[16],
unsigned char ContentId[20],
_bstr_t CheckOutName );
HRESULT OnCommandProgress (
struct _OPD_COMMAND_CALLBACKINFO * pInfo,
long * pResult );
//
// Raw methods provided by interface
//
virtual HRESULT __stdcall raw_OnCheckOut (
/*[in]*/ unsigned char PmId[16],
/*[in]*/ unsigned char ContentId[20],
/*[in]*/ BSTR CheckOutName ) = 0;
virtual HRESULT __stdcall raw_OnCheckIn (
/*[in]*/ unsigned char PmId[16],
/*[in]*/ unsigned char ContentId[20],
/*[in]*/ BSTR CheckOutName ) = 0;
virtual HRESULT __stdcall raw_OnMultiCheckIn (
/*[in]*/ unsigned char PmId[16],
/*[in]*/ long cMax,
/*[in]*/ struct _OPD_LOG_CALLBACKINFO * pData ) = 0;
virtual HRESULT __stdcall raw_OnMoveOut (
/*[in]*/ unsigned char PmId[16],
/*[in]*/ unsigned char ContentId[20],
/*[in]*/ BSTR CheckOutName ) = 0;
virtual HRESULT __stdcall raw_OnMoveIn (
/*[in]*/ unsigned char PmId[16],
/*[in]*/ unsigned char ContentId[20],
/*[in]*/ BSTR CheckOutName ) = 0;
virtual HRESULT __stdcall raw_OnImport (
/*[in]*/ unsigned char PmId[16],
/*[in]*/ unsigned char ContentId[20],
/*[in]*/ BSTR CheckOutName ) = 0;
virtual HRESULT __stdcall raw_OnCommandProgress (
/*[in]*/ struct _OPD_COMMAND_CALLBACKINFO * pInfo,
/*[out]*/ long * pResult ) = 0;
};
struct __declspec(uuid("bed5202e-7b13-4004-a8ce-909f03a1b2e5"))
IOmgPmObject : IUnknown
{
//
// Wrapper methods for error-handling
//
HRESULT Open ( );
HRESULT Close ( );
HRESULT GetPmInfo (
struct _OPD_PMINFO * * ppData );
HRESULT GetBytesAvail (
double * pBytesAvail );
HRESULT GetMediaCapacity (
double * pBytes );
HRESULT GetMediaId (
long * pcActual,
unsigned char * * ppData );
HRESULT GetMediaName (
BSTR * pstrMediaName );
HRESULT PutMediaName (
_bstr_t strMediaName );
HRESULT SetNotifyWindow (
long hWnd,
long uMsg );
HRESULT Format ( );
HRESULT SetPmCallback (
struct IOmgPmCallback * pCallback );
HRESULT IsWriteProtected (
long * pbWriteProtected );
//
// Raw methods provided by interface
//
virtual HRESULT __stdcall raw_Open ( ) = 0;
virtual HRESULT __stdcall raw_Close ( ) = 0;
virtual HRESULT __stdcall raw_GetPmInfo (
/*[out]*/ struct _OPD_PMINFO * * ppData ) = 0;
virtual HRESULT __stdcall raw_GetBytesAvail (
/*[out]*/ double * pBytesAvail ) = 0;
virtual HRESULT __stdcall raw_GetMediaCapacity (
/*[out]*/ double * pBytes ) = 0;
virtual HRESULT __stdcall raw_GetMediaId (
/*[out]*/ long * pcActual,
/*[out]*/ unsigned char * * ppData ) = 0;
virtual HRESULT __stdcall raw_GetMediaName (
/*[out]*/ BSTR * pstrMediaName ) = 0;
virtual HRESULT __stdcall raw_PutMediaName (
/*[in]*/ BSTR strMediaName ) = 0;
virtual HRESULT __stdcall raw_SetNotifyWindow (
/*[in]*/ long hWnd,
/*[in]*/ long uMsg ) = 0;
virtual HRESULT __stdcall raw_Format ( ) = 0;
virtual HRESULT __stdcall raw_SetPmCallback (
/*[in]*/ struct IOmgPmCallback * pCallback ) = 0;
virtual HRESULT __stdcall raw_IsWriteProtected (
/*[out]*/ long * pbWriteProtected ) = 0;
};
struct __declspec(uuid("5d2bbccb-6a0a-4f59-8b78-f6ba8970c5b0"))
IOmgPmObject2 : IOmgPmObject
{
//
// Wrapper methods for error-handling
//
HRESULT GetBytesAvailEx (
long * pUnit,
double * pAvail );
HRESULT GetMediaCapacityEx (
long * pUnit,
double * pCapacity );
//
// Raw methods provided by interface
//
virtual HRESULT __stdcall raw_GetBytesAvailEx (
/*[out]*/ long * pUnit,
/*[out]*/ double * pAvail ) = 0;
virtual HRESULT __stdcall raw_GetMediaCapacityEx (
/*[out]*/ long * pUnit,
/*[out]*/ double * pCapacity ) = 0;
};
struct _OPD_TRACKINFO
{
unsigned long m_Size;
unsigned char m_ContentId[20];
long m_FileSize;
DATE m_ReleaseDate;
DATE m_CheckOutDate;
long m_Duration;
long m_Codec;
long m_BitRate;
BSTR m_Title;
BSTR m_Artist;
BSTR m_Album;
BSTR m_Genre;
BSTR m_Comment;
DATE m_PlayFromDate;
DATE m_PlayToDate;
long m_PlayCount;
long m_CheckOutCount;
long m_CopyCount;
long m_Rights;
};
struct __declspec(uuid("2259ecde-9091-4b7e-bb80-2929d869fdca"))
IOmgPmTrackList : IUnknown
{
//
// Wrapper methods for error-handling
//
HRESULT GetTrackCount (
long * pCount );
HRESULT GetTrackInfo (
long Track,
struct _OPD_TRACKINFO * * ppData );
HRESULT PutTrackInfo (
long Track,
struct _OPD_TRACKINFO * pData );
HRESULT ReorderTrack (
long TrackSrc,
long TrackDest );
HRESULT ReorderTrackList (
long cTracks,
long * pTrackSrc,
long TrackDest,
long * pTrackInserted );
//
// Raw methods provided by interface
//
virtual HRESULT __stdcall raw_GetTrackCount (
/*[out]*/ long * pCount ) = 0;
virtual HRESULT __stdcall raw_GetTrackInfo (
/*[in]*/ long Track,
/*[out]*/ struct _OPD_TRACKINFO * * ppData ) = 0;
virtual HRESULT __stdcall raw_PutTrackInfo (
/*[in]*/ long Track,
/*[in]*/ struct _OPD_TRACKINFO * pData ) = 0;
virtual HRESULT __stdcall raw_ReorderTrack (
/*[in]*/ long TrackSrc,
/*[in]*/ long TrackDest ) = 0;
virtual HRESULT __stdcall raw_ReorderTrackList (
/*[in]*/ long cTracks,
/*[in]*/ long * pTrackSrc,
/*[in]*/ long TrackDest,
/*[out]*/ long * pTrackInserted ) = 0;
};
struct _OPD_CHECKOUTFILEINFO
{
unsigned long m_Size;
long m_hr;
long m_PdFileSize;
};
struct _OPD_CHECKOUTINFO
{
unsigned long m_Size;
long m_Cookie;
long m_FileType;
BSTR m_ContentFileName;
long m_Fringe;
BSTR m_Title;
BSTR m_Artist;
BSTR m_Album;
BSTR m_Genre;
BSTR m_Comment;
DATE m_ReleaseDate;
BSTR m_CoverArtFileName;
BSTR m_NotesFileName;
BSTR m_LyricsFileName;
};
struct _OPD_CHECKININFO
{
unsigned long m_Size;
long m_Cookie;
unsigned char m_ContentId[20];
long m_PdIndex;
BSTR m_CheckOutName;
BSTR m_OmgFileName;
};
struct _OPD_DELETEINFO
{
unsigned long m_Size;
long m_PdIndex;
};
struct __declspec(uuid("d52d2b46-f32a-4dae-ac19-59ecd371015c"))
IOmgPmFileManagement : IUnknown
{
//
// Wrapper methods for error-handling
//
HRESULT QueryCheckOutFileInfo (
long cMax,
BSTR * pstrContentFileName,
struct _OPD_CHECKOUTFILEINFO * * ppData );
HRESULT CheckOut (
long cMax,
struct _OPD_CHECKOUTINFO * pCheckOutInfo );
HRESULT CheckIn (
long cMax,
struct _OPD_CHECKININFO * pCheckInInfo,
long bImplicit );
HRESULT MoveOut (
long cMax,
struct _OPD_CHECKOUTINFO * pCheckOutInfo );
HRESULT MoveIn (
long cMax,
struct _OPD_CHECKININFO * pCheckInInfo,
_bstr_t DestPathName );
HRESULT Import (
long cMax,
struct _OPD_CHECKININFO * pCheckInInfo,
_bstr_t DestPathName );
HRESULT DeleteAllFiles ( );
HRESULT DeleteFiles (
long cMax,
struct _OPD_DELETEINFO * pDeleteInfo );
HRESULT StopProcess ( );
HRESULT PauseProcess (
long bPause );
//
// Raw methods provided by interface
//
virtual HRESULT __stdcall raw_QueryCheckOutFileInfo (
/*[in]*/ long cMax,
/*[in]*/ BSTR * pstrContentFileName,
/*[out]*/ struct _OPD_CHECKOUTFILEINFO * * ppData ) = 0;
virtual HRESULT __stdcall raw_CheckOut (
/*[in]*/ long cMax,
/*[in]*/ struct _OPD_CHECKOUTINFO * pCheckOutInfo ) = 0;
virtual HRESULT __stdcall raw_CheckIn (
/*[in]*/ long cMax,
/*[in]*/ struct _OPD_CHECKININFO * pCheckInInfo,
/*[in]*/ long bImplicit ) = 0;
virtual HRESULT __stdcall raw_MoveOut (
/*[in]*/ long cMax,
/*[in]*/ struct _OPD_CHECKOUTINFO * pCheckOutInfo ) = 0;
virtual HRESULT __stdcall raw_MoveIn (
/*[in]*/ long cMax,
/*[in]*/ struct _OPD_CHECKININFO * pCheckInInfo,
/*[in]*/ BSTR DestPathName ) = 0;
virtual HRESULT __stdcall raw_Import (
/*[in]*/ long cMax,
/*[in]*/ struct _OPD_CHECKININFO * pCheckInInfo,
/*[in]*/ BSTR DestPathName ) = 0;
virtual HRESULT __stdcall raw_DeleteAllFiles ( ) = 0;
virtual HRESULT __stdcall raw_DeleteFiles (
/*[in]*/ long cMax,
/*[in]*/ struct _OPD_DELETEINFO * pDeleteInfo ) = 0;
virtual HRESULT __stdcall raw_StopProcess ( ) = 0;
virtual HRESULT __stdcall raw_PauseProcess (
/*[in]*/ long bPause ) = 0;
};
struct _OMD_REHEARSAL_INFO
{
long m_Track;
long m_StartPos;
long m_EndPos;
};
struct __declspec(uuid("ed8e397e-e2a9-4df3-b4da-931a8b7c86c7"))
IOmgPmMD : IUnknown
{
//
// Wrapper methods for error-handling
//
HRESULT Combine (
long prevTrack,
long nextTrack );
HRESULT Divide ( );
HRESULT Reload ( );
HRESULT PutTrackName (
long Track,
long Mode,
_bstr_t pTrackName );
HRESULT GetTrackName (
long Track,
long Mode,
BSTR * pTrackName );
HRESULT GetState (
short * pState );
HRESULT GetSizeUnitCapability (
long * unit );
HRESULT GetTrackSize (
long Track,
long * pTrackSize );
HRESULT Rehearsal (
long Mode,
short cnt,
struct _OMD_REHEARSAL_INFO * section );
HRESULT PutCheckOutMode (
struct _OPD_RECMODEINFO * pData,
long TitleMode );
HRESULT GetCheckOutMode (
struct _OPD_RECMODEINFO * * ppData,
long * pTitleMode );
HRESULT PutCheckInMode (
long Mode );
HRESULT GetCheckInMode (
long * pMode );
HRESULT GetPropertyBits (
unsigned long * pProperties );
//
// Raw methods provided by interface
//
virtual HRESULT __stdcall raw_Combine (
/*[in]*/ long prevTrack,
/*[in]*/ long nextTrack ) = 0;
virtual HRESULT __stdcall raw_Divide ( ) = 0;
virtual HRESULT __stdcall raw_Reload ( ) = 0;
virtual HRESULT __stdcall raw_PutTrackName (
/*[in]*/ long Track,
/*[in]*/ long Mode,
/*[in]*/ BSTR pTrackName ) = 0;
virtual HRESULT __stdcall raw_GetTrackName (
/*[in]*/ long Track,
/*[in]*/ long Mode,
/*[out]*/ BSTR * pTrackName ) = 0;
virtual HRESULT __stdcall raw_GetState (
/*[out]*/ short * pState ) = 0;
virtual HRESULT __stdcall raw_GetSizeUnitCapability (
/*[out]*/ long * unit ) = 0;
virtual HRESULT __stdcall raw_GetTrackSize (
/*[in]*/ long Track,
/*[out]*/ long * pTrackSize ) = 0;
virtual HRESULT __stdcall raw_Rehearsal (
/*[in]*/ long Mode,
/*[in]*/ short cnt,
/*[in]*/ struct _OMD_REHEARSAL_INFO * section ) = 0;
virtual HRESULT __stdcall raw_PutCheckOutMode (
/*[in]*/ struct _OPD_RECMODEINFO * pData,
/*[in]*/ long TitleMode ) = 0;
virtual HRESULT __stdcall raw_GetCheckOutMode (
/*[out]*/ struct _OPD_RECMODEINFO * * ppData,
/*[out]*/ long * pTitleMode ) = 0;
virtual HRESULT __stdcall raw_PutCheckInMode (
/*[in]*/ long Mode ) = 0;
virtual HRESULT __stdcall raw_GetCheckInMode (
/*[out]*/ long * pMode ) = 0;
virtual HRESULT __stdcall raw_GetPropertyBits (
/*[out]*/ unsigned long * pProperties ) = 0;
};
struct __declspec(uuid("5e469997-6df8-46d9-be8e-37d6e2a84be1"))
PageNetMD;
// [ default ] interface IUnknown
// interface IPropertyPage
struct __declspec(uuid("fd20e7e8-9580-4846-bbe8-580915be7692"))
PageNetMD2;
// [ default ] interface IUnknown
//
// Wrapper method implementations
//
#include "c:\dokume~1\christ~1\lokale~1\temp\NetMD.tli"
#pragma pack(pop)

Cerca l'header converter di Dr Bob Swart
 Saluti Delphi Knight
-- 
Posted via Mailgate.ORG Server - 
http://www.Mailgate.ORG