On 3/17/07, Dmitry Timoshkov <dmitry@codeweavers.com> wrote:
"Giles Cameron" <giles@gilesfreeserv.com> wrote:

> +#define STATUS_DISCONNECTED              ((NTSTATUS) 0x00000037)
> +#define STATUS_NONEXISTENT_NET_NAME      ((NTSTATUS) 0x00000037)
> +#define STATUS_ENDPOINT_CLOSED           ((NTSTATUS) 0x00000037)

These defines don't look like proper status values, where did you find them from?

Indeed.  These names aren't defined in the Windows SDK, and a more typical NTSTATUS value would be 0xc0000037, which is defined as STATUS_PORT_DISCONNECTED.

Carl Fongheiser
carlfongheiser@gmail.com