Search
Module:
Directory

   Desktop Functions:

   Smart Device Functions:


Show Recent Changes
Subscribe (RSS)
Misc. Pages
Comments
FAQ
Helpful Tools
Playground
Suggested Reading
Website TODO List
Support Forum
Download Visual Studio Add-In

Terms of Use
Privacy Policy

Search Results for "ResourceType" in [All]

Enums

.

    ResourceTypeNotFound = 0xc000008a,

.

private enum ResourceType : uint

.

Private Enum ResourceType As UInteger

.
Documentation
[ResourceType] on MSDN
.

The .NET Framework equivalent is System.Security.AccessControl.ResourceType (http://msdn2.microsoft.com/library/System.Security.AccessControl.ResourceType).

mpr

.

        public ResourceType dwType = 0;

.

    public enum ResourceType

.

        RESOURCETYPE_ANY,

.

        RESOURCETYPE_DISK,

.

        RESOURCETYPE_PRINT,

.

        RESOURCETYPE_RESERVED

.

nr.dwType = ResourceType.RESOURCETYPE_DISK;

.

private const int RESOURCETYPE_ANY = 0x0;

.

ConnInf.dwType = RESOURCETYPE_ANY;

.

  //      public enum ResourceType

.

  //      RESOURCETYPE_ANY    = 0,

.

  //      RESOURCETYPE_DISK       = 1,

.

  //      RESOURCETYPE_PRINT      = 2,

.

  //      RESOURCETYPE_RESERVED   = 8,

.

  //      RESOURCETYPE_UNKNOWN    = -1,

.

  //      public ResourceType dwType = 0;

.

        ResourceType = ResourceType.Disk,

.

    public ResourceType ResourceType;

.

public enum ResourceType : int

.

    public enum ResourceType

.

        RESOURCETYPE_ANY,

.

        RESOURCETYPE_DISK,

.

        RESOURCETYPE_PRINT,

.

        RESOURCETYPE_RESERVED

.

        public ResourceType dwType = 0;

.

private const int RESOURCETYPE_ANY = 0x0;

.

ConnInf.dwType = RESOURCETYPE_ANY;

.

    RESOURCETYPE_ANY= 0x00000000,

.

    RESOURCETYPE_DISK= 0x00000001,

.

    RESOURCETYPE_PRINT = 0x00000002,

.

    RESOURCETYPE_RESERVED = 0x00000008,

.

       RESOURCE_TYPE.RESOURCETYPE_ANY,

.

    RESOURCETYPE_ANY = &H0

.

    RESOURCETYPE_DISK = &H1

.

    RESOURCETYPE_PRINT = &H2

.

    RESOURCETYPE_RESERVED = &H8

.

        iRet = WNetOpenEnum(RESOURCE_SCOPE.RESOURCE_REMEMBERED, RESOURCE_TYPE.RESOURCETYPE_ANY, RESOURCE_USAGE.RESOURCEUSAGE_ATTACHED, o, ptrHandle)

.

        iRet = WNetOpenEnum(RESOURCE_SCOPE.RESOURCE_GLOBALNET, RESOURCE_TYPE.RESOURCETYPE_ANY, RESOURCE_USAGE.RESOURCEUSAGE_CONTAINER, o, ptrHandle)

.

        iRet = WNetOpenEnum(RESOURCE_SCOPE.RESOURCE_GLOBALNET, RESOURCE_TYPE.RESOURCETYPE_ANY, RESOURCE_USAGE.RESOURCEUSAGE_CONTAINER, o, ptrHandle)

.

public static extern UInt32 WNetOpenEnum(ResourceScope dwScope, ResourceType dwType, ResourceUsage dwUsage, NetResource lpNetResource, ref IntPtr lphEnum);

.

Public Shared Function WNetOpenEnum(dwScope As ResourceScope, dwType As ResourceType, dwUsage As ResourceUsage, lpNetResource As NetResource, ByRef lphEnum As IntPtr) As UInteger

.

ResourceScope, ResourceType, ResourceUsage, NetResource

.

public enum ResourceType

.

    public ResourceType         dwType        = 0;

.

       dwType       = ResourceType.DISK,

.

       dwType       = ResourceType.DISK,

Delegates

.

delegate TODO EnumResourceTypesEx(TODO);

.

Delegate Function EnumResourceTypesEx(TODO) As TODO

.
Documentation
[EnumResourceTypesEx] on MSDN
.
Summary

kernel32

.

Public Enum ResourceType

.
Summary
.

static extern bool EnumResourceTypes(IntPtr hModule, EnumResTypeProc lpEnumFunc, IntPtr lParam);

.

Private Shared Function EnumResourceTypes(ByVal hModule As IntPtr, ByVal lpEnumFunc As EnumResTypeProc, ByVal lParam As IntPtr) As Boolean

.

    Public Shared Function GetResourceTypes(fullPath As String, _

.

                  resources() As ResourceType) As Dictionary(Of ResourceType,  _

.

        CType([Enum].GetValues(GetType(ResourceType)), ResourceType())

.

    Dim LS As New Dictionary(Of ResourceType, List(Of String))

.

         Dim rt = CType(CInt(lpType), ResourceType)

.

        Dim rt = CType(CInt(rType), ResourceType)

.

    EnumResourceTypesW(hMod, callBack, IntPtr.Zero)

.
Documentation
[EnumResourceTypes] on MSDN

ntdll

.

        ResourceTypeNotFound = 0xc000008a,

Constants

.

const UInt32 RESOURCETYPE_ANY = 0x00000000;

.

const UInt32 RESOURCETYPE_DISK = 0x00000001;

.

const UInt32 RESOURCETYPE_PRINT = 0x00000002;


 
Access PInvoke.net directly from VS: