Overview Members Chapter Previous Next

CDXSurface::Create

BOOL Create( CDXScreen* pScreen , const char* szFilename , BYTE memoryType = CDXMEM_VIDTHENSYS ) ;

Creates a surface holding the bitmap pointed to by szFilename. MemoryType is where you want the surface to reside (video or system memory).