Package com.sun.jna.platform.win32
Class Winnetwk.RESOURCEUSAGE
- java.lang.Object
- 
- com.sun.jna.platform.win32.Winnetwk.RESOURCEUSAGE
 
- 
- Enclosing class:
- Winnetwk
 
 public class Winnetwk.RESOURCEUSAGE extends java.lang.ObjectA 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 SummaryFields Modifier and Type Field Description static intRESOURCEUSAGE_ALLSetting this value is equivalent to setting RESOURCEUSAGE_CONNECTABLE, RESOURCEUSAGE_CONTAINER, and RESOURCEUSAGE_ATTACHED.static intRESOURCEUSAGE_ATTACHEDThe resource must be attached.static intRESOURCEUSAGE_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.static intRESOURCEUSAGE_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.static intRESOURCEUSAGE_NOLOCALDEVICEThe resource is not a local device.static intRESOURCEUSAGE_SIBLINGThe resource is a sibling.
 - 
Constructor SummaryConstructors Constructor Description RESOURCEUSAGE()
 
- 
- 
- 
Field Detail- 
RESOURCEUSAGE_CONNECTABLEpublic static final int RESOURCEUSAGE_CONNECTABLE 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.- See Also:
- Constant Field Values
 
 - 
RESOURCEUSAGE_CONTAINERpublic static final int RESOURCEUSAGE_CONTAINER 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.- See Also:
- Constant Field Values
 
 - 
RESOURCEUSAGE_NOLOCALDEVICEpublic static final int RESOURCEUSAGE_NOLOCALDEVICE The resource is not a local device.- See Also:
- Constant Field Values
 
 - 
RESOURCEUSAGE_SIBLINGpublic static final int RESOURCEUSAGE_SIBLING The resource is a sibling. This value is not used by Windows.- See Also:
- Constant Field Values
 
 - 
RESOURCEUSAGE_ATTACHEDpublic static final int RESOURCEUSAGE_ATTACHED The 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:
- Constant Field Values
 
 - 
RESOURCEUSAGE_ALLpublic static final int RESOURCEUSAGE_ALL Setting this value is equivalent to setting RESOURCEUSAGE_CONNECTABLE, RESOURCEUSAGE_CONTAINER, and RESOURCEUSAGE_ATTACHED.- See Also:
- Constant Field Values
 
 
- 
 
-