Top Description Inners Constructors Methods
com.sun.jna.platform.win32

public abstract Class AccCtrl

extends Object
implements StdCallLibrary
Class Inheritance
All Implemented Interfaces
com.sun.jna.win32.StdCallLibrary, com.sun.jna.win32.StdCall, com.sun.jna.AltCallingConvention, com.sun.jna.Library
Imports
com.sun.jna.win32.StdCallLibrary

Ported from AccCtrl.h. Microsoft Windows SDK 7.1
Author
amarcionek[at]gmail.com

Nested and Inner Type Summary

Modifier and TypeClass and Description
public abstract class
AccCtrl.SE_OBJECT_TYPE

The SE_OBJECT_TYPE enumeration contains values that correspond to the types of Windows objects that support security.

Constructor Summary

AccessConstructor and Description
public

Method Summary

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

AccCtrlback to summary
public AccCtrl()
com.sun.jna.platform.win32 back to summary

public abstract Class AccCtrl.SE_OBJECT_TYPE

extends Object
Class Inheritance

The SE_OBJECT_TYPE enumeration contains values that correspond to the types of Windows objects that support security. The functions, such as GetSecurityInfo and SetSecurityInfo, that set and retrieve the security information of an object, use these values to indicate the type of object.

Field Summary

Modifier and TypeField and Description
public static final int
SE_DS_OBJECT

Indicates a directory service object or a property set or property of a directory service object.

public static final int
SE_DS_OBJECT_ALL

The server process can impersonate the client's security context on remote systems.

public static final int
SE_FILE_OBJECT

Indicates a file or directory.

public static final int
SE_KERNEL_OBJECT

Indicates a local kernel object.

public static final int
SE_LMSHARE

Indicates a network share.

public static final int
SE_PRINTER

Indicates a printer.

public static final int
SE_PROVIDER_DEFINED_OBJECT

Indicates a provider-defined object.

public static final int
SE_REGISTRY_KEY

Indicates a registry key.

public static final int
SE_REGISTRY_WOW64_32KEY

Indicates an object for a registry entry under WOW64.

public static final int
SE_SERVICE

Indicates a Windows service.

public static final int
SE_UNKNOWN_OBJECT_TYPE

Unknown object type.

public static final int
SE_WINDOW_OBJECT

Indicates a window station or desktop object on the local computer.

public static final int
SE_WMIGUID_OBJECT

Indicates a WMI object.

Constructor Summary

AccessConstructor and Description
public

Method Summary

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

SE_DS_OBJECTback to summary
public static final int SE_DS_OBJECT

Indicates a directory service object or a property set or property of a directory service object. The name string for a directory service object must be in X.500 form, for example: CN=SomeObject,OU=ou2,OU=ou1,DC=DomainName,DC=CompanyName,DC=com,O=internet

SE_DS_OBJECT_ALLback to summary
public static final int SE_DS_OBJECT_ALL

The server process can impersonate the client's security context on remote systems.

SE_FILE_OBJECTback to summary
public static final int SE_FILE_OBJECT

Indicates a file or directory. The name string that identifies a file or directory object can be in one of the following formats:

A relative path, such as FileName.dat or ..\FileName An absolute path, such as FileName.dat, C:\DirectoryName\FileName.dat, or G:\RemoteDirectoryName\FileName.dat. A UNC name, such as \\ComputerName\ShareName\FileName.dat.

SE_KERNEL_OBJECTback to summary
public static final int SE_KERNEL_OBJECT

Indicates a local kernel object. The GetSecurityInfo and SetSecurityInfo functions support all types of kernel objects. The GetNamedSecurityInfo and SetNamedSecurityInfo functions work only with the following kernel objects: semaphore, event, mutex, waitable timer, and file mapping.

SE_LMSHAREback to summary
public static final int SE_LMSHARE

Indicates a network share. A share object can be local, such as ShareName, or remote, such as \\ComputerName\ShareName.

SE_PRINTERback to summary
public static final int SE_PRINTER

Indicates a printer. A printer object can be a local printer, such as PrinterName, or a remote printer, such as \\ComputerName\PrinterName.

SE_PROVIDER_DEFINED_OBJECTback to summary
public static final int SE_PROVIDER_DEFINED_OBJECT

Indicates a provider-defined object.

SE_REGISTRY_KEYback to summary
public static final int SE_REGISTRY_KEY

Indicates a registry key. A registry key object can be in the local registry, such as CLASSES_ROOT\SomePath or in a remote registry, such as \\ComputerName\CLASSES_ROOT\SomePath.

The names of registry keys must use the following literal strings to identify the predefined registry keys: "CLASSES_ROOT", "CURRENT_USER", "MACHINE", and "USERS".

SE_REGISTRY_WOW64_32KEYback to summary
public static final int SE_REGISTRY_WOW64_32KEY

Indicates an object for a registry entry under WOW64.

SE_SERVICEback to summary
public static final int SE_SERVICE

Indicates a Windows service. A service object can be a local service, such as ServiceName, or a remote service, such as \\ComputerName\ServiceName.

SE_UNKNOWN_OBJECT_TYPEback to summary
public static final int SE_UNKNOWN_OBJECT_TYPE

Unknown object type.

SE_WINDOW_OBJECTback to summary
public static final int SE_WINDOW_OBJECT

Indicates a window station or desktop object on the local computer. You cannot use GetNamedSecurityInfo and SetNamedSecurityInfo with these objects because the names of window stations or desktops are not unique.

SE_WMIGUID_OBJECTback to summary
public static final int SE_WMIGUID_OBJECT

Indicates a WMI object.

Constructor Detail

SE_OBJECT_TYPEback to summary
public SE_OBJECT_TYPE()