软讯网络 > 编程语言 > Java > SWT Extension under Windows OS can be checked out through CVS now!
【标 题】:SWT Extension under Windows OS can be checked out through CVS now!
【关键字】:
SWT,Extension,under,Windows,OS,can,be,checked,out,through,CVS,now
【来 源】:http://www.blogjava.net/cnfree/archive/2007/01/03/91602.html
SWT Extension under Windows OS can be checked out through CVS now!
SWT Extension under Windows OS can be checked out through CVS now!?
User can access it from:
?
cvs -z3 -d:pserver anonymous@feeling.cvs.sourceforge.net:/cvsroot/feeling co -P org.eclipse.swt.extension ?
?
Add native method:?
public
?
static
?
native
?
boolean
?ShowCursor(
boolean
?bShow);?
public
?
static
?
native
?
void
?GetDiskFreeSpace(String?drive,?DISKFREESPACE?diskFreeSpace);?
public
?
static
?
native
?
void
?GetSystemInfo(SYSTEM_INFO?systemInfo);?
public
?
static
?
native
?
void
?GlobalMemoryStatus(MEMORYSTATUS?memoryStatus);?
public
?
static
?
native
?
int
?GetDriveType(String?drive);?
public
?
static
?
native
? String[]?GetLogicalDrives();?
public
?
static
?
native
? String?GetVolumeLabel(String?drive);?
public
?
static
?
native
?
boolean
?SetVolumeLabel(String?drive,?String?label);?
public
?
static
?
native
? String?GetCurrentDirectory();?
public
?
static
?
native
?
boolean
?SetCurrentDirectory(String?directory);?
public
?
static
?
native
?
boolean
?RegistryKeyIteratorHasNext(KeyIterator?iterator);?
public
?
static
?
native
?
void
?DeleteRegistryKey(RegistryKey?key);?
public
?
static
?
native
?
boolean
?RegistryKeyHasSubKeys(RegistryKey?key);?
public
?
static
?
native
?
boolean
?RegistryKeyHasValue(RegistryKey?key,?String?name);?
public
?
static
?
native
? String?RegistryKeyValueIteratorGetNext(ValueIterator?iterator);?
public
?
static
?
native
?
boolean
?RegistryKeyHasValues(RegistryKey?key);?
public
?
static
?
native
? RegistryValue?RegistryKeyGetValue(RegistryKey?key,?String?name);?
public
?
static
?
native
?
void
?RegistryKeySetValue(RegistryKey?key,?RegistryValue?value);?
public
?
static
?
native
?
void
?RegistryKeyDeleteValue(RegistryKey?key,?String?name);?
public
?
static
?
native
? String?RegistryKeyIteratorGetNext(KeyIterator?iterator);?
public
?
static
?
native
?
boolean
?ExistsRegistryKey(RegistryKey?key);?
public
?
static
?
native
?
void
?CreateRegistryKey(RegistryKey?key);?
public
?
static
?
native
?
boolean
?RegistryKeyValueIteratorHasNext(ValueIterator?iterator);?
public
?
static
?
native?? int
?CreateShortCut(String?sourceFile,?String?linkFile,String?linkDescriptor);?
public
?
static
?
native
?
int
?SHFileOperationA(SHFILEOPSTRUCT?shFileOpStruct);?
public
?
static
?
native
?
int
?SHFileOperationW(SHFILEOPSTRUCT?shFileOpStruct);?
public
?
static
?
native
?
boolean
?FlashWindow(
int
?hwnd,?
boolean
?bInvert);?
public
?
static
?
native
?
boolean
?SetLayeredWindowAttributes(
int
?hwnd,?
int
?color,?
byte
?alpha,?
int
?type);?
public
?
static
?
native
? String?GetSystemDirectory();?
public
?
static
?
native
? String?GetWindowsDirectory();?
public
?
static
?
native
? String?GetTempPath();?
public
?
static
?
native
? String?GetLongPathName(String?shortPathName);?
public
?
static
?
native
?
boolean
?SetWallPaper(
char
[]?picturePath,
int
?style);?
public
?
static
?
native
?
int
[]?GetMACID(?);?
public
?
static
?
native
?
int
[]?GetMACAddress(?
int
?MACID);?
snapshot: