2010 FRC Java API


com.sun.squawk.platform.windows.natives
Interface Windows

All Superinterfaces:
Library
All Known Implementing Classes:
WindowsImpl

public interface Windows
extends Library

Import common Windows-specific calls


Field Summary
static Windows INSTANCE
           
 
Method Summary
 int WSAGetLastError()
          Gets the value of the last windows socket error.
 
Methods inherited from interface com.sun.cldc.jna.Library
initConstInt
 

Field Detail

INSTANCE

static final Windows INSTANCE
Method Detail

WSAGetLastError

int WSAGetLastError()
Gets the value of the last windows socket error. Only valid after certain system calls, and only if the system call failed in some way.

Returns:
typically a positive number

2010 FRC Java API


Copyright © 2006-2009 Sun Microsystems, Inc. All Rights Reserved.