a1200   NEWS   APPS   DOCS   ABOUT
a1200
----
a1200
----
Autodocs
 Libraries:
 aml.library
  --rexxhost--
  AddArticlePartA
  AddCustomField
  AddFolderArticle
  CreateAddressEntryA
  CreateArticleA
  CreateArticlePartA
  CreateDecoderA
  CreateFolderA
  CreateServerA
  Decode
  DisposeAddressEntry
  DisposeArticle
  DisposeArticlePart
  DisposeDecoder
  DisposeFolder
  DisposeServer
  Encode
  ExpungeFolder
  FindAddressEntryA
  GetAddressEntryAttrsA
  GetArticleAttrsA
  GetArticlePartDataA
  GetCustomFieldData
  GetDecoderAttrsA
  GetFolderAttrsA
  GetServerArticles
  GetServerAttrsA
  GetServerHeaders
  HuntAddressEntryA
  OpenAddressEntry
  OpenArticle
  OpenFolderA
  ReadFolderSpool
  RemAddressEntry
  RemCustomField
  RemFolder
  RemFolderArticle
  SaveAddressEntry
  SaveFolder
  ScanFolderIndex
  SendArticle
  SetAddressEntryAttrsA
  SetArticleAttrsA
  SetArticlePartDataA
  SetDecoderAttrsA
  SetFolderAttrsA
  SetServerAttrsA
  WriteFolderSpool
Include
GuruMeditation
Docs » Autodocs » aml.library » SetArticlePartDataA

NAME

	SetArticlePartDataA -- Sets an article part's data
SetArticlePartData -- Varargs stub for SetArticlePartDataA

SYNOPSIS

	success = SetArticlePartDataA(part, tags)
D0 A0 A1
BOOL SetArticlePartDataA(APTR part, struct TagItem *tags);
BOOL SetArticlePartData(APTR part, ULONG tag1, ...);

FUNCTION

	Sets the data for the part object.  Data can be any of a number
of things, depending on the tag used to pass in the data. The
data pointed to must remain valid for the life of the part
object.

INPUTS

	part - Pointer to the part object
tags - Array of TagItems.

TAGS

	PARTA_DataFilename (STRPTR) - A filename of the actual data
to add to the part.
PARTA_DataFile (BPTR) - A file pointer from a call to Open()
PARTA_DataString (STRPTR) - A string buffer, NULL-terminated
of the data.
PARTA_DataBuffer (APTR) - A generic buffer of data. Must be
accompanied by the PARTA_DataLength tag.
PARTA_DataLength (ULONG) - Specifies how long the data buffer
is. Only valid for PARTA_DataString and PARTA_DataBuffer.
It is required for PARTA_DataBuffer, and can be used
creatively for limiting the length of data passed via
PARTA_DataString. This tag is ignored for other data
types.

RESULT

	success - 1 if successful, 0 otherwise.

Comments

Name:
E-mail: Use this if you want a message if you get a response, will not be shown.
Comment:
Select correct short for:

Defjam

PHA
RZR
SCX
DJ

Comments:

$VER: d0.se 1.14 Copyright © 2011-2024 Tobias Geijersson support at d0 dot se