Type a page name and press Enter. You'll jump to the page if it exists, or you can create it if it doesn't.
To create a page in a module other than Structures, prefix the name with the module name and a period.
NETRESOURCE (Structures)
.
C# Definition:
class NETRESOURCE
{
public int dwScope;
public int dwType;
public int dwDisplayType;
public int dwUsage;
public string LocalName;
public string RemoteName;
public string Comment;
public string Provider;
[StructLayout(LayoutKind.Sequential)]
public class NetResource
{
public ResourceScope dwScope;
public ResourceType dwType;
public ResourceDisplayType dwDisplayType;
public ResourceUsage dwUsage;
public string lpLocalName;
public string lpRemoteName;
public string lpComment;
public string lpProvider;
}
Notes:
This is defined as a class rather than a structure, so it's only appropriate for passing (by-value) when a pointer to a structure is needed.
VB.Net Definition:
<StructLayout(LayoutKind.Sequential)> _
Public Class NetResource
Public dwScope As ResourceScope
Public dwType As ResourceType
Public dwDisplayType As ResourceDisplayType
Public dwUsage As ResourceUsage
Public lpLocalName As String
Public lpRemoteName As String
Public lpComment As String
Public lpProvider As String
End Class
This is defined as a class rather than a structure, so it's only appropriate for passing (by-value) when a pointer to a structure is needed.
Click to read this page
10/13/2016 2:28:10 AM - -74.46.16.13
The type of resource. This member can be one of the following values defined in the Winnetwk.h header file.
10/13/2016 2:32:15 AM - -91.90.10.220
The display options for the network object in a network browsing user interface. This member can be one of the following values defined in the Winnetwk.h header file.
10/13/2016 2:31:47 AM - -98.203.228.160
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.
10/13/2016 2:34:22 AM - -91.90.10.220
The WNetAddConnection2 function makes a connection to a network resource. The function can redirect a local device to the network resource.
9/5/2012 10:52:40 PM - -78.237.25.102
Please edit this page!
Do you have...
helpful tips?
corrections to the existing content?
alternate definitions?
additional languages you want to include?
Select "Edit This Page" on the right hand toolbar and edit it! Or add new pages containing any supporting types needed.