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.
Source/StdFileSaver.c
/* |
** Copyright 1991-1996 Apple Computer. All rights reserved. |
** |
** You may incorporate this sample code into your applications without |
** restriction, though the sample code has been provided "AS IS" and the |
** responsibility for its operation is 100% yours. However, what you are |
** not permitted to do is to redistribute the source as "DSC Sample Code" |
** after having made changes. If you're going to re-distribute the source, |
** we require that you make it clear in the source that the code was |
** descended from Apple Sample Code, but that you've made changes. |
*/ |
#error |
// This file is unused, I think |
#error |
#include <types.h> |
#include <Devices.h> |
// all functions just say that everything is fine and nothing else |
// see also StdFileSaver.a for an alternate version of the driver |
// a printer driver related to a physical device would of course |
// be more complete than that |
pascal OSErr DRVROpen(ParmBlkPtr ctlPB, DCtlPtr dCtl) |
{ |
#pragma unused(ctlPB) |
#pragma unused(dCtl) |
return noErr; |
} |
pascal OSErr DRVRClose(ParmBlkPtr ctlPB, DCtlPtr dCtl) |
{ |
#pragma unused(ctlPB) |
#pragma unused(dCtl) |
return noErr; |
} |
pascal OSErr DRVRControl(ParmBlkPtr ctlPB, DCtlPtr dCtl) |
{ |
#pragma unused(ctlPB) |
#pragma unused(dCtl) |
return noErr; |
} |
pascal OSErr DRVRPrime(ParmBlkPtr ctlPB, DCtlPtr dCtl) |
{ |
#pragma unused(ctlPB) |
#pragma unused(dCtl) |
return noErr; |
} |
pascal OSErr DRVRStatus(ParmBlkPtr ctlPB, DCtlPtr dCtl) |
{ |
#pragma unused(ctlPB) |
#pragma unused(dCtl) |
return noErr; |
} |
Copyright © 2003 Apple Computer, Inc. All Rights Reserved. Terms of Use | Privacy Policy | Updated: 2003-03-26