org.jruby.ext.posix
Interface WindowsLibC

All Superinterfaces:
LibC

public interface WindowsLibC
extends LibC


Field Summary
static int CREATE_UNICODE_ENVIRONMENT
           
static int INFINITE
           
static int NORMAL_PRIORITY_CLASS
           
static int STD_ERROR_HANDLE
           
static int STD_INPUT_HANDLE
           
static int STD_OUTPUT_HANDLE
           
 
Method Summary
 int _open_osfhandle(int handle, int flags)
           
 int _wmkdir(byte[] path)
           
 boolean CloseHandle(int handle)
           
 int CreateFileW(byte[] lpFileName, int dwDesiredAccess, int dwShareMode, com.kenai.jaffl.Pointer lpSecurityAttributes, int dwCreationDisposition, int dwFlagsAndAttributes, int hTemplateFile)
           
 boolean CreateHardLinkW(byte[] oldname, byte[] newName, byte[] reserved)
           
 boolean CreateProcessW(byte[] applicationName, ByteBuffer buffer, WindowsSecurityAttributes processAttributes, WindowsSecurityAttributes threadAttributes, int inheritHandles, int creationFlags, com.kenai.jaffl.Pointer envp, byte[] currentDirectory, WindowsStartupInfo startupInfo, WindowsProcessInformation processInformation)
           
 boolean GetExitCodeProcess(int handle, com.kenai.jaffl.Pointer exitCode)
           
 int GetFileSize(int handle, com.kenai.jaffl.Pointer outSizeHigh)
           
 int GetFileType(int handle)
           
 com.kenai.jaffl.Pointer GetStdHandle(int stdHandle)
           
 boolean SetEnvironmentVariableW(byte[] envName, byte[] envValue)
           
 boolean SetFileTime(int hFile, FileTime lpCreationTime, FileTime lpLastAccessTime, FileTime lpLastWriteTime)
           
 int WaitForSingleObject(int handle, int milliseconds)
           
 
Methods inherited from interface org.jruby.ext.posix.LibC
chmod, chown, close, endgrent, endpwent, execv, execve, fork, fstat, fstat64, getegid, getenv, geteuid, getgid, getgrent, getgrgid, getgrnam, getlogin, getpgid, getpgid, getpgrp, getpid, getppid, getpriority, getpwent, getpwnam, getpwuid, getuid, isatty, kill, lchmod, lchown, link, lstat, lstat64, mkdir, read, readlink, setegid, setenv, seteuid, setgid, setgrent, setpgid, setpgrp, setpriority, setpwent, setsid, setuid, stat, stat64, symlink, umask, unsetenv, utimes, wait, waitpid, write
 

Field Detail

STD_INPUT_HANDLE

static final int STD_INPUT_HANDLE
See Also:
Constant Field Values

STD_OUTPUT_HANDLE

static final int STD_OUTPUT_HANDLE
See Also:
Constant Field Values

STD_ERROR_HANDLE

static final int STD_ERROR_HANDLE
See Also:
Constant Field Values

NORMAL_PRIORITY_CLASS

static final int NORMAL_PRIORITY_CLASS
See Also:
Constant Field Values

CREATE_UNICODE_ENVIRONMENT

static final int CREATE_UNICODE_ENVIRONMENT
See Also:
Constant Field Values

INFINITE

static final int INFINITE
See Also:
Constant Field Values
Method Detail

_open_osfhandle

int _open_osfhandle(int handle,
                    int flags)

_wmkdir

int _wmkdir(byte[] path)

CreateProcessW

boolean CreateProcessW(byte[] applicationName,
                       ByteBuffer buffer,
                       WindowsSecurityAttributes processAttributes,
                       WindowsSecurityAttributes threadAttributes,
                       int inheritHandles,
                       int creationFlags,
                       com.kenai.jaffl.Pointer envp,
                       byte[] currentDirectory,
                       WindowsStartupInfo startupInfo,
                       WindowsProcessInformation processInformation)

GetExitCodeProcess

boolean GetExitCodeProcess(int handle,
                           com.kenai.jaffl.Pointer exitCode)

GetFileType

int GetFileType(int handle)

GetFileSize

int GetFileSize(int handle,
                com.kenai.jaffl.Pointer outSizeHigh)

GetStdHandle

com.kenai.jaffl.Pointer GetStdHandle(int stdHandle)

CreateHardLinkW

boolean CreateHardLinkW(byte[] oldname,
                        byte[] newName,
                        byte[] reserved)

CreateFileW

int CreateFileW(byte[] lpFileName,
                int dwDesiredAccess,
                int dwShareMode,
                com.kenai.jaffl.Pointer lpSecurityAttributes,
                int dwCreationDisposition,
                int dwFlagsAndAttributes,
                int hTemplateFile)

SetEnvironmentVariableW

boolean SetEnvironmentVariableW(byte[] envName,
                                byte[] envValue)

SetFileTime

boolean SetFileTime(int hFile,
                    FileTime lpCreationTime,
                    FileTime lpLastAccessTime,
                    FileTime lpLastWriteTime)

CloseHandle

boolean CloseHandle(int handle)

WaitForSingleObject

int WaitForSingleObject(int handle,
                        int milliseconds)


Copyright © 2012. All Rights Reserved.