with GNATCOM.Errors;

package body MSHTML.IXMLGenericParse_Interface is

   procedure Initialize (This : in out IXMLGenericParse_Type) is
   begin
      Set_IID (This, IID_IXMLGenericParse);
   end Initialize;

   function Pointer (This : IXMLGenericParse_Type)
     return Pointer_To_IXMLGenericParse
   is
   begin
      return To_Pointer_To_IXMLGenericParse (Address (This));
   end Pointer;

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

   procedure SetGenericParse
     (This       : IXMLGenericParse_Type;
      fDoGeneric : GNATCOM.Types.VARIANT_BOOL)
   is
   begin
      GNATCOM.Errors.Error_Check
        (Pointer (This).Vtbl.SetGenericParse
         (Pointer (This),
          fDoGeneric));

   end SetGenericParse;

end MSHTML.IXMLGenericParse_Interface;

