< prev index next >

src/java.base/windows/native/libnio/fs/WindowsNativeDispatcher.c

Print this page
*** 229,11 ***
          throwWindowsException(env, GetLastError());
      }
      return ptr_to_jlong(handle);
  }
  
- 
  JNIEXPORT void JNICALL
  Java_sun_nio_fs_WindowsNativeDispatcher_DeviceIoControlSetSparse(JNIEnv* env, jclass this,
      jlong handle)
  {
      DWORD bytesReturned;
--- 229,10 ---

*** 356,11 ***
      }
      return ptr_to_jlong(handle);
  }
  
  JNIEXPORT jstring JNICALL
! Java_sun_nio_fs_WindowsNativeDispatcher_FindNextFile(JNIEnv* env, jclass this,
      jlong handle, jlong dataAddress)
  {
      HANDLE h = (HANDLE)jlong_to_ptr(handle);
      WIN32_FIND_DATAW* data = (WIN32_FIND_DATAW*)jlong_to_ptr(dataAddress);
  
--- 355,11 ---
      }
      return ptr_to_jlong(handle);
  }
  
  JNIEXPORT jstring JNICALL
! Java_sun_nio_fs_WindowsNativeDispatcher_FindNextFile0(JNIEnv* env, jclass this,
      jlong handle, jlong dataAddress)
  {
      HANDLE h = (HANDLE)jlong_to_ptr(handle);
      WIN32_FIND_DATAW* data = (WIN32_FIND_DATAW*)jlong_to_ptr(dataAddress);
  

*** 399,11 ***
      }
  
  }
  
  JNIEXPORT jstring JNICALL
! Java_sun_nio_fs_WindowsNativeDispatcher_FindNextStream(JNIEnv* env, jclass this,
      jlong handle)
  {
      WIN32_FIND_STREAM_DATA data;
      HANDLE h = (HANDLE)jlong_to_ptr(handle);
  
--- 398,11 ---
      }
  
  }
  
  JNIEXPORT jstring JNICALL
! Java_sun_nio_fs_WindowsNativeDispatcher_FindNextStream0(JNIEnv* env, jclass this,
      jlong handle)
  {
      WIN32_FIND_STREAM_DATA data;
      HANDLE h = (HANDLE)jlong_to_ptr(handle);
  

*** 427,11 ***
      }
  }
  
  
  JNIEXPORT void JNICALL
! Java_sun_nio_fs_WindowsNativeDispatcher_GetFileInformationByHandle(JNIEnv* env, jclass this,
      jlong handle, jlong address)
  {
      HANDLE h = (HANDLE)jlong_to_ptr(handle);
      BY_HANDLE_FILE_INFORMATION* info =
          (BY_HANDLE_FILE_INFORMATION*)jlong_to_ptr(address);
--- 426,11 ---
      }
  }
  
  
  JNIEXPORT void JNICALL
! Java_sun_nio_fs_WindowsNativeDispatcher_GetFileInformationByHandle0(JNIEnv* env, jclass this,
      jlong handle, jlong address)
  {
      HANDLE h = (HANDLE)jlong_to_ptr(handle);
      BY_HANDLE_FILE_INFORMATION* info =
          (BY_HANDLE_FILE_INFORMATION*)jlong_to_ptr(address);

*** 511,11 ***
          throwWindowsException(env, GetLastError());
  }
  
  
  JNIEXPORT void JNICALL
! Java_sun_nio_fs_WindowsNativeDispatcher_SetFileTime(JNIEnv* env, jclass this,
      jlong handle, jlong createTime, jlong lastAccessTime, jlong lastWriteTime)
  {
      HANDLE h = (HANDLE)jlong_to_ptr(handle);
  
      if (SetFileTime(h,
--- 510,11 ---
          throwWindowsException(env, GetLastError());
  }
  
  
  JNIEXPORT void JNICALL
! Java_sun_nio_fs_WindowsNativeDispatcher_SetFileTime0(JNIEnv* env, jclass this,
      jlong handle, jlong createTime, jlong lastAccessTime, jlong lastWriteTime)
  {
      HANDLE h = (HANDLE)jlong_to_ptr(handle);
  
      if (SetFileTime(h,
< prev index next >