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

NAME

	SetFolderAttrsA -- Set the attributes of a folder object
SetFolderAttrs -- Varargs stub for SetFolderAttrsA

SYNOPSIS

	count = SetFolderAttrsA(folder, tags)
D0 A0 A1
ULONG SetFolderAttrsA(APTR folder, struct TagItem *tags);
ULONG SetFolderAttrs(APTR folder, ULONG tag1, ...);

FUNCTION

	This function sets the specified attributes for
a folder object.

INPUTS

	folder - Pointer to a folder object
tags - An array of TagItems

TAGS

	The following tags are valid:
FOLDERA_SpoolFile (STRPTR) - A file to be
check for possible new articles.
FOLDERA_Path (STRPTR) - Path that this folder
will be located.
FOLDERA_Name (STRPTR) - The actual name of
the folder.
FOLDERA_DefaultName (ULONG) - Used for setting
the name of a "default" folder, typical
for e-mail applications. The following
values can be passed with this tag:
FOLDER_DEF_INBOX, FOLDER_DEF_OUTBOX,
FOLDER_DEF_DRAFTS, FOLDER_DEF_SAVED,
FOLDER_DEF_TRASH
FOLDERA_Flags (ULONG) - See <libraries/aml.h> for
details on the valid flag values.
FOLDERA_UserData (APTR) - User defined.
FOLDERA_FirstMsgID (ULONG) - An ordinal number
specifying the first valid article ID for
this folder.
FOLDERA_LastMsgID (ULONG) - An ordinal number
specifying the last valid article ID for
this folder.

RESULT

	count - The number of attributes successfully set.

SEE ALSO

DisposeFolder(), SetFolderAttrsA()

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:

Anarchy

ANA
TBL
HZ
AYS

Comments:

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