Buscar

Buscar en Recursos vb o en la web


Equivalencias del Api para vb y vb.net

Listado A


Listado A

 

Comparaciones Api's Visual Basic .Net

Listado de funciones . Enviado por: Sebastián Ándres Perdomo ( seba123neo )

 

 

AbortSystemShutdown:

VB6

Private Declare Function AbortSystemShutdown Lib "advapi32.dll" Alias "AbortSystemShutdownA" (ByVal lpMachineName As String) As Long

VB.NET

Private Declare Function AbortSystemShutdown Lib "advapi32.dll" Alias "AbortSystemShutdownA" (ByVal lpMachineName As String) As Integer

 

AccessCheck

 

VB6

Private Declare Function AccessCheck Lib "advapi32.dll" Alias "AccessCheck" (pSecurityDescriptor As SECURITY_DESCRIPTOR, ByVal ClientToken As Long, ByVal DesiredAccess As Long, GenericMapping As GENERIC_MAPPING, PrivilegeSet As PRIVILEGE_SET, PrivilegeSetLength As Long, GrantedAccess As Long, ByVal Status As Long) As Long

VB.NET

Private Declare Function AccessCheck Lib "advapi32.dll" (ByRef pSecurityDescriptor As SECURITY_DESCRIPTOR, ByVal ClientToken As Integer, ByVal DesiredAccess As Integer, ByRef GenericMapping As GENERIC_MAPPING, ByRef PrivilegeSet As PRIVILEGE_SET, ByRef PrivilegeSetLength As Integer, ByRef GrantedAccess As Integer, ByVal Status As Integer) As Integer

 

AccessCheckAndAuditAlarm

VB6

Private Declare Function AccessCheckAndAuditAlarm Lib "advapi32.dll" Alias "AccessCheckAndAuditAlarmA" (ByVal SubsystemName As String, HandleId As Any, ByVal ObjectTypeName As String, ByVal ObjectName As String, SecurityDescriptor As SECURITY_DESCRIPTOR, ByVal DesiredAccess As Long, GenericMapping As GENERIC_MAPPING, ByVal ObjectCreation As Long, GrantedAccess As Long, ByVal AccessStatus As Long, ByVal pfGenerateOnClose As Long) As Long

 

VB.NET

Private Declare Function AccessCheckAndAuditAlarm Lib "advapi32.dll" Alias "AccessCheckAndAuditAlarmA" (ByVal SubsystemName As String, ByRef HandleId As Object, ByVal ObjectTypeName As String, ByVal ObjectName As String, ByRef SecurityDescriptor As SECURITY_DESCRIPTOR, ByVal DesiredAccess As Integer, ByRef GenericMapping As GENERIC_MAPPING, ByVal ObjectCreation As Integer, ByRef GrantedAccess As Integer, ByVal AccessStatus As Integer, ByVal pfGenerateOnClose As Integer) As Integer

 

AddAccessAllowedAce

VB6

Private Declare Function AddAccessAllowedAce Lib "advapi32.dll" Alias "AddAccessAllowedAce" (pAcl As ACL, ByVal dwAceRevision As Long, ByVal AccessMask As Long, pSid As Any) As Long

 

VB.NET

Private Declare Function AddAccessAllowedAce Lib "advapi32.dll" (ByRef pAcl As ACL, ByVal dwAceRevision As Integer, ByVal AccessMask As Integer, ByRef pSid As Object) As Integer

 

AbortDoc

vb 6.0

Private Declare Function AbortDoc Lib "gdi32" Alias "AbortDoc" (ByVal hdc As Long) As Long

vb.net

Private Declare Function AbortDoc Lib "gdi32" (ByVal hDC As Integer) As Integer

 

AbortPath

vb 6.0

Private Declare Function AbortPath Lib "gdi32" Alias "AbortPath" (ByVal hdc As Long) As Long

vb.net

Private Declare Function AbortPath Lib "gdi32" (ByVal hDC As Integer) As Integer

 

AddFontResource

vb 6.0

Private Declare Function AddFontResource Lib "gdi32" Alias "AddFontResourceA" (ByVal lpFileName As String) As Long

vb.net

Private Declare Function AddFontResource Lib "gdi32" Alias "AddFontResourceA"(ByVal lpFileName As String) As Integer

 

AngleArc

vb 6.0

Private Declare Function AngleArc Lib "gdi32" Alias "AngleArc" (ByVal hdc As Long, ByVal x As Long, ByVal y As Long, ByVal dwRadius As Long, ByVal eStartAngle As Double, ByVal eSweepAngle As Double) As Long

vb.net

