// CodeGear C++Builder
// Copyright (c) 1995, 2025 by Embarcadero Technologies, Inc.
// All rights reserved

// (DO NOT EDIT: machine generated header) 'FPdfAttachment.pas' rev: 37.00 (Windows)

#ifndef FPdfAttachmentHPP
#define FPdfAttachmentHPP

#pragma delphiheader begin
#pragma option push
#if defined(__BORLANDC__) && !defined(__clang__)
#pragma option -w-      // All warnings off
#pragma option -Vx      // Zero-length empty class member 
#endif
#pragma pack(push,8)
#include <System.hpp>
#include <SysInit.hpp>
#include <FPdfView.hpp>

//-- user supplied -----------------------------------------------------------

namespace Fpdfattachment
{
//-- forward type declarations -----------------------------------------------
//-- type declarations -------------------------------------------------------
typedef int __cdecl (*TFPDFDoc_GetAttachmentCount)(Fpdfview::FPDF_DOCUMENT document);

typedef Fpdfview::FPDF_ATTACHMENT __cdecl (*TFPDFDoc_AddAttachment)(Fpdfview::FPDF_DOCUMENT document, Fpdfview::FPDF_WIDESTRING name);

typedef Fpdfview::FPDF_ATTACHMENT __cdecl (*TFPDFDoc_GetAttachment)(Fpdfview::FPDF_DOCUMENT document, int index);

typedef Fpdfview::FPDF_BOOL __cdecl (*TFPDFDoc_DeleteAttachment)(Fpdfview::FPDF_DOCUMENT document, int index);

typedef System::LongWord __cdecl (*TFPDFAttachment_GetName)(Fpdfview::FPDF_ATTACHMENT attachment, Fpdfview::FPDF_WCHAR &buffer, System::LongWord buflen);

typedef Fpdfview::FPDF_BOOL __cdecl (*TFPDFAttachment_HasKey)(Fpdfview::FPDF_ATTACHMENT attachment, Fpdfview::FPDF_BYTESTRING key);

typedef Fpdfview::FPDF_OBJECT_TYPE __cdecl (*TFPDFAttachment_GetValueType)(Fpdfview::FPDF_ATTACHMENT attachment, Fpdfview::FPDF_BYTESTRING key);

typedef Fpdfview::FPDF_BOOL __cdecl (*TFPDFAttachment_SetStringValue)(Fpdfview::FPDF_ATTACHMENT attachment, Fpdfview::FPDF_BYTESTRING key, Fpdfview::FPDF_BYTESTRING value);

typedef System::LongWord __cdecl (*TFPDFAttachment_GetStringValue)(Fpdfview::FPDF_ATTACHMENT attachment, Fpdfview::FPDF_BYTESTRING key, Fpdfview::FPDF_WCHAR &buffer, System::LongWord buflen);

typedef Fpdfview::FPDF_BOOL __cdecl (*TFPDFAttachment_SetFile)(Fpdfview::FPDF_ATTACHMENT attachment, Fpdfview::FPDF_DOCUMENT document, void * contents, System::LongWord len);

typedef Fpdfview::FPDF_BOOL __cdecl (*TFPDFAttachment_GetFile)(Fpdfview::FPDF_ATTACHMENT attachment, void * buffer, System::LongWord buflen, /* out */ System::LongWord &out_buflen);

//-- var, const, procedure ---------------------------------------------------
}	/* namespace Fpdfattachment */
#if !defined(DELPHIHEADER_NO_IMPLICIT_NAMESPACE_USE) && !defined(NO_USING_NAMESPACE_FPDFATTACHMENT)
using namespace Fpdfattachment;
#endif
#pragma pack(pop)
#pragma option pop

#pragma delphiheader end.
//-- end unit ----------------------------------------------------------------
#endif	// FPdfAttachmentHPP
