Package com.sun.jna.platform.win32
Class Winnetwk.RESOURCEUSAGE
java.lang.Object
com.sun.jna.platform.win32.Winnetwk.RESOURCEUSAGE
- Enclosing class:
- Winnetwk
A set of bit flags describing how the resource can be used. Note that
this member can be specified only if the dwScope member is equal to
RESOURCE_GLOBALNET. This member can be one of the following values
defined in the Winnetwk.h header file. NOTE: This are for the dwUsage
member of NetResource
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
Setting this value is equivalent to setting RESOURCEUSAGE_CONNECTABLE, RESOURCEUSAGE_CONTAINER, and RESOURCEUSAGE_ATTACHED.static final int
The resource must be attached.static final int
The resource is a connectable resource; the name pointed to by the lpRemoteName member can be passed to the WNetAddConnection function to make a network connection.static final int
The resource is a container resource; the name pointed to by the lpRemoteName member can be passed to the WNetOpenEnum function to enumerate the resources in the container.static final int
The resource is not a local device.static final int
The resource is a sibling. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
RESOURCEUSAGE_CONNECTABLE
public static final int RESOURCEUSAGE_CONNECTABLEThe resource is a connectable resource; the name pointed to by the lpRemoteName member can be passed to the WNetAddConnection function to make a network connection.- See Also:
-
RESOURCEUSAGE_CONTAINER
public static final int RESOURCEUSAGE_CONTAINERThe resource is a container resource; the name pointed to by the lpRemoteName member can be passed to the WNetOpenEnum function to enumerate the resources in the container.- See Also:
-
RESOURCEUSAGE_NOLOCALDEVICE
public static final int RESOURCEUSAGE_NOLOCALDEVICEThe resource is not a local device.- See Also:
-
RESOURCEUSAGE_SIBLING
public static final int RESOURCEUSAGE_SIBLINGThe resource is a sibling. This value is not used by Windows.- See Also:
-
RESOURCEUSAGE_ATTACHED
public static final int RESOURCEUSAGE_ATTACHEDThe resource must be attached. This value specifies that a function to enumerate resource this should fail if the caller is not authenticated, even if the network permits enumeration without authentication.- See Also:
-
RESOURCEUSAGE_ALL
public static final int RESOURCEUSAGE_ALLSetting this value is equivalent to setting RESOURCEUSAGE_CONNECTABLE, RESOURCEUSAGE_CONTAINER, and RESOURCEUSAGE_ATTACHED.- See Also:
-
-
Constructor Details
-
RESOURCEUSAGE
public RESOURCEUSAGE()
-