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 » SetDecoderAttrsA

NAME

	SetDecoderAttrsA -- Set attributes for a de/encoder object
SetDecoderAttrs -- Varargs stub for SetDecoderAttrsA

SYNOPSIS

	value = SetDecoderAttrsA(decoder, tags)
D0 A0 A1
ULONG SetDecoderAttrsA(APTR decoder, struct TagItem *tags);
ULONG SetDecoderAttrs(APTR decoder, ULONG tag1, ...);

FUNCTION

	Sets attributes of the specified decoder/encoder object.

INPUTS

	decoder - Pointer to a decoder/encoder object.
tags - An array of TagItems.

TAGS

	DECODERA_SourceHandle (BPTR) - Pointer to a previously
opened file handle for the input stream.
DECODERA_SourceFile (STRPTR) - Filename of a file to
open for the input stream.
DECODERA_SourceBuffer (APTR) - Pointer to a buffer that
will be the source.
DECODERA_SourceLen (ULONG) - Length of the provided source
buffer. MUST be provided for a source of type
DECODERA_SourceBuffer.
DECODERA_DestHandle (BPTR) - Pointer to a previously
opened file handle for the output stream.
DECODERA_DestFile (STRPTR) - Filename of a file to create
for the output stream.
DECODERA_DestBuffer (APTR) - Pointer to a buffer that will
be the destination.
DECODERA_DestLen (ULONG) - Maximum length of the destination
buffer. MUST be provided for a destination type of
DECODERA_DestBuffer.
DECODERA_Lines (ULONG) - Number of lines.
DECODERA_Boundary (STRPTR) - String that specifies the MIME
boundary of a multipart or partial decode stream.
This will allow the decoder to intelligently stop
decoding certain media types.
DECODERA_Flags (ULONG) - Flags for the decoder/encoder
object. See <libraries/aml.h> for valid flags.

RESULT

	value - Number of attributes successfully set.

SEE ALSO

CreateDecoderA(), GetDecoderAttrsA(), <libraries/aml.h>

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:

Crystal

SCX
AYS
ATX
CSL

Comments:

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