Adobe.com
Contents Suites Classes Class Index Member Index

AIPlatformMemory.h

Go to the documentation of this file.
00001 
00002 #ifndef __AIPlatformMemory__
00003 #define __AIPlatformMemory__
00004 
00005 /*
00006  *        Name: AIPlatformMemory.h
00007  *   $Revision: 1 $
00008  *      Author: Dave Lazarony
00009  *        Date: 7/1/96
00010  *     Purpose: Wrapper suite for calling the Mac OS or Windows platform
00011  *                              memory manager.
00012  *
00013  * ADOBE SYSTEMS INCORPORATED
00014  * Copyright 1986-2007 Adobe Systems Incorporated.
00015  * All rights reserved.
00016  *
00017  * NOTICE:  Adobe permits you to use, modify, and distribute this file 
00018  * in accordance with the terms of the Adobe license agreement 
00019  * accompanying it. If you have received this file from a source other 
00020  * than Adobe, then your use, modification, or distribution of it 
00021  * requires the prior written permission of Adobe.
00022  *
00023  */
00024 
00025 /*******************************************************************************
00026  **
00027  **     Imports
00028  **
00029  **/
00030 
00031 #ifndef __ASTypes__
00032 #include "AITypes.h"
00033 #endif
00034 
00035 
00036 #include "AIHeaderBegin.h"
00037 
00040 /*******************************************************************************
00041  **
00042  ** Constants
00043  **
00044  **/
00045 
00046 #define kAIPlatformMemorySuite                          "AI Platform Memory Suite"
00047 #define kAIPlatformMemorySuiteVersion           AIAPI_VERSION(3)
00048 #define kAIPlatformMemoryVersion                        kAIPlatformMemorySuiteVersion
00049 
00050 
00051 /*******************************************************************************
00052  **
00053  **     Suite Record
00054  **
00055  **/
00056 
00066 typedef struct {
00071         ASAPI ASErr (*New)(size_t size, ASHandle *handle);
00075         ASAPI ASErr (*Delete)(ASHandle handle);
00080         ASAPI ASErr (*GetSize)(ASHandle handle, size_t *size);
00086         ASAPI ASErr (*Resize)(ASHandle *handle, size_t newSize);
00093         ASAPI ASErr (*Lock)(ASHandle handle, void **dataPtr);
00097         ASAPI ASErr (*UnLock)(ASHandle handle);
00098 
00099 } AIPlatformMemorySuite;
00100 
00101 
00102 #include "AIHeaderEnd.h"
00103 
00104 #endif


Contents Suites Classes Class Index Member Index
Adobe Solutions Network
 
Copyright © 2016 Adobe Systems Incorporated. All rights reserved.
Terms of Use Online Privacy Policy Adobe and accessibility Avoid software piracy Permissions and Trademarks