data->buffer=MhpOutput::System::self()->Interface()->CreateDataBuffer(bufDesc);
data->buffer=MhpOutput::System::self()->Interface()->CreateDataBuffer(&bufDesc);
jlong Java_vdr_mhp_awt_DFBDataBuffer_createBufferFromFile(JNIEnv* env, jobject obj, jbyteArray filename) //throws IOException;{   DFBDataBufferNativeData *data=new DFBDataBufferNativeData();   DFBDataBufferDescription bufDesc;   const char* fn;   fn = (const char *)env->GetByteArrayElements(filename, 0);   bufDesc.flags=DBDESC_FILE;   bufDesc.file=fn;   try {      data->buffer=MhpOutput::System::self()->Interface()->CreateDataBuffer(bufDesc);   } catch (DFBException *e) {      fprintf( stderr, "Unable to create the Data buffer: %s\n", e->GetResult() );      printf("DirectFB: Error %s, %s\n", e->GetAction(), e->GetResult());      env->ReleaseByteArrayElements(filename, (jbyte *)fn, JNI_ABORT);      JNI::Exception::Throw(JNI::JavaIoIOException, "Unable to create data buffer for filename");      delete e;      return 0;   }      env->ReleaseByteArrayElements(filename, (jbyte *)fn, JNI_ABORT);      return (jlong)data;}