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 SummaryFieldsModifier and TypeFieldDescriptionstatic final intSetting this value is equivalent to setting RESOURCEUSAGE_CONNECTABLE, RESOURCEUSAGE_CONTAINER, and RESOURCEUSAGE_ATTACHED.static final intThe resource must be attached.static final intThe 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 intThe 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 intThe resource is not a local device.static final intThe resource is a sibling.
- 
Constructor SummaryConstructors
- 
Method Summary
- 
Field Details- 
RESOURCEUSAGE_CONNECTABLEpublic 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_CONTAINERpublic 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_NOLOCALDEVICEpublic static final int RESOURCEUSAGE_NOLOCALDEVICEThe resource is not a local device.- See Also:
 
- 
RESOURCEUSAGE_SIBLINGpublic static final int RESOURCEUSAGE_SIBLINGThe resource is a sibling. This value is not used by Windows.- See Also:
 
- 
RESOURCEUSAGE_ATTACHEDpublic 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_ALLpublic static final int RESOURCEUSAGE_ALLSetting this value is equivalent to setting RESOURCEUSAGE_CONNECTABLE, RESOURCEUSAGE_CONTAINER, and RESOURCEUSAGE_ATTACHED.- See Also:
 
 
- 
- 
Constructor Details- 
RESOURCEUSAGEpublic RESOURCEUSAGE()
 
-