with GNATCOM.IInterface;

with GNATCOM.Errors;

package body MSHTML.IHTMLAudioElement_Interface is

   procedure Initialize (This : in out IHTMLAudioElement_Type) is
   begin
      Set_IID (This, IID_IHTMLAudioElement);
   end Initialize;

   function Pointer (This : IHTMLAudioElement_Type)
     return Pointer_To_IHTMLAudioElement
   is
   begin
      return To_Pointer_To_IHTMLAudioElement (Address (This));
   end Pointer;

   procedure Attach (This    : in out IHTMLAudioElement_Type;
                     Pointer : in     Pointer_To_IHTMLAudioElement)
   is
   begin
      Attach (This, GNATCOM.IInterface.To_Pointer_To_IUnknown
              (Pointer.all'Address));
   end Attach;

end MSHTML.IHTMLAudioElement_Interface;

