|
JNative v1.3 project : see http://jnative.sf.net |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.xvolks.jnative.misc.SecurityAttributes
public class SecurityAttributes
SecurityAttributes this utility class is used by Kernel32.createFile().
This is the native peer.
typedef struct _SECURITY_ATTRIBUTES {
DWORD nLength;
LPVOID lpSecurityDescriptor;
BOOL bInheritHandle;
} SECURITY_ATTRIBUTES,
*PSECURITY_ATTRIBUTES;
$Id: SecurityAttributes.java,v 1.6 2006/06/09 20:44:05 mdenty Exp $;
This software is released under the LGPL.
| Constructor Summary | |
|---|---|
SecurityAttributes()
|
|
| Method Summary | |
|---|---|
void |
dispose()
|
protected void |
finalize()
|
Pointer |
getLpSecurityDescriptor()
Returns LpSecurityDescriptor |
int |
getNLength()
Returns NLength |
Pointer |
getPointer()
|
boolean |
isBInheritHandle()
Returns BInheritHandle |
void |
setBInheritHandle(boolean bInheritHandle)
Sets BInheritHandle |
void |
setLpSecurityDescriptor(Pointer lpSecurityDescriptor)
Sets LpSecurityDescriptor |
void |
setNLength(int nLength)
Sets NLength |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SecurityAttributes()
| Method Detail |
|---|
public Pointer getPointer()
public void dispose()
throws NativeException
NativeException
protected void finalize()
throws java.lang.Throwable
finalize in class java.lang.Objectjava.lang.Throwable
public void setNLength(int nLength)
throws NativeException
NLength - an int
NativeException
public int getNLength()
throws NativeException
NativeException
public void setLpSecurityDescriptor(Pointer lpSecurityDescriptor)
throws NativeException
LpSecurityDescriptora - Pointer
NativeExceptionpublic Pointer getLpSecurityDescriptor()
public void setBInheritHandle(boolean bInheritHandle)
throws NativeException
BInheritHandle - a boolean
NativeException
public boolean isBInheritHandle()
throws NativeException
NativeException
|
JNative v1.3 project : see http://jnative.sf.net |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||