Private Declare Function AngleArc Lib "gdi32" (ByVal hDC As Integer, ByVal x As Integer, ByVal y As Integer, ByVal dwRadius As Integer, ByVal eStartAngle As Double, ByVal eSweepAngle As Double) As Integer

 

AnimatePalette

vb 6.0

Private Declare Function AnimatePalette Lib "gdi32" Alias "AnimatePaletteA" (ByVal hPalette As Long, ByVal wStartIndex As Long, ByVal wNumEntries As Long, lpPaletteColors As PALETTEENTRY) As Long

vb.net

Private Declare Function AnimatePalette Lib "gdi32" Alias "AnimatePaletteA"(ByVal hPalette As Integer, ByVal wStartIndex As Integer, ByVal wNumEntries As Integer, ByRef lpPaletteColors As PALETTEENTRY) As Integer

 

Arc

vb 6.0

Private Declare Function Arc Lib "gdi32" Alias "Arc" (ByVal hdc As Long, ByVal X1 As Long, ByVal Y1 As Long, ByVal X2 As Long, ByVal Y2 As Long, ByVal X3 As Long, ByVal Y3 As Long, ByVal X4 As Long, ByVal Y4 As Long) As Long

vb.net

Private Declare Function Arc Lib "gdi32" (ByVal hDC As Integer, ByVal X1 As Integer, ByVal Y1 As Integer, ByVal X2 As Integer, ByVal Y2 As Integer, ByVal X3 As Integer, ByVal Y3 As Integer, ByVal X4 As Integer, ByVal Y4 As Integer) As Integer

ArcTo

vb 6.0

Private Declare Function ArcTo Lib "gdi32" Alias "ArcTo" (ByVal hdc As Long, ByVal X1 As Long, ByVal Y1 As Long, ByVal X2 As Long, ByVal Y2 As Long, ByVal X3 As Long, ByVal Y3 As Long, ByVal X4 As Long, ByVal Y4 As Long) As Long

vb.net

Private Declare Function ArcTo Lib "gdi32" (ByVal hDC As Integer, ByVal X1 As Integer, ByVal Y1 As Integer, ByVal X2 As Integer, ByVal Y2 As Integer, ByVal X3 As Integer, ByVal Y3 As Integer, ByVal X4 As Integer, ByVal Y4 As Integer) As Integer

 

AllocConsole

vb 6.0

Private Declare Function AllocConsole Lib "kernel32" Alias "AllocConsole" () As Long

vb.net

Private Declare Function AllocConsole Lib "kernel32" () As Integer

 

ActivateKeyboardLayout

vb 6.0

Private Declare Function ActivateKeyboardLayout Lib "user32" Alias "ActivateKeyboardLayout" (ByVal HKL As Long, ByVal flags As Long) As Long

vb.net

Private Declare Function ActivateKeyboardLayout Lib "user32" (ByVal HKL As Integer, ByVal flags As Integer) As Integer

 

AdjustWindowRect

vb 6.0

Private Declare Function AdjustWindowRect Lib "user32" Alias "AdjustWindowRect" (lpRect As RECT, ByVal dwStyle As Long, ByVal bMenu As Long) As Long

vb.net

Private Declare Function AdjustWindowRect Lib "user32" (ByRef lpRect As RECT, ByVal dwStyle As Integer, ByVal bMenu As Integer) As Integer

 

AdjustWindowRectEx

vb 6.0

Private Declare Function AdjustWindowRectEx Lib "user32" Alias "AdjustWindowRectEx" (lpRect As RECT, ByVal dsStyle As Long, ByVal bMenu As Long, ByVal dwEsStyle As Long) As Long

vb.net

Private Declare Function AdjustWindowRectEx Lib "user32" (ByRef lpRect As RECT, ByVal dsStyle As Integer, ByVal bMenu As Integer, ByVal dwEsStyle As Integer) As Integer

 

AnyPopup

vb 6.0

Private Declare Function AnyPopup Lib "user32" Alias "AnyPopup" () As Long

vb.net

Private Declare Function AnyPopup Lib "user32" () As Integer

AppendMenu

vb 6.0

Private Declare Function AppendMenu Lib "user32" Alias "AppendMenuA" (ByVal hMenu As Long, ByVal wFlags As Long, ByVal wIDNewItem As Long, ByVal lpNewItem As Any) As Long

vb.net

Private Declare Function AppendMenu Lib "user32" Alias "AppendMenuA" (ByVal hMenu As Integer, ByVal wFlags As Integer, ByVal wIDNewItem As Integer, ByVal lpNewItem As Object) As Integer

ArrangeIconicWindows

vb 6.0

Private Declare Function ArrangeIconicWindows Lib "user32" Alias "ArrangeIconicWindows" (ByVal hwnd As Long) As Long

vb.net

Private Declare Function ArrangeIconicWindows Lib "user32" (ByVal hwnd As Integer) As Integer

 

AttachThreadInput

vb 6.0

Private Declare Function AttachThreadInput Lib "user32" Alias "AttachThreadInput" (ByVal idAttach As Long, ByVal idAttachTo As Long, ByVal fAttach As Long) As Long

vb.net

Private Declare Function AttachThreadInput Lib "user32" (ByVal idAttach As Integer, ByVal idAttachTo As Integer, ByVal fAttach As Integer) As Integer

auxGetDevCaps

vb 6.0

Private Declare Function auxGetDevCaps Lib "winmm.dll" Alias "auxGetDevCapsA" (ByVal uDeviceID As Long, lpCaps As AUXCAPS, ByVal uSize As Long) As Long

vb.net

Private Declare Function auxGetDevCaps Lib "winmm.dll" Alias "auxGetDevCapsA" (ByVal uDeviceID As Integer, ByRef lpCaps As AUXCAPS, ByVal uSize As Integer) As Integer

auxGetNumDevs

vb 6.0

Private Declare Function auxGetNumDevs Lib "winmm.dll" Alias "auxGetNumDevs" () As Long

vb.net

Private Declare Function auxGetNumDevs Lib "winmm.dll" () As Integer

auxGetVolume

vb 6.0

Private Declare Function auxGetVolume Lib "winmm.dll" Alias "auxGetVolume" (ByVal uDeviceID As Long, lpdwVolume As Long) As Long

vb.net

Private Declare Function auxGetVolume Lib "winmm.dll" (ByVal uDeviceID As Integer, ByRef lpdwVolume As Integer) As Integer

auxOutMessage

vb 6.0

Private Declare Function auxOutMessage Lib "winmm.dll" Alias "auxOutMessage" (ByVal uDeviceID As Long, ByVal msg As Long, ByVal dw1 As Long, ByVal dw2 As Long) As Long

vb.net

Private Declare Function auxOutMessage Lib "winmm.dll" (ByVal uDeviceID As Integer, ByVal msg As Integer, ByVal dw1 As Integer, ByVal dw2 As Integer) As Integer

auxSetVolume

vb 6.0

Private Declare Function auxSetVolume Lib "winmm.dll" Alias "auxSetVolume" (ByVal uDeviceID As Long, ByVal dwVolume As Long) As Long

vb.net

Private Declare Function auxSetVolume Lib "winmm.dll" (ByVal uDeviceID As Integer, ByVal dwVolume As Integer) As Integer

AddAccessDeniedAce

vb 6.0

Private Declare Function AddAccessDeniedAce Lib "advapi32.dll" Alias "AddAccessDeniedAce" (pAcl As ACL, ByVal dwAceRevision As Long, ByVal AccessMask As Long, pSid As Any) As Long

vb.net

Private Declare Function AddAccessDeniedAce Lib "advapi32.dll" (ByRef pAcl As ACL, ByVal dwAceRevision As Integer, ByVal AccessMask As Integer, ByRef pSid As Object) As Integer

AddAce

vb 6.0

Private Declare Function AddAce Lib "advapi32.dll" Alias "AddAce" (pAcl As ACL, ByVal dwAceRevision As Long, ByVal dwStartingAceIndex As Long, pAceList As Any, ByVal nAceListLength As Long) As Long

vb.net

Private Declare Function AddAce Lib "advapi32.dll" (ByRef pAcl As ACL, ByVal dwAceRevision As Integer, ByVal dwStartingAceIndex As Integer, ByRef pAceList As Object, ByVal nAceListLength As Integer) As Integer

AddAuditAccessAce

vb 6.0

Private Declare Function AddAuditAccessAce Lib "advapi32.dll" Alias "AddAuditAccessAce" (pAcl As ACL, ByVal dwAceRevision As Long, ByVal dwAccessMask As Long, pSid As Any, ByVal bAuditSuccess As Long, ByVal bAuditFailure As Long) As Long

vb.net

Private Declare Function AddAuditAccessAce Lib "advapi32.dll" (ByRef pAcl As ACL, ByVal dwAceRevision As Integer, ByVal dwAccessMask As Integer, ByRef pSid As Object, ByVal bAuditSuccess As Integer, ByVal bAuditFailure As Integer) As Integer

AdjustTokenGroups

vb 6.0

Private Declare Function AdjustTokenGroups Lib "advapi32.dll" Alias "AdjustTokenGroups" (ByVal TokenHandle As Long, ByVal ResetToDefault As Long, NewState As TOKEN_GROUPS, ByVal BufferLength As Long, PreviousState As TOKEN_GROUPS, ReturnLength As Long) As Long

vb.net

Private Declare Function AdjustTokenGroups Lib "advapi32.dll" (ByVal TokenHandle As Integer, ByVal ResetToDefault As Integer, ByRef NewState As TOKEN_GROUPS, ByVal BufferLength As Integer, ByRef PreviousState As TOKEN_GROUPS, ByRef ReturnLength As Integer) As Integer

AdjustTokenPrivileges

vb 6.0

Private Declare Function AdjustTokenPrivileges Lib "advapi32.dll" Alias "AdjustTokenPrivileges" (ByVal TokenHandle As Long, ByVal DisableAllPrivileges As Long, NewState As TOKEN_PRIVILEGES, ByVal BufferLength As Long, PreviousState As TOKEN_PRIVILEGES, ReturnLength As Long) As Long

vb.net

Private Declare Function AdjustTokenPrivileges Lib "advapi32.dll" (ByVal TokenHandle As Integer, ByVal DisableAllPrivileges As Integer, ByRef NewState As TOKEN_PRIVILEGES, ByVal BufferLength As Integer, ByRef PreviousState As TOKEN_PRIVILEGES, ByRef ReturnLength As Integer) As Integer

 

AllocateAndInitializeSid

vb 6.0

Private Declare Function AllocateAndInitializeSid Lib "advapi32.dll" Alias "AllocateAndInitializeSid" (pIdentifierAuthority As SID_IDENTIFIER_AUTHORITY, ByVal nSubAuthorityCount As Byte, ByVal nSubAuthority0 As Long, ByVal nSubAuthority1 As Long, ByVal nSubAuthority2 As Long, ByVal nSubAuthority3 As Long, ByVal nSubAuthority4 As Long, ByVal nSubAuthority5 As Long, ByVal nSubAuthority6 As Long, ByVal nSubAuthority7 As Long, lpPSid As Long) As Long

vb.net

Private Declare Function AllocateAndInitializeSid Lib "advapi32.dll" (ByRef pIdentifierAuthority As SID_IDENTIFIER_AUTHORITY, ByVal nSubAuthorityCount As Byte, ByVal nSubAuthority0 As Integer, ByVal nSubAuthority1 As Integer, ByVal nSubAuthority2 As Integer, ByVal nSubAuthority3 As Integer, ByVal nSubAuthority4 As Integer, ByVal nSubAuthority5 As Integer, ByVal nSubAuthority6 As Integer, ByVal nSubAuthority7 As Integer, ByRef lpPSid As Integer) As Integer

AllocateLocallyUniqueId

vb 6.0

Private Declare Function AllocateLocallyUniqueId Lib "advapi32.dll" Alias "AllocateLocallyUniqueId" (Luid As LARGE_INTEGER) As Long

vb.net

Private Declare Function AllocateLocallyUniqueId Lib "advapi32.dll" (ByRef LUID As LARGE_INTEGER) As Integer

AreAllAccessesGranted

vb 6.0

Private Declare Function AreAllAccessesGranted Lib "advapi32.dll" Alias "AreAllAccessesGranted" (ByVal GrantedAccess As Long, ByVal DesiredAccess As Long) As Long

vb.net

Private Declare Function AreAllAccessesGranted Lib "advapi32.dll" (ByVal GrantedAccess As Integer, ByVal DesiredAccess As Integer) As Integer

AreAnyAccessesGranted

vb 6.0

Private Declare Function AreAnyAccessesGranted Lib "advapi32.dll" Alias "AreAnyAccessesGranted" (ByVal GrantedAccess As Long, ByVal DesiredAccess As Long) As Long

vb.net

Private Declare Function AreAnyAccessesGranted Lib "advapi32.dll" (ByVal GrantedAccess As Integer, ByVal DesiredAccess As Integer) As Integer

AbortPrinter

vb 6.0

Private Declare Function AbortPrinter Lib "winspool.drv" Alias "AbortPrinter" (ByVal hPrinter As Long) As Long

vb.net

Private Declare Function AbortPrinter Lib "winspool.drv" (ByVal hPrinter As Integer) As Integer

AddForm

vb 6.0

Private Declare Function AddForm Lib "winspool.drv" Alias "AddFormA" (ByVal hPrinter As Long, ByVal Level As Long, pForm As Byte) As Long

vb.net

Private Declare Function AddForm Lib "winspool.drv" Alias "AddFormA" (ByVal hPrinter As Integer, ByVal Level As Integer, ByRef pForm As Byte) As Integer

AddJob

vb 6.0

Private Declare Function AddJob Lib "winspool.drv" Alias "AddJobA" (ByVal hPrinter As Long, ByVal Level As Long, pData As Byte, ByVal cdBuf As Long, pcbNeeded As Long) As Long

vb.net

Private Declare Function AddJob Lib "winspool.drv" Alias "AddJobA" (ByVal hPrinter As Integer, ByVal Level As Integer, ByRef pData As Byte, ByVal cdBuf As Integer, ByRef pcbNeeded As Integer) As Integer

AddMonitor

vb 6.0

Private Declare Function AddMonitor Lib "winspool.drv" Alias "AddMonitorA" (ByVal pName As String, ByVal Level As Long, pMonitors As Byte) As Long

vb.net

Private Declare Function AddMonitor Lib "winspool.drv" Alias "AddMonitorA" (ByVal pName As String, ByVal Level As Integer, ByRef pMonitors As Byte) As Integer

AddPort

vb 6.0

Private Declare Function AddPort Lib "winspool.drv" Alias "AddPortA" (ByVal pName As String, ByVal hwnd As Long, ByVal pMonitorName As String) As Long

vb.net

Private Declare Function AddPort Lib "winspool.drv" Alias "AddPortA" (ByVal pName As String, ByVal hwnd As Integer, ByVal pMonitorName As String) As Integer

AddPrinter

vb 6.0

Private Declare Function AddPrinter Lib "winspool.drv" Alias "AddPrinterA" (ByVal pName As String, ByVal Level As Long, pPrinter As Any) As Long

vb.net

Private Declare Function AddPrinter Lib "winspool.drv" Alias "AddPrinterA" (ByVal pName As String, ByVal Level As Integer, ByRef pPrinter As Object) As Integer

AddPrinterConnection

vb 6.0

Private Declare Function AddPrinterConnection Lib "winspool.drv" Alias "AddPrinterConnectionA" (ByVal pName As String) As Long

vb.net

Private Declare Function AddPrinterConnection Lib "winspool.drv" Alias "AddPrinterConnectionA" (ByVal pName As String) As Integer

AddPrinterDriver

vb 6.0

Private Declare Function AddPrinterDriver Lib "winspool.drv" Alias "AddPrinterDriverA" (ByVal pName As String, ByVal Level As Long, pDriverInfo As Any) As Long

vb.net

Private Declare Function AddPrinterDriver Lib "winspool.drv" Alias "AddPrinterDriverA" (ByVal pName As String, ByVal Level As Integer, ByRef pDriverInfo As Object) As Integer

AddPrintProcessor

vb 6.0

Private Declare Function AddPrintProcessor Lib "winspool.drv" Alias "AddPrintProcessorA" (ByVal pName As String, ByVal pEnvironment As String, ByVal pPathName As String, ByVal pPrintProcessorName As String) As Long

vb.net

Private Declare Function AddPrintProcessor Lib "winspool.drv" Alias "AddPrintProcessorA" (ByVal pName As String, ByVal pEnvironment As String, ByVal pPathName As String, ByVal pPrintProcessorName As String) As Integer

AddPrintProvidor

vb 6.0

Private Declare Function AddPrintProvidor Lib "winspool.drv" Alias "AddPrintProvidorA" (ByVal pName As String, ByVal Level As Long, pProvidorInfo As Byte) As Long

vb.net

Private Declare Function AddPrintProvidor Lib "winspool.drv" Alias "AddPrintProvidorA" (ByVal pName As String, ByVal Level As Integer, ByRef pProvidorInfo As Byte) As Integer

AdvancedDocumentProperties

vb 6.0

Private Declare Function AdvancedDocumentProperties Lib "winspool.drv" Alias "AdvancedDocumentPropertiesA" (ByVal hwnd As Long, ByVal hPrinter As Long, ByVal pDeviceName As String, pDevModeOutput As DEVMODE, pDevModeInput As DEVMODE) As Long

vb.net

Private Declare Function AdvancedDocumentProperties Lib "winspool.drv" Alias "AdvancedDocumentPropertiesA" (ByVal hwnd As Integer, ByVal hPrinter As Integer, ByVal pDeviceName As String, ByRef pDevModeOutput As DEVMODE, ByRef pDevModeInput As DEVMODE) As Integer

 

 

A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | P | Q | R | S | T | U | V | W | X | Y | Z

 

Buscar en Recursos Visual basic


Visual basic 6.0
Visual basic .NET
Otros Recursos
  • Recursos de programación
    Listado de enlaces externos sobre Visual studio y otros temas relacionados al desarrollo y programación

Buscar en Recursos vb

Listado de Enlaces