Microsoft KB Archive/58594

= Mac Hyp: AddMacResource Adds Resources to Current Stack =

Article ID: 58594

Article Last Modified on 10/30/2006

-

APPLIES TO


 * Microsoft Mail Software Development Kit (SDK) for HyperCard 2.0
 * Microsoft Mail Software Development Kit 3.0

-



This article was previously published under Q58594



SUMMARY
AddMacResource adds the data pointed to by a handle to the resource fork of the current stack. The following is an example:   msmail(addMacResource, handle, type [,name] [,ID]) The resource is stored with the given resource type, ID, and resource name.

If no &quot;ID&quot; is specified, a unique ID is chosen for the resource. If no &quot;name&quot; is specified, it remains blank. Any resources in the current stack with the same type and ID or type and name are removed.

&quot;handle&quot; is a Macintosh handle to a resource. This value is returned by a call to getMacResource.

The &quot;type&quot; parameter lets advanced users specify the type of the field to be added. This must be passed only if you are creating nontext fields that do not occur on the send screen for this message type. In all other cases, the type will be filled in automatically.

This information is taken from the &quot;Microsoft Mail HyperCard Interface Documentation.&quot;

Keywords: KB58594

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.