VB聲明,說明,返回值,
VB聲明
Declare Function WNetGetLastError Lib "mpr.dll" Alias "WNetGetLastErrorA" (lpError As Long, ByVal lpErrorBuf As String, ByVal nErrorBufSize As Long, ByVal lpNameBuf As String, ByVal nNameBufSize As Long) As Long
說明
獲取網路錯誤的擴展錯誤信息
返回值
Long,零表示成功。ERROR_INVALID_ADDRESS表示緩衝區無效