These resources may be POOL_SYSTEMMEM, so they must not access the device */
TRACE("locking an ordinarary surface\n");
/* Check to see if memory has already been allocated from the surface*/
if(NULL==This->resource.allocatedMemory){/* TODO: check to see if an update has been performed on the surface (an update could just clobber allocatedMemory */
if((NULL==This->resource.allocatedMemory)||
(This->Flags&SFLAG_NEWDC)){/* TODO: check to see if an update has been performed on the surface (an update could just clobber allocatedMemory */
/* Non-system memory surfaces */
/*Surface has no memory currently allocated to it!*/
TRACE("Creating a DIB section with size %ldx%ldx%d, size=%ld\n",b_info->bmiHeader.biWidth,b_info->bmiHeader.biHeight,b_info->bmiHeader.biBitCount,b_info->bmiHeader.biSizeImage);