| 
 Q:
      When using QTNewGWorldFromPtrI'd like to know when is it
      necessary to callLockPixels? Additionally, what happens
      to the pixel data when aGWorldreturned byQTNewGWorldFromPtris disposed? A:
      QTNewGWorldFromPtrrequires the caller to supply a pointer
      to a pixel buffer that will be available for the lifetime
      of the returnedGWorldand will not move in memory.       When supplying your own pointer for the buffer parameter
      (baseAddr), callingLockPixelsis not necessary. It is however
      your responsibility to make sure this pixel buffer is available
      for the lifetime of theGWorldand that it not move in memory.  When supplying a pointer to some pixel data belonging to another 
          GWorld, it is your responsibility to ensure the sourceGWorldspixels are locked. Therefore, you should callLockPixelsfor the sourceGWorld'sPixMap. This should 
          be done before callingQTNewGWorldFromPtr. Be sure to not 
          unlock or dispose the sourceGWorld'sPixMapuntil you're done with theGWorldcreated by callingQTNewGWorldFromPtr.  When a GWorldcreated by callingQTNewGWorldFromPtris disposed; its pixel data is not disposed as QuickTime does not know 
          how the pixel data was originally allocated. It is therefore your responsibility 
          to manage disposing of the pixel data. 
 [Feb 26 2001] |