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.
QTCode.h
/* |
File: QTCode.h |
Contains: QuickTime 3.0 Offscreen sample application. |
Written by: Scott Kuechle |
Copyright: © 1998 by Apple Computer, Inc., all rights reserved. |
Change History (most recent first): |
<1> 4/24/98 srk first file |
NOTES: |
TO DO: |
*/ |
#include "Application.h" |
void QTCode_PositionMovieRectInClientWindow(Movie theMovie, HWND hwnd); |
TimeValue QTCode_DoGetMovieNextInterestingTime(TimeValue currentTime, Movie theMovie, OSType mediaType); |
GrafPtr QTCode_DoCreatePortAssociation(void *theWnd, Ptr storage, long flags); |
void QTCode_DisposeMovieAndController(Movie theMovie, short movRefNum); |
void QTCode_DoDestroyPortAssociation(HWND hwnd); |
BOOL QTCode_DoQTInit(); |
void QTCode_QTCleanUp(); |
OSErr QTCode_NewMovieFromWinPathname(char *pathName, Movie *theMovie, short *movieRefNum, short *movieResId); |
OSErr QTCode_GetStartPointOfFirstVideoSample(Movie theMovie, TimeValue *startPoint); |
QDErr QTCode_CreateOffscreen(GWorldPtr *offscreenGWorld, CTabHandle cTable, GDHandle aGDevice, GWorldFlags flags, HBITMAP newHBITMAP, HDC newHDC); |
void QTCode_DoDestroyOffscreen(GWorldPtr offscreen, HBITMAP hBitmap); |
void QTCode_SetMovieGWorld(Movie theMovie, GWorldPtr offscreen); |
void QTCode_ForceMovieRedraw(Movie theMovie); |
Copyright © 2003 Apple Computer, Inc. All Rights Reserved. Terms of Use | Privacy Policy | Updated: 2003-01-14