Apis

Aun me faltas unos cuantos, si tu tienes, y te gustaria enviarmelo enviame un e-mail, asi como si existiera algun error en las apis hazmelo saber, Gracias.

Esta pagina tiene las APIS de las librerias:

ADVAPI32.DLL LZEXPAND16.DLL
BASWN16C MPR.DLL
COMDLG32.DLL NETAPI32.DLL
GDI16 SHELL32.DLL
IMM32.DLL SOUND16
KERNEL16 USER16
KERNEL32 USER32
KEYBOARD16 VERSION.DLL
LZ32.DLL WINMM.DLL
WINSPOOL.DRV

Breve Extracto, baja el listado apretando aqui (3.58 Kb. comprimido)

Option Explicit

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

Declare Function AccessCheck _
Lib "advapi32.dll" ( _
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

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

Breve Extracto, baja el listado apretando aqui (13.1 Kb. comprimido)

Option Explicit

Public Const WM_USER = &H400
Public Const BS_NULL = 1
Public Const FW_HEAVY = 900
Public Const FW_SEMIBOLD = 600
Public Const NULL_BRUSH = 5
Public Const NULL_PEN = 8
Public Const NULLREGION = 1

Public Const ABSOLUTE = 1
Public Const ALTERNATE = 1
Public Const ANSI_CHARSET = 0
Public Const ANSI_FIXED_FONT = 11
Public Const ANSI_VAR_FONT = 12
Public Const ASPECT_FILTERING = &H1
Public Const ASPECTX = 40
Public Const ASPECTXY = 44
Public Const ASPECTY = 42
Public Const BANDINFO = 24
Public Const BEGIN_PATH = 4096
Public Const BI_RGB = 0&
Public Const BI_RLE4 = 2&
Public Const BI_RLE8 = 1&
Public Const BITSPIXEL = 12
Public Const BLACK_BRUSH = 4
Public Const BLACK_PEN = 7
Public Const BLACKNESS = &H42&
Public Const BLACKONWHITE = 1

Breve Extracto, baja el listado apretando aqui (3.19 Kb. comprimido)

Option Explicit

Type POINTAPI
x As Integer
y As Integer
End Type

Type RECT
left As Integer
top As Integer
right As Integer
bottom As Integer
End Type

Type TEXTMETRIC
tmHeight As Integer
tmAscent As Integer
tmDescent As Integer
tmInternalLeading As Integer
tmExternalLeading As Integer
tmAveCharWidth As Integer
tmMaxCharWidth As Integer
tmWeight As Integer
tmItalic As String * 1
tmUnderlined As String * 1
tmStruckOut As String * 1
tmFirstChar As String * 1
tmLastChar As String * 1
tmDefaultChar As String * 1
tmBreakChar As String * 1
tmPitchAndFamily As String * 1
tmCharSet As String * 1
tmOverhang As Integer
tmDigitizedAspectX As Integer
tmDigitizedAspectY As Integer
End Type

Breve Extracto, baja el listado apretando aqui (559 bytes comprimido)

Option Explicit

Declare Function ChooseColor _
Lib "comdlg32.dll" _
Alias "ChooseColorA" ( _
pChoosecolor As ChooseColor) _
As Long

Declare Function ChooseFont _
Lib "comdlg32.dll" _
Alias "ChooseFontA" ( _
pChoosefont As ChooseFont) _
As Long

Declare Function CommDlgExtendedError _
Lib "comdlg32.dll" ( _
) _
As Long

Declare Function FindText _
Lib "comdlg32.dll" _
Alias "FindTextA " ( _
pFindreplace As FINDREPLACE) _
As Long

Declare Function GetFileTitle _
Lib "comdlg32.dll" _
Alias "GetFileTitleA" ( _
ByVal lpszFile As String, _
ByVal lpszTitle As String, _
ByVal cbBuf As Integer) _
As Integer

Breve Extracto, baja el listado apretando aqui (3.54 Kb. comprimido)

Declare Function AbortDoc _
Lib "GDI" ( _
ByVal hdc As Integer) _
As Integer

Declare Function AddFontResource _
Lib "GDI" ( _
ByVal lpFileName As Any) _
As Integer

Declare Sub AdjustWindowRect _
Lib "GDI" ( _
lpRect As RECT, _
ByVal dwStyle As Long, _
ByVal bMenu As Integer)

Declare Sub AdjustWindowRectEx _
Lib "GDI" ( _
lpRect As RECT, _
ByVal dsStyle As Long, _
ByVal bMenu As Integer, _
ByVal dwEsStyle As Long)

Breve Extracto, baja el listado apretando aqui (4.36 Kb. comprimido)

Option Explicit

Declare Function AbortDoc _
Lib "gdi32" ( _
ByVal hDC As Long) _
As Long

Declare Function AbortPath _
Lib "gdi32" ( _
ByVal hDC As Long) _
As Long

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

Declare Function AngleArc _
Lib "gdi32" ( _
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

Breve Extracto, baja el listado apretando aqui (1.06 Kb. comprimido)

Option Explicit

Declare Function ImmAssociateContext _
Lib "imm32.dll" ( _
ByVal hWnd As Long, _
ByVal himc As Long) _
As Long

Declare Function ImmConfigureIME _
Lib "imm32.dll" ( _
ByVal HKL As Long, _
ByVal hWnd As Long, _
ByVal dw As Long) _
As Long

Declare Function ImmCreateContext _
Lib "imm32.dll" ( _
) _
As Long

Declare Function ImmDestroyContext _
Lib "imm32.dll" ( _
ByVal himc As Long) _
As Long

Breve Extracto, baja el listado apretando aqui (1.86 Kb. comprimido)

Declare Function AccessResource _
Lib "Kernel" ( _
ByVal hInstance As Integer, _
ByVal hResInfo As Integer) _
As Integer

Declare Function AddAtom _
Lib "Kernel" ( _
ByVal lpString As String) _
As Integer

Declare Function AllocDStoCSAlias _
Lib "Kernel" ( _
ByVal wSelector As Integer) _
As Integer

Declare Function AllocResource _
Lib "Kernel" ( _
ByVal hInstance As Integer, _
ByVal hResInfo As Integer, _
ByVal dwSize As Long) _
As Integer

Breve Extracto, baja el listado apretando aqui (7.28 Kb. comprimido)

Option Explicit

Declare Function AddAtom _
Lib "kernel32" _
Alias "AddAtomA" ( _
ByVal lpString As String) _
As Integer

Declare Function AllocConsole _
Lib "kernel32" ( _
) _
As Long

Declare Function BackupRead _
Lib "kernel32" ( _
ByVal hFile As Long, lpBuffer As Byte, ByVal nNumberOfBytesToRead As Long, _
lpNumberOfBytesRead As Long, ByVal bAbort As Long, ByVal bProcessSecurity As Long, _
lpContext As Any) _
As Long

Declare Function BackupSeek _
Lib "kernel32" ( _
ByVal hFile As Long, _
ByVal dwLowBytesToSeek As Long, ByVal dwHighBytesToSeek As Long, _
lpdwLowByteSeeked As Long, lpdwHighByteSeeked As Long, _
lpContext As Long) _
As Long

Breve Extracto, baja el listado apretando aqui (555 Bytes comprimido)

Declare Function AnsiToOem _
Lib "Keyboard" ( _
ByVal lpAnsiStr As String, _
ByVal lpOemStr As String) _
As Integer

Declare Sub AnsiToOemBuff _
Lib "Keyboard" ( _
ByVal lpAnsiStr As String, _
ByVal lpOemStr As String, _
ByVal nLength As Integer)

Declare Function GetKBCodePage _
Lib "Keyboard" ()

Declare Function GetKeyboardType _
Lib "Keyboard" ( _
ByVal nTypeFlag As Integer) _
As Integer

Completo

Attribute VB_Name = "basLZ32"

Option Explicit

Declare Function CopyLZFile _
Lib "lz32" ( _
ByVal n1 As Long, _
ByVal n2 As Long) _
As Long

Declare Function GetExpandedName _
Lib "lz32.dll" _
Alias "GetExpandedNameA" ( _
ByVal lpszSource As String, _
ByVal lpszBuffer As String) _
As Long

Declare Sub LZClose _
Lib "lz32.dll" ( _
ByVal hfFile As Long)

Breve Extracto, baja el listado apretando aqui (522 bytes comprimido)

Declare Function CopyLZFile _
Lib "LZexpand.dll" ( _
ByVal hfSource As Integer, _
ByVal hfDest As Integer) _
As Long

Declare Function GetExpandedName _
Lib "LZexpand.dll" ( _
ByVal lpszSource As String, _
ByVal lpszBuffer As String) _
As Integer

Declare Sub LZClose _
Lib "LZexpand.dll" ( _
ByVal hfFile As Integer)

Declare Function LZCopy Lib _
"LZexpand.dll" ( _
ByVal hfSource As Integer, _
ByVal hfDest As Integer) _
As Long

Breve Extracto, baja el listado apretando aqui (701 Bytes comprimido)

Option Explicit

Declare Function WNetAddConnection _
Lib "mpr.dll" _
Alias "WNetAddConnectionA" ( _
ByVal lpszNetPath As String, _
ByVal lpszPassword As String, _
ByVal lpszLocalName As String) _
As Long

Declare Function WNetAddConnection2 _
Lib "mpr.dll" _
Alias "WNetAddConnection2A" ( _
lpNetResource As NETRESOURCE, ByVal lpPassword As String, _
ByVal lpUserName As String, ByVal dwFlags As Long) _
As Long

Declare Function WNetCancelConnection _
Lib "mpr.dll" _
Alias "WNetCancelConnectionA" ( _
ByVal lpszName As String, _
ByVal bForce As Long) _
As Long

Listado Completo

Attribute VB_Name = "basNetAPI32"

Option Explicit

Declare Function Netbios _
Lib "netapi32.dll" ( _
pncb As NCB) _
As Byte

 

Breve Extracto, baja el listado apretando aqui (929 Bytes comprimido)

Option Explicit

Declare Function CommandLineToArgv _
Lib "shell32" _
Alias "CommandLineToArgvW" ( _
ByVal lpCmdLine As String, _
pNumArgs As Integer) _
As Long

Declare Function DoEnvironmentSubst _
Lib "shell32.dll" _
Alias "DoEnvironmentSubstA" ( _
ByVal szString As String, _
ByVal cbString As Long) _
As Long

Declare Sub DragAcceptFiles _
Lib "shell32.dll" ( _
ByVal hWnd As Long, _
ByVal fAccept As Long)

Breve Extracto, baja el listado apretando Aqui (551 Bytes comprimido)

Declare Sub CloseSound _
Lib "Sound" ()

Declare Function CountVoiceNotes _
Lib "Sound" ( _
ByVal nVoice As Integer) _
As Integer

Declare Function GetThresholdEvent _
Lib "Sound" () _
As Integer

Declare Function GetThresholdStatus _
Lib "Sound" () _
As Integer

Declare Function OpenSound _
Lib "Sound" () _
As Integer

Breve Extracto, baja el listado apretando aqui (4.51 Kb. comprimido)

Declare Function AnsiLower _
Lib "User" ( _
ByVal lpString As String) _
As Long

Declare Function AnsiLowerBuff _
Lib "User" ( _
ByVal lpString As String, _
ByVal aWORD As Integer) _
As Integer

Declare Function AnsiNext _
Lib "User" ( _
ByVal lpString As String) _
As Long

Declare Function AnsiPrev _
Lib "User" ( _
ByVal lpString As String, _
ByVal lpString As String) _
As Long

Breve Extracto, baja el listado apretando aqui (6.03 Kb. comprimido)

Declare Function ActivateKeyboardLayout Lib "user32" (ByVal HKL As Long, ByVal flags As Long) As Long
Declare Function AdjustWindowRect Lib "user32" Alias "AdjustWindowRectA" (lpRect As RECT, ByVal dwStyle As Long, ByVal bMenu As Long) As Long
Declare Function AdjustWindowRectEx Lib "user32" (lpRect As RECT, ByVal dsStyle As Long, ByVal bMenu As Long, ByVal dwEsStyle As Long) As Long
Declare Function AnyPopup Lib "user32" () As Long
Declare Function AppendMenu Lib "user32" Alias "AppendMenuA" (ByVal hMenu As Long, ByVal wFlags As Long, ByVal wIDNewItem As Long, ByVal lpNewItem As String) As Long
Declare Function ArrangeIconicWindows Lib "user32" (ByVal hWnd As Long) As Long
Declare Function AttachThreadInput Lib "user32" (ByVal idAttach As Long, ByVal idAttachTo As Long, ByVal fAttach As Long) As Long
Declare Function BeginDeferWindowPos Lib "user32" (ByVal nNumWindows As Long) As Long
Declare Function BeginPaint Lib "user32" (ByVal hWnd As Long, lpPaint As PAINTSTRUCT) As Long
Declare Function BringWindowToTop Lib "user32" (ByVal hWnd As Long) As Long
Declare Function BroadcastSystemMessage Lib "user32" (ByVal dw As Long, pdw As Long, ByVal un As Long, ByVal wParam As Long, ByVal lParam As Long) As Long
Declare Function CallMsgFilter Lib "user32" Alias "CallMsgFilterA" (lpMsg As msg, ByVal nCode As Long) As Long
Declare Function CharPrev Lib "user32" Alias "CharPrevA" (ByVal lpszStart As String, ByVal lpszCurrent As String) As String
Declare Function CharToOem Lib "user32" Alias "CharToOemA" (ByVal lpszSrc As String, ByVal lpszDst As String) As Long
Declare Function CharToOemBuff Lib "user32" Alias "CharToOemBuffA" (ByVal lpszSrc As String, ByVal lpszDst As String, ByVal cchDstLength As Long) As Long
Declare Function CharUpper Lib "user32" Alias "CharUpperA" (ByVal lpsz As String) As String
Declare Function CharUpperBuff Lib "user32" Alias "CharUpperBuffA" (ByVal lpsz As String, ByVal cchLength As Long) As Long
Declare Function CheckDlgButton Lib "user32" Alias "CheckDLGButtonA" (ByVal hDlg As Long, ByVal nIDButton As Long, ByVal wCheck As Long) As Long
Declare Function CheckMenuItem Lib "user32" (ByVal hMenu As Long, ByVal wIDCheckItem As Long, ByVal wCheck As Long) As Long
Declare Function CheckMenuRadioItem Lib "user32" (ByVal hMenu As Long, ByVal un1 As Long, ByVal un2 As Long, ByVal un3 As Long, ByVal un4 As Long) As Boolean
Declare Function CheckRadioButton Lib "user32" Alias "CheckRadioButtonA" (ByVal hDlg As Long, ByVal nIDFirstButton As Long, ByVal nIDLastButton As Long, ByVal nIDCheckButton As Long) As Long
Declare Function ChildWindowFromPoint Lib "user32" (ByVal hWnd As Long, ByVal xPoint As Long, ByVal yPoint As Long) As Long
Declare Function ChildWindowFromPointEx Lib "user32" (ByVal hWnd As Long, ByVal pt As POINTAPI, ByVal un As Long) As Long
Declare Function ClientToScreen Lib "user32" (ByVal hWnd As Long, lpPoint As POINTAPI) As Long
Declare Function ClipCursor Lib "user32" (lpRect As Any) As Long
Declare Function CloseClipboard Lib "user32" () As Long
Declare Function CloseDesktop Lib "user32" (ByVal hDesktop As Long) As Boolean
Declare Function CloseWindow Lib "user32" (ByVal hWnd As Long) As Long
Declare Function CloseWindowStation Lib "user32" (ByVal hWinSta As Long) As Boolean
Declare Function CopyAcceleratorTable Lib "user32" Alias "CopyAcceleratorTableA" (ByVal hAccelSrc As Long, lpAccelDst As ACCEL, ByVal cAccelEntries As Long) As Long
Declare Function CopyCursor Lib "user32" (ByVal hcur As Long) As Long
Declare Function CopyIcon Lib "user32" (ByVal hIcon As Long) As Long
Declare Function CopyImage Lib "user32" (ByVal Handle As Long, ByVal un1 As Long, ByVal n1 As Long, ByVal n2 As Long, ByVal un2 As Long) As Long
Declare Function CopyRect Lib "user32" (lpDestRect As RECT, lpSourceRect As RECT) As Long
Declare Function CountClipboardFormats Lib "user32" () As Long

Breve Extracto, baja el listado apretando aqui (927 Bytes comprimido)

Declare Function GetFileVersionInfo _
Lib "version.dll" _
Alias "GetFileVersionInfoA" ( _
ByVal lptstrFilename As String, _
ByVal dwHandle As Long, ByVal dwLen As Long, _
lpData As Any) _
As Long

Declare Function GetFileVersionInfoSize _
Lib "version.dll" _
Alias "GetFileVersionInfoSizeA" ( _
ByVal lptstrFilename As String, _
lpdwHandle As Long) _
As Long

Breve Extracto, baja el listado apretando aqui (2.25 Kb. comprimido)

Option Explicit

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

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

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

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

Breve Extracto, baja el listado apretando aqui (1.45 Kb. comprimido)

Option Explicit


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

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

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