 |
 |
 |
|
|  |  |
 |
WNetGetLastError ..msdn Add comment W32 Constants Translate this page |
 |
 |
|
The WNetGetLastError function retrieves the most recent extended error code set by a WNet function. |
 |  | | Code examples: |  | |
|
 |  | | Declaration: |  |  |
DWORD WNetGetLastError(
LPDWORD lpError, // error code
LPTSTR lpErrorBuf, // error description buffer
DWORD nErrorBufSize, // size of description buffer
LPTSTR lpNameBuf, // buffer for provider name
DWORD nNameBufSize // size of provider name buffer
);
|
 |  |  | | FoxPro declaration: |  |  |
DECLARE INTEGER WNetGetLastError IN mpr;
INTEGER @ lpError,;
STRING @ lpErrorBuf,;
INTEGER nErrorBufSize,;
STRING @ lpNameBuf,;
INTEGER nNameBufSize
|
 |  |  | | Parameters: |  | lpError
[out] Pointer to the variable that receives the error code reported by the network provider. The error code is specific to the network provider.
lpErrorBuf
[out] Pointer to the buffer that receives the null-terminated string describing the error.
nErrorBufSize
[in] Specifies the size, in characters, of the buffer pointed to by the lpErrorBuf parameter.
lpNameBuf
[out] Pointer to the buffer that receives the null-terminated string identifying the network provider that raised the error.
nNameBufSize
[in] Specifies the size, in characters, of the buffer pointed to by the lpNameBuf parameter. |
 |  | | Return value: |  | | If the function succeeds, and it obtains the last error that the network provider reported, the return value is NO_ERROR. |
 |  | | Word Index links for the WNetGetLastError : |  | |
|
 |  | | Translate this page: |  | |  |  | | • |  | | Created: | 2002-07-16 15:31:13 | | Modified: | 2002-07-16 15:33:47 | Visited in last 7 days: 20 |
|
 |
 |
 |
 |
Copyright © 2001-2013
News2News, Inc.
Before reproducing or distributing any data from this site please ask for an approval from its owner. Unless otherwise specified, this page is for your personal and non-commercial use.
The information on this page is presented AS IS, meaning that you may use it at your own risk.
Microsoft Visual FoxPro
and Windows are trade marks
of Microsoft Corp.
All other trademarks are the property of their respective owners.
Privacy policy
|
 |
 |
 |
Credits: PHP (4.4.9), an HTML-embedded scripting language,
MySQL (5.1.55-log), the Open Source standard SQL database,
AceHTML Freeware
Version 4, freeware HTML Editor of choice. Hosted by Korax Online Inc. |
 |
 |
|
 |
 |
|
|