Retired Document
Important: This sample code may not represent best practices for current development. The project may use deprecated symbols and illustrate technologies and techniques that are no longer recommended.
Clippings/CreateMovie.c/CreateDataRef.txt
// Create a data reference which we will use to create our movie. In this case, |
// we'll construct a URL data reference. The URL data reference |
// is simply a handle whose data is a URL describing a movie. |
dataRef = NewHandleClear(StrLength(url) + 1); |
CheckError(MemError(), "NewHandleClear error"); |
BlockMoveData(url, *dataRef, StrLength(url) + 1); |
Copyright © 2003 Apple Computer, Inc. All Rights Reserved. Terms of Use | Privacy Policy | Updated: 2003-01-14