PRB: Error 1 (NRC_BUFLEN) During NetBIOS Send Call (124879)
The information in this article applies to:
- Microsoft Win32 Software Development Kit (SDK) 3.1
- Microsoft Win32 Software Development Kit (SDK) 3.5
- Microsoft Win32 Software Development Kit (SDK) 3.51
- Microsoft Win32 Software Development Kit (SDK) 4.0
This article was previously published under Q124879 SYMPTOMS
When making a NetBIOS Send call, the call with fail with error code 1
(NRC_BUFLEN). This error code indicates that the buffer length is
invalid.
CAUSE
NRC_BUFLEN will be returned if the buffer length specified in the
NetBIOS Control Block (NCB) is incorrect. Less obvious is the fact that
this error will also be returned if the buffer pointed to by the NCB is
protected from write operations.
RESOLUTION
Although the NetBIOS code does not write to the buffer supplied in the NCB,
write access is required. You can solve the problem by changing the
protection on your buffer to include write access.
Modification Type: | Major | Last Reviewed: | 10/15/1999 |
---|
Keywords: | kbAPI kberrmsg kbNetBIOS kbnetwork kbprb KB124879 |
---|
|