Einzelnen Beitrag anzeigen

Schokohase
(Gast)

n/a Beiträge
 
#18

AW: TWinControl via TInterfacedObject via TInterfacedPersistent

  Alt 8. Jun 2018, 13:04
Hast du dir schon mal überlegt, warum dieser Proxy-Typ
Delphi-Quellcode:
TAudioVolumeProxy = class( TInterfacedObject,
  IAudioVolume,
  IAudioSessionEvents,
  IMMNotificationClient,
  IAudioSessionNotification,
  IAudioEndpointVolumeCallback)
diese Interfacs in der Deklaration aufweist?

Evtl. weil die verwendet werden um sich z.B. an einem IAudioSessionControl per HRESULT RegisterAudioSessionNotification( [in] IAudioSessionEvents *NewNotifications ); anzumelden, weil diese Interfaces ansonsten nutzlos wären wenn man die gar nicht verwendet?
  Mit Zitat antworten Zitat