Click here to Skip to main content
15,893,814 members
Articles / General Programming / File

VB 9.0, C# 3.0 API Viewer

Rate me:
Please Sign up or sign in to vote.
4.35/5 (10 votes)
24 May 2012CPOL5 min read 80.3K   4.2K   42  
This is a remake of Pramod Kumar Sing's 2002 API Viewer.
Declare Function AbortDoc Lib "gdi32" Alias "AbortDoc" (ByVal hdc As Long) As Long
Declare Function AbortPath Lib "gdi32" Alias "AbortPath" (ByVal hdc As Long) As Long
Declare Function AbortPrinter Lib "winspool.drv" Alias "AbortPrinter" (ByVal hPrinter As Long) As Long
Declare Function AbortSystemShutdown Lib "advapi32.dll" Alias "AbortSystemShutdownA" (ByVal lpMachineName As String) As Long
Declare Function accept lib "ws2_32" (ByVal s As Long, ByRef addr As sockaddr, ByRef addrlen As Long) As Long
Declare Function AcceptEx lib "mswsock" (ByVal sListenSocket As Long, ByVal sAcceptSocket As Long, lpOutputBuffer As Any, ByVal dwReceiveDataLength As Long, ByVal dwLocalAddressLength As Long, ByVal dwRemoteAddressLength As Long, ByRef lpdwBytesReceived As Long, ByRef lpOverlapped As OVERLAPPED) As Long
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
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
Declare Function AccessCheckByType lib "advapi32" (ByRef pSecurityDescriptor As SECURITY_DESCRIPTOR, ByRef PrincipalSelfSid As SID, ByVal ClientToken As Long, ByVal DesiredAccess As Long, ByRef ObjectTypeList As POBJECT_TYPE_LIST, ByVal ObjectTypeListLength As Long, ByRef GenericMapping As GENERIC_MAPPING, ByRef PrivilegeSet As PRIVILEGE_SET, ByRef PrivilegeSetLength As Long, ByRef GrantedAccess As Long, ByRef AccessStatus As Long) As Long
Declare Function AccessCheckByTypeAndAuditAlarm lib "advapi32" Alias "AccessCheckByTypeAndAuditAlarmA" (ByVal SubsystemName As String, HandleId As Any, ByVal ObjectTypeName As String, ByVal ObjectName As String, ByRef SecurityDescriptor As SECURITY_DESCRIPTOR, ByRef PrincipalSelfSid As SID, ByVal DesiredAccess As Long, ByRef AuditType As AUDIT_EVENT_TYPE, ByVal Flags As Long, ByRef ObjectTypeList As POBJECT_TYPE_LIST, ByVal ObjectTypeListLength As Long, ByRef GenericMapping As GENERIC_MAPPING, ByVal ObjectCreation As Long, ByRef GrantedAccess As Long, ByRef AccessStatus As Long, ByRef pfGenerateOnClose As Long) As Long
Declare Function AccessCheckByTypeResultList lib "advapi32" (ByRef pSecurityDescriptor As SECURITY_DESCRIPTOR, ByRef PrincipalSelfSid As SID, ByVal ClientToken As Long, ByVal DesiredAccess As Long, ByRef ObjectTypeList As POBJECT_TYPE_LIST, ByVal ObjectTypeListLength As Long, ByRef GenericMapping As GENERIC_MAPPING, ByRef PrivilegeSet As PRIVILEGE_SET, ByRef PrivilegeSetLength As Long, ByRef GrantedAccessList As Long, ByRef AccessStatusList As Long) As Long
Declare Function AccessCheckByTypeResultListAndAuditAlarm lib "advapi32" Alias "AccessCheckByTypeResultListAndAuditAlarmA" (ByVal SubsystemName As String, HandleId As Any, ByVal ObjectTypeName As String, ByVal ObjectName As String, ByRef SecurityDescriptor As SECURITY_DESCRIPTOR, ByRef PrincipalSelfSid As SID, ByVal DesiredAccess As Long, ByRef AuditType As AUDIT_EVENT_TYPE, ByVal Flags As Long, ByRef ObjectTypeList As POBJECT_TYPE_LIST, ByVal ObjectTypeListLength As Long, ByRef GenericMapping As GENERIC_MAPPING, ByVal ObjectCreation As Long, ByRef GrantedAccess As Long, ByRef AccessStatusList As Long, ByRef pfGenerateOnClose As Long) As Long
Declare Function AccessCheckByTypeResultListAndAuditAlarmByHandle lib "ADVAPI32" (ByVal SubsystemName As String, HandleId As Any, ByVal ClientToken As Long, ByVal ObjectTypeName As String, ByVal ObjectName As String, ByRef SecurityDescriptor As SECURITY_DESCRIPTOR, ByRef PrincipalSelfSid As Sid, ByVal DesiredAccess As Long, ByRef AuditType As AUDIT_EVENT_TYPE, ByVal flags As Long, ByRef ObjectTypeList As POBJECT_TYPE_LIST, ByVal ObjectTypeListLength As Long, ByRef GenericMapping As GENERIC_MAPPING, ByVal ObjectCreation As Long, ByRef GrantedAccess As Long, ByRef AccessStatusList As Long, ByRef pfGenerateOnClose As Long) As Long
Declare Function AccessNtmsLibraryDoor lib "ntmsapi" (ByVal hSession As Long, ByRef lpLibraryId As LPNTMS_GUID, ByVal dwAction As Long) As Long
Declare Function acmDriverAdd lib "msacm32" Alias "acmDriverAddA" (ByRef phadid As Long, ByVal hinstModule As Long, ByVal lParam As Long, ByVal dwPriority As Long, ByVal fdwAdd As Long) As Long
Declare Function acmDriverClose lib "msacm32" (ByVal had As Long, ByVal fdwClose As Long) As Long
Declare Function acmDriverDetails lib "msacm32" Alias "acmDriverDetailsA" (ByVal hadid As Long, ByRef padd As ACMDRIVERDETAILSA, ByVal fdwDetails As Long) As Long
Declare Function acmDriverEnum lib "msacm32" (ByVal fnCallback As Long, ByRef dwInstance As Long, ByVal fdwEnum As Long) As Long
Declare Function acmDriverID lib "msacm32" (ByVal hao As Long, ByRef phadid As Long, ByVal fdwDriverID As Long) As Long
Declare Function acmDriverMessage lib "msacm32" (ByVal had As Long, ByVal uMsg As Long, ByVal lParam1 As Long, ByVal lParam2 As Long) As Long
Declare Function acmDriverOpen lib "msacm32" (ByRef phad As Long, ByVal hadid As Long, ByVal fdwOpen As Long) As Long
Declare Function acmDriverPriority lib "msacm32" (ByVal hadid As Long, ByVal dwPriority As Long, ByVal fdwPriority As Long) As Long
Declare Function acmDriverRemove lib "msacm32" (ByVal hadid As Long, ByVal fdwRemove As Long) As Long
Declare Function acmFilterChoose lib "msacm32" Alias "acmFilterChooseA" (ByRef pafltrc As ACMFILTERCHOOSEA) As Long
Declare Function acmFilterDetails lib "msacm32" Alias "acmFilterDetailsA" (ByVal had As Long, ByRef pafd As ACMFILTERDETAILSA, ByVal fdwDetails As Long) As Long
Declare Function acmFilterEnum lib "msacm32" Alias "acmFilterEnumA" (ByVal had As Long, ByRef pafd As ACMFILTERDETAILSA, ByVal fnCallback As Long, ByRef dwInstance As Long, ByVal fdwEnum As Long) As Long
Declare Function acmFilterTagDetails lib "msacm32" Alias "acmFilterTagDetailsA" (ByVal had As Long, ByRef paftd As ACMFILTERTAGDETAILSA, ByVal fdwDetails As Long) As Long
Declare Function acmFilterTagEnum lib "msacm32" Alias "acmFilterTagEnumA" (ByVal had As Long, ByRef paftd As ACMFILTERTAGDETAILSA, ByVal fnCallback As Long, ByRef dwInstance As Long, ByVal fdwEnum As Long) As Long
Declare Function acmFormatChoose lib "msacm32" Alias "acmFormatChooseA" (ByRef pafmtc As ACMFORMATCHOOSEA) As Long
Declare Function acmFormatDetails lib "msacm32" Alias "acmFormatDetailsA" (ByVal had As Long, ByRef pafd As ACMFORMATDETAILSA, ByVal fdwDetails As Long) As Long
Declare Function acmFormatEnum lib "msacm32" Alias "acmFormatEnumA" (ByVal had As Long, ByRef pafd As ACMFORMATDETAILSA, ByVal fnCallback As Long, ByRef dwInstance As Long, ByVal fdwEnum As Long) As Long
Declare Function acmFormatSuggest lib "msacm32" (ByVal had As Long, ByRef pwfxSrc As WAVEFORMATEX, ByRef pwfxDst As WAVEFORMATEX, ByVal cbwfxDst As Long, ByVal fdwSuggest As Long) As Long
Declare Function acmFormatTagDetails lib "msacm32" Alias "acmFormatTagDetailsA" (ByVal had As Long, ByRef paftd As ACMFORMATTAGDETAILSA, ByVal fdwDetails As Long) As Long
Declare Function acmFormatTagEnum lib "msacm32" Alias "acmFormatTagEnumA" (ByVal had As Long, ByRef paftd As ACMFORMATTAGDETAILSA, ByVal fnCallback As Long, ByRef dwInstance As Long, ByVal fdwEnum As Long) As Long
Declare Function acmGetVersion lib "msacm32" () As Long
Declare Function acmMetrics lib "msacm32" (ByVal hao As Long, ByVal uMetric As Long, pMetric As Any) As Long
Declare Function acmStreamClose lib "msacm32" (ByVal has As Long, ByVal fdwClose As Long) As Long
Declare Function acmStreamConvert lib "msacm32" (ByVal has As Long, ByRef pash As ACMSTREAMHEADER, ByVal fdwConvert As Long) As Long
Declare Function acmStreamMessage lib "msacm32" (ByVal has As Long, ByVal uMsg As Long, ByVal lParam1 As Long, ByVal lParam2 As Long) As Long
Declare Function acmStreamOpen lib "msacm32" (ByRef phas As Long, ByVal had As Long, ByRef pwfxSrc As WAVEFORMATEX, ByRef pwfxDst As WAVEFORMATEX, ByRef pwfltr As WAVEFILTER, ByRef dwCallback As Long, ByRef dwInstance As Long, ByVal fdwOpen As Long) As Long
Declare Function acmStreamPrepareHeader lib "msacm32" (ByVal has As Long, ByRef pash As ACMSTREAMHEADER, ByVal fdwPrepare As Long) As Long
Declare Function acmStreamReset lib "msacm32" (ByVal has As Long, ByVal fdwReset As Long) As Long
Declare Function acmStreamSize lib "msacm32" (ByVal has As Long, ByVal cbInput As Long, ByRef pdwOutputBytes As Long, ByVal fdwSize As Long) As Long
Declare Function acmStreamUnprepareHeader lib "msacm32" (ByVal has As Long, ByRef pash As ACMSTREAMHEADER, ByVal fdwUnprepare As Long) As Long
Declare Function ActivateKeyboardLayout Lib "user32" Alias "ActivateKeyboardLayout" (ByVal HKL As Long, ByVal flags As Long) As Long
Declare Function ActivateWindowTheme lib "uxtheme" Alias "SetWindowTheme" (ByVal hWnd As Long, Optional ByVal pszSubAppName As Long = 0, Optional ByVal pszSubIdList As Long = 0 As Long) As Long
Declare Function AddAccessAllowedAce Lib "advapi32.dll" Alias "AddAccessAllowedAce" (pAcl As ACL, ByVal dwAceRevision As Long, ByVal AccessMask As Long, pSid As Any) As Long
Declare Function AddAccessAllowedAceEx lib "advapi32" (ByVal pAcl As Struct_MembersOf_PACL, ByVal dwAceRevision As Long, ByVal AceFlags As Long, ByVal AccessMask As Long, ByRef pSid As SID) As Long
Declare Function AddAccessAllowedObjectAce lib "advapi32" (ByVal pAcl As Struct_MembersOf_PACL, ByVal dwAceRevision As Long, ByVal AceFlags As Long, ByVal AccessMask As Long, ByRef ObjectTypeGuid As Guid, ByRefheritedObjectTypeGuid As Guid, ByRef pSid As SID) As Long
Declare Function AddAccessDeniedAce Lib "advapi32.dll" Alias "AddAccessDeniedAce" (pAcl As ACL, ByVal dwAceRevision As Long, ByVal AccessMask As Long, pSid As Any) As Long
Declare Function AddAccessDeniedAceEx lib "advapi32" (ByVal pAcl As Struct_MembersOf_PACL, ByVal dwAceRevision As Long, ByVal AceFlags As Long, ByVal AccessMask As Long, ByRef pSid As SID) As Long
Declare Function AddAccessDeniedObjectAce lib "advapi32" (ByVal pAcl As Struct_MembersOf_PACL, ByVal dwAceRevision As Long, ByVal AceFlags As Long, ByVal AccessMask As Long, ByRef ObjectTypeGuid As Guid, ByRefheritedObjectTypeGuid As Guid, ByRef pSid As SID) As Long
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
Declare Function AddAtom Lib "kernel32" Alias "AddAtomA" (ByVal lpString As String) As Integer
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
Declare Function AddAuditAccessAceEx lib "advapi32" (ByVal pAcl As Struct_MembersOf_PACL, ByVal dwAceRevision As Long, ByVal AceFlags As Long, ByVal dwAccessMask As Long, ByRef pSid As SID, ByVal bAuditSuccess As Long, ByVal bAuditFailure As Long) As Long
Declare Function AddAuditAccessObjectAce lib "advapi32" (ByVal pAcl As Struct_MembersOf_PACL, ByVal dwAceRevision As Long, ByVal AceFlags As Long, ByVal AccessMask As Long, ByRef ObjectTypeGuid As Guid, ByRefheritedObjectTypeGuid As Guid, ByRef pSid As SID, ByVal bAuditSuccess As Long, ByVal bAuditFailure As Long) As Long
Declare Function AddClusterResourceDependency lib "clusapi" (ByRef hResource As hResource, ByRef hDependsOn As hResource) As Long
Declare Function AddClusterResourceNode lib "clusapi" (ByRef hResource As hResource, ByRef hNode As hNode) As Long
Declare Function AddDelBackupEntry lib "advpack" (ByVal lpcszFileList As String, ByVal lpcszBackupDir As String, ByVal lpcszBaseName As String, ByVal dwFlags As Long) As Long
Declare Function AddFontMemResourceEx lib "gdi32" (pvoid As Any, ByVal dword As Long, ByRef DESIGNVECTOR, ByRef pDword As Long) As Long
Declare Function AddFontResource Lib "gdi32" Alias "AddFontResourceA" (ByVal lpFileName As String) As Long
Declare Function AddFontResourceEx lib "gdi32" Alias "AddFontResourceExA" (ByVal lpcstr As String, ByVal dword As Long, ByRef DESIGNVECTOR) As Long
Declare Function AddForm Lib "winspool.drv" Alias "AddFormA" (ByVal hPrinter As Long, ByVal Level As Long, pForm As FORM_INFO_1) As Long
Declare Function AddIPAddress lib "IPHLPAPI" (ByRef Address As IPAddr, ByRef IpMask As IpMask, ByVal IfIndex As Long, ByRef NTEContext As Long, ByRef NTEInstance As Long) 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
Declare Function AddMonitor Lib "winspool.drv" Alias "AddMonitorA" (ByVal pName As String, ByVal Level As Long, pMonitors As Byte) As Long
Declare Function AddNtmsMediaType lib "ntmsapi" (ByVal hSession As Long, ByRef lpMediaTypeId As LPNTMS_GUID, ByRef lpLibId As LPNTMS_GUID) As Long
Declare Function AddPort Lib "winspool.drv" Alias "AddPortA" (ByVal pName As String, ByVal hwnd As Long, ByVal pMonitorName As String) As Long
Declare Function AddPrinter Lib "winspool.drv" Alias "AddPrinterA" (ByVal pName As String, ByVal Level As Long, pPrinter As Byte) As Long
Declare Function AddPrinterConnection Lib "winspool.drv" Alias "AddPrinterConnectionA" (ByVal pName As String) As Long
Declare Function AddPrinterDriver Lib "winspool.drv" Alias "AddPrinterDriverA" (ByVal pName As String, ByVal Level As Long, pDriverInfor As Byte) As Long
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
Declare Function AddPrintProvidor Lib "winspool.drv" Alias "AddPrintProvidorA" (ByVal pName As String, ByVal Level As Long, pProvidorInfo As Byte) As Long
Declare Function AddUsersToEncryptedFile lib "advapi32" (ByVal lpFileName As String, ByRef pUsers As PENCRYPTION_CERTIFICATE_LIST) As Long
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
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
Declare Function AdjustWindowRect Lib "user32" (lpRect As RECT, ByVal dwStyle As Long, ByVal bMenu As Long) As Long
Declare Function AdjustWindowRectEx Lib "user32" Alias "AdjustWindowRectEx" (lpRect As RECT, ByVal dsStyle As Long, ByVal bMenu As Long, ByVal dwEsStyle As Long) As Long
Declare Function ADsBuildEnumerator lib "activeds" (ByRef pADsContainer As Long, ByVal ppEnumVariant As Long) As Long
Declare Function ADsBuildVarArrayInt lib "activeds" (ByRef lpdwObjectTypes As Long, ByVal dwObjectTypes As Long, ByRef pvar As Variant) As Long
Declare Function ADsBuildVarArrayStr lib "activeds" (ByVal lppPathNames As String, ByVal dwPathNames As Long, ByRef pvar As Variant) As Long
Declare Function ADsDecodeBinaryData lib "activeds" (ByVal szSrcData As String, ByVal ppbDestData As String, ByRef pdwDestLen As Long) As Long
Declare Function ADsEncodeBinaryData lib "activeds" (ByVal pbSrcData As String, ByVal dwSrcLen As Long, ByVal ppszDestData As String) As Long
Declare Function ADsEnumerateNext lib "activeds" (ByVal pEnumVariant As Long, ByVal cElements As Long, ByRef pvar As Variant, ByRef pcElementsFetched As Long) As Long
Declare Function ADsFreeEnumerator lib "activeds" (ByVal pEnumVariant As Long) As Long
Declare Function ADsGetLastError lib "activeds" (ByRef lpError As Long, ByVal lpErrorBuf As String, ByVal dwErrorBufLen As Long, ByVal lpNameBuf As String, ByVal dwNameBufLen As Long) As Long
Declare Function ADsGetObject lib "activeds" (ByVal lpszPathName As String, ByVal riid As Long, ppObject As Any) As Long
Declare Function ADsOpenObject lib "activeds" (ByVal lpszPathName As String, ByVal lpszUserName As String, ByVal lpszPassword As String, ByVal dwReserved As Long, ByVal riid As Long, ppObject As Any) As Long
Declare Function ADsPropCheckIfWritable lib "dsprop" (ByVal pwzAttr As String, ByRef pWritableAttrs As longx) As Long
Declare Function ADsPropGetInitInfo lib "dsprop" (ByVal hNotifyObj As Long, ByRef pInitParams As PADSPROPINITPARAMS) As Long
Declare Function ADsPropSetHwnd lib "dsprop" (ByVal hNotifyObj As Long, ByVal hPage As Long, ByVal ptzTitle As String) As Long
Declare Function AdsTypeToPropVariant lib "activeds" (ByRef pAdsValues As PADSVALUE, ByVal dwNumValues As Long, ByRef pVariant As Variant) As Long
Declare Function AdvancedDocumentProperties Lib "winspool.drv" Alias "AdvancedDocumentPropertiesA" (ByVal hwnd As Long, ByVal hPrinter As Long, ByVal pDeviceName As String, ByVal pDevModeOutput As Long, ByVal pDevModeInput As Long) As Long
Declare Function AdvInstallFile lib "advpack" (ByVal hwnd As Long, ByVal lpszSourceDir As String, ByVal lpszSourceFile As String, ByVal lpszDestDir As String, ByVal lpszDestFile As String, ByVal dwFlags As Long, ByVal dwReserved As Long) As Long
Declare Function AllocADsMem lib "activeds" (ByVal cb As Long) As Long
Declare Function AllocADsStr lib "activeds" (ByVal pStr As String) As Long
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
Declare Function AllocateLocallyUniqueId Lib "advapi32.dll" Alias "AllocateLocallyUniqueId" (Luid As LARGE_INTEGER) As Long
Declare Function AllocateNtmsMedia lib "ntmsapi" (ByVal hSession As Long, ByRef lpMediaPool As LPNTMS_GUID, ByRef lpPartition As LPNTMS_GUID, ByRef lpMediaId As LPNTMS_GUID, ByVal dwOptions As Long, ByVal dwTimeout As Long, ByRef lpAllocateInformation As LPNTMS_ALLOCATION_INFORMATION) As Long
Declare Function AllocateUserPhysicalPages lib "KERNEL32" (ByVal hProcess As Long, ByRef NumberOfPages As OUT, ByRef PageArray As PULONG_PTR) As Long
Declare Function AllocConsole Lib "kernel32" Alias "AllocConsole" () As Long
Declare Function AllowSetForegroundWindow lib "user32" (ByVal dwProcessId As Long) As Long
Declare Function AlphaBlend lib "msimg32" (ByVal hdcDest As Long, ByVal xDest As Long, ByVal yDest As Long, ByVal WidthDest As Long, ByVal HeightDest As Long, ByVal hdcSrc As Long, ByVal xSrc As Long, ByVal ySrc As Long, ByVal WidthSrc As Long, ByVal HeightSrc As Long, ByRef Blendfunc As As BLENDFUNCTION) As Long
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 Single, ByVal eSweepAngle As Single) As Long
Declare Function AnimatePalette Lib "gdi32" (ByVal hPalette As Long, ByVal wStartIndex As Long, ByVal wNumEntries As Long, lpPaletteColors As PALETTEENTRY) As Long
Declare Function AnimateWindow lib "user32" (ByVal hwnd As Long, ByVal dwTime As Long, ByVal dwFlags As Long) As Long
Declare Function AnyPopup Lib "user32" Alias "AnyPopup" () 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 AppendMenuBynum Lib "user32" Alias "AppendMenuA" (ByVal hMenu As Long, ByVal wFlags As Long, ByVal wIDNewItem As Long, ByVal lpNewItem As Long) As Long
Declare Function ApplyPatchToFile lib "MSPATCHA" (ByVal PatchFileName As String, ByVal OldFileName As String, ByVal NewFileName As String, ByVal ApplyOptionFlags As Long) As Long
Declare Function ApplyPatchToFileByHandles lib "MSPATCHA" (ByVal PatchFileHandle As Long, ByVal OldFileHandle As Long, ByVal NewFileHandle As Long, ByVal ApplyOptionFlags As Long) As Long
Declare Function ApplyPatchToFileByHandlesEx lib "MSPATCHA" (ByVal PatchFileHandle As Long, ByVal OldFileHandle As Long, ByVal NewFileHandle As Long, ByVal ApplyOptionFlags As Long, ByRef ProgressCallback As PPATCH_PROGRESS_CALLBACK, CallbackContext As Any) As Long
Declare Function ApplyPatchToFileEx lib "MSPATCHA" (ByVal PatchFileName As String, ByVal OldFileName As String, ByVal NewFileName As String, ByVal ApplyOptionFlags As Long, ByRef ProgressCallback As PPATCH_PROGRESS_CALLBACK, CallbackContext As Any) As Long
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
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
Declare Function AreAllAccessesGranted Lib "advapi32.dll" Alias "AreAllAccessesGranted" (ByVal GrantedAccess As Long, ByVal DesiredAccess As Long) As Long
Declare Function AreAnyAccessesGranted Lib "advapi32.dll" Alias "AreAnyAccessesGranted" (ByVal GrantedAccess As Long, ByVal DesiredAccess As Long) As Long
Declare Function AreFileApisANSI lib "kernel32" () As Long
Declare Function ArrangeIconicWindows Lib "user32" Alias "ArrangeIconicWindows" (ByVal hwnd As Long) As Long
Declare Function AssignProcessToJobObject lib "kernel32" (ByVal hJob As Long, ByVal hProcess As Long) As Long
Declare Function AssociateColorProfileWithDevice lib "mscms" Alias "AssociateColorProfileWithDeviceA" (ByVal pcstr As String, ByVal pcstr As String, ByVal pcstr As String) As Long
Declare Function AtlComPtrAssign lib "atl" (ByVal pp As Long, ByVal lp As Long) As Long
Declare Function AtlComQIPtrAssign lib "atl" (ByVal pp As Long, ByVal lp As Long, ByVal riid As Long) As Long
Declare Function AtlGetVersion lib "atl" (pReserved As Any) As Long
Declare Function AtlWaitWithMessageLoop lib "atl" (ByVal hEvent As Long) As Long
Declare Function AttachThreadInput Lib "user32" Alias "AttachThreadInput" (ByVal idAttach As Long, ByVal idAttachTo As Long, ByVal fAttach As Long) As Long
Declare Function AuthzAccessCheck lib "authz" (ByRef hAuthzClientContext As AUTHZ_CLIENT_CONTEXT_HANDLE, ByRef pRequest As PAUTHZ_ACCESS_REQUEST, ByRef hAuditInfo As AUTHZ_AUDIT_INFO_HANDLE, ByRef pSecurityDescriptor As SECURITY_DESCRIPTOR, ByRef OptionalSecurityDescriptorArray As SECURITY_DESCRIPTOR, ByVal OptionalSecurityDescriptorCount As Long, ByRef pReply As OUT, ByRef pAuthzHandle As PAUTHZ_HANDLE) As Long
Declare Function AuthzAddSidsToContext lib "authz" (ByRef hAuthzClientContext As AUTHZ_CLIENT_CONTEXT_HANDLE, ByRef Sids As SID_AND_ATTRIBUTES, ByVal SidCount As Long, ByRef RestrictedSids As SID_AND_ATTRIBUTES, ByVal RestrictedSidCount As Long, ByRef phNewAuthzClientContext As PAUTHZ_CLIENT_CONTEXT_HANDLE) As Long
Declare Function AuthzCachedAccessCheck lib "authz" (ByRef AuthzHandle As AUTHZ_HANDLE, ByRef pRequest As PAUTHZ_ACCESS_REQUEST, ByRef hAuditInfo As AUTHZ_AUDIT_INFO_HANDLE, ByRef pReply As OUT) As Long
Declare Function AuthzFreeAuditEvent lib "authz" (ByRef pAuditEventInfo As PAUDIT_EVENT_INFO) As Long
Declare Function AuthzFreeContext lib "authz" (ByRef hAuthzClientContext As OUT) As Long
Declare Function AuthzFreeHandle lib "authz" (ByRef AuthzHandle As OUT) As Long
Declare Function AuthzFreeResourceManager lib "authz" (ByRef hAuthzResourceManager As OUT) As Long
Declare Function AuthzGetInformationFromContext lib "authz" (ByRef hAuthzClientContext As AUTHZ_CLIENT_CONTEXT_HANDLE, ByVal InfoClass As Struct_MembersOf_AUTHZ_CONTEXT_INFORMATION_CLASS, buffer As Any, ByVal BufferSize As Long, ByRef pSizeRequired As Long) As Long
Declare Function AuthzInitializeContextFromAuthzContext lib "authz" (ByRef hAuthzClientContext As AUTHZ_CLIENT_CONTEXT_HANDLE, ByRef pExpirationTime As LARGE_INTEGER, ByVal Identifier As Long, ByVal flags As Long, DynamicGroupArgs As Any, ByRef phNewAuthzClientContext As PAUTHZ_CLIENT_CONTEXT_HANDLE) As Long
Declare Function AuthzInitializeContextFromSid lib "authz" (ByRef UserSid As Sid, ByVal ServerName As String, ByRef hAuthzResourceManager As AUTHZ_RESOURCE_MANAGER_HANDLE, ByRef pExpirationTime As LARGE_INTEGER, ByVal Identifier As Long, ByVal flags As Long, DynamicGroupArgs As Any, ByRef phAuthzClientContext As PAUTHZ_CLIENT_CONTEXT_HANDLE) As Long
Declare Function AuthzInitializeContextFromToken lib "authz" (ByVal TokenHandle As Long, ByRef hAuthzResourceManager As AUTHZ_RESOURCE_MANAGER_HANDLE, ByRef pExpirationTime As LARGE_INTEGER, ByVal Identifier As Long, ByVal flags As Long, DynamicGroupArgs As Any, ByRef phAuthzClientContext As PAUTHZ_CLIENT_CONTEXT_HANDLE) As Long
Declare Function AuthzInitializeResourceManager lib "authz" (ByRef pfnAccessCheck As PFN_AUTHZ_ACCESS_CHECK, ByRef pfnComputeDynamicGroups As PFN_AUTHZ_COMPUTE_DYNAMIC_GROUPS, ByRef pfnFreeDynamicGroups As PFN_AUTHZ_FREE_DYNAMIC_GROUPS, ByRef hRMAuditInfo As AUTHZ_RM_AUDIT_INFO_HANDLE, ByVal AuthzFlags As Long, ByRef phAuthzResourceManager As PAUTHZ_RESOURCE_MANAGER_HANDLE) As Long
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" Alias "auxGetNumDevs" () As Long
Declare Function auxGetVolume Lib "winmm.dll" Alias "auxGetVolume" (ByVal uDeviceID As Long, lpdwVolume As Long) As Long
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
Declare Function auxSetVolume Lib "winmm.dll" Alias "auxSetVolume" (ByVal uDeviceID As Long, ByVal dwVolume As Long) As Long
Declare Function AVIFileAddRef lib "avifil32" (ByVal pfile As Long) As Long
Declare Function AVIFileRelease lib "avifil32" (ByVal pfile As Long) As Long
Declare Function AVISave lib "avifil32" (ByVal szFile As String, ByRef pclsidHandler As Long, ByVal lpfnCallback As Long, ByVal nStreams As Long, ByVal pfile As Long, ByRef lpOptions As AVICOMPRESSOPTIONS, OptionalArguments As Any) As Long
Declare Function AVIStreamAddRef lib "avifil32" (ByVal pavi As Long) As Long
Declare Function AVIStreamFindSample lib "avifil32" (ByVal pavi As Long, ByVal lPos As Long, ByVal lFlags As Long) As Long
Declare Function AVIStreamGetFrame lib "avifil32" (ByVal pg As Long, ByVal lPos As Long) As Long
Declare Function AVIStreamGetFrameOpen lib "avifil32" (ByVal pavi As Long, ByRef lpbiWanted As BITMAPINFOHEADER) As Long
Declare Function AVIStreamLength lib "avifil32" (ByVal pavi As Long) As Long
Declare Function AVIStreamRelease lib "avifil32" (ByVal pavi As Long) As Long
Declare Function AVIStreamSampleToTime lib "avifil32" (ByVal pavi As Long, ByVal lSample As Long) As Long
Declare Function AVIStreamStart lib "avifil32" (ByVal pavi As Long) As Long
Declare Function AVIStreamTimeToSample lib "avifil32" (ByVal pavi As Long, ByVal lTime As Long) As Long
Declare Function BackupClusterDatabase lib "clusapi" (ByRef hCluster As hCluster, ByVal lpszPathName As String) As Long
Declare Function BackupEventLog Lib "advapi32.dll" Alias "BackupEventLogA" (ByVal hEventLog As Long, ByVal lpBackupFileName As String) As Long
Declare Function BackupRead Lib "kernel32" Alias "BackupRead" (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" Alias "BackupSeek" (ByVal hFile As Long, ByVal dwLowBytesToSeek As Long, ByVal dwHighBytesToSeek As Long, lpdwLowByteSeeked As Long, lpdwHighByteSeeked As Long, lpContext As Long) As Long
Declare Function BackupWrite Lib "kernel32" Alias "BackupWrite" (ByVal hFile As Long, lpBuffer As Byte, ByVal nNumberOfBytesToWrite As Long, lpNumberOfBytesWritten As Long, ByVal bAbort As Long, ByVal bProcessSecurity As Long, lpContext As Long) As Long
Declare Function bcp_bind lib "ODBCBCP" (ByRef TPDBPROCESS As PDBPROCESS, ByRef TLPCBYTE As LPCBYTE, ByVal intx As Long, ByRef TDBINT As DBINT, ByRef TLPCBYTE As LPCBYTE, ByVal intx As Long, ByVal intx As Long, ByVal intx As Long) As Integer
Declare Function bcp_colfmt lib "ODBCBCP" (ByRef TPDBPROCESS As PDBPROCESS, ByVal intx As Long, ByVal bytex As Byte, ByVal intx As Long, ByRef TDBINT As DBINT, ByRef TLPCBYTE As LPCBYTE, ByVal intx As Long, ByVal intx As Long) As Integer
Declare Function bcp_collen lib "ODBCBCP" (ByRef THDBC As HDBC, ByRef TDBINT As DBINT, ByVal intx As Long) As Integer
Declare Function bcp_colptr lib "ODBCBCP" (ByRef TPDBPROCESS As PDBPROCESS, ByRef TLPCBYTE As LPCBYTE, ByVal intx As Long) As Integer
Declare Function bcp_columns lib "ODBCBCP" (ByRef TPDBPROCESS As PDBPROCESS, ByVal intx As Long) As Integer
Declare Function bcp_control lib "ODBCBCP" (ByRef TPDBPROCESS As PDBPROCESS, ByVal intx As Long, ByRef TDBINT As DBINT) As Integer
Declare Function bcp_exec lib "ODBCBCP" (ByRef THDBC As HDBC, ByRef TLPDBINT As LPDBINT) As Integer
Declare Function bcp_getcolfmt lib "ODBCBCP" (ByRef THDBC As HDBC, ByVal intx As Long, ByVal intx As Long, pVoid As Any, ByVal intx As Long, ByRef pInt As Long) As Integer
Declare Function bcp_init lib "ODBCBCP" (ByRef THDBC As HDBC, ByVal lpcstr As String, ByVal lpcstr As String, ByVal lpcstr As String, ByVal intx As Long) As Integer
Declare Function bcp_moretext lib "ODBCBCP" (ByRef TPDBPROCESS As PDBPROCESS, ByRef TDBINT As DBINT, ByRef TLPCBYTE As LPCBYTE) As Integer
Declare Function bcp_readfmt lib "ODBCBCP" (ByRef THDBC As HDBC, ByVal lpcstr As String) As Integer
Declare Function bcp_sendrow lib "ODBCBCP" (ByRef THDBC As HDBC) As Integer
Declare Function bcp_setcolfmt lib "ODBCBCP" (ByRef THDBC As HDBC, ByVal intx As Long, ByVal intx As Long, pVoid As Any, ByVal intx As Long) As Integer
Declare Function bcp_writefmt lib "ODBCBCP" (ByRef THDBC As HDBC, ByVal lpcstr As String) As Integer
Declare Function Beep Lib "kernel32" Alias "Beep" (ByVal dwFreq As Long, ByVal dwDuration As Long) As Long
Declare Function BeginDeferWindowPos Lib "user32" Alias "BeginDeferWindowPos" (ByVal nNumWindows As Long) As Long
Declare Function BeginNtmsDeviceChangeDetection lib "ntmsapi" (ByVal hSession As Long, ByRef lpDetectHandle As Long) As Long
Declare Function BeginPaint Lib "user32" Alias "BeginPaint" (ByVal hwnd As Long, lpPaint As PAINTSTRUCT) As Long
Declare Function BeginPath Lib "gdi32" Alias "BeginPath" (ByVal hdc As Long) As Long
Declare Function BeginUpdateResource Lib "kernel32" Alias "BeginUpdateResourceA" (ByVal pFileName As String, ByVal bDeleteExistingResources As Long) As Long
Declare Function ber_first_element lib "WLDAP32" (ByRef pBerElement As BerElement, ByRef pLen As Long, ByVal ppOpaque As String) As Long
Declare Function ber_flatten lib "WLDAP32" (ByRef pBerElement As BerElement, ByRef pBerVal As pBerVal) As Long
Declare Function ber_next_element lib "WLDAP32" (ByRef pBerElement As BerElement, ByRef pLen As Long, ByVal opaque As String) As Long
Declare Function ber_peek_tag lib "WLDAP32" (ByRef pBerElement As BerElement, ByRef pLen As Long) As Long
Declare Function ber_printf lib "WLDAP32" (ByRef pBerElement As BerElement, ByVal fmt As String, Optional OptionalArguments As Any) As Long
Declare Function ber_scanf lib "WLDAP32" (ByRef pBerElement As BerElement, ByVal fmt As String, Optional OptionalArguments As Any) As Long
Declare Function ber_skip_tag lib "WLDAP32" (ByRef pBerElement As BerElement, ByRef pLen As Long) As Long
Declare Function BinarySDToSecurityDescriptor lib "activeds" (ByRef pSecurityDescriptor As SECURITY_DESCRIPTOR, ByRef pVarsec As Variant, ByVal pszServerName As String, ByVal userName As String, ByVal passWord As String, ByVal dwFlags As Long) As Long
Declare Function bind lib "ws2_32" (ByVal s As Long, ByRef addr As sockaddr, ByVal namelen As Long) As Long
Declare Function BindImage lib "imagehlp" (ByVal ImageName As String, ByVal DllPath As String, ByVal SymbolPath As String) As Long
Declare Function BindImageEx lib "imagehlp" (ByVal Flags As Long, ByVal ImageName As String, ByVal DllPath As String, ByVal SymbolPath As String, ByRef StatusRoutine As PIMAGEHLP_STATUS_ROUTINE) As Long
Declare Function BindIoCompletionCallback lib "kernel32" (ByVal FileHandle As Long, ByVal lFunction As Long, ByVal Flags As Long) As Long
Declare Function BitBlt Lib "gdi32" Alias "BitBlt" (ByVal hDestDC As Long, ByVal x As Long, ByVal y As Long, ByVal nWidth As Long, ByVal nHeight As Long, ByVal hSrcDC As Long, ByVal xSrc As Long, ByVal ySrc As Long, ByVal dwRop As Long) As Long
Declare Function BlockInput lib "USER32" (ByVal fBlockIt As Long) As Long
Declare Function BMAPIAddress lib "MAPI32" (lInfo As Long, ByVal Session As Long, ByVal UIParam As Long, Caption$, ByVal nEditFields As Long, Label$, nRecipients As Long, Recip() As MapiRecip, ByVal Flags As Long, ByVal Reserved As Long) As Long
Declare Function BMAPIGetAddress lib "MAPI32" (ByVal lInfo As Long, ByVal nRecipients As Long, Recipients() As MapiRecip) As Long
Declare Function BMAPIGetReadMail lib "MAPI32" (ByVal lMsg As Long, Message As MAPIMessage, Recip() As MapiRecip, File() As MapiFile, Originator As MapiRecip) As Long
Declare Function BMAPIReadMail lib "MAPI32" (lMsg As Long, nRecipients As Long, nFiles As Long, ByVal Session As Long, ByVal UIParam As Long, MessageID$, ByVal Flag As Long, ByVal Reserved As Long) As Long
Declare Function BringWindowToTop Lib "user32" Alias "BringWindowToTop" (ByVal hwnd As Long) As Long
Declare Function BroadcastSystemMessage Lib "user32" Alias "BroadcastSystemMessage" (ByVal dw As Long, pdw As Long, ByVal un As Long, ByVal wParam As Long, ByVal lParam As Long) As Long
Declare Function BrowseForGPO lib "gpedit" (ByRef lpBrowseInfo As LPGPOBROWSEINFO) As Long
Declare Function BSTR_UserMarshal lib "oleaut32" (ByRef pLong As Long, ByVal pChar As String, ByVal pBstr As Long) As Long
Declare Function BSTR_UserSize lib "oleaut32" (ByRef pLong As Long, ByVal lLong As Long, ByVal pBstr As Long) As Long
Declare Function BSTR_UserUnmarshal lib "oleaut32" (ByRef pLong As Long, ByVal pChar As String, ByVal pBstr As Long) As Long
Declare Function BuildCommDCB Lib "kernel32" Alias "BuildCommDCBA" (ByVal lpDef As String, lpDCB As DCB) As Long
Declare Function BuildCommDCBAndTimeouts Lib "kernel32" Alias "BuildCommDCBAndTimeoutsA" (ByVal lpDef As String, lpDCB As DCB, lpCommTimeouts As COMMTIMEOUTS) As Long
Declare Function BuildSecurityDescriptor lib "ADVAPI32" (ByRef pOwner As PTRUSTEE_A, ByRef pGroup As PTRUSTEE_A, ByVal cCountOfAccessEntries As Long, ByRef pListOfAccessEntries As EXPLICIT_ACCESS, ByVal cCountOfAuditEntries As Long, ByRef pListOfAuditEntries As EXPLICIT_ACCESS, ByRef pOldSD As SECURITY_DESCRIPTOR, ByRef pSizeNewSD As Long, ByRef pNewSD As SECURITY_DESCRIPTOR) As Long
Declare Function CallMsgFilter Lib "user32" Alias "CallMsgFilterA" (lpMsg As MSG, ByVal ncode As Long) As Long
Declare Function CallNamedPipe Lib "kernel32" Alias "CallNamedPipeA" (ByVal lpNamedPipeName As String, lpInBuffer As Any, ByVal nInBufferSize As Long, lpOutBuffer As Any, ByVal nOutBufferSize As Long, lpBytesRead As Long, ByVal nTimeOut As Long) As Long
Declare Function CallNextHookEx Lib "user32" Alias "CallNextHookEx" (ByVal hHook As Long, ByVal ncode As Long, ByVal wParam As Integer, lParam As Any) As Long
Declare Function CallWindowProc Lib "user32" Alias "CallWindowProcA" (ByVal lpPrevWndFunc As Long, ByVal hWnd As Long, ByVal Msg As Long, ByVal wParam As Long, ByVal lParam As Long) As Long
Declare Function CancelDC Lib "gdi32" Alias "CancelDC" (ByVal hdc As Long) As Long
Declare Function CancelDeviceWakeupRequest lib "kernel32" (ByVal hDevice As Long) As Long
Declare Function CancelIo lib "kernel32" (ByVal hFile As Long) As Long
Declare Function CancelNtmsLibraryRequest lib "ntmsapi" (ByVal hSession As Long, ByRef lpRequestId As LPNTMS_GUID) As Long
Declare Function CancelNtmsOperatorRequest lib "ntmsapi" (ByVal hSession As Long, ByRef lpRequestId As LPNTMS_GUID) As Long
Declare Function CancelTimerQueueTimer lib "kernel32" (ByVal TimerQueue As Long, ByVal Timer As Long) As Long
Declare Function CancelWaitableTimer Lib "kernel32" (ByVal hTimer As Long)
Declare Function CanResourceBeDependent lib "clusapi" (ByRef hResource As hResource, ByRef hResourceDependent As hResource) As Long
Declare Function capCreateCaptureWindow lib "avicap32" Alias "capCreateCaptureWindowA" (ByVal lpszWindowName As String, ByVal dwStyle As Long, ByVal x As Long, ByVal y As Long, ByVal nWidth As Long, ByVal nHeight As Long, ByVal hWndParent As Long, ByVal nID As Long) As Long
Declare Function capGetDriverDescription lib "avicap32" Alias "capGetDriverDescriptionA" (ByVal wDriverIndex As Long, ByVal lpszName As String, ByVal cbName As Long, ByVal lpszVer As String, ByVal cbVer As Long) As Long
Declare Function CascadeWindows Lib "user32" (ByVal hwndParent As Long, ByVal wHow As Long, lpRect As RECT, ByVal cKids As Long, lpKids As Long) As Integer
Declare Function CertAddCertificateContextToStore lib "crypt32" (ByRef hCertStore As Long, ByRef pCertContext As Long, ByVal dwAddDisposition As Long, ByRef ppStoreContext As Long) As Long
Declare Function CertAddCertificateLinkToStore lib "crypt32" (ByRef hCertStore As Long, ByRef pCertContext As Long, ByVal dwAddDisposition As Long, ByRef ppStoreContext As Long) As Long
Declare Function CertAddCRLContextToStore lib "crypt32" (ByRef hCertStore As Long, ByRef pCrlContext As PCCRL_CONTEXT, ByVal dwAddDisposition As Long, ByRef ppStoreContext As PCCRL_CONTEXT) As Long
Declare Function CertAddCRLLinkToStore lib "crypt32" (ByRef hCertStore As Long, ByRef pCrlContext As PCCRL_CONTEXT, ByVal dwAddDisposition As Long, ByRef ppStoreContext As PCCRL_CONTEXT) As Long
Declare Function CertAddCTLContextToStore lib "crypt32" (ByRef hCertStore As Long, ByRef pCtlContext As PCCTL_CONTEXT, ByVal dwAddDisposition As Long, ByRef ppStoreContext As PCCTL_CONTEXT) As Long
Declare Function CertAddCTLLinkToStore lib "crypt32" (ByRef hCertStore As Long, ByRef pCtlContext As PCCTL_CONTEXT, ByVal dwAddDisposition As Long, ByRef ppStoreContext As PCCTL_CONTEXT) As Long
Declare Function CertAddEncodedCertificateToStore lib "crypt32" (ByRef hCertStore As Long, ByVal dwCertEncodingType As Long, ByVal pbCertEncoded As String, ByVal cbCertEncoded As Long, ByVal dwAddDisposition As Long, ByRef ppCertContext As Long) As Long
Declare Function CertAddEncodedCertificateToSystemStore lib "crypt32" Alias "CertAddEncodedCertificateToSystemStoreA" (ByVal szCertStoreName As String, ByVal pbCertEncoded As String, ByVal cbCertEncoded As Long) As Long
Declare Function CertAddEncodedCRLToStore lib "crypt32" (ByRef hCertStore As Long, ByVal dwCertEncodingType As Long, ByVal pbCrlEncoded As String, ByVal cbCrlEncoded As Long, ByVal dwAddDisposition As Long, ByRef ppCrlContext As PCCRL_CONTEXT) As Long
Declare Function CertAddEncodedCTLToStore lib "crypt32" (ByRef hCertStore As Long, ByVal dwMsgAndCertEncodingType As Long, ByVal pbCtlEncoded As String, ByVal cbCtlEncoded As Long, ByVal dwAddDisposition As Long, ByRef ppCtlContext As PCCTL_CONTEXT) As Long
Declare Function CertAddEnhancedKeyUsageIdentifier lib "crypt32" (ByRef pCertContext As Long, ByVal pszUsageIdentifier As String) As Long
Declare Function CertAddSerializedElementToStore lib "crypt32" (ByRef hCertStore As Long, ByVal pbElement As String, ByVal cbElement As Long, ByVal dwAddDisposition As Long, ByVal dwFlags As Long, ByVal dwContextTypeFlags As Long, ByRef pdwContextType As Long, ppvContext As Any) As Long
Declare Function CertAddStoreToCollection lib "crypt32" (ByRef hCollectionStore As Long, ByRef hSiblingStore As Long, ByVal dwUpdateFlags As Long, ByVal dwPriority As Long) As Long
Declare Function CertAlgIdToOID lib "crypt32" (ByVal dwAlgId As Long) As Long
Declare Function CertCloseStore lib "crypt32" (ByRef hCertStore As Long, ByVal dwFlags As Long) As Long
Declare Function CertCompareCertificate lib "crypt32" (ByVal dwCertEncodingType As Long, ByRef pCertId1 As PCERT_INFO, ByRef pCertId2 As PCERT_INFO) As Long
Declare Function CertCompareCertificateName lib "crypt32" (ByVal dwCertEncodingType As Long, ByRef pCertName1 As PCERT_NAME_BLOB, ByRef pCertName2 As PCERT_NAME_BLOB) As Long
Declare Function CertCompareIntegerBlob lib "crypt32" (ByRef pInt1 As PCRYPT_INTEGER_BLOB, ByRef pInt2 As PCRYPT_INTEGER_BLOB) As Long
Declare Function CertComparePublicKeyInfo lib "crypt32" (ByVal dwCertEncodingType As Long, ByRef pPublicKey1 As PCERT_PUBLIC_KEY_INFO, ByRef pPublicKey2 As PCERT_PUBLIC_KEY_INFO) As Long
Declare Function CertControlStore lib "crypt32" (ByRef hCertStore As Long, ByVal dwFlags As Long, ByVal dwCtrlType As Long, pvCtrlPara As Any) As Long
Declare Function CertCreateCertificateChainEngine lib "crypt32" (ByRef pConfig As PCERT_CHAIN_ENGINE_CONFIG, ByRef phChainEngine As Long) As Long
Declare Function CertDeleteCertificateFromStore lib "crypt32" (ByRef pCertContext As Long) As Long
Declare Function CertDeleteCRLFromStore lib "crypt32" (ByRef pCrlContext As PCCRL_CONTEXT) As Long
Declare Function CertDeleteCTLFromStore lib "crypt32" (ByRef pCtlContext As PCCTL_CONTEXT) As Long
Declare Function CertEnumCertificateContextProperties lib "crypt32" (ByRef pCertContext As Long, ByVal dwPropId As Long) As Long
Declare Function CertEnumCRLContextProperties lib "crypt32" (ByRef pCrlContext As PCCRL_CONTEXT, ByVal dwPropId As Long) As Long
Declare Function CertEnumCTLContextProperties lib "crypt32" (ByRef pCtlContext As PCCTL_CONTEXT, ByVal dwPropId As Long) As Long
Declare Function CertEnumPhysicalStore lib "crypt32" (pvSystemStore As Any, ByVal dwFlags As Long, pvArg As Any, ByRef pfnEnum As PFN_CERT_ENUM_PHYSICAL_STORE) As Long
Declare Function CertEnumSubjectInSortedCTL lib "crypt32" (ByRef pCtlContext As PCCTL_CONTEXT, ppvNextSubject As Any, ByRef pSubjectIdentifier As PCRYPT_DER_BLOB, ByRef pEncodedAttributes As PCRYPT_DER_BLOB) As Long
Declare Function CertEnumSystemStore lib "crypt32" (ByVal dwFlags As Long, pvSystemStoreLocationPara As Any, pvArg As Any, ByRef pfnEnum As PFN_CERT_ENUM_SYSTEM_STORE) As Long
Declare Function CertEnumSystemStoreLocation lib "crypt32" (ByVal dwFlags As Long, pvArg As Any, ByRef pfnEnum As PFN_CERT_ENUM_SYSTEM_STORE_LOCATION) As Long
Declare Function CertFindCertificateInCRL lib "crypt32" (ByRef pCert As Long, ByRef pCrlContext As PCCRL_CONTEXT, ByVal dwFlags As Long, pvReserved As Any, ByRef ppCrlEntry As PCRL_ENTRY) As Long
Declare Function CertFindSubjectInSortedCTL lib "crypt32" (ByRef pSubjectIdentifier As PCRYPT_DATA_BLOB, ByRef pCtlContext As PCCTL_CONTEXT, ByVal dwFlags As Long, pvReserved As Any, ByRef pEncodedAttributes As PCRYPT_DER_BLOB) As Long
Declare Function CertFreeCertificateContext lib "crypt32" (ByRef pCertContext As Long) As Long
Declare Function CertFreeCRLContext lib "crypt32" (ByRef pCrlContext As PCCRL_CONTEXT) As Long
Declare Function CertFreeCTLContext lib "crypt32" (ByRef pCtlContext As PCCTL_CONTEXT) As Long
Declare Function CertGetCertificateChain lib "crypt32" (ByRef hChainEngine As Long, ByRef pCertContext As Long, ByRef pTime As FILETIME, ByRef hAdditionalStore As Long, ByRef pChainPara As PCERT_CHAIN_PARA, ByVal dwFlags As Long, pvReserved As Any, ByRef ppChainContext As PCCERT_CHAIN_CONTEXT) As Long
Declare Function CertGetCertificateContextProperty lib "crypt32" (ByRef pCertContext As Long, ByVal dwPropId As Long, pvData As Any, ByRef pcbData As Long) As Long
Declare Function CertGetCRLContextProperty lib "crypt32" (ByRef pCrlContext As PCCRL_CONTEXT, ByVal dwPropId As Long, pvData As Any, ByRef pcbData As Long) As Long
Declare Function CertGetCTLContextProperty lib "crypt32" (ByRef pCtlContext As PCCTL_CONTEXT, ByVal dwPropId As Long, pvData As Any, ByRef pcbData As Long) As Long
Declare Function CertGetEnhancedKeyUsage lib "crypt32" (ByRef pCertContext As Long, ByVal dwFlags As Long, ByRef pUsage As PCERT_ENHKEY_USAGE, ByRef pcbUsage As Long) As Long
Declare Function CertGetIntendedKeyUsage lib "crypt32" (ByVal dwCertEncodingType As Long, ByRef pCertInfo As PCERT_INFO, ByVal pbKeyUsage As String, ByVal cbKeyUsage As Long) As Long
Declare Function CertGetNameString lib "crypt32" Alias "CertGetNameStringA" (ByRef pCertContext As Long, ByVal dwType As Long, ByVal dwFlags As Long, pvTypePara As Any, ByVal pszNameString As String, ByVal cchNameString As Long) As Long
Declare Function CertGetPublicKeyLength lib "crypt32" (ByVal dwCertEncodingType As Long, ByRef pPublicKey As PCERT_PUBLIC_KEY_INFO) As Long
Declare Function CertGetStoreProperty lib "crypt32" (ByRef hCertStore As Long, ByVal dwPropId As Long, pvData As Any, ByRef pcbData As Long) As Long
Declare Function CertGetValidUsages lib "crypt32" (ByVal cCerts As Long, ByRef rghCerts As Long, ByRef cNumOIDs As Long, ByVal rghOIDs As String, ByRef pcbOIDs As Long) As Long
Declare Function CertIsRDNAttrsInCertificateName lib "crypt32" (ByVal dwCertEncodingType As Long, ByVal dwFlags As Long, ByRef pCertName As PCERT_NAME_BLOB, ByRef pRDN As PCERT_RDN) As Long
Declare Function CertNameToStr lib "crypt32" Alias "CertNameToStrA" (ByVal dwCertEncodingType As Long, ByRef pName As PCERT_NAME_BLOB, ByVal dwStrType As Long, ByVal psz As String, ByVal csz As Long) As Long
Declare Function CertOIDToAlgId lib "crypt32" (ByVal pszObjId As String) As Long
Declare Function CertRDNValueToStr lib "crypt32" Alias "CertRDNValueToStrA" (ByVal dwValueType As Long, ByRef pValue As PCERT_RDN_VALUE_BLOB, ByVal psz As String, ByVal csz As Long) As Long
Declare Function CertRegisterPhysicalStore lib "crypt32" (pvSystemStore As Any, ByVal dwFlags As Long, ByVal pwszStoreName As String, ByRef pStoreInfo As PCERT_PHYSICAL_STORE_INFO, pvReserved As Any) As Long
Declare Function CertRegisterSystemStore lib "crypt32" (pvSystemStore As Any, ByVal dwFlags As Long, ByRef pStoreInfo As PCERT_SYSTEM_STORE_INFO, pvReserved As Any) As Long
Declare Function CertRemoveEnhancedKeyUsageIdentifier lib "crypt32" (ByRef pCertContext As Long, ByVal pszUsageIdentifier As String) As Long
Declare Function CertResyncCertificateChainEngine lib "crypt32" (ByRef hChainEngine As Long) As Long
Declare Function CertSaveStore lib "crypt32" (ByRef hCertStore As Long, ByVal dwEncodingType As Long, ByVal dwSaveAs As Long, ByVal dwSaveTo As Long, pvSaveToPara As Any, ByVal dwFlags As Long) As Long
Declare Function CertSerializeCertificateStoreElement lib "crypt32" (ByRef pCertContext As Long, ByVal dwFlags As Long, ByVal pbElement As String, ByRef pcbElement As Long) As Long
Declare Function CertSerializeCRLStoreElement lib "crypt32" (ByRef pCrlContext As PCCRL_CONTEXT, ByVal dwFlags As Long, ByVal pbElement As String, ByRef pcbElement As Long) As Long
Declare Function CertSerializeCTLStoreElement lib "crypt32" (ByRef pCtlContext As PCCTL_CONTEXT, ByVal dwFlags As Long, ByVal pbElement As String, ByRef pcbElement As Long) As Long
Declare Function CertSetCertificateContextProperty lib "crypt32" (ByRef pCertContext As Long, ByVal dwPropId As Long, ByVal dwFlags As Long, pvData As Any) As Long
Declare Function CertSetCRLContextProperty lib "crypt32" (ByRef pCrlContext As PCCRL_CONTEXT, ByVal dwPropId As Long, ByVal dwFlags As Long, pvData As Any) As Long
Declare Function CertSetCTLContextProperty lib "crypt32" (ByRef pCtlContext As PCCTL_CONTEXT, ByVal dwPropId As Long, ByVal dwFlags As Long, pvData As Any) As Long
Declare Function CertSetEnhancedKeyUsage lib "crypt32" (ByRef pCertContext As Long, ByRef pUsage As PCERT_ENHKEY_USAGE) As Long
Declare Function CertSetStoreProperty lib "crypt32" (ByRef hCertStore As Long, ByVal dwPropId As Long, ByVal dwFlags As Long, pvData As Any) As Long
Declare Function CertStrToName lib "crypt32" Alias "CertStrToNameA" (ByVal dwCertEncodingType As Long, ByVal pszX500 As String, ByVal dwStrType As Long, pvReserved As Any, ByVal pbEncoded As String, ByRef pcbEncoded As Long, ByVal ppszError As String) As Long
Declare Function CertUnregisterPhysicalStore lib "crypt32" (pvSystemStore As Any, ByVal dwFlags As Long, ByVal pwszStoreName As String) As Long
Declare Function CertUnregisterSystemStore lib "crypt32" (pvSystemStore As Any, ByVal dwFlags As Long) As Long
Declare Function CertVerifyCertificateChainPolicy lib "crypt32" (ByVal pszPolicyOID As String, ByRef pChainContext As PCCERT_CHAIN_CONTEXT, ByRef pPolicyPara As PCERT_CHAIN_POLICY_PARA, ByRef pPolicyStatus As PCERT_CHAIN_POLICY_STATUS) As Long
Declare Function CertVerifyCRLRevocation lib "crypt32" (ByVal dwCertEncodingType As Long, ByRef pCertId As PCERT_INFO, ByVal cCrlInfo As Long, ByRef rgpCrlInfo As PCRL_INFO) As Long
Declare Function CertVerifyCRLTimeValidity lib "crypt32" (ByRef pTimeToVerify As FILETIME, ByRef pCrlInfo As PCRL_INFO) As Long
Declare Function CertVerifyCTLUsage lib "crypt32" (ByVal dwEncodingType As Long, ByVal dwSubjectType As Long, pvSubject As Any, ByRef pSubjectUsage As PCTL_USAGE, ByVal dwFlags As Long, ByRef pVerifyUsagePara As PCTL_VERIFY_USAGE_PARA, ByRef pVerifyUsageStatus As PCTL_VERIFY_USAGE_STATUS) As Long
Declare Function CertVerifyRevocation lib "crypt32" (ByVal dwEncodingType As Long, ByVal dwRevType As Long, ByVal cContext As Long, rgpvContext As Any, ByVal dwFlags As Long, ByRef pRevPara As PCERT_REVOCATION_PARA, ByRef pRevStatus As PCERT_REVOCATION_STATUS) As Long
Declare Function CertVerifySubjectCertificateContext lib "crypt32" (ByRef pSubject As Long, ByRef pIssuer As Long, ByRef pdwFlags As Long) As Long
Declare Function CertVerifyTimeValidity lib "crypt32" (ByRef pTimeToVerify As FILETIME, ByRef pCertInfo As PCERT_INFO) As Long
Declare Function CertVerifyValidityNesting lib "crypt32" (ByRef pSubjectInfo As PCERT_INFO, ByRef pIssuerInfo As PCERT_INFO) As Long
Declare Function ChangeClipboardChain Lib "user32" Alias "ChangeClipboardChain" (ByVal hwnd As Long, ByVal hWndNext As Long) As Long
Declare Function ChangeClusterResourceGroup lib "clusapi" (ByRef hResource As hResource, ByRef hGroup As hGroup) As Long
Declare Function ChangeDisplaySettings lib "user32" Alias "ChangeDisplaySettingsA" (ByRef lpDevMode As DEVMODE, ByVal dwFlags As Long) As Long
Declare Function ChangeDisplaySettingsEx lib "user32" Alias "ChangeDisplaySettingsExA" (ByVal lpszDeviceName As String, ByRef lpDevMode As DEVMODE, ByVal hwnd As Long, ByVal dwflags As Long, lParam As Any) As Long
Declare Function ChangeMenu Lib "user32" Alias "ChangeMenuA" (ByVal hMenu As Long, ByVal cmd As Long, ByVal lpszNewItem As String, ByVal cmdInsert As Long, ByVal flags As Long) As Long
Declare Function ChangeNtmsMediaType lib "ntmsapi" (ByVal hSession As Long, ByRef lpMediaId As LPNTMS_GUID, ByRef lpPoolId As LPNTMS_GUID) As Long
Declare Function ChangeServiceConfig Lib "advapi32.dll" Alias "ChangeServiceConfigA" (ByVal hService As Long, ByVal dwServiceType As Long, ByVal dwStartType As Long, ByVal dwErrorControl As Long, ByVal lpBinaryPathName As String, ByVal lpLoadOrderGroup As String, lpdwTagId As Long, ByVal lpDependencies As String, ByVal lpServiceStartName As String, ByVal lpPassword As String, ByVal lpDisplayName As String) As Long
Declare Function ChangeServiceConfig2 lib "ADVAPI32" (ByVal hService As Long, ByVal dwInfoLevel As Long, lpInfo As Any) As Long
Declare Function ChangeTimerQueueTimer lib "kernel32" (ByVal TimerQueue As Long, ByVal Timer As Long, ByVal DueTime As Long, ByVal Period As Long) As Long
Declare Function CharLower Lib "user32" Alias "CharLowerA" (ByVal lpsz As String) As Long
Declare Function CharLowerBuff Lib "user32" Alias "CharLowerBuffA" (ByVal lpsz As String, ByVal cchLength As Long) As Long
Declare Function CharNext Lib "user32" Alias "CharNextA" (ByVal lpsz As String) As Long
Declare Function CharNextEx lib "user32" Alias "CharNextExA" (ByVal CodePage As Integer, ByVal lpCurrentChar As String, ByVal dwFlags As Long) As Long
Declare Function CharPrev Lib "user32" Alias "CharPrevA" (ByVal lpszStart As String, ByVal lpszCurrent As String) As Long
Declare Function CharPrevEx lib "user32" Alias "CharPrevExA" (ByVal CodePage As Integer, ByVal lpStart As String, ByVal lpCurrentChar As String, ByVal dwFlags As Long) As Long
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 Long
Declare Function CharUpperBuff Lib "user32" Alias "CharUpperBuffA" (ByVal lpsz As String, ByVal cchLength As Long) As Long
Declare Function CheckBitmapBits lib "mscms" (ByRef THTRANSFORM As Long, pvoid As Any, ByVal pBmformat As Struct_MembersOf_BMFORMAT, ByVal dword As Long, ByVal dword As Long, ByVal dword As Long, ByVal pbyte As String, ByRef TPBMCALLBACKFN As PBMCALLBACKFN, ByVal lparam As Long) As Long
Declare Function CheckColors lib "mscms" (ByRef THTRANSFORM As Long, ByRef TPCOLOR As PCOLOR, ByVal dword As Long, ByVal pColortype As Struct_MembersOf_COLORTYPE, ByVal pbyte As String) As Long
Declare Function CheckColorsInGamut Lib "gdi32" Alias "CheckColorsInGamut" (ByVal hdc As Long, lpv As Any, lpv2 As Any, ByVal dw As Long) As Long
Declare Function CheckDlgButton Lib "user32" (ByVal hDlg As Long, ByVal nIDButton As Long, ByVal wCheck As Long) As Long
Declare Function CheckMenuItem Lib "user32" Alias "CheckMenuItem" (ByVal hMenu As Long, ByVal wIDCheckItem As Long, ByVal wCheck As Long) As Long
Declare Function CheckMenuRadioItem Lib "user32" Alias "CheckMenuRadioItem" (ByVal hMenu As Long, ByVal un1 As Long, ByVal un2 As Long, ByVal un3 As Long, ByVal un4 As Long) As Long
Declare Function CheckRadioButton Lib "user32" (ByVal hDlg As Long, ByVal nIDFirstButton As Long, ByVal nIDLastButton As Long, ByVal nIDCheckButton As Long) As Long
Declare Function CheckTokenMembership lib "advapi32" (ByVal TokenHandle As Long, ByRef SidToCheck As SID, ByRef IsMember As Long) As Long
Declare Function ChildWindowFromPoint Lib "user32" Alias "ChildWindowFromPoint" (ByVal hWnd As Long, ByVal X As Long, ByVal Y As Long) As Long
Declare Function ChildWindowFromPointEx Lib "user32" (ByVal hWndParent As Long, ByVal ptx As Long, ByVal pty As Long, ByVal uFlags As Long) As Long
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 ChoosePixelFormat Lib "gdi32" Alias "ChoosePixelFormat" (ByVal hDC As Long, pPixelFormatDescriptor As PIXELFORMATDESCRIPTOR) As Long
Declare Function Chord Lib "gdi32" Alias "Chord" (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
Declare Function ChrCmpI lib "shlwapi" Alias "ChrCmpIA" (ByVal w1 As Integer, ByVal w2 As Integer) As Long
Declare Function CleanNtmsDrive lib "ntmsapi" (ByVal hSession As Long, ByRef lpDriveId As LPNTMS_GUID) As Long
Declare Function ClearCommBreak Lib "kernel32" Alias "ClearCommBreak" (ByVal nCid As Long) As Long
Declare Function ClearCommError Lib "kernel32" Alias "ClearCommError" (ByVal hFile As Long, lpErrors As Long, lpStat As COMSTAT) As Long
Declare Function ClearDisplayText lib "ftsrch" (ByVal hhil As Long) As Long
Declare Function ClearEventLog Lib "advapi32.dll" Alias "ClearEventLogA" (ByVal hEventLog As Long, ByVal lpBackupFileName As String) As Long
Declare Function ClientToScreen Lib "user32" Alias "ClientToScreen" (ByVal hwnd As Long, lpPoint As POINTAPI) As Long
Declare Function ClipCursor Lib "user32" Alias "ClipCursor" (lpRect As RECT) As Long
Declare Function ClipCursorBynum Lib "user32" Alias "ClipCursor" (ByVal lpRect As Long) As Long
Declare Function CLIPFORMAT_UserMarshal lib "ole32" (ByRef pLong As Long, ByVal pChar As String, ByRef pClipformat As Integer) As Long
Declare Function CLIPFORMAT_UserSize lib "ole32" (ByRef pLong As Long, ByVal lLong As Long, ByRef pClipformat As Integer) As Long
Declare Function CLIPFORMAT_UserUnmarshal lib "ole32" (ByRef pLong As Long, ByVal pChar As String, ByRef pClipformat As Integer) As Long
Declare Function CloseClipboard Lib "user32" Alias "CloseClipboard" () As Long
Declare Function CloseCluster lib "clusapi" (ByRef hCluster As hCluster) As Long
Declare Function CloseClusterGroup lib "clusapi" (ByRef hGroup As hGroup) As Long
Declare Function CloseClusterNode lib "clusapi" (ByRef hNode As hNode) As Long
Declare Function CloseClusterNotifyPort lib "clusapi" (ByRef hChange As hChange) As Long
Declare Function CloseClusterResource lib "clusapi" (ByRef hResource As hResource) As Long
Declare Function CloseColorProfile lib "mscms" (ByRef THPROFILE As Long) As Long
Declare Function CloseDesktop Lib "user32" Alias "CloseDesktop" (ByVal hDesktop As Long) As Long
Declare Function CloseDriver Lib "winmm.dll" Alias "CloseDriver" (ByVal hDriver As Long, ByVal lParam1 As Long, ByVal lParam2 As Long) As Long
Declare Function CloseEnhMetaFile Lib "gdi32" Alias "CloseEnhMetaFile" (ByVal hdc As Long) As Long
Declare Function CloseEventLog Lib "advapi32.dll" Alias "CloseEventLog" (ByVal hEventLog As Long) As Long
Declare Function CloseFigure Lib "gdi32" Alias "CloseFigure" (ByVal hdc As Long) As Long
Declare Function CloseHandle Lib "kernel32" Alias "CloseHandle" (ByVal hObject As Long) As Long
Declare Function CloseINFEngine lib "advpack" (ByRef hInf As Long) As Long
Declare Function CloseMetaFile Lib "gdi32" Alias "CloseMetaFile" (ByVal hMF As Long) As Long
Declare Function CloseNtmsNotification lib "ntmsapi" (ByVal hNotification As Long) As Long
Declare Function CloseNtmsSession lib "ntmsapi" (ByVal hSession As Long) As Long
Declare Function ClosePrinter Lib "winspool.drv" Alias "ClosePrinter" (ByVal hPrinter As Long) As Long
Declare Function CloseServiceHandle Lib "advapi32.dll" Alias "CloseServiceHandle" (ByVal hSCObject As Long) As Long
Declare Function closesocket lib "ws2_32" (ByVal s As Long) As Long
Declare Function CloseWindow Lib "user32" Alias "CloseWindow" (ByVal hwnd As Long) As Long
Declare Function CloseWindowStation Lib "user32" Alias "CloseWindowStation" (ByVal hWinSta As Long) As Long
Declare Function CLSIDFromProgID lib "ole32" (ByRef TSzProgID As String, ByRef T As Long) As Long
Declare Function ClusterCloseEnum lib "clusapi" (ByRef hEnum As HCLUSENUM) As Long
Declare Function ClusterControl lib "clusapi" (ByRef hCluster As hCluster, ByRef hHostNode As Long, ByVal dwControlCode As Long, lpInBuffer As Any, ByVal nInBufferSize As Long, lpOutBuffer As Any, ByVal nOutBufferSize As Long, ByRef lpBytesReturned As Long) As Long
Declare Function ClusterEnum lib "clusapi" (ByRef hEnum As HCLUSENUM, ByVal dwIndex As Long, ByRef lpdwType As Long, ByVal lpszName As String, ByRef lpcchName As Long) As Long
Declare Function ClusterGroupCloseEnum lib "clusapi" (ByRef hGroupEnum As hGroupEnum) As Long
Declare Function ClusterGroupControl lib "clusapi" (ByRef hGroup As hGroup, ByRef hHostNode As Long, ByVal dwControlCode As Long, lpInBuffer As Any, ByVal cbInBufferSize As Long, lpOutBuffer As Any, ByVal cbOutBufferSize As Long, ByRef lpcbBytesReturned As Long) As Long
Declare Function ClusterGroupEnum lib "clusapi" (ByRef hGroupEnum As hGroupEnum, ByVal dwIndex As Long, ByRef lpdwType As Long, ByVal lpszResourceName As String, ByRef lpcchName As Long) As Long
Declare Function ClusterNodeCloseEnum lib "clusapi" (ByRef hNodeEnum As hNodeEnum) As Long
Declare Function ClusterNodeControl lib "clusapi" (ByRef hNode As hNode, ByRef hHostNode As Long, ByVal dwControlCode As Long, lpInBuffer As Any, ByVal cbInBufferSize As Long, lpOutBuffer As Any, ByVal cbOutBufferSize As Long, ByRef lpcbBytesReturned As Long) As Long
Declare Function ClusterNodeEnum lib "clusapi" (ByRef hNodeEnum As hNodeEnum, ByVal dwIndex As Long, ByRef lpdwType As Long, ByVal lpszName As String, ByRef lpcchName As Long) As Long
Declare Function ClusterResourceControl lib "clusapi" (ByRef hResource As hResource, ByRef hHostNode As Long, ByVal dwControlCode As Long, lpInBuffer As Any, ByVal cbInBufferSize As Long, lpOutBuffer As Any, ByVal cbOutBufferSize As Long, ByRef lpcbBytesReturned As Long) As Long
Declare Function ClusterResourceTypeControl lib "clusapi" (ByRef hCluster As hCluster, ByVal ResourceTypeName As String, ByRef hHostNode As Long, ByVal dwControlCode As Long, lpInBuffer As Any, ByVal cbInBufferSize As Long, lpOutBuffer As Any, ByVal cbOutBufferSize As Long, ByRef lpcbBytesReturned As Long) As Long
Declare Function ClusWorkerCheckTerminate lib "resutils" (ByRef lpWorker As PCLUS_WORKER) As Long
Declare Function ClusWorkerCreate lib "resutils" (ByRef lpWorker As PCLUS_WORKER, ByRef lpStartAddress As PWORKER_START_ROUTINE, lpParameter As Any) As Long
Declare Function cmc_act_on lib "MAPI32" (ByVal session As Long, ByRef message_reference As CMC_message_reference, ByVal Operation As Long, ByVal act_on_flags As Long, ByVal ui_id As Long, ByRef act_on_extensions As CMC_extension) As Long
Declare Function cmc_free lib "MAPI32" (memory As Any) As Long
Declare Function cmc_list lib "MAPI32" (ByVal session As Long, ByVal message_type As String, ByVal list_flags As Long, ByRef seed As CMC_message_reference, ByRef count As Long, ByVal ui_id As Long, ByRef result As CMC_message_summary, ByRef list_extensions As CMC_extension) As Long
Declare Function cmc_logoff lib "MAPI32" (ByVal session As Long, ByVal ui_id As Long, ByVal logoff_flags As Long, ByRef logoff_extensions As CMC_extension) As Long
Declare Function cmc_logon lib "MAPI32" (ByVal service As String, ByVal User As String, ByVal passWord As String, ByVal character_set As String, ByVal ui_id As Long, ByVal caller_cmc_version As Integer, ByVal logon_flags As Long, ByRef session As Long, ByRef logon_extensions As CMC_extension) As Long
Declare Function cmc_look_up lib "MAPI32" (ByVal session As Long, ByRef recipient_in As CMC_recipient, ByVal look_up_flags As Long, ByVal ui_id As Long, ByRef count As Long, ByRef recipient_out As CMC_recipient, ByRef look_up_extensions As CMC_extension) As Long
Declare Function cmc_query_configuration lib "MAPI32" (ByVal session As Long, ByVal item As Long, reference As Any, ByRef config_extensions As CMC_extension) As Long
Declare Function cmc_read lib "MAPI32" (ByVal session As Long, ByRef message_reference As CMC_message_reference, ByVal read_flags As Long, ByRef message As CMC_message, ByVal ui_id As Long, ByRef read_extensions As CMC_extension) As Long
Declare Function cmc_send lib "MAPI32" (ByVal session As Long, ByRef message As CMC_message, ByVal send_flags As Long, ByVal ui_id As Long, ByRef send_extensions As CMC_extension) As Long
Declare Function cmc_send_documents lib "MAPI32" (ByVal recipient_addresses As String, ByVal subject As String, ByVal text_note As String, ByVal send_doc_flags As Long, ByVal file_paths As String, ByVal file_names As String, ByVal delimiter As String, ByVal ui_id As Long) As Long
Declare Function CMCheckColors lib "icm32" (ByRef hcmTransform As Long, ByRef lpaInputColors As COLOR, ByVal nColors As Long, ByVal ctInput As Struct_MembersOf_COLORTYPE, ByVal lpaResult As String) As Long
Declare Function CMCheckColorsInGamut lib "icm32" (ByRef hcmTransform As Long, ByRef lpaRGBTriple As RGBTRIPLE, ByVal lpaResult As String, ByVal nCount As Long) As Long
Declare Function CMCheckRGBs lib "icm32" (ByRef hcmTransform As Long, lpSrcBits As Any, ByVal bmInput As Struct_MembersOf_BMFORMAT, ByVal dwWidth As Long, ByVal dwHeight As Long, ByVal dwStride As Long, ByVal lpaResult As String, ByRef pfnCallback As PBMCALLBACKFN, ByVal ulCallbackData As Long) As Long
Declare Function CMConvertColorNameToIndex lib "icm32" (ByRef hProfile As Long, ByRef paColorName As PCOLOR_NAME, ByRef paIndex As Long, ByVal dwCount As Long) As Long
Declare Function CMConvertIndexToColorName lib "icm32" (ByRef hProfile As Long, ByRef paIndex As Long, ByRef paColorName As PCOLOR_NAME, ByVal dwCount As Long) As Long
Declare Function CMCreateDeviceLinkProfile lib "icm32" (ByRef pahProfiles As PHPROFILE, ByVal nProfiles As Long, ByRef padwIntents As Long, ByVal nIntents As Long, ByVal dwFlags As Long, ByVal lpProfileData As String) As Long
Declare Function CMCreateProfile lib "icm32" (ByRef lpColorSpace As LOGCOLORSPACE, ByRef lpProfileData As DEVCHARACTER) As Long
Declare Function CMDeleteTransform lib "icm32" (ByRef hcmTransform As Long) As Long
Declare Function CMGetInfo lib "icm32" (ByVal dwInfo As Long) As Long
Declare Function CMGetNamedProfileInfo lib "icm32" (ByRef hProfile As Long, ByRef pNamedProfileInfo As PNAMED_PROFILE_INFO) As Long
Declare Function CMIsProfileValid lib "icm32" (ByRef hProfile As Long, ByRef lpbValid As Long) As Long
Declare Function CMTranslateColors lib "icm32" (ByRef hcmTransform As Long, ByRef lpaInputColors As COLOR, ByVal nColors As Long, ByVal ctInput As Struct_MembersOf_COLORTYPE, ByRef lpaOutputColors As COLOR, ByVal ctOutput As Struct_MembersOf_COLORTYPE) As Long
Declare Function CMTranslateRGB lib "icm32" (ByRef hcmTransform As Long, ByVal ColorRef As Long, ByRef lpColorRef As Long, ByVal dwFlags As Long) As Long
Declare Function CMTranslateRGBs lib "icm32" (ByRef hcmTransform As Long, lpSrcBits As Any, ByVal bmInput As Struct_MembersOf_BMFORMAT, ByVal dwWidth As Long, ByVal dwHeight As Long, ByVal dwStride As Long, lpDestBits As Any, ByVal bmOutput As Struct_MembersOf_BMFORMAT, ByVal dwTranslateDirection As Long) As Long
Declare Function CMTranslateRGBsExt lib "icm32" (ByRef hcmTransform As Long, lpSrcBits As Any, ByVal bmInput As Struct_MembersOf_BMFORMAT, ByVal dwWidth As Long, ByVal dwHeight As Long, ByVal dwInputStride As Long, lpDestBits As Any, ByVal bmOutput As Struct_MembersOf_BMFORMAT, ByVal dwOutputStride As Long, ByRef lpfnCallback As BMCALLBACKFN, ByVal ulCallbackData As Long) As Long
Declare Function CoAddRefServerProcess lib "ole32" () As Long
Declare Function CoBuildVersion lib "ole32" () As Long
Declare Function CoDosDateTimeToFileTime lib "ole32" (ByVal nDosDate As Integer, ByVal nDosTime As Integer, ByRef lpFileTime As FILETIME) As Long
Declare Function CoFileTimeToDosDateTime lib "ole32" (ByRef lpFileTime As FILETIME, ByRef lpDosDate As Integer, ByRef lpDosTime As Integer) As Long
Declare Function CoGetCurrentProcess lib "ole32" () As Long
Declare Function CoIsHandlerConnected lib "ole32" (ByVal pUnk As Long) As Long
Declare Function CoIsOle1Class lib "ole32" (ByVal rclsid As Long) As Long
Declare Function CoLoadLibrary lib "ole32" (ByVal lpszLibName As String, ByVal bAutoFree As Long) As Long
Declare Function ColorAdjustLuma lib "shlwapi" (ByVal clrRGB As Long, ByVal n As Long, ByVal fScale As Long) As Long
Declare Function ColorCorrectPalette lib "gdi32" (ByVal hdc As Long, ByVal hpalette As Long, ByVal dword As Long, ByVal dword As Long) As Long
Declare Function ColorHLSToRGB lib "shlwapi" (ByVal wHue As Integer, ByVal wLuminance As Integer, ByVal wSaturation As Integer) As Long
Declare Function ColorMatchToTarget Lib "gdi32" Alias "ColorMatchToTarget" (ByVal hdc As Long, ByVal hdc2 As Long, ByVal dw As Long) As Long
Declare Function CombineRgn Lib "gdi32" Alias "CombineRgn" (ByVal hDestRgn As Long, ByVal hSrcRgn1 As Long, ByVal hSrcRgn2 As Long, ByVal nCombineMode As Long) As Long
Declare Function CombineTransform Lib "gdi32" Alias "CombineTransform" (lpxformResult As xform, lpxform1 As xform, lpxform2 As xform) As Long
Declare Function CommandLineToArgv Lib "shell32" Alias "CommandLineToArgvW" (ByVal lpCmdLine As String, pNumArgs As Integer) As Long
Declare Function CommConfigDialog Lib "kernel32" Alias "CommConfigDialogA" (ByVal lpszName As String, ByVal hWnd As Long, lpCC As COMMCONFIG) As Long
Declare Function CommDlgExtendedError Lib "comdlg32.dll" Alias "CommDlgExtendedError" () As Long
Declare Function CompareFileTime Lib "kernel32" Alias "CompareFileTime" (lpFileTime1 As FILETIME, lpFileTime2 As FILETIME) As Long
Declare Function CompareString Lib "kernel32" Alias "CompareStringA" (ByVal Locale As Long, ByVal dwCmpFlags As Long, ByVal lpString1 As String, ByVal cchCount1 As Long, ByVal lpString2 As String, ByVal cchCount2 As Long) As Long
Declare Function CompressText lib "ftsrch" (ByVal hcmp As Long, ByVal pbText As String, ByVal cbText As Long, ByVal ppbCompressed As String, ByVal iCharset As Long) As Long
Declare Function ConfigDSN lib "msorcl32" (ByVal hwndParent As Long, ByVal fRequest As Integer, ByVal lpszDriver As String, ByVal lpszAttributes As String) As Long
Declare Function ConfigTranslator lib "mscpxl32" (ByVal hwndParent As Long, ByRef pvOption As Long) As Long
Declare Function ConfigurePort Lib "winspool.drv" Alias "ConfigurePortA" (ByVal pName As String, ByVal hwnd As Long, ByVal pPortName As String) As Long
Declare Function connect lib "ws2_32" (ByVal s As Long, ByRef name As sockaddr, ByVal namelen As Long) As Long
Declare Function ConnectNamedPipe Lib "kernel32" Alias "ConnectNamedPipe" (ByVal hNamedPipe As Long, lpOverlapped As OVERLAPPED) As Long
Declare Function ConnectToPrinterDlg Lib "winspool.drv" Alias "ConnectToPrinterDlg" (ByVal hwnd As Long, ByVal flags As Long) As Long
Declare Function ContinueDebugEvent Lib "kernel32" Alias "ContinueDebugEvent" (ByVal dwProcessId As Long, ByVal dwThreadId As Long, ByVal dwContinueStatus As Long) As Long
Declare Function ControlService Lib "advapi32.dll" Alias "ControlService" (ByVal hService As Long, ByVal dwControl As Long, lpServiceStatus As SERVICE_STATUS) As Long
Declare Function ConvertColorNameToIndex lib "mscms" (ByRef THPROFILE As Long, ByRef TPCOLOR_NAME As PCOLOR_NAME, ByRef pdword As Long, ByVal dword As Long) As Long
Declare Function ConvertDefaultLocale Lib "KERNEL32" Alias "ConvertDefaultLocale" (ByVal Locale As Long) As Long
Declare Function ConvertIndexToColorName lib "mscms" (ByRef THPROFILE As Long, ByRef pdword As Long, ByRef TPCOLOR_NAME As PCOLOR_NAME, ByVal dword As Long) As Long
Declare Function ConvertSecurityDescriptorToStringSecurityDescriptor lib "ADVAPI32" (ByRef SecurityDescriptor As SECURITY_DESCRIPTOR, ByVal RequestedStringSDRevision As Long, ByVal SecurityInformation As Long, ByVal StringSecurityDescriptor As String, ByRef StringSecurityDescriptorLen As Long) As Long
Declare Function ConvertSidToStringSid lib "ADVAPI32" (ByRef Sid As Sid, ByVal StringSid As String) As Long
Declare Function ConvertStringSecurityDescriptorToSecurityDescriptor lib "ADVAPI32" (ByVal StringSecurityDescriptor As String, ByVal StringSDRevision As Long, ByRef SecurityDescriptor As SECURITY_DESCRIPTOR, ByRef SecurityDescriptorSize As Long) As Long
Declare Function ConvertStringSidToSid lib "ADVAPI32" (ByVal StringSid As String, ByRef Sid As Sid) As Long
Declare Function ConvertThreadToFiber lib "kernel32" (lpParameter As Any) As Long
Declare Function ConvertToAutoInheritPrivateObjectSecurity lib "advapi32" (ByRef ParentDescriptor As SECURITY_DESCRIPTOR, ByRef CurrentSecurityDescriptor As SECURITY_DESCRIPTOR, ByRef NewSecurityDescriptor As SECURITY_DESCRIPTOR, ByRef ObjectType As GUID, ByVal IsDirectoryObject As Long, ByRef GenericMapping As GENERIC_MAPPING) As Long
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" Alias "CopyCursor" (ByVal hcur As Long) As Long
Declare Function CopyEnhMetaFile Lib "gdi32" Alias "CopyEnhMetaFileA" (ByVal hemfSrc As Long, ByVal lpszFile As String) As Long
Declare Function CopyFile Lib "kernel32" Alias "CopyFileA" (ByVal lpExistingFileName As String, ByVal lpNewFileName As String, ByVal bFailIfExists As Long) As Long
Declare Function CopyFileEx lib "kernel32" Alias "CopyFileExA" (ByVal lpExistingFileName As String, ByVal lpNewFileName As String, ByRef lpProgressRoutine As PROGRESS_ROUTINE, lpData As Any, ByRef pbCancel As Long, ByVal dwCopyFlags As Long) As Long
Declare Function CopyIcon Lib "user32" Alias "CopyIcon" (ByVal hIcon As Long) As Long
Declare Function CopyImage Lib "user32" Alias "CopyImage" (ByVal handle As Long, ByVal un1 As Long, ByVal n1 As Long, ByVal n2 As Long, ByVal un2 As Long) As Long
Declare Function CopyLZFile Lib "lz32.dll" Alias "CopyLZFile" (ByVal n1 As Long, ByVal n2 As Long) As Long
Declare Function CopyMetaFile Lib "gdi32" Alias "CopyMetaFileA" (ByVal hMF As Long, ByVal lpFileName As String) As Long
Declare Function CopyRect Lib "user32" Alias "CopyRect" (lpDestRect As RECT, lpSourceRect As RECT) As Long
Declare Function CopySid Lib "advapi32.dll" Alias "CopySid" (ByVal nDestinationSidLength As Long, pDestinationSid As Any, pSourceSid As Any) As Long
Declare Function CoReleaseServerProcess lib "ole32" () As Long
Declare Function CoTaskMemAlloc lib "ole32" (ByVal cb As Long) As Long
Declare Function CoTaskMemRealloc lib "ole32" (pv As Any, ByVal cb As Long) As Long
Declare Function CountClipboardFormats Lib "user32" Alias "CountClipboardFormats" () As Long
Declare Function CountHilites lib "ftsrch" (ByVal hhil As Long, ByVal base As Long, ByVal limit As Long) As Long
Declare Function CreateAcceleratorTable Lib "user32" Alias "CreateAcceleratorTableA" (lpaccl As ACCEL, ByVal cEntries As Long) As Long
Declare Function CreateBitmap Lib "gdi32" Alias "CreateBitmap" (ByVal nWidth As Long, ByVal nHeight As Long, ByVal nPlanes As Long, ByVal nBitCount As Long, lpBits As Any) As Long
Declare Function CreateBitmapIndirect Lib "gdi32" Alias "CreateBitmapIndirect" (lpBitmap As BITMAP) As Long
Declare Function CreateBlob lib "npptools" (ByRef phBlob As hBlob) As Long
Declare Function CreateBrushIndirect Lib "gdi32" Alias "CreateBrushIndirect" (lpLogBrush As LOGBRUSH) As Long
Declare Function CreateCaret Lib "user32" Alias "CreateCaret" (ByVal hwnd As Long, ByVal hBitmap As Long, ByVal nWidth As Long, ByVal nHeight As Long) As Long
Declare Function CreateColorSpace Lib "gdi32" Alias "CreateColorSpaceA" (lplogcolorspace As LOGCOLORSPACE) As Long
Declare Function CreateCompatibleBitmap Lib "gdi32" Alias "CreateCompatibleBitmap" (ByVal hdc As Long, ByVal nWidth As Long, ByVal nHeight As Long) As Long
Declare Function CreateCompatibleDC Lib "gdi32" Alias "CreateCompatibleDC" (ByVal hdc As Long) As Long
Declare Function CreateConsoleScreenBuffer Lib "kernel32" Alias "CreateConsoleScreenBuffer" (ByVal dwDesiredAccess As Long, ByVal dwShareMode As Long, lpSecurityAttributes As SECURITY_ATTRIBUTES, ByVal dwFlags As Long, lpScreenBufferData As Any) As Long
Declare Function CreateCursor Lib "user32" Alias "CreateCursor" (ByVal hInstance As Long, ByVal nXhotspot As Long, ByVal nYhotspot As Long, ByVal nWidth As Long, ByVal nHeight As Long, lpANDbitPlane As Any, lpXORbitPlane As Any) As Long
Declare Function CreateDC Lib "gdi32" Alias "CreateDCA" (ByVal lpDriverName As String, ByVal lpDeviceName As String, ByVal lpOutput As String, lpInitData As DEVMODE) As Long
Declare Function CreateDCBynum Lib "gdi32" Alias "CreateDCA" (ByVal lpDriverName As String, ByVal lpDeviceName As String, ByVal lpOutput As String, ByVal lpInitData As Long) As Long
Declare Function CreateDesktop Lib "user32" Alias "CreateDesktopA" (ByVal lpszDesktop As String, ByVal lpszDevice As String, pDevmode As DEVMODE, ByVal dwFlags As Long, ByVal dwDesiredAccess As Long, lpsa As SECURITY_ATTRIBUTES) As Long
Declare Function CreateDeviceLinkProfile lib "mscms" (ByRef TPHPROFILE As PHPROFILE, ByVal dword As Long, ByRef pdword As Long, ByVal dword As Long, ByVal dword As Long, ByVal pbyte As String, ByVal dword As Long) As Long
Declare Function CreateDialogIndirectParam Lib "user32" Alias "CreateDialogIndirectParamA" (ByVal hInstance As Long, lpTemplate As DLGTEMPLATE, ByVal hWndParent As Long, ByVal lpDialogFunc As Long, ByVal dwInitParam As Long) As Long
Declare Function CreateDialogParam Lib "user32" Alias "CreateDialogParamA" (ByVal hInstance As Long, ByVal lpName As String, ByVal hWndParent As Long, ByVal lpDialogFunc As Long, ByVal lParamInit As Long) As Long
Declare Function CreateDIBitmap Lib "gdi32" Alias "CreateDIBitmap" (ByVal hdc As Long, lpInfoHeader As BITMAPINFOHEADER, ByVal dwUsage As Long, lpInitBits As Any, lpInitInfo As BITMAPINFO, ByVal wUsage As Long) As Long
Declare Function CreateDIBPatternBrush Lib "gdi32" Alias "CreateDIBPatternBrush" (ByVal hPackedDIB As Long, ByVal wUsage As Long) As Long
Declare Function CreateDIBPatternBrushPt Lib "gdi32" Alias "CreateDIBPatternBrushPt" (lpPackedDIB As Any, ByVal iUsage As Long) As Long
Declare Function CreateDIBSection Lib "gdi32" Alias "CreateDIBSection" (ByVal hDC As Long, pBitmapInfo As BITMAPINFO, ByVal un As Long, lplpVoid As Long, ByVal handle As Long, ByVal dw As Long) As Long
Declare Function CreateDirectory Lib "kernel32" Alias "CreateDirectoryA" (ByVal lpPathName As String, lpSecurityAttributes As SECURITY_ATTRIBUTES) As Long
Declare Function CreateDirectoryEx Lib "kernel32" Alias "CreateDirectoryExA" (ByVal lpTemplateDirectory As String, ByVal lpNewDirectory As String, lpSecurityAttributes As SECURITY_ATTRIBUTES) As Long
Declare Function CreateDiscardableBitmap Lib "gdi32" Alias "CreateDiscardableBitmap" (ByVal hdc As Long, ByVal nWidth As Long, ByVal nHeight As Long) As Long
Declare Function CreateEllipticRgn Lib "gdi32" Alias "CreateEllipticRgn" (ByVal X1 As Long, ByVal Y1 As Long, ByVal X2 As Long, ByVal Y2 As Long) As Long
Declare Function CreateEllipticRgnIndirect Lib "gdi32" Alias "CreateEllipticRgnIndirect" (lpRect As Rect) As Long
Declare Function CreateEnhMetaFile Lib "gdi32" Alias "CreateEnhMetaFileA" (ByVal hdcRef As Long, ByVal lpFileName As String, lpRect As RECT, ByVal lpDescription As String) As Long
Declare Function CreateEnvironmentBlock lib "userenv" (lpEnvironment As Any, ByVal hToken As Long, ByVal bInherit As Long) As Long
Declare Function CreateEvent Lib "kernel32" Alias "CreateEventA" (lpEventAttributes As SECURITY_ATTRIBUTES, ByVal bManualReset As Long, ByVal bInitialState As Long, ByVal lpName As String) As Long
Declare Function CreateFiber lib "kernel32" (ByVal dwStackSize As Long, ByRef lpStartAddress As FIBER_START_ROUTINE, lpParameter As Any) As Long
Declare Function CreateFile Lib "kernel32" Alias "CreateFileA" (ByVal lpFileName As String, ByVal dwDesiredAccess As Long, ByVal dwShareMode As Long, lpSecurityAttributes As SECURITY_ATTRIBUTES, ByVal dwCreationDisposition As Long, ByVal dwFlagsAndAttributes As Long, ByVal hTemplateFile As Long) As Long
Declare Function CreateFileMapping Lib "kernel32" Alias "CreateFileMappingA" (ByVal hFile As Long, lpFileMappingAttributes As SECURITY_ATTRIBUTES, ByVal flProtect As Long, ByVal dwMaximumSizeHigh As Long, ByVal dwMaximumSizeLow As Long, ByVal lpName As String) As Long
Declare Function CreateFont Lib "gdi32" Alias "CreateFontA" (ByVal H As Long, ByVal W As Long, ByVal E As Long, ByVal O As Long, ByVal W2 As Long, ByVal I As Long, ByVal u As Long, ByVal S As Long, ByVal C As Long, ByVal OP As Long, ByVal CP As Long, ByVal Q As Long, ByVal PAF As Long, ByVal F As String) As Long
Declare Function CreateFontIndirect Lib "gdi32" Alias "CreateFontIndirectA" (lpLogFont As LOGFONT) As Long
Declare Function CreateFontIndirectEx lib "gdi32" Alias "CreateFontIndirectExA" (ByRef ENUMLOGFONTEXDVA As ENUMLOGFONTEXDVA) As Long
Declare Function CreateGPOLink lib "gpedit" (ByVal lpGPO As String, ByVal lpContainer As String, ByVal fHighPriority As Long) As Long
Declare Function CreateHalftonePalette Lib "gdi32" Alias "CreateHalftonePalette" (ByVal hdc As Long) As Long
Declare Function CreateHardLink lib "kernel32" Alias "CreateHardLinkA" (ByVal lpFileName As String, ByVal lpExistingFileName As String, ByRef lpSecurityAttributes As SECURITY_ATTRIBUTES) As Long
Declare Function CreateHatchBrush Lib "gdi32" Alias "CreateHatchBrush" (ByVal nIndex As Long, ByVal crColor As Long) As Long
Declare Function CreateIC Lib "gdi32" Alias "CreateICA" (ByVal lpDriverName As String, ByVal lpDeviceName As String, ByVal lpOutput As String, lpInitData As DEVMODE) As Long
Declare Function CreateICBynum Lib "gdi32" Alias "CreateICA" (ByVal lpDriverName As String, ByVal lpDeviceName As String, ByVal lpOutput As String, lpInitData As Long) As Long
Declare Function CreateIcon Lib "user32" Alias "CreateIcon" (ByVal hInstance As Long, ByVal nWidth As Long, ByVal nHeight As Long, ByVal nPlanes As Byte, ByVal nBitsPixel As Byte, lpANDbits As Byte, lpXORbits As Byte) As Long
Declare Function CreateIconFromResource Lib "user32" Alias "CreateIconFromResource" (presbits As Byte, ByVal dwResSize As Long, ByVal fIcon As Long, ByVal dwVer As Long) As Long
Declare Function CreateIconFromResourceEx Lib "user32" Alias "CreateIconFromResourceEx" (presbits As Byte, ByVal dwResSize As Long, ByVal fIcon As Long, ByVal dwVer As Long, ByVal cxDesired As Long, ByVal cyDesired As Long, ByVal uFlags As Long) As Long
Declare Function CreateIconIndirect Lib "user32" Alias "CreateIconIndirect" (piconinfo As ICONINFO) As Long
Declare Function CreateInstance lib "mpg4dmod" (pfnCreateInstance As Any, ByVal riid As Long, ppvObj As Any) As Long
Declare Function CreateIoCompletionPort Lib "kernel32" Alias "CreateIoCompletionPort" (ByVal FileHandle As Long, ByVal ExistingCompletionPort As Long, ByVal CompletionKey As Long, ByVal NumberOfConcurrentThreads As Long) As Long
Declare Function CreateIpForwardEntry lib "IPHLPAPI" (ByRef pRoute As PMIB_IPFORWARDROW) As Long
Declare Function CreateIpNetEntry lib "IPHLPAPI" (ByRef pArpEntry As PMIB_IPNETROW) As Long
Declare Function CreateJobObject lib "kernel32" Alias "CreateJobObjectA" (ByRef lpJobAttributes As SECURITY_ATTRIBUTES, ByVal lpName As String) As Long
Declare Function CreateMailslot Lib "kernel32" Alias "CreateMailslotA" (ByVal lpName As String, ByVal nMaxMessageSize As Long, ByVal lReadTimeout As Long, lpSecurityAttributes As SECURITY_ATTRIBUTES) As Long
Declare Function CreateMappedBitmap lib "comctl32" (ByVal hInstance As Long, ByRef idBitmap As T_PTR, ByVal wFlags As Long, ByRef lpColorMap As ColorMap, ByValumMaps As Long) As Long
Declare Function CreateMDIWindow Lib "user32" Alias "CreateMDIWindowA" (ByVal lpClassName As String, ByVal lpWindowName As String, ByVal dwStyle As Long, ByVal x As Long, ByVal y As Long, ByVal nWidth As Long, ByVal nHeight As Long, ByVal hWndParent As Long, ByVal hInstance As Long, ByVal lParam As Long) As Long
Declare Function CreateMenu Lib "user32" Alias "CreateMenu" () As Long
Declare Function CreateMetaFile Lib "gdi32" Alias "CreateMetaFileA" (ByVal lpString As String) As Long
Declare Function CreateMutex Lib "kernel32" Alias "CreateMutexA" (lpMutexAttributes As SECURITY_ATTRIBUTES, ByVal bInitialOwner As Long, ByVal lpName As String) As Long
Declare Function CreateNamedPipe Lib "kernel32" Alias "CreateNamedPipeA" (ByVal lpName As String, ByVal dwOpenMode As Long, ByVal dwPipeMode As Long, ByVal nMaxInstances As Long, ByVal nOutBufferSize As Long, ByVal nInBufferSize As Long, ByVal nDefaultTimeOut As Long, lpSecurityAttributes As SECURITY_ATTRIBUTES) As Long
Declare Function CreateNPPInterface lib "npptools" (ByRef hBlob As hBlob, ByVal iid As Long, ppvObject As Any) As Long
Declare Function CreateNtmsMediaPool lib "ntmsapi" (ByVal hSession As Long, ByVal lpPoolName As String, ByRef lpMediaType As LPNTMS_GUID, ByVal dwAction As Long, ByRef lpSecurityAttributes As SECURITY_ATTRIBUTES, ByRef lpPoolId As LPNTMS_GUID) As Long
Declare Function CreatePalette Lib "gdi32" Alias "CreatePalette" (lpLogPalette As LOGPALETTE) As Long
Declare Function CreatePatternBrush Lib "gdi32" Alias "CreatePatternBrush" (ByVal hBitmap As Long) As Long
Declare Function CreatePen Lib "gdi32" Alias "CreatePen" (ByVal nPenStyle As Long, ByVal nWidth As Long, ByVal crColor As Long) As Long
Declare Function CreatePenIndirect Lib "gdi32" Alias "CreatePenIndirect" (lpLogPen As LOGPEN) As Long
Declare Function CreatePipe Lib "kernel32" Alias "CreatePipe" (phReadPipe As Long, phWritePipe As Long, lpPipeAttributes As SECURITY_ATTRIBUTES, ByVal nSize As Long) As Long
Declare Function CreatePolygonRgn Lib "gdi32" Alias "CreatePolygonRgn" (lpPoint As POINTAPI, ByVal nCount As Long, ByVal nPolyFillMode As Long) As Long
Declare Function CreatePolyPolygonRgn Lib "gdi32" Alias "CreatePolyPolygonRgn" (lpPoint As POINTAPI, lpPolyCounts As Long, ByVal nCount As Long, ByVal nPolyFillMode As Long) As Long
Declare Function CreatePopupMenu Lib "user32" Alias "CreatePopupMenu" () As Long
Declare Function CreatePrivateObjectSecurity Lib "advapi32.dll" Alias "CreatePrivateObjectSecurity" (ParentDescriptor As SECURITY_DESCRIPTOR, CreatorDescriptor As SECURITY_DESCRIPTOR, NewDescriptor As SECURITY_DESCRIPTOR, ByVal IsDirectoryObject As Long, ByVal Token As Long, GenericMapping As GENERIC_MAPPING) As Long
Declare Function CreatePrivateObjectSecurityEx lib "advapi32" (ByRef ParentDescriptor As SECURITY_DESCRIPTOR, ByRef CreatorDescriptor As SECURITY_DESCRIPTOR, ByRef NewDescriptor As SECURITY_DESCRIPTOR, ByRef ObjectType As GUID, ByVal IsContainerObject As Long, ByVal AutoInheritFlags As Long, ByVal Token As Long, ByRef GenericMapping As GENERIC_MAPPING) As Long
Declare Function CreateProcess Lib "kernel32" Alias "CreateProcessA" (ByVal lpApplicationName As String, ByVal lpCommandLine As String, lpProcessAttributes As SECURITY_ATTRIBUTES, lpThreadAttributes As SECURITY_ATTRIBUTES, ByVal bInheritHandles As Long, ByVal dwCreationFlags As Long, lpEnvironment As Any, ByVal lpCurrentDirectory As String, lpStartupInfo As STARTUPINFO, lpProcessInformation As PROCESS_INFORMATION) As Long
Declare Function CreateProcessAsUser Lib "kernel32" Alias "CreateProcessAsUserA" (ByVal hToken As Long, ByVal lpApplicationName As String, ByVal lpCommandLine As String,lpProcessAttributes As SECURITY_ATTRIBUTES,lpThreadAttributes As SECURITY_ATTRIBUTES, ByVal bInheritHandles As Long, ByVal dwCreationFlags As Long, ByVal lpEnvironment As String, ByVal lpCurrentDirectory As String, lpStartupInfo As STARTUPINFO, lpProcessInformation As PROCESS_INFORMATION) As Long
Declare Function CreateProfileFromLogColorSpace lib "mscms" Alias "CreateProfileFromLogColorSpaceA" (ByRef lplogcolorspacea As LOGCOLORSPACE, ByVal pbyte As String) As Long
Declare Function CreatePropertySheetPage lib "comctl32" (ByRef lpcpropsheetpagea As CPROPSHEETPAGEA) As Long
Declare Function CreateProxyArpEntry lib "IPHLPAPI" (ByVal dwAddress As Long, ByVal dwMask As Long, ByVal dwIfIndex As Long) As Long
Declare Function CreateRectRgn Lib "gdi32" Alias "CreateRectRgn" (ByVal X1 As Long, ByVal Y1 As Long, ByVal X2 As Long, ByVal Y2 As Long) As Long
Declare Function CreateRectRgnIndirect Lib "gdi32" Alias "CreateRectRgnIndirect" (lpRect As RECT) As Long
Declare Function CreateRemoteThread Lib "kernel32" Alias "CreateRemoteThread" (ByVal hProcess As Long, lpThreadAttributes As SECURITY_ATTRIBUTES, ByVal dwStackSize As Long, lpStartAddress As Long, lpParameter As Any, ByVal dwCreationFlags As Long, lpThreadId As Long) As Long
Declare Function CreateRestrictedToken lib "advapi32" (ByVal ExistingTokenHandle As Long, ByVal Flags As Long, ByVal DisableSidCount As Long, ByRef SidsToDisable As SID_AND_ATTRIBUTES, ByVal DeletePrivilegeCount As Long, ByRef PrivilegesToDelete As LUID_AND_ATTRIBUTES, ByVal RestrictedSidCount As Long, ByRef SidsToRestrict As SID_AND_ATTRIBUTES, ByRef NewTokenHandle As Long) As Long
Declare Function CreateRoundRectRgn Lib "gdi32" Alias "CreateRoundRectRgn" (ByVal X1 As Long, ByVal Y1 As Long, ByVal X2 As Long, ByVal Y2 As Long, ByVal X3 As Long, ByVal Y3 As Long) As Long
Declare Function CreateScalableFontResource Lib "gdi32" Alias "CreateScalableFontResourceA" (ByVal fHidden As Long, ByVal lpszResourceFile As String, ByVal lpszFontFile As String, ByVal lpszCurrentPath As String) As Long
Declare Function CreateSecurityPage lib "aclui" (ByRef psi As LPSECURITYINFO) As Long
Declare Function CreateSemaphore Lib "kernel32" Alias "CreateSemaphoreA" (lpSemaphoreAttributes As SECURITY_ATTRIBUTES, ByVal lInitialCount As Long, ByVal lMaximumCount As Long, ByVal lpName As String) As Long
Declare Function CreateService Lib "advapi32.dll" Alias "CreateServiceA" (ByVal hSCManager As Long, ByVal lpServiceName As String, ByVal lpDisplayName As String, ByVal dwDesiredAccess As Long, ByVal dwServiceType As Long, ByVal dwStartType As Long, ByVal dwErrorControl As Long, ByVal lpBinaryPathName As String, ByVal lpLoadOrderGroup As String, lpdwTagId As Long, ByVal lpDependencies As String, ByVal lp As String, ByVal lpPassword As String) As Long
Declare Function CreateSocketPort lib "adptif" (ByVal Socket As Integer) As Long
Declare Function CreateSolidBrush Lib "gdi32" Alias "CreateSolidBrush" (ByVal crColor As Long) As Long
Declare Function CreateStatusWindow lib "comctl32" (ByVal style As Long, ByVal lpszText As String, ByVal hwndParent As Long, ByVal wID As Long) As Long
Declare Function CreateTable lib "rtm" (ByVal lpInterface As Long, ByVal lpAllocateBuffer As Long, ByVal lpAllocateMore As Long, ByVal lpFreeBuffer As Long, lpvReserved As Any, ByVal ulTableType As Long, ByVal ulPropTagIndexColumn As Long, ByVal lpSPropTagArrayColumns As Long, ByVal lppTableData As Long) As Long
Declare Function CreateTapePartition Lib "kernel32" Alias "CreateTapePartition" (ByVal hDevice As Long, ByVal dwPartitionMethod As Long, ByVal dwCount As Long, ByVal dwSize As Long) As Long
Declare Function CreateThread Lib "kernel32" Alias "CreateThread" (lpThreadAttributes As SECURITY_ATTRIBUTES, ByVal dwStackSize As Long, lpStartAddress As Long, lpParameter As Any, ByVal dwCreationFlags As Long, lpThreadId As Long) As Long
Declare Function CreateTimerQueue lib "kernel32" () As Long
Declare Function CreateToolbarEx lib "comctl32" (ByVal hwnd As Long, ByVal ws As Long, ByVal wID As Long, ByVal nBitmaps As Long, ByVal hBMInst As Long, ByRef wBMID As Long, ByRef lpButtons As CTBBUTTON, ByVal numButtons As Long, ByVal dxButton As Long, ByVal dyButton As Long, ByVal dxBitmap As Long, ByVal dyBitmap As Long, ByVal uStructSize As Long) As Long
Declare Function CreateToolhelp32Snapshot lib "KERNEL32" (ByVal dwFlags As Long, ByVal th32ProcessID As Long) As Long
Declare Function CreateUpDownControl lib "comctl32" (ByVal dwStyle As Long, ByVal x As Long, ByVal y As Long, ByVal cx As Long, ByVal cy As Long, ByVal hParent As Long, ByVal nID As Long, ByVal hInst As Long, ByVal hBuddy As Long, ByVal nUpper As Long, ByVal nLower As Long, ByVal nPos As Long) As Long
Declare Function CreateWaitableTimer Lib "kernel32" Alias "CreateWaitableTimerA" (lpTimerAttributes As SECURITY_ATTRIBUTES, ByVal bManualReset As Long, ByVal lpName As String) As Long
Declare Function CreateWindow Lib "user32" Alias "CreateWindowA" (ByVal lpClassName As String, ByVal lpWindowName As String, ByVal dwStyle As Long, ByVal x As Long, ByVal y As Long, ByVal nWidth As Long, ByVal nHeight As Long, ByVal hWndParent As Long, ByVal hMenu As Long, ByVal hInstance As Long, lpParam As Any) As Long
Declare Function CreateWindowEx Lib "user32" Alias "CreateWindowExA" (ByVal dwExStyle As Long, ByVal lpClassName As String, ByVal lpWindowName As String, ByVal dwStyle As Long, ByVal x As Long, ByVal y As Long, ByVal nWidth As Long, ByVal nHeight As Long, ByVal hWndParent As Long, ByVal hMenu As Long, ByVal hInstance As Long, lpParam As Any) As Long
Declare Function CreateWindowStation lib "user32" Alias "CreateWindowStationA" (ByVal lpwinsta As String, ByVal dwReserved As Long, ByVal dwDesiredAccess As Long, ByRef lpsa As SECURITY_ATTRIBUTES) As Long
Declare Function CryptAcquireCertificatePrivateKey lib "crypt32" (ByRef pCert As Long, ByVal dwFlags As Long, pvReserved As Any, ByRef phCryptProv As Long, ByRef pdwKeySpec As Long, ByRef pfCallerFreeProv As Long) As Long
Declare Function CryptAcquireContext lib "advapi32" Alias "CryptAcquireContextA" (ByRef phProv As Long, ByVal pszContainer As String, ByVal pszProvider As String, ByVal dwProvType As Long, ByVal dwFlags As Long) As Long
Declare Function CryptCancelAsyncRetrieval lib "cryptnet" (ByRef hAsyncRetrieval As Long) As Long
Declare Function CryptCloseAsyncHandle lib "crypt32" (ByRef hAsync As Long) As Long
Declare Function CryptContextAddRef lib "advapi32" (ByRef hProv As Long, ByRef pdwReserved As Long, ByVal dwFlags As Long) As Long
Declare Function CryptCreateAsyncHandle lib "crypt32" (ByVal dwFlags As Long, ByRef phAsync As PHCRYPTASYNC) As Long
Declare Function CryptCreateHash lib "advapi32" (ByRef hProv As Long, ByRef Algid As Long, ByRef hKey As Long, ByVal dwFlags As Long, ByRef phHash As Long) As Long
Declare Function CryptCreateKeyIdentifierFromCSP lib "crypt32" (ByVal dwCertEncodingType As Long, ByVal pszPubKeyOID As String, ByRef pPubKeyStruc As PUBLICKEYSTRUC, ByVal cbPubKeyStruc As Long, ByVal dwFlags As Long, pvReserved As Any, ByVal pbHash As String, ByRef pcbHash As Long) As Long
Declare Function CryptDecodeMessage lib "crypt32" (ByVal dwMsgTypeFlags As Long, ByRef pDecryptPara As Long, ByRef pVerifyPara As PCRYPT_VERIFY_MESSAGE_PARA, ByVal dwSignerIndex As Long, ByVal pbEncodedBlob As String, ByVal cbEncodedBlob As Long, ByVal dwPrevInnerContentType As Long, ByRef pdwMsgType As Long, ByRef pdwInnerContentType As Long, ByVal pbDecoded As String, ByRef pcbDecoded As Long, ByRef ppXchgCert As Long, ByRef ppSignerCert As Long) As Long
Declare Function CryptDecodeObject lib "crypt32" (ByVal dwCertEncodingType As Long, ByVal lpszStructType As String, ByVal pbEncoded As String, ByVal cbEncoded As Long, ByVal dwFlags As Long, pvStructInfo As Any, ByRef pcbStructInfo As Long) As Long
Declare Function CryptDecodeObjectEx lib "crypt32" (ByVal dwCertEncodingType As Long, ByVal lpszStructType As String, ByVal pbEncoded As String, ByVal cbEncoded As Long, ByVal dwFlags As Long, ByRef pDecodePara As PCRYPT_DECODE_PARA, pvStructInfo As Any, ByRef pcbStructInfo As Long) As Long
Declare Function CryptDecrypt lib "advapi32" (ByRef hKey As Long, ByRef hHash As Long, ByVal Final As Long, ByVal dwFlags As Long, ByVal pbData As String, ByRef pdwDataLen As Long) As Long
Declare Function CryptDecryptAndVerifyMessageSignature lib "crypt32" (ByRef pDecryptPara As Long, ByRef pVerifyPara As PCRYPT_VERIFY_MESSAGE_PARA, ByVal dwSignerIndex As Long, ByVal pbEncryptedBlob As String, ByVal cbEncryptedBlob As Long, ByVal pbDecrypted As String, ByRef pcbDecrypted As Long, ByRef ppXchgCert As Long, ByRef ppSignerCert As Long) As Long
Declare Function CryptDecryptMessage lib "crypt32" (ByRef pDecryptPara As Long, ByVal pbEncryptedBlob As String, ByVal cbEncryptedBlob As Long, ByVal pbDecrypted As String, ByRef pcbDecrypted As Long, ByRef ppXchgCert As Long) As Long
Declare Function CryptDeriveKey lib "advapi32" (ByRef hProv As Long, ByRef Algid As Long, ByRef hBaseData As Long, ByVal dwFlags As Long, ByRef phKey As Long) As Long
Declare Function CryptDestroyHash lib "advapi32" (ByRef hHash As Long) As Long
Declare Function CryptDestroyKey lib "advapi32" (ByRef hKey As Long) As Long
Declare Function CryptDuplicateHash lib "advapi32" (ByRef hHash As Long, ByRef pdwReserved As Long, ByVal dwFlags As Long, ByRef phHash As Long) As Long
Declare Function CryptDuplicateKey lib "advapi32" (ByRef hKey As Long, ByRef pdwReserved As Long, ByVal dwFlags As Long, ByRef phKey As Long) As Long
Declare Function CryptEncodeObject lib "crypt32" (ByVal dwCertEncodingType As Long, ByVal lpszStructType As String, pvStructInfo As Any, ByVal pbEncoded As String, ByRef pcbEncoded As Long) As Long
Declare Function CryptEncodeObjectEx lib "crypt32" (ByVal dwCertEncodingType As Long, ByVal lpszStructType As String, pvStructInfo As Any, ByVal dwFlags As Long, ByRef pEncodePara As Long, pvEncoded As Any, ByRef pcbEncoded As Long) As Long
Declare Function CryptEncrypt lib "advapi32" (ByRef hKey As Long, ByRef hHash As Long, ByVal Final As Long, ByVal dwFlags As Long, ByVal pbData As String, ByRef pdwDataLen As Long, ByVal dwBufLen As Long) As Long
Declare Function CryptEncryptMessage lib "crypt32" (ByRef pEncryptPara As PCRYPT_ENCRYPT_MESSAGE_PARA, ByVal cRecipientCert As Long, ByRef rgpRecipientCert As Long, ByVal pbToBeEncrypted As String, ByVal cbToBeEncrypted As Long, ByVal pbEncryptedBlob As String, ByRef pcbEncryptedBlob As Long) As Long
Declare Function CryptEnumKeyIdentifierProperties lib "crypt32" (ByRef pKeyIdentifier As CRYPT_HASH_BLOB, ByVal dwPropId As Long, ByVal dwFlags As Long, ByVal pwszComputerName As String, pvReserved As Any, pvArg As Any, ByRef pfnEnum As PFN_CRYPT_ENUM_KEYID_PROP) As Long
Declare Function CryptEnumOIDFunction lib "crypt32" (ByVal dwEncodingType As Long, ByVal pszFuncName As String, ByVal pszOID As String, ByVal dwFlags As Long, pvArg As Any, ByRef pfnEnumOIDFunc As Long) As Long
Declare Function CryptEnumOIDInfo lib "crypt32" (ByVal dwGroupId As Long, ByVal dwFlags As Long, pvArg As Any, ByRef pfnEnumOIDInfo As PFN_CRYPT_ENUM_OID_INFO) As Long
Declare Function CryptEnumProviders lib "advapi32" Alias "CryptEnumProvidersA" (ByVal dwIndex As Long, ByRef pdwReserved As Long, ByVal dwFlags As Long, ByRef pdwProvType As Long, ByVal pszProvName As String, ByRef pcbProvName As Long) As Long
Declare Function CryptEnumProviderTypes lib "advapi32" Alias "CryptEnumProviderTypesA" (ByVal dwIndex As Long, ByRef pdwReserved As Long, ByVal dwFlags As Long, ByRef pdwProvType As Long, ByVal pszTypeName As String, ByRef pcbTypeName As Long) As Long
Declare Function CryptExportKey lib "advapi32" (ByRef hKey As Long, ByRef hExpKey As Long, ByVal dwBlobType As Long, ByVal dwFlags As Long, ByVal pbData As String, ByRef pdwDataLen As Long) As Long
Declare Function CryptExportPKCS8 lib "crypt32" (ByRef hCryptProv As Long, ByVal dwKeySpec As Long, ByVal pszPrivateKeyObjId As String, ByVal dwFlags As Long, pvAuxInfo As Any, ByVal pbPrivateKeyBlob As String, ByRef pcbPrivateKeyBlob As Long) As Long
Declare Function CryptExportPublicKeyInfo lib "crypt32" (ByRef hCryptProv As Long, ByVal dwKeySpec As Long, ByVal dwCertEncodingType As Long, ByRef pInfo As PCERT_PUBLIC_KEY_INFO, ByRef pcbInfo As Long) As Long
Declare Function CryptExportPublicKeyInfoEx lib "crypt32" (ByRef hCryptProv As Long, ByVal dwKeySpec As Long, ByVal dwCertEncodingType As Long, ByVal pszPublicKeyObjId As String, ByVal dwFlags As Long, pvAuxInfo As Any, ByRef pInfo As PCERT_PUBLIC_KEY_INFO, ByRef pcbInfo As Long) As Long
Declare Function CryptFindCertificateKeyProvInfo lib "crypt32" (ByRef pCert As Long, ByVal dwFlags As Long, pvReserved As Any) As Long
Declare Function CryptFindLocalizedName lib "crypt32" (ByVal pwszCryptName As String) As Long
Declare Function CryptFlushTimeValidObject lib "cryptnet" (ByVal pszFlushTimeValidOid As String, pvPara As Any, ByRef pIssuer As Long, ByVal dwFlags As Long, pvReserved As Any) As Long
Declare Function CryptFormatObject lib "crypt32" (ByVal dwCertEncodingType As Long, ByVal dwFormatType As Long, ByVal dwFormatStrType As Long, pFormatStruct As Any, ByVal lpszStructType As String, ByVal pbEncoded As String, ByVal cbEncoded As Long, pbFormat As Any, ByRef pcbFormat As Long) As Long
Declare Function CryptFreeOIDFunctionAddress lib "crypt32" (ByRef hFuncAddr As Long, ByVal dwFlags As Long) As Long
Declare Function CryptGenKey lib "advapi32" (ByRef hProv As Long, ByRef Algid As Long, ByVal dwFlags As Long, ByRef phKey As Long) As Long
Declare Function CryptGenRandom lib "advapi32" (ByRef hProv As Long, ByVal dwLen As Long, ByVal pbBuffer As String) As Long
Declare Function CryptGetAsyncParam lib "crypt32" (ByRef hAsync As Long, ByVal pszParamOid As String, ppvParam As Any, ByRef ppfnFree As PFN_CRYPT_ASYNC_PARAM_FREE_FUNC) As Long
Declare Function CryptGetDefaultOIDDllList lib "crypt32" (ByRef hFuncSet As Long, ByVal dwEncodingType As Long, ByVal pwszDllList As String, ByRef pcchDllList As Long) As Long
Declare Function CryptGetDefaultOIDFunctionAddress lib "crypt32" (ByRef hFuncSet As Long, ByVal dwEncodingType As Long, ByVal pwszDll As String, ByVal dwFlags As Long, ppvFuncAddr As Any, ByRef phFuncAddr As Long) As Long
Declare Function CryptGetDefaultProvider lib "advapi32" Alias "CryptGetDefaultProviderA" (ByVal dwProvType As Long, ByRef pdwReserved As Long, ByVal dwFlags As Long, ByVal pszProvName As String, ByRef pcbProvName As Long) As Long
Declare Function CryptGetHashParam lib "advapi32" (ByVal hHash As Long, ByVal dwParam As Long, ByVal pByte As String, ByRef pdwDataLen As Long, ByVal dwFlags As Long) As Long
Declare Function CryptGetKeyIdentifierProperty lib "crypt32" (ByRef pKeyIdentifier As CRYPT_HASH_BLOB, ByVal dwPropId As Long, ByVal dwFlags As Long, ByVal pwszComputerName As String, pvReserved As Any, pvData As Any, ByRef pcbData As Long) As Long
Declare Function CryptGetKeyParam lib "advapi32" (ByRef hKey As Long, ByVal dwParam As Long, ByVal pbData As String, ByRef pdwDataLen As Long, ByVal dwFlags As Long) As Long
Declare Function CryptGetMessageSignerCount lib "crypt32" (ByVal dwMsgEncodingType As Long, ByVal pbSignedBlob As String, ByVal cbSignedBlob As Long) As Long
Declare Function CryptGetObjectUrl lib "cryptnet" (ByVal pszUrlOid As String, pvPara As Any, ByVal dwFlags As Long, ByRef pUrlArray As PCRYPT_URL_ARRAY, ByRef pcbUrlArray As Long, ByRef pUrlInfo As PCRYPT_URL_INFO, ByRef pcbUrlInfo As Long, pvReserved As Any) As Long
Declare Function CryptGetOIDFunctionAddress lib "crypt32" (ByRef hFuncSet As Long, ByVal dwEncodingType As Long, ByVal pszOID As String, ByVal dwFlags As Long, ppvFuncAddr As Any, ByRef phFuncAddr As Long) As Long
Declare Function CryptGetOIDFunctionValue lib "crypt32" (ByVal dwEncodingType As Long, ByVal pszFuncName As String, ByVal pszOID As String, ByVal pwszValueName As String, ByRef pdwValueType As Long, ByVal pbValueData As String, ByRef pcbValueData As Long) As Long
Declare Function CryptGetProvParam lib "advapi32" (ByRef hProv As Long, ByVal dwParam As Long, ByVal pByte As String, ByRef pdwDataLen As Long, ByVal dwFlags As Long) As Long
Declare Function CryptGetTimeValidObject lib "cryptnet" (ByVal pszTimeValidOid As String, pvPara As Any, ByRef pIssuer As Long, ByRef pftValidFor As FILETIME, ByVal dwFlags As Long, ByVal dwTimeout As Long, ppvObject As Any, ByRef pCredentials As PCRYPT_CREDENTIALS, pvReserved As Any) As Long
Declare Function CryptGetUserKey lib "advapi32" (ByRef hProv As Long, ByVal dwKeySpec As Long, ByRef phUserKey As Long) As Long
Declare Function CryptHashCertificate lib "crypt32" (ByRef hCryptProv As Long, ByRef Algid As Long, ByVal dwFlags As Long, ByVal pbEncoded As String, ByVal cbEncoded As Long, ByVal pbComputedHash As String, ByRef pcbComputedHash As Long) As Long
Declare Function CryptHashData lib "advapi32" (ByRef hHash As Long, ByVal pbData As String, ByVal dwDataLen As Long, ByVal dwFlags As Long) As Long
Declare Function CryptHashMessage lib "crypt32" (ByRef pHashPara As PCRYPT_HASH_MESSAGE_PARA, ByVal fDetachedHash As Long, ByVal cToBeHashed As Long, ByRef rgpbToBeHashed As String, ByRef rgcbToBeHashed As Long, ByVal pbHashedBlob As String, ByRef pcbHashedBlob As Long, ByVal pbComputedHash As String, ByRef pcbComputedHash As Long) As Long
Declare Function CryptHashPublicKeyInfo lib "crypt32" (ByRef hCryptProv As Long, ByRef Algid As Long, ByVal dwFlags As Long, ByVal dwCertEncodingType As Long, ByRef pInfo As PCERT_PUBLIC_KEY_INFO, ByVal pbComputedHash As String, ByRef pcbComputedHash As Long) As Long
Declare Function CryptHashSessionKey lib "advapi32" (ByRef hHash As Long, ByRef hKey As Long, ByVal dwFlags As Long) As Long
Declare Function CryptHashToBeSigned lib "crypt32" (ByRef hCryptProv As Long, ByVal dwCertEncodingType As Long, ByVal pbEncoded As String, ByVal cbEncoded As Long, ByVal pbComputedHash As String, ByRef pcbComputedHash As Long) As Long
Declare Function CryptImportKey lib "advapi32" (ByRef hProv As Long, ByVal pbData As String, ByVal dwDataLen As Long, ByRef hPubKey As Long, ByVal dwFlags As Long, ByRef phKey As Long) As Long
Declare Function CryptImportPKCS8 lib "crypt32" (ByRef sImportParams As CRYPT_PKCS8_IMPORT_PARAMS, ByVal dwFlags As Long, ByRef phCryptProv As Long, pvAuxInfo As Any) As Long
Declare Function CryptImportPublicKeyInfo lib "crypt32" (ByRef hCryptProv As Long, ByVal dwCertEncodingType As Long, ByRef pInfo As PCERT_PUBLIC_KEY_INFO, ByRef phKey As Long) As Long
Declare Function CryptImportPublicKeyInfoEx lib "crypt32" (ByRef hCryptProv As Long, ByVal dwCertEncodingType As Long, ByRef pInfo As PCERT_PUBLIC_KEY_INFO, ByRef aiKeyAlg As Long, ByVal dwFlags As Long, pvAuxInfo As Any, ByRef phKey As Long) As Long
Declare Function CryptInstallCancelRetrieval lib "CRYPTNET" (ByRef pfnCancel As PFN_CRYPT_CANCEL_RETRIEVAL, pvArg As Any, ByVal dwFlags As Long, pvReserved As Any) As Long
Declare Function CryptInstallDefaultContext lib "crypt32" (ByRef hCryptProv As Long, ByVal dwDefaultType As Long, pvDefaultPara As Any, ByVal dwFlags As Long, pvReserved As Any, ByRef phDefaultContext As Long) As Long
Declare Function CryptInstallOIDFunctionAddress lib "crypt32" (ByVal hModule As Long, ByVal dwEncodingType As Long, ByVal pszFuncName As String, ByVal cFuncEntry As Long, ByRef rgFuncEntry As CRYPT_OID_FUNC_ENTRY, ByVal dwFlags As Long) As Long
Declare Function CryptMemAlloc lib "crypt32" (ByVal cbSize As Long) As Long
Declare Function CryptMemRealloc lib "crypt32" (pv As Any, ByVal cbSize As Long) As Long
Declare Function CryptMsgCalculateEncodedLength lib "crypt32" (ByVal dwMsgEncodingType As Long, ByVal dwFlags As Long, ByVal dwMsgType As Long, pvMsgEncodeInfo As Any, ByVal pszInnerContentObjID As String, ByVal cbData As Long) As Long
Declare Function CryptMsgClose lib "crypt32" (ByRef hCryptMsg As Long) As Long
Declare Function CryptMsgControl lib "crypt32" (ByRef hCryptMsg As Long, ByVal dwFlags As Long, ByVal dwCtrlType As Long, pvCtrlPara As Any) As Long
Declare Function CryptMsgCountersign lib "crypt32" (ByRef hCryptMsg As Long, ByVal dwIndex As Long, ByVal cCountersigners As Long, ByRef rgCountersigners As PCMSG_SIGNER_ENCODE_INFO) As Long
Declare Function CryptMsgCountersignEncoded lib "crypt32" (ByVal dwEncodingType As Long, ByVal pbSignerInfo As String, ByVal cbSignerInfo As Long, ByVal cCountersigners As Long, ByRef rgCountersigners As PCMSG_SIGNER_ENCODE_INFO, ByVal pbCountersignature As String, ByRef pcbCountersignature As Long) As Long
Declare Function CryptMsgEncodeAndSignCTL lib "crypt32" (ByVal dwMsgEncodingType As Long, ByRef pCtlInfo As PCTL_INFO, ByRef pSignInfo As PCMSG_SIGNED_ENCODE_INFO, ByVal dwFlags As Long, ByVal pbEncoded As String, ByRef pcbEncoded As Long) As Long
Declare Function CryptMsgGetAndVerifySigner lib "crypt32" (ByRef hCryptMsg As Long, ByVal cSignerStore As Long, ByRef rghSignerStore As Long, ByVal dwFlags As Long, ByRef ppSigner As Long, ByRef pdwSignerIndex As Long) As Long
Declare Function CryptMsgGetParam lib "crypt32" (ByRef hCryptMsg As Long, ByVal dwParamType As Long, ByVal dwIndex As Long, pvData As Any, ByRef pcbData As Long) As Long
Declare Function CryptMsgSignCTL lib "crypt32" (ByVal dwMsgEncodingType As Long, ByVal pbCtlContent As String, ByVal cbCtlContent As Long, ByRef pSignInfo As PCMSG_SIGNED_ENCODE_INFO, ByVal dwFlags As Long, ByVal pbEncoded As String, ByRef pcbEncoded As Long) As Long
Declare Function CryptMsgUpdate lib "crypt32" (ByRef hCryptMsg As Long, ByVal pbData As String, ByVal cbData As Long, ByVal fFinal As Long) As Long
Declare Function CryptMsgVerifyCountersignatureEncoded lib "crypt32" (ByRef hCryptProv As Long, ByVal dwEncodingType As Long, ByVal pbSignerInfo As String, ByVal cbSignerInfo As Long, ByVal pbSignerInfoCountersignature As String, ByVal cbSignerInfoCountersignature As Long, ByRef pciCountersigner As PCERT_INFO) As Long
Declare Function CryptMsgVerifyCountersignatureEncodedEx lib "CRYPT32" (ByRef hCryptProv As hCryptProv, ByVal dwEncodingType As Long, ByVal pbSignerInfo As String, ByVal cbSignerInfo As Long, ByVal pbSignerInfoCountersignature As String, ByVal cbSignerInfoCountersignature As Long, ByVal dwSignerType As Long, pvSigner As Any, ByVal dwFlags As Long, pvReserved As Any) As Long
Declare Function CryptProtectData lib "crypt32" (ByRef pDataIn As DATA_BLOB, ByVal szDataDescr As String, ByRef pOptionalEntropy As DATA_BLOB, pvReserved As Any, ByRef pPromptStruct As CRYPTPROTECT_PROMPTSTRUCT, ByVal dwFlags As Long, ByRef pDataOut As DATA_BLOB) As Long
Declare Function CryptQueryObject lib "crypt32" (ByVal dwObjectType As Long, pvObject As Any, ByVal dwExpectedContentTypeFlags As Long, ByVal dwExpectedFormatTypeFlags As Long, ByVal dwFlags As Long, ByRef pdwMsgAndCertEncodingType As Long, ByRef pdwContentType As Long, ByRef pdwFormatType As Long, ByRef phCertStore As Long, ByRef phMsg As Long, ppvContext As Any) As Long
Declare Function CryptRegisterDefaultOIDFunction lib "crypt32" (ByVal dwEncodingType As Long, ByVal pszFuncName As String, ByVal dwIndex As Long, ByVal pwszDll As String) As Long
Declare Function CryptRegisterOIDFunction lib "crypt32" (ByVal dwEncodingType As Long, ByVal pszFuncName As String, ByVal pszOID As String, ByVal pwszDll As String, ByVal pszOverrideFuncName As String) As Long
Declare Function CryptRegisterOIDInfo lib "crypt32" (ByRef pInfo As PCCRYPT_OID_INFO, ByVal dwFlags As Long) As Long
Declare Function CryptReleaseContext lib "advapi32" (ByRef hProv As Long, ByRef dwFlags As Long) As Long
Declare Function CryptRetrieveObjectByUrl lib "cryptnet" Alias "CryptRetrieveObjectByUrlA" (ByVal pszUrl As String, ByVal pszObjectOid As String, ByVal dwRetrievalFlags As Long, ByVal dwTimeout As Long, ppvObject As Any, ByRef hAsyncRetrieve As Long, ByRef pCredentials As PCRYPT_CREDENTIALS, pvVerify As Any, pvReserved As Any) As Long
Declare Function CryptSetAsyncParam lib "crypt32" (ByRef hAsync As Long, ByVal pszParamOid As String, pvParam As Any, ByRef pfnFree As PFN_CRYPT_ASYNC_PARAM_FREE_FUNC) As Long
Declare Function CryptSetHashParam lib "advapi32" (ByRef hHash As Long, ByVal dwParam As Long, ByVal pByte As String, ByVal dwFlags As Long) As Long
Declare Function CryptSetKeyIdentifierProperty lib "crypt32" (ByRef pKeyIdentifier As CRYPT_HASH_BLOB, ByVal dwPropId As Long, ByVal dwFlags As Long, ByVal pwszComputerName As String, pvReserved As Any, pvData As Any) As Long
Declare Function CryptSetKeyParam lib "advapi32" (ByRef hKey As Long, ByVal dwParam As Long, ByVal pbData As String, ByVal dwFlags As Long) As Long
Declare Function CryptSetOIDFunctionValue lib "crypt32" (ByVal dwEncodingType As Long, ByVal pszFuncName As String, ByVal pszOID As String, ByVal pwszValueName As String, ByVal dwValueType As Long, ByVal pbValueData As String, ByVal cbValueData As Long) As Long
Declare Function CryptSetProvider lib "advapi32" Alias "CryptSetProviderA" (ByVal pszProvName As String, ByVal dwProvType As Long) As Long
Declare Function CryptSetProviderEx lib "advapi32" Alias "CryptSetProviderExA" (ByVal pszProvName As String, ByVal dwProvType As Long, ByRef pdwReserved As Long, ByVal dwFlags As Long) As Long
Declare Function CryptSetProvParam lib "advapi32" (ByRef hProv As Long, ByVal dwParam As Long, ByVal pByte As String, ByVal dwFlags As Long) As Long
Declare Function CryptSignAndEncodeCertificate lib "crypt32" (ByRef hCryptProv As Long, ByVal dwKeySpec As Long, ByVal dwCertEncodingType As Long, ByVal lpszStructType As String, pvStructInfo As Any, ByRef pSignatureAlgorithm As PCRYPT_ALGORITHM_IDENTIFIER, pvHashAuxInfo As Any, ByVal pbEncoded As String, ByRef pcbEncoded As Long) As Long
Declare Function CryptSignAndEncryptMessage lib "crypt32" (ByRef pSignPara As PCRYPT_SIGN_MESSAGE_PARA, ByRef pEncryptPara As PCRYPT_ENCRYPT_MESSAGE_PARA, ByVal cRecipientCert As Long, ByRef rgpRecipientCert As Long, ByVal pbToBeSignedAndEncrypted As String, ByVal cbToBeSignedAndEncrypted As Long, ByVal pbSignedAndEncryptedBlob As String, ByRef pcbSignedAndEncryptedBlob As Long) As Long
Declare Function CryptSignCertificate lib "crypt32" (ByRef hCryptProv As Long, ByVal dwKeySpec As Long, ByVal dwCertEncodingType As Long, ByVal pbEncodedToBeSigned As String, ByVal cbEncodedToBeSigned As Long, ByRef pSignatureAlgorithm As PCRYPT_ALGORITHM_IDENTIFIER, pvHashAuxInfo As Any, ByVal pbSignature As String, ByRef pcbSignature As Long) As Long
Declare Function CryptSignHash lib "advapi32" Alias "CryptSignHashA" (ByRef hHash As Long, ByVal dwKeySpec As Long, ByVal sDescription As String, ByVal dwFlags As Long, ByVal pbSignature As String, ByRef pdwSigLen As Long) As Long
Declare Function CryptSignMessage lib "crypt32" (ByRef pSignPara As PCRYPT_SIGN_MESSAGE_PARA, ByVal fDetachedSignature As Long, ByVal cToBeSigned As Long, ByRef rgpbToBeSigned As String, ByRef rgcbToBeSigned As Long, ByVal pbSignedBlob As String, ByRef pcbSignedBlob As Long) As Long
Declare Function CryptSignMessageWithKey lib "crypt32" (ByRef pSignPara As PCRYPT_KEY_SIGN_MESSAGE_PARA, ByVal pbToBeSigned As String, ByVal cbToBeSigned As Long, ByVal pbSignedBlob As String, ByRef pcbSignedBlob As Long) As Long
Declare Function CryptSIPAddProvider lib "CRYPT32" (ByRef psNewProv As SIP_ADD_NEWPROVIDER) As Long
Declare Function CryptSIPCreateIndirectData lib "CRYPT32" (ByRef pSubjectInfo As SIP_SUBJECTINFO, ByRef pcbIndirectData As Long, ByRef pIndirectData As SIP_INDIRECT_DATA) As Long
Declare Function CryptSIPGetSignedDataMsg lib "CRYPT32" (ByRef pSubjectInfo As SIP_SUBJECTINFO, ByRef pdwEncodingType As Long, ByVal dwIndex As Long, ByRef pcbSignedDataMsg As Long, ByVal pbSignedDataMsg As String) As Long
Declare Function CryptSIPLoad lib "CRYPT32" (ByRef pgSubject As Guid, ByVal dwFlags As Long, ByRef pSipDispatch As OUT) As Long
Declare Function CryptSIPPutSignedDataMsg lib "CRYPT32" (ByRef pSubjectInfo As SIP_SUBJECTINFO, ByVal dwEncodingType As Long, ByRef pdwIndex As Long, ByVal cbSignedDataMsg As Long, ByVal pbSignedDataMsg As String) As Long
Declare Function CryptSIPRemoveProvider lib "CRYPT32" (ByRef pgProv As Guid) As Long
Declare Function CryptSIPRemoveSignedDataMsg lib "CRYPT32" (ByRef pSubjectInfo As SIP_SUBJECTINFO, ByVal dwIndex As Long) As Long
Declare Function CryptSIPRetrieveSubjectGuid lib "CRYPT32" (ByVal FileName As String, ByVal hFileIn As Long, ByRef pgSubject As Guid) As Long
Declare Function CryptSIPVerifyIndirectData lib "CRYPT32" (ByRef pSubjectInfo As SIP_SUBJECTINFO, ByRef pIndirectData As SIP_INDIRECT_DATA) As Long
Declare Function CryptUninstallCancelRetrieval lib "CRYPTNET" (ByVal dwFlags As Long, pvReserved As Any) As Long
Declare Function CryptUninstallDefaultContext lib "crypt32" (ByRef hDefaultContext As Long, ByVal dwFlags As Long, pvReserved As Any) As Long
Declare Function CryptUnprotectData lib "crypt32" (ByRef pDataIn As DATA_BLOB, ByVal ppszDataDescr As String, ByRef pOptionalEntropy As DATA_BLOB, pvReserved As Any, ByRef pPromptStruct As CRYPTPROTECT_PROMPTSTRUCT, ByVal dwFlags As Long, ByRef pDataOut As DATA_BLOB) As Long
Declare Function CryptUnregisterDefaultOIDFunction lib "crypt32" (ByVal dwEncodingType As Long, ByVal pszFuncName As String, ByVal pwszDll As String) As Long
Declare Function CryptUnregisterOIDFunction lib "crypt32" (ByVal dwEncodingType As Long, ByVal pszFuncName As String, ByVal pszOID As String) As Long
Declare Function CryptUnregisterOIDInfo lib "crypt32" (ByRef pInfo As PCCRYPT_OID_INFO) As Long
Declare Function CryptVerifyCertificateSignature lib "crypt32" (ByRef hCryptProv As Long, ByVal dwCertEncodingType As Long, ByVal pbEncoded As String, ByVal cbEncoded As Long, ByRef pPublicKey As PCERT_PUBLIC_KEY_INFO) As Long
Declare Function CryptVerifyCertificateSignatureEx lib "CRYPT32" (ByRef hCryptProv As Long, ByVal dwCertEncodingType As Long, ByVal dwSubjectType As Long, pvSubject As Any, ByVal dwIssuerType As Long, pvIssuer As Any, ByVal dwFlags As Long, pvReserved As Any) As Long
Declare Function CryptVerifyDetachedMessageHash lib "crypt32" (ByRef pHashPara As PCRYPT_HASH_MESSAGE_PARA, ByVal pbDetachedHashBlob As String, ByVal cbDetachedHashBlob As Long, ByVal cToBeHashed As Long, ByRef rgpbToBeHashed As String, ByRef rgcbToBeHashed As Long, ByVal pbComputedHash As String, ByRef pcbComputedHash As Long) As Long
Declare Function CryptVerifyDetachedMessageSignature lib "crypt32" (ByRef pVerifyPara As PCRYPT_VERIFY_MESSAGE_PARA, ByVal dwSignerIndex As Long, ByVal pbDetachedSignBlob As String, ByVal cbDetachedSignBlob As Long, ByVal cToBeSigned As Long, ByRef rgpbToBeSigned As String, ByRef rgcbToBeSigned As Long, ByRef ppSignerCert As Long) As Long
Declare Function CryptVerifyMessageHash lib "crypt32" (ByRef pHashPara As PCRYPT_HASH_MESSAGE_PARA, ByVal pbHashedBlob As String, ByVal cbHashedBlob As Long, ByVal pbToBeHashed As String, ByRef pcbToBeHashed As Long, ByVal pbComputedHash As String, ByRef pcbComputedHash As Long) As Long
Declare Function CryptVerifyMessageSignature lib "crypt32" (ByRef pVerifyPara As PCRYPT_VERIFY_MESSAGE_PARA, ByVal dwSignerIndex As Long, ByVal pbSignedBlob As String, ByVal cbSignedBlob As Long, ByVal pbDecoded As String, ByRef pcbDecoded As Long, ByRef ppSignerCert As Long) As Long
Declare Function CryptVerifyMessageSignatureWithKey lib "crypt32" (ByRef pVerifyPara As PCRYPT_KEY_VERIFY_MESSAGE_PARA, ByRef pPublicKeyInfo As PCERT_PUBLIC_KEY_INFO, ByVal pbSignedBlob As String, ByVal cbSignedBlob As Long, ByVal pbDecoded As String, ByRef pcbDecoded As Long) As Long
Declare Function CryptVerifySignature lib "advapi32" Alias "CryptVerifySignatureA" (ByRef hHash As Long, ByVal pbSignature As String, ByVal dwSigLen As Long, ByRef hPubKey As Long, ByVal sDescription As String, ByVal dwFlags As Long) As Long
Declare Function CStdStubBuffer_AddRef lib "rpcrt4" (ByVal This As Long) As Long
Declare Function CStdStubBuffer_Connect lib "rpcrt4" (ByVal This As Long, ByVal pUnkServer As Long) As Long
Declare Function CStdStubBuffer_CountRefs lib "rpcrt4" (ByVal This As Long) As Long
Declare Function CStdStubBuffer_DebugServerQueryInterface lib "rpcrt4" (ByVal This As Long, ppv As Any) As Long
Declare Function CStdStubBuffer_Invoke lib "rpcrt4" (ByVal This As Long, ByVal pRpcMsg As Long, ByVal pRpcChannelBuffer As Long) As Long
Declare Function CStdStubBuffer_IsIIDSupported lib "rpcrt4" (ByVal This As Long, ByVal riid As Long) As Long
Declare Function CStdStubBuffer_QueryInterface lib "rpcrt4" (ByVal This As Long, ByVal riid As Long, ppvObject As Any) As Long
Declare Function dbprtype lib "ODBCBCP" (ByVal intx As Long) As Long
Declare Function DceErrorInqText lib "rpcrt4" Alias "DceErrorInqTextA" (ByVal RpcStatus As Long, ByVal ErrorText As String) As Long
Declare Function DdeAbandonTransaction Lib "user32" Alias "DdeAbandonTransaction" (ByVal idInst As Long, ByVal hConv As Long, ByVal idTransaction As Long) As Long
Declare Function DdeAccessData Lib "user32" (ByVal hData As Long, pcbDataSize As Long) As Long
Declare Function DdeAddData Lib "user32" (ByVal hData As Long, pSrc As Byte, ByVal cb As Long, ByVal cbOff As Long) As Long
Declare Function DdeClientTransaction Lib "user32" Alias "DdeClientTransaction" (pData As Byte, ByVal cbData As Long, ByVal hConv As Long, ByVal hszItem As Long, ByVal wFmt As Long, ByVal wType As Long, ByVal dwTimeout As Long, pdwResult As Long) As Long
Declare Function DdeCmpStringHandles Lib "user32" Alias "DdeCmpStringHandles" (ByVal hsz1 As Long, ByVal hsz2 As Long) As Long
Declare Function DdeConnect Lib "user32" Alias "DdeConnect" (ByVal idInst As Long, ByVal hszService As Long, ByVal hszTopic As Long, pCC As CONVCONTEXT) As Long
Declare Function DdeConnectList Lib "user32" Alias "DdeConnectList" (ByVal idInst As Long, ByVal hszService As Long, ByVal hszTopic As Long, ByVal hConvList As Long, pCC As CONVCONTEXT) As Long
Declare Function DdeCreateDataHandle Lib "user32" Alias "DdeCreateDataHandle" (ByVal idInst As Long, pSrc As Byte, ByVal cb As Long, ByVal cbOff As Long, ByVal hszItem As Long, ByVal wFmt As Long, ByVal afCmd As Long) As Long
Declare Function DdeCreateStringHandle Lib "user32" Alias "DdeCreateStringHandleA" (ByVal idInst As Long, ByVal psz As String, ByVal iCodePage As Long) As Long
Declare Function DdeDisconnect Lib "user32" Alias "DdeDisconnect" (ByVal hConv As Long) As Long
Declare Function DdeDisconnectList Lib "user32" Alias "DdeDisconnectList" (ByVal hConvList As Long) As Long
Declare Function DdeEnableCallback Lib "user32" Alias "DdeEnableCallback" (ByVal idInst As Long, ByVal hConv As Long, ByVal wCmd As Long) As Long
Declare Function DdeFreeDataHandle Lib "user32" Alias "DdeFreeDataHandle" (ByVal hData As Long) As Long
Declare Function DdeFreeStringHandle Lib "user32" Alias "DdeFreeStringHandle" (ByVal idInst As Long, ByVal hsz As Long) As Long
Declare Function DdeGetData Lib "user32" (ByVal hData As Long, pDst As Byte, ByVal cbMax As Long, ByVal cbOff As Long) As Long
Declare Function DdeGetLastError Lib "user32" Alias "DdeGetLastError" (ByVal idInst As Long) As Long
Declare Function DdeImpersonateClient Lib "user32" Alias "DdeImpersonateClient" (ByVal hConv As Long) As Long
Declare Function DdeInitialize Lib "user32" Alias "DdeInitializeA" (pidInst As Long, ByVal pfnCallback As Long, ByVal afCmd As Long, ByVal ulRes As Long) As Integer
Declare Function DdeKeepStringHandle Lib "user32" Alias "DdeKeepStringHandle" (ByVal idInst As Long, ByVal hsz As Long) As Long
Declare Function DdeNameService Lib "user32" Alias "DdeNameService" (ByVal idInst As Long, ByVal hsz1 As Long, ByVal hsz2 As Long, ByVal afCmd As Long) As Long
Declare Function DdePostAdvise Lib "user32" Alias "DdePostAdvise" (ByVal idInst As Long, ByVal hszTopic As Long, ByVal hszItem As Long) As Long
Declare Function DdeQueryConvInfo Lib "user32" Alias "DdeQueryConvInfo" (ByVal hConv As Long, ByVal idTransaction As Long, pConvInfo As CONVINFO) As Long
Declare Function DdeQueryNextServer Lib "user32" Alias "DdeQueryNextServer" (ByVal hConvList As Long, ByVal hConvPrev As Long) As Long
Declare Function DdeQueryString Lib "user32" Alias "DdeQueryStringA" (ByVal idInst As Long, ByVal hsz As Long, ByVal psz As String, ByVal cchMax As Long, ByVal iCodePage As Long) As Long
Declare Function DdeReconnect Lib "user32" Alias "DdeReconnect" (ByVal hConv As Long) As Long
Declare Function DdeSetQualityOfService Lib "user32" Alias "DdeSetQualityOfService" (ByVal hWndClient As Long, pqosNew As SECURITY_QUALITY_OF_SERVICE, pqosPrev As SECURITY_QUALITY_OF_SERVICE) As Long
Declare Function DdeSetUserHandle Lib "user32" Alias "DdeSetUserHandle" (ByVal hConv As Long, ByVal id As Long, ByVal hUser As Long) As Long
Declare Function DdeUnaccessData Lib "user32" (ByVal hData As Long) As Long
Declare Function DdeUninitialize Lib "user32" Alias "DdeUninitialize" (ByVal idInst As Long) As Long
Declare Function DeactivateWindowTheme lib "uxtheme" Alias "SetWindowTheme" (ByVal hWnd As Long, Optional ByRef pszSubAppName As String = " ", Optional ByRef pszSubIdList As String = " ") As Long
Declare Function DeallocateNtmsMedia lib "ntmsapi" (ByVal hSession As Long, ByRef lpMediaId As LPNTMS_GUID, ByVal dwOptions As Long) As Long
Declare Function DebugActiveProcess Lib "kernel32" Alias "DebugActiveProcess" (ByVal dwProcessId As Long) As Long
Declare Function DecommissionNtmsMedia lib "ntmsapi" (ByVal hSession As Long, ByRef lpMediaId As LPNTMS_GUID) As Long
Declare Function DecompressText lib "ftsrch" (ByVal hcmp As Long, ByVal pbCompressed As String, ByVal cbCompressed As Long, ByVal pbText As String) As Long
Declare Function DecryptFile lib "advapi32" Alias "DecryptFileA" (ByVal lpFileName As String, ByVal dwReserved As Long) As Long
Declare Function DefDlgProc Lib "user32" Alias "DefDlgProcA" (ByVal hDlg As Long, ByVal wMsg As Long, ByVal wParam As Long, ByVal lParam As Long) As Long
Declare Function DefDriverProc Lib "winmm.dll" Alias "DefDriverProc" (ByVal dwDriverIdentifier As Long, ByVal hdrvr As Long, ByVal uMsg As Long, ByVal lParam1 As Long, ByVal lParam2 As Long) As Long
Declare Function DeferWindowPos Lib "user32" Alias "DeferWindowPos" (ByVal hWinPosInfo As Long, ByVal hwnd As Long, ByVal hWndInsertAfter As Long, ByVal x As Long, ByVal y As Long, ByVal cx As Long, ByVal cy As Long, ByVal wFlags As Long) As Long
Declare Function DefFrameProc Lib "user32" Alias "DefFrameProcA" (ByVal hwnd As Long, ByVal hWndMDIClient As Long, ByVal wMsg As Long, ByVal wParam As Long, ByVal lParam As Long) As Long
Declare Function DefineDosDevice Lib "kernel32" Alias "DefineDosDeviceA" (ByVal dwFlags As Long, ByVal lpDeviceName As String, ByVal lpTargetPath As String) As Long
Declare Function DefMDIChildProc Lib "user32" Alias "DefMDIChildProcA" (ByVal hwnd As Long, ByVal wMsg As Long, ByVal wParam As Long, ByVal lParam As Long) As Long
Declare Function DefWindowProc Lib "user32" Alias "DefWindowProcA" (ByVal hwnd As Long, ByVal wMsg As Long, ByVal wParam As Integer, ByVal lParam As Long) As Long
Declare Function DeleteAce Lib "advapi32.dll" Alias "DeleteAce" (pAcl As ACL, ByVal dwAceIndex As Long) As Long
Declare Function DeleteAllGPOLinks lib "gpedit" (ByVal lpContainer As String) As Long
Declare Function DeleteAtom Lib "kernel32" Alias "DeleteAtom" (ByVal nAtom As Integer) As Integer
Declare Function DeleteClusterGroup lib "clusapi" (ByRef hGroup As hGroup) As Long
Declare Function DeleteClusterResource lib "clusapi" (ByRef hResource As hResource) As Long
Declare Function DeleteColorSpace Lib "gdi32" Alias "DeleteColorSpace" (ByVal hcolorspace As Long) As Long
Declare Function DeleteColorTransform lib "mscms" (ByRef THTRANSFORM As Long) As Long
Declare Function DeleteCompressor lib "ftsrch" (ByVal hcmp As Long) As Long
Declare Function DeleteDC Lib "gdi32" Alias "DeleteDC" (ByVal hdc As Long) As Long
Declare Function DeleteEnhMetaFile Lib "gdi32" Alias "DeleteEnhMetaFile" (ByVal hemf As Long) As Long
Declare Function DeleteFile Lib "kernel32" Alias "DeleteFileA" (ByVal lpFileName As String) As Long
Declare Function DeleteForm Lib "winspool.drv" Alias "DeleteFormA" (ByVal hPrinter As Long, ByVal pFormName As String) As Long
Declare Function DeleteGPOLink lib "gpedit" (ByVal lpGPO As String, ByVal lpContainer As String) As Long
Declare Function DeleteHiliter lib "ftsrch" (ByVal hhil As Long) As Long
Declare Function DeleteIndex lib "ftsrch" (ByVal hinx As Long) As Long
Declare Function DeleteIPAddress lib "IPHLPAPI" (ByVal NTEContext As Long) As Long
Declare Function DeleteIpForwardEntry lib "IPHLPAPI" (ByRef pRoute As PMIB_IPFORWARDROW) As Long
Declare Function DeleteIpNetEntry lib "IPHLPAPI" (ByRef pArpEntry As PMIB_IPNETROW) As Long
Declare Function DeleteMenu Lib "user32" Alias "DeleteMenu" (ByVal hMenu As Long, ByVal nPosition As Long, ByVal wFlags As Long) As Long
Declare Function DeleteMetaFile Lib "gdi32" Alias "DeleteMetaFile" (ByVal hMF As Long) As Long
Declare Function DeleteMonitor Lib "winspool.drv" Alias "DeleteMonitorA" (ByVal pName As String, ByVal pEnvironment As String, ByVal pMonitorName As String) As Long
Declare Function DeleteNtmsDrive lib "ntmsapi" (ByVal hSession As Long, ByRef lpDriveId As LPNTMS_GUID) As Long
Declare Function DeleteNtmsLibrary lib "ntmsapi" (ByVal hSession As Long, ByRef lpLibraryId As LPNTMS_GUID) As Long
Declare Function DeleteNtmsMedia lib "ntmsapi" (ByVal hSession As Long, ByRef lpMediaId As LPNTMS_GUID) As Long
Declare Function DeleteNtmsMediaPool lib "ntmsapi" (ByVal hSession As Long, ByRef lpPoolId As LPNTMS_GUID) As Long
Declare Function DeleteNtmsMediaType lib "ntmsapi" (ByVal hSession As Long, ByRef lpMediaTypeId As LPNTMS_GUID, ByRef lpLibId As LPNTMS_GUID) As Long
Declare Function DeleteNtmsRequests lib "ntmsapi" (ByVal hSession As Long, ByRef lpRequestId As LPNTMS_GUID, ByVal dwType As Long, ByVal dwCount As Long) As Long
Declare Function DeleteObject Lib "gdi32" Alias "DeleteObject" (ByVal hObject As Long) As Long
Declare Function DeletePort Lib "winspool.drv" Alias "DeletePortA" (ByVal pName As String, ByVal hwnd As Long, ByVal pPortName As String) As Long
Declare Function DeletePrinter Lib "winspool.drv" Alias "DeletePrinter" (ByVal hPrinter As Long) As Long
Declare Function DeletePrinterConnection Lib "winspool.drv" Alias "DeletePrinterConnectionA" (ByVal pName As String) As Long
Declare Function DeletePrinterDriver Lib "winspool.drv" Alias "DeletePrinterDriverA" (ByVal pName As String, ByVal pEnvironment As String, ByVal pDriverName As String) As Long
Declare Function DeletePrintProcessor Lib "winspool.drv" Alias "DeletePrintProcessorA" (ByVal pName As String, ByVal pEnvironment As String, ByVal pPrintProcessorName As String) As Long
Declare Function DeletePrintProvidor Lib "winspool.drv" Alias "DeletePrintProvidorA" (ByVal pName As String, ByVal pEnvironment As String, ByVal pPrintProvidorName As String) As Long
Declare Function DeleteProfile lib "userenv" (ByVal lpSidString As String, ByVal lpProfilePath As String, ByVal lpComputerName As String) As Long
Declare Function DeleteProxyArpEntry lib "IPHLPAPI" (ByVal dwAddress As Long, ByVal dwMask As Long, ByVal dwIfIndex As Long) As Long
Declare Function DeleteSearcher lib "ftsrch" (ByVal hsrch As Long) As Long
Declare Function DeleteService Lib "advapi32.dll" Alias "DeleteService" (ByVal hService As Long) As Long
Declare Function DeleteSocketPort lib "adptif" (ByVal Handle As Long) As Long
Declare Function DeleteTimerQueue lib "kernel32" (ByVal TimerQueue As Long) As Long
Declare Function DeleteTimerQueueEx lib "kernel32" (ByVal TimerQueue As Long, ByVal CompletionEvent As Long) As Long
Declare Function DeleteTimerQueueTimer lib "kernel32" (ByVal TimerQueue As Long, ByVal Timer As Long, ByVal CompletionEvent As Long) As Long
Declare Function DeleteVolumeMountPoint lib "kernel32" Alias "DeleteVolumeMountPointA" (ByVal lpszVolumeMountPoint As String) As Long
Declare Function DelNode lib "advpack" (ByVal pszFileOrDirName As String, ByVal dwFlags As Long) As Long
Declare Function DelNodeRunDLL32 lib "advpack" (ByVal hwnd As Long, ByVal hInstance As Long, ByVal pszParms As String, ByVal nShow As Long) As Long
Declare Function DeregisterEventSource Lib "advapi32.dll" Alias "DeregisterEventSource" (ByVal hEventLog As Long) As Long
Declare Function DeRegisterWaitEventBinding lib "rtutils" (ByRef pwiWorkItem As PWT_EVENT_BINDING) As Long
Declare Function DeRegisterWaitEventBindingSelf lib "rtutils" (ByRef pwiWorkItem As PWT_EVENT_BINDING) As Long
Declare Function DeRegisterWaitEventsTimers lib "rtutils" (ByRef pLEvents As LIST_ENTRY, ByRef pLTimers As LIST_ENTRY) As Long
Declare Function DeRegisterWaitEventsTimersSelf lib "rtutils" (ByRef pLEvents As LIST_ENTRY, ByRef pLTimers As LIST_ENTRY) As Long
Declare Function DescribePixelFormat Lib "gdi32" Alias "DescribePixelFormat" (ByVal hDC As Long, ByVal n As Long, ByVal un As Long, lpPixelFormatDescriptor As PIXELFORMATDESCRIPTOR) As Long
Declare Function DestroyAcceleratorTable Lib "user32" Alias "DestroyAcceleratorTable" (ByVal haccel As Long) As Long
Declare Function DestroyBlob lib "npptools" (ByRef hBlob As hBlob) As Long
Declare Function DestroyCaret Lib "user32" Alias "DestroyCaret" () As Long
Declare Function DestroyCursor Lib "user32" Alias "DestroyCursor" (ByVal hCursor As Long) As Long
Declare Function DestroyEnvironmentBlock lib "userenv" (lpEnvironment As Any) As Long
Declare Function DestroyIcon Lib "user32" Alias "DestroyIcon" (ByVal hIcon As Long) As Long
Declare Function DestroyMenu Lib "user32" Alias "DestroyMenu" (ByVal hMenu As Long) As Long
Declare Function DestroyPrivateObjectSecurity Lib "advapi32.dll" Alias "DestroyPrivateObjectSecurity" (ObjectDescriptor As SECURITY_DESCRIPTOR) As Long
Declare Function DestroyPropertySheetPage lib "comctl32" (ByVal hpropsheetpage As Long) As Long
Declare Function DestroyWindow Lib "user32" Alias "DestroyWindow" (ByVal hwnd As Long) As Long
Declare Function DeviceCapabilities Lib "winspool.drv" Alias "DeviceCapabilitiesA" (ByVal lpDeviceName As String, ByVal lpPort As String, ByVal iIndex As Long, ByVal lpOutput As String, ByVal lpDevMode As Long) As Long
Declare Function DeviceIoControl Lib "kernel32" Alias "DeviceIoControl" (ByVal hDevice As Long, ByVal dwIoControlCode As Long, lpInBuffer As Any, ByVal nInBufferSize As Long, lpOutBuffer As Any, ByVal nOutBufferSize As Long, lpBytesReturned As Long, lpOverlapped As OVERLAPPED) As Long
Declare Function DhcpCApiInitialize lib "DHCPCSVC" (ByRef Version As Long) As Long
Declare Function DhcpDeRegisterParamChange lib "DHCPCSVC" (ByVal flags As Long, Reserved As Any, lEvent As Any) As Long
Declare Function DhcpRegisterParamChange lib "DHCPCSVC" (ByVal flags As Long, Reserved As Any, ByVal AdapterName As String, ByRef ClassId As LPDHCPCAPI_CLASSID, ByRef params As DHCPCAPI_PARAMS_ARRAY, Handle As Any) As Long
Declare Function DhcpRemoveDNSRegistrations lib "DHCPCSVC" () As Long
Declare Function DhcpRequestParams lib "DHCPCSVC" (ByVal flags As Long, Reserved As Any, ByVal AdapterName As String, ByRef ClassId As LPDHCPCAPI_CLASSID, ByRef SendParams As DHCPCAPI_PARAMS_ARRAY, ByRef RecdParams As OUT, ByVal buffer As String, ByRef pSize As Long, ByVal RequestIdStr As String) As Long
Declare Function DhcpUndoRequestParams lib "DHCPCSVC" (ByVal flags As Long, Reserved As Any, ByVal AdapterName As String, ByVal RequestIdStr As String) As Long
Declare Function DialogBoxIndirectParam Lib "user32" Alias "DialogBoxIndirectParamA" (ByVal hInstance As Long, hDialogTemplate As DLGTEMPLATE, ByVal hWndParent As Long, ByVal lpDialogFunc As Long, ByVal dwInitParam As Long) As Long
Declare Function DisableNtmsObject lib "ntmsapi" (ByVal hSession As Long, ByVal dwType As Long, ByRef lpObjectId As LPNTMS_GUID) As Long
Declare Function DisableThreadLibraryCalls Lib "kernel32" Alias "DisableThreadLibraryCalls" (ByVal hLibModule As Long) As Long
Declare Function DisassociateColorProfileFromDevice lib "mscms" Alias "DisassociateColorProfileFromDeviceA" (ByVal pcstr As String, ByVal pcstr As String, ByVal pcstr As String) As Long
Declare Function DiscardIndex lib "ftsrch" (ByVal hsrch As Long, ByVal iIndex As Long) As Long
Declare Function DisconnectNamedPipe Lib "kernel32" Alias "DisconnectNamedPipe" (ByVal hNamedPipe As Long) As Long
Declare Function DismountNtmsDrive lib "ntmsapi" (ByVal hSession As Long, ByRef lpDriveId As LPNTMS_GUID) As Long
Declare Function DismountNtmsMedia lib "ntmsapi" (ByVal hSession As Long, ByRef lpMediaId As LPNTMS_GUID, ByVal dwCount As Long, ByVal dwOptions As Long) As Long
Declare Function DispatchMessage Lib "user32" Alias "DispatchMessageA" (lpMsg As MSG) As Long
Declare Function DlgDirList Lib "user32" Alias "DlgDirListA" (ByVal hDlg As Long, ByVal lpPathSpec As String, ByVal nIDListBox As Long, ByVal nIDStaticPath As Long, ByVal wFileType As Long) As Long
Declare Function DlgDirListComboBox Lib "user32" Alias "DlgDirListComboBoxA" (ByVal hDlg As Long, ByVal lpPathSpec As String, ByVal nIDComboBox As Long, ByVal nIDStaticPath As Long, ByVal wFileType As Long) As Long
Declare Function DlgDirSelectComboBoxEx Lib "user32" Alias "DlgDirSelectComboBoxExA" (ByVal hWndDlg As Long, ByVal lpszPath As String, ByVal cbPath As Long, ByVal idComboBox As Long) As Long
Declare Function DlgDirSelectEx Lib "user32" Alias "DlgDirSelectExA" (ByVal hWndDlg As Long, ByVal lpszPath As String, ByVal cbPath As Long, ByVal idListBox As Long) As Long
Declare Function DnsHostnameToComputerName lib "kernel32" Alias "DnsHostnameToComputerNameA" (ByVal Hostname As String, ByVal ComputerName As String, ByRef nSize As Long) As Long
Declare Function DocumentProperties Lib "winspool.drv" Alias "DocumentPropertiesA" (ByVal hwnd As Long, ByVal hPrinter As Long, ByVal pDeviceName As String, ByVal pDevModeOutput As Long, ByVal pDevModeInput As Long, ByVal fMode As Long) As Long
Declare Function DoEnvironmentSubst Lib "shell32.dll" Alias "DoEnvironmentSubstA" (ByVal szString As String, ByVal cbString As Long) As Long
Declare Function DosDateTimeToFileTime Lib "kernel32" Alias "DosDateTimeToFileTime" (ByVal wFatDate As Long, ByVal wFatTime As Long, lpFileTime As FILETIME) As Long
Declare Function DosDateTimeToVariantTime lib "oleaut32" (ByVal wDosDate As Integer, ByVal wDosTime As Integer, ByRef pvtime As DOUBLE) As Long
Declare Function DosPathToSessionPath lib "kernel32" Alias "DosPathToSessionPathA" (ByVal SessionId As Long, ByVal pInPath As String, ByVal ppOutPath As String) As Long
Declare Function DPtoLP Lib "gdi32" Alias "DPtoLP" (ByVal hdc As Long, lpPoint As POINTAPI, ByVal nCount As Long) As Long
Declare Function DragDetect Lib "user32" Alias "DragDetect" (ByVal hWnd As Long, ByVal ptx As Long, ByVal pty As Long) As Long
Declare Function DragObject Lib "user32" Alias "DragObject" (ByVal hWnd1 As Long, ByVal hWnd2 As Long, ByVal un As Long, ByVal dw As Long, ByVal hCursor As Long) As Long
Declare Function DragQueryFile Lib "shell32.dll" Alias "DragQueryFileA" (ByVal HDROP As Long, ByVal UINT As Long, ByVal lpStr As String, ByVal ch As Long) As Long
Declare Function DragQueryPoint Lib "shell32.dll" Alias "DragQueryPoint" (ByVal HDROP As Long, lpPoint As POINTAPI) As Long
Declare Function DrawAnimatedRects Lib "user32" (ByVal hWnd As Long, ByVal idAni As Long, lprcFrom As RECT, lprcTo As RECT) As Long
Declare Function DrawCaption Lib "user32" (ByVal hWnd As Long, ByVal hDC As Long, lprc As RECT, ByVal wFlags As Long) As Long
Declare Function DrawDibBegin lib "msvfw32" (ByVal hdd As Long, ByVal hdc As Long, ByVal dxDst As Long, ByVal dyDst As Long, ByRef lpbi As BITMAPINFOHEADER, ByVal dxSrc As Long, ByVal dySrc As Long, ByVal wFlags As Long) As Long
Declare Function DrawDibChangePalette lib "msvfw32" (ByVal hdd As Long, ByVal iStart As Long, ByVal iLen As Long, ByRef lppe As PALETTEENTRY) As Long
Declare Function DrawDibClose lib "msvfw32" (ByVal hdd As Long) As Long
Declare Function DrawDibDraw lib "msvfw32" (ByVal hdd As Long, ByVal hdc As Long, ByVal xDst As Long, ByVal yDst As Long, ByVal dxDst As Long, ByVal dyDst As Long, ByRef lpbi As BITMAPINFOHEADER, lpBits As Any, ByVal xSrc As Long, ByVal ySrc As Long, ByVal dxSrc As Long, ByVal dySrc As Long, ByVal wFlags As Long) As Long
Declare Function DrawDibEnd lib "msvfw32" (ByVal hdd As Long) As Long
Declare Function DrawDibGetBuffer lib "msvfw32" (ByVal hdd As Long, ByRef lpbi As BITMAPINFOHEADER, ByVal dwSize As Long, ByVal dwFlags As Long) As Long
Declare Function DrawDibGetPalette lib "msvfw32" (ByVal hdd As Long) As Long
Declare Function DrawDibOpen lib "msvfw32" () As Long
Declare Function DrawDibProfileDisplay lib "msvfw32" (ByRef lpbi As BITMAPINFOHEADER) As Long
Declare Function DrawDibRealize lib "msvfw32" (ByVal hdd As Long, ByVal hdc As Long, ByVal fBackground As Long) As Long
Declare Function DrawDibSetPalette lib "msvfw32" (ByVal hdd As Long, ByVal hpal As Long) As Long
Declare Function DrawDibStart lib "msvfw32" (ByVal hdd As Long, ByVal rate As Long) As Long
Declare Function DrawDibStop lib "msvfw32" (ByVal hdd As Long) As Long
Declare Function DrawDibTime lib "msvfw32" (ByVal hdd As Long, ByRef lpddtime As DRAWDIBTIME) As Long
Declare Function DrawEdge Lib "user32" Alias "DrawEdge" (ByVal hdc As Long, qrc As RECT, ByVal edge As Long, ByVal grfFlags As Long) As Long
Declare Function DrawEscape Lib "gdi32" Alias "DrawEscape" (ByVal hdc As Long, ByVal nEscape As Long, ByVal cbInput As Long, ByVal lpszInData As String) As Long
Declare Function DrawFocusRect Lib "user32" Alias "DrawFocusRect" (ByVal hdc As Long, lpRect As RECT) As Long
Declare Function DrawFrameControl Lib "user32" Alias "DrawFrameControl" (ByVal hDC As Long, lpRect As RECT, ByVal un1 As Long, ByVal un2 As Long) As Long
Declare Function DrawIcon Lib "user32" Alias "DrawIcon" (ByVal hdc As Long, ByVal x As Long, ByVal y As Long, ByVal hIcon As Long) As Long
Declare Function DrawIconEx Lib "user32" Alias "DrawIconEx" (ByVal hdc As Long, ByVal xLeft As Long, ByVal yTop As Long, ByVal hIcon As Long, ByVal cxWidth As Long, ByVal cyWidth As Long, ByVal istepIfAniCur As Long, ByVal hbrFlickerFreeDraw As Long, ByVal diFlags As Long) As Long
Declare Function DrawMenuBar Lib "user32" Alias "DrawMenuBar" (ByVal hwnd As Long) As Long
Declare Function DrawState Lib "user32" Alias "DrawStateA" (ByVal hDC As Long, ByVal hBrush As Long, ByVal lpDrawStateProc As Long, ByVal lParam As Long, ByVal wParam As Long, ByVal n1 As Long, ByVal n2 As Long, ByVal n3 As Long, ByVal n4 As Long, ByVal un As Long) As Long
Declare Function DrawText Lib "user32" Alias "DrawTextA" (ByVal hdc As Long, ByVal lpStr As String, ByVal nCount As Long, lpRect As RECT, ByVal wFormat As Long) As Long
Declare Function DrawTextEx Lib "user32" Alias "DrawTextExA" (ByVal hDC As Long, ByVal lpsz As String, ByVal n As Long, lpRect As RECT, ByVal un As Long, lpDrawTextParams As DRAWTEXTPARAMS) As Long
Declare Function DrvGetModuleHandle Lib "winmm.dll" Alias "DrvGetModuleHandle" (ByVal hDriver As Long) As Long
Declare Function DsAddSidHistory lib "ntdsapi" (ByVal hDS As Long, ByVal flags As Long, ByVal SrcDomain As String, ByVal SrcPrincipal As String, ByVal SrcDomainController As String, ByVal SrcDomainCreds As Long, ByVal DstDomain As String, ByVal DstPrincipal As String) As Long
Declare Function DsBackupClose lib "ntdsbcli" (ByRef hbc As hbc) As Long
Declare Function DsBackupEnd lib "ntdsbcli" (ByRef hbc As hbc) As Long
Declare Function DsBackupGetBackupLogs lib "ntdsbcli" (ByRef hbc As hbc, ByVal pszBackupLogFiles As String, ByRef pcbSize As Long) As Long
Declare Function DsBackupGetDatabaseNames lib "ntdsbcli" (ByRef hbc As hbc, ByVal pszAttachmentInfo As String, ByRef pcbSize As Long) As Long
Declare Function DsBackupOpenFile lib "ntdsbcli" (ByRef hbc As hbc, ByVal szAttachmentName As String, ByVal cbReadHintSize As Long, ByRef pliFileSize As LARGE_INTEGER) As Long
Declare Function DsBackupPrepare lib "ntdsbcli" (ByVal szBackupServer As String, ByVal grbit As Long, ByVal btFlag As Long, ppvExpiryToken As Any, ByRef pcbExpiryTokenSize As Long, ByRef phbc As hbc) As Long
Declare Function DsBackupRead lib "ntdsbcli" (ByRef hbc As hbc, pvBuffer As Any, ByVal cbBuffer As Long, ByRef pcbRead As Long) As Long
Declare Function DsBackupTruncateLogs lib "ntdsbcli" (ByRef hbc As hbc) As Long
Declare Function DsBind lib "ntdsapi" (ByVal DomainControllerName As String, ByVal DnsDomainName As String, ByRef phDS As Long) As Long
Declare Function DsBindWithCred lib "ntdsapi" (ByVal DomainControllerName As String, ByVal DnsDomainName As String, ByVal AuthIdentity As Long, ByRef phDS As Long) As Long
Declare Function DsBindWithSpn lib "ntdsapi" (ByVal DomainControllerName As String, ByVal DnsDomainName As String, ByVal AuthIdentity As Long, ByVal ServicePrincipalName As String, ByRef phDS As Long) As Long
Declare Function DsBrowseForContainer lib "dsuiext" Alias "DsBrowseForContainerA" (pInfo As DSBROWSEINFO) As Long
Declare Function DsClientMakeSpnForTargetServer lib "ntdsapi" (ByVal ServiceClass As String, ByVal ServiceName As String, ByRef pcSpnLength As Long, ByVal pszSpn As String) As Long
Declare Function DsCrackNames lib "ntdsapi" (ByVal hDS As Long, ByVal flags As Struct_MembersOf_DS_NAME_FLAGS, ByVal formatOffered As Struct_MembersOf_DS_NAME_FORMAT, ByVal formatDesired As Struct_MembersOf_DS_NAME_FORMAT, ByVal cNames As Long, ByVal rpNames As String, ByRef ppResult As PDS_NAME_RESULTA) As Long
Declare Function DsCrackSpn lib "ntdsapi" (ByVal pszSpn As String, ByRef pcServiceClass As Long, ByVal ServiceClass As String, ByRef pcServiceName As Long, ByVal ServiceName As String, ByRef pcInstanceName As Long, ByVal InstanceName As String, ByRef pInstancePort As Integer) As Long
Declare Function DsGetDcName lib "Netapi32" (ByVal ComputerName As String, ByVal DomainName As String, ByVal DomainGuid As GUID, SiteName As String, Flags As Long, DomainControllerInfo As PDOMAIN_CONTROLLER_INFO) As Long
Declare Function DsGetDomainControllerInfo lib "ntdsapi" (ByVal hDS As Long, ByVal domainname As String, ByVal InfoLevel As Long, ByRef pcOut As Long, ppInfo As Any) As Long
Declare Function DsGetSpn lib "ntdsapi" (ByVal ServiceType As Struct_MembersOf_DS_SPN_NAME_TYPE, ByVal ServiceClass As String, ByVal ServiceName As String, ByVal InstancePort As Integer, ByVal cInstanceNames As Integer, ByVal pInstanceNames As String, ByRef pInstancePorts As Integer, ByRef pcSpn As Long, ByVal prpszSpn As String) As Long
Declare Function DsInheritSecurityIdentity lib "ntdsapi" (ByVal hDS As Long, ByVal flags As Long, ByVal SrcPrincipal As String, ByVal DstPrincipal As String) As Long
Declare Function DsIsNTDSOnline lib "ntdsbcli" (ByVal szServerName As String, ByRef pfNTDSOnline As Long) As Long
Declare Function DsListDomainsInSite lib "ntdsapi" (ByVal hDS As Long, ByVal site As String, ByRef ppDomains As PDS_NAME_RESULTA) As Long
Declare Function DsListInfoForServer lib "ntdsapi" (ByVal hDS As Long, ByVal server As String, ByRef ppInfo As PDS_NAME_RESULTA) As Long
Declare Function DsListRoles lib "ntdsapi" (ByVal hDS As Long, ByRef ppRoles As PDS_NAME_RESULTA) As Long
Declare Function DsListServersForDomainInSite lib "ntdsapi" (ByVal hDS As Long, ByVal Domain As String, ByVal site As String, ByRef ppServers As PDS_NAME_RESULTA) As Long
Declare Function DsListServersInSite lib "ntdsapi" (ByVal hDS As Long, ByVal site As String, ByRef ppServers As PDS_NAME_RESULTA) As Long
Declare Function DsListSites lib "ntdsapi" (ByVal hDS As Long, ByRef ppSites As PDS_NAME_RESULTA) As Long
Declare Function DsMakePasswordCredentials lib "ntdsapi" (ByVal User As String, ByVal Domain As String, ByVal passWord As String, ByRef pAuthIdentity As Long) As Long
Declare Function DsMakeSpn lib "ntdsapi" (ByVal ServiceClass As String, ByVal ServiceName As String, ByVal InstanceName As String, ByVal InstancePort As Integer, ByVal Referrer As String, ByRef pcSpnLength As Long, ByVal pszSpn As String) As Long
Declare Function DsMapSchemaGuids lib "ntdsapi" (ByVal hDS As Long, ByVal cGuids As Long, ByRef rGuids As Guid, ByRef ppGuidMap As DS_SCHEMA_GUID_MAPA) As Long
Declare Function DsQuoteRdnValue lib "ntdsapi" (ByVal cUnquotedRdnValueLength As Long, ByVal psUnquotedRdnValue As String, ByRef pcQuotedRdnValueLength As Long, ByVal psQuotedRdnValue As String) As Long
Declare Function DsRemoveDsDomain lib "ntdsapi" (ByVal hDS As Long, ByVal DomainDN As String) As Long
Declare Function DsRemoveDsServer lib "ntdsapi" (ByVal hDS As Long, ByVal ServerDN As String, ByVal DomainDN As String, ByRef fLastDcInDomain As Long, ByVal fCommit As Long) As Long
Declare Function DsReplicaAdd lib "ntdsapi" (ByVal hDS As Long, ByVal NameContext As String, ByVal SourceDsaDn As String, ByVal TransportDn As String, ByVal SourceDsaAddress As String, ByRef pSchedule As longx, ByVal Options As Long) As Long
Declare Function DsReplicaConsistencyCheck lib "ntdsapi" (ByVal hDS As Long, ByVal TaskID As Struct_MembersOf_DS_KCC_TASKID, ByVal dwFlags As Long) As Long
Declare Function DsReplicaDel lib "ntdsapi" (ByVal hDS As Long, ByVal NameContext As String, ByVal DsaSrc As String, ByVal Options As Long) As Long
Declare Function DsReplicaModify lib "ntdsapi" (ByVal hDS As Long, ByVal NameContext As String, ByVal pUuidSourceDsa As Long, ByVal TransportDn As String, ByVal SourceDsaAddress As String, ByRef pSchedule As longx, ByVal ReplicaFlags As Long, ByVal ModifyFields As Long, ByVal Options As Long) As Long
Declare Function DsReplicaSync lib "ntdsapi" (ByVal hDS As Long, ByVal NameContext As String, ByVal pUuidDsaSrc As Long, ByVal Options As Long) As Long
Declare Function DsReplicaSyncAll lib "ntdsapi" (ByVal hDS As Long, ByVal pszNameContext As String, ByVal ulFlags As Long, FunctionCall As Long, pCallbackData As Any, ByRef pErrors As PDS_REPSYNCALL_ERRINFOA) As Long
Declare Function DsReplicaUpdateRefs lib "ntdsapi" (ByVal hDS As Long, ByVal NameContext As String, ByVal DsaDest As String, ByVal pUuidDsaDest As Long, ByVal Options As Long) As Long
Declare Function DsRestoreEnd lib "ntdsbcli" (ByRef hbc As hbc) As Long
Declare Function DsRestoreGetDatabaseLocations lib "ntdsbcli" (ByRef hbc As hbc, ByVal pszDatabaseLocationList As String, ByRef pcbSize As Long) As Long
Declare Function DsRestorePrepare lib "ntdsbcli" (ByVal szServerName As String, ByVal rtFlag As Long, pvExpiryToken As Any, ByVal cbExpiryTokenSize As Long, ByRef phbc As hbc) As Long
Declare Function DsRestoreRegister lib "ntdsbcli" (ByRef hbc As hbc, ByVal szCheckPointFilePath As String, ByVal szLogPath As String, ByRef rgrstmap() As EDB_RSTMAPA, ByVal crstmap As Long, ByVal szBackupLogPath As String, ByVal genLow As Long, ByVal genHigh As Long) As Long
Declare Function DsRestoreRegisterComplete lib "ntdsbcli" (ByRef hbc As hbc, ByVal hrRestoreState As Long) As Long
Declare Function DsServerRegisterSpn lib "ntdsapi" (ByVal Operation As Struct_MembersOf_DS_SPN_WRITE_OP, ByVal ServiceClass As String, ByVal UserObjectDN As String) As Long
Declare Function DsSetAuthIdentity lib "ntdsbcli" (ByVal szUserName As String, ByVal szDomainName As String, ByVal szPassword As String) As Long
Declare Function DsSetCurrentBackupLog lib "ntdsbcli" (ByVal szServerName As String, ByVal dwCurrentLog As Long) As Long
Declare Function DsUnBind lib "ntdsapi" (ByRef phDS As Long) As Long
Declare Function DsUnquoteRdnValue lib "ntdsapi" (ByVal cQuotedRdnValueLength As Long, ByVal psQuotedRdnValue As String, ByRef pcUnquotedRdnValueLength As Long, ByVal psUnquotedRdnValue As String) As Long
Declare Function DsWriteAccountSpn lib "ntdsapi" (ByVal hDS As Long, ByVal Operation As Struct_MembersOf_DS_SPN_WRITE_OP, ByVal pszAccount As String, ByVal cSpn As Long, ByVal rpszSpn As String) As Long
Declare Function DtcGetTransactionManagerC lib "xolehlp" (ByVal i_pszHost As String, ByVal i_pszTmName As String, ByVal i_riid As Long, ByVal i_dwReserved1 As Long, ByVal i_wcbReserved2 As Integer, i_pvReserved2 As Any, o_ppvObject As Any) As Long
Declare Function DuplicateBlob lib "npptools" (ByRef hSrcBlob As hBlob, ByRef hBlobThatWillBeCreated As hBlob) As Long
Declare Function DuplicateHandle Lib "kernel32" Alias "DuplicateHandle" (ByVal hSourceProcessHandle As Long, ByVal hSourceHandle As Long, ByVal hTargetProcessHandle As Long, lpTargetHandle As Long, ByVal dwDesiredAccess As Long, ByVal bInheritHandle As Long, ByVal dwOptions As Long) As Long
Declare Function DuplicateIcon Lib "shell32.dll" Alias "DuplicateIcon" (ByVal hInst As Long, ByVal hIcon As Long) As Long
Declare Function DuplicateToken Lib "advapi32.dll" Alias "DuplicateToken" (ByVal ExistingTokenHandle As Long, ImpersonationLevel As Integer, DuplicateTokenHandle As Long) As Long
Declare Function DuplicateTokenEx lib "advapi32" (ByVal hExistingToken As Long, ByVal dwDesiredAccess As Long, ByRef lpTokenAttributes As SECURITY_ATTRIBUTES, ByVal ImpersonationLevel As Struct_MembersOf_SECURITY_IMPERSONATION_LEVEL, ByVal TokenType As Struct_MembersOf_TOKEN_TYPE, ByRef phNewToken As Long) As Long
Declare Function EbDoIdle lib "vba6" () As Long
Declare Function EbExecuteLine lib "vba6" (ByVal StringToExec As Long, ByVal Any1 As Long, ByVal Any2 As Long, ByVal CheckOnly As Long) As Long
Declare Function EbMode lib "vba6" () As Long
Declare Function EbShutdownEventMonitors lib "vba6" () As Long
Declare Function EditSecurity lib "aclui" (ByVal hwndOwner As Long, ByRef psi As LPSECURITYINFO) As Long
Declare Function EjectDiskFromSADrive lib "ntmsapi" (ByVal lpComputerName As String, ByVal lpAppName As String, ByVal lpDeviceName As String, ByVal hwnd As Long, ByVal lpTitle As String, ByVal lpMessage As String, ByVal dwOptions As Long) As Long
Declare Function EjectNtmsCleaner lib "ntmsapi" (ByVal hSession As Long, ByRef lpLibrary As LPNTMS_GUID, ByRef lpEjectOperation As LPNTMS_GUID, ByVal dwAction As Long) As Long
Declare Function EjectNtmsMedia lib "ntmsapi" (ByVal hSession As Long, ByRef lpMediaId As LPNTMS_GUID, ByRef lpEjectOperation As LPNTMS_GUID, ByVal dwAction As Long) As Long
Declare Function Ellipse Lib "gdi32" Alias "Ellipse" (ByVal hdc As Long, ByVal X1 As Long, ByVal Y1 As Long, ByVal X2 As Long, ByVal Y2 As Long) As Long
Declare Function EmptyClipboard Lib "user32" Alias "EmptyClipboard" () As Long
Declare Function EmptyWorkingSet lib "psapi" (ByVal hProcess As Long) As Long
Declare Function EnableMenuItem Lib "user32" Alias "EnableMenuItem" (ByVal hMenu As Long, ByVal wIDEnableItem As Long, ByVal wEnable As Long) As Long
Declare Function EnableNtmsObject lib "ntmsapi" (ByVal hSession As Long, ByVal dwType As Long, ByRef lpObjectId As LPNTMS_GUID) As Long
Declare Function EnableRouter lib "IPHLPAPI" (ByRef pHandle As Long, ByRef pOverlapped As OVERLAPPED) As Long
Declare Function EnableScrollBar Lib "user32" Alias "EnableScrollBar" (ByVal hwnd As Long, ByVal wSBflags As Long, ByVal wArrows As Long) As Long
Declare Function EnableWindow Lib "user32" Alias "EnableWindow" (ByVal hwnd As Long, ByVal fEnable As Long) As Long
Declare Function EncryptFile lib "advapi32" Alias "EncryptFileA" (ByVal lpFileName As String) As Long
Declare Function EncryptionDisable lib "ADVAPI32" (ByVal DirPath As String, ByVal Disable As Long) As Long
Declare Function EndDeferWindowPos Lib "user32" Alias "EndDeferWindowPos" (ByVal hWinPosInfo As Long) As Long
Declare Function EndDialog Lib "user32" Alias "EndDialog" (ByVal hDlg As Long, ByVal nResult As Long) As Long
Declare Function EndDoc Lib "gdi32" Alias "EndDoc" (ByVal hDC As Long) As Long
Declare Function EndDocAPI Lib "gdi32" Alias "EndDoc" (ByVal hdc As Long) As Long
Declare Function EndDocPrinter Lib "winspool.drv" Alias "EndDocPrinter" (ByVal hPrinter As Long) As Long
Declare Function EndFormPage lib "gdi32" (ByVal hdc As Long) As Long
Declare Function EndMenu lib "user32" () As Long
Declare Function EndNtmsDeviceChangeDetection lib "ntmsapi" (ByVal hSession As Long, ByVal DetectHandle As Long) As Long
Declare Function EndPage Lib "gdi32" Alias "EndPage" (ByVal hdc As Long) As Long
Declare Function EndPagePrinter Lib "winspool.drv" Alias "EndPagePrinter" (ByVal hPrinter As Long) As Long
Declare Function EndPaint Lib "user32" Alias "EndPaint" (ByVal hwnd As Long, lpPaint As PAINTSTRUCT) As Long
Declare Function EndPath Lib "gdi32" Alias "EndPath" (ByVal hdc As Long) As Long
Declare Function EndUpdateResource Lib "kernel32" Alias "EndUpdateResourceA" (ByVal hUpdate As Long, ByVal fDiscard As Long) As Long
Declare Function EnterCriticalPolicySection lib "userenv" (ByVal bMachine As Long) As Long
Declare Function EnumCalendarInfo Lib "kernel32" Alias "EnumCalendarInfoA" (ByVal lpCalInfoEnumProc As Long, ByVal Locale As Long, ByVal Calendar As Long, ByVal CalType As Long) As Long
Declare Function EnumCalendarInfoEx lib "kernel32" Alias "EnumCalendarInfoExA" (ByRef lpCalInfoEnumProcEx As CALINFO_ENUMPROCEXA, ByVal Locale As Long, ByVal Calendar As Long, ByVal CalType As Long) As Long
Declare Function EnumChildWindows Lib "user32" (ByVal hWndParent As Long, ByVal lpEnumFunc As Long, ByVal lParam&) As Long
Declare Function EnumClipboardFormats Lib "user32" Alias "EnumClipboardFormats" (ByVal wFormat As Long) As Long
Declare Function EnumColorProfiles lib "mscms" Alias "EnumColorProfilesA" (ByVal pcstr As String, ByRef TPENUMTYPEA As PENUMTYPEA, ByVal pbyte As String, ByRef pdword As Long, ByRef pdword As Long) As Long
Declare Function EnumDateFormats Lib "KERNEL32" Alias "EnumDateFormatsA" (ByVal lpDateFmtEnumProc As Long, ByVal Locale As Long, ByVal dwFlags As Long) As Long
Declare Function EnumDateFormatsEx lib "kernel32" Alias "EnumDateFormatsExA" (ByRef lpDateFmtEnumProcEx As DATEFMT_ENUMPROCEXA, ByVal Locale As Long, ByVal dwFlags As Long) As Long
Declare Function EnumDependentServices Lib "advapi32.dll" Alias "EnumDependentServicesA" (ByVal hService As Long, ByVal dwServiceState As Long, lpServices As ENUM_SERVICE_STATUS, ByVal cbBufSize As Long, pcbBytesNeeded As Long, lpServicesReturned As Long) As Long
Declare Function EnumDesktops Lib "user32" Alias "EnumDesktopsA" (ByVal hwinsta As Long, ByVal lpEnumFunc As Long, ByVal lParam As Long) As Long
Declare Function EnumDesktopWindows Lib "user32" Alias "EnumDesktopWindows" (ByVal hDesktop As Long, ByVal lpfn As Long, ByVal lParam As Long) As Long
Declare Function EnumDeviceDrivers lib "psapi" (lpImageBase As Any, ByVal cb As Long, ByRef lpcbNeeded As Long) As Long
Declare Function EnumDisplayDevices lib "user32" Alias "EnumDisplayDevicesA" (ByVal lpDevice As String, ByVal iDevNum As Long, ByRef lpDisplayDevice As PDISPLAY_DEVICEA, ByVal dwFlags As Long) As Long
Declare Function EnumDisplayMonitors lib "user32" (ByVal hdc As Long, ByRef lprcClip As RECT, ByRef lpfnEnum As MONITORENUMPROC, ByVal dwData As Long) As Long
Declare Function EnumDisplaySettings lib "user32" Alias "EnumDisplaySettingsA" (ByVal lpszDeviceName As String, ByVal iModeNum As Long, ByRef lpDevMode As DEVMODE) As Long
Declare Function EnumDisplaySettingsEx lib "USER32" (ByVal lpszDeviceName As String, ByVal iModeNum As Long, ByRef lpDevMode As DEVMODE, ByVal dwFlags As Long) As Long
Declare Function EnumEnhMetaFile Lib "gdi32" Alias "EnumEnhMetaFile" (ByVal hdc As Long, ByVal hemf As Long, ByVal lpEnhMetaFunc As Long, ByVal lpData As Long, lpRect As RECT) As Long
Declare Function EnumerateLoadedModules lib "dbghelp" (ByVal hProcess As Long, ByRef EnumLoadedModulesCallback As PENUMLOADED_MODULES_CALLBACK, UserContext As Any) As Long
Declare Function EnumerateLoadedModules64 lib "imagehlp" (ByVal hProcess As Long, ByRef EnumLoadedModulesCallback As PENUMLOADED_MODULES_CALLBACK64, UserContext As Any) As Long
Declare Function EnumerateNtmsObject lib "ntmsapi" (ByVal hSession As Long, ByRef lpContainerId As longx, ByRef lpList As LPNTMS_GUID, ByRef lpdwListSize As Long, ByVal dwType As Long, ByVal dwOptions As Long) As Long
Declare Function EnumFontFamilies Lib "gdi32" Alias "EnumFontFamiliesA" (ByVal hdc As Long, ByVal lpszFamily As String, ByVal lpEnumFontFamProc As Long, ByVal lParam As Long) As Long
Declare Function EnumFontFamiliesEx Lib "gdi32" Alias "EnumFontFamiliesExA" (ByVal hdc As Long, lpLogFont As LOGFONT, ByVal lpEnumFontProc As Long, ByVal lParam As Long, ByVal dw As Long) As Long
Declare Function EnumFonts Lib "gdi32" Alias "EnumFontsA" (ByVal hDC As Long, ByVal lpsz As String, ByVal lpFontEnumProc As Long, ByVal lParam As Long) As Long
Declare Function EnumForms Lib "winspool.drv" Alias "EnumFormsA" (ByVal hPrinter As Long, ByVal Level As Long, pForm As Byte, ByVal cbBuf As Long, pcbNeeded As Long, pcReturned As Long) As Long
Declare Function EnumICMProfiles Lib "gdi32" Alias "EnumICMProfilesA" (ByVal hdc As Long, ByVal icmEnumProc As Long, ByVal lParam As Long) As Long
Declare Function EnumJobs Lib "winspool.drv" Alias "EnumJobsA" (ByVal hPrinter As Long, ByVal FirstJob As Long, ByVal NoJobs As Long, ByVal Level As Long, pJob As Byte, ByVal cdBuf As Long, pcbNeeded As Long, pcReturned As Long) As Long
Declare Function EnumLanguageGroupLocales lib "kernel32" Alias "EnumLanguageGroupLocalesA" (ByRef lpLangGroupLocaleEnumProc As LANGGROUPLOCALE_ENUMPROCA, ByRef LanguageGroup As LGRPID, ByVal dwFlags As Long, ByRef lParam As Long) As Long
Declare Function EnumMetaFile Lib "gdi32" (ByVal hDC As Long, ByVal hMF As Long, ByVal lpCallbackFunc As Long, ByVal lpClientData As Long) As Long
Declare Function EnumMonitors Lib "winspool.drv" Alias "EnumMonitorsA" (ByVal pName As String, ByVal Level As Long, pMonitors As Byte, ByVal cbBuf As Long, pcbNeeded As Long, pcReturned As Long) As Long
Declare Function EnumObjects Lib "gdi32" (ByVal hDC As Long, ByVal nObjectType As Long, ByVal lpObjectFunc As Long, ByVal lpData As Long) As Long
Declare Function EnumPorts Lib "winspool.drv" Alias "EnumPortsA" (ByVal pName As String, ByVal Level As Long, lpbPorts As Byte, ByVal cbBuf As Long, pcbNeeded As Long, pcReturned As Long) As Long
Declare Function EnumPrinterDrivers Lib "winspool.drv" Alias "EnumPrinterDriversA" (ByVal pName As String, ByVal pEnvironment As String, ByVal Level As Long, pDriverInfo As Byte, ByVal cdBuf As Long, pcbNeeded As Long, pcReturned As Long) As Long
Declare Function EnumPrinterPropertySheets Lib "winspool.drv" Alias "EnumPrinterPropertySheets" (hPrinter As Long, hwnd As Long, lpfnAdd As Long, ByVal lParam As Long) As Long
Declare Function EnumPrinters Lib "winspool.drv" Alias "EnumPrintersA" (ByVal flags As Long, ByVal name As String, ByVal Level As Long, pPrinterEnum As Byte, ByVal cdBuf As Long, pcbNeeded As Long, pcReturned As Long) As Long
Declare Function EnumPrintProcessorDatatypes Lib "winspool.drv" Alias "EnumPrintProcessorDatatypesA" (ByVal pName As String, ByVal pPrintProcessorName As String, ByVal Level As Long, pDatatypes As Byte, ByVal cdBuf As Long, pcbNeeded As Long, pcRetruned As Long) As Long
Declare Function EnumPrintProcessors Lib "winspool.drv" Alias "EnumPrintProcessorsA" (ByVal pName As String, ByVal pEnvironment As String, ByVal Level As Long, pPrintProcessorInfo As Byte, ByVal cdBuf As Long, pcbNeeded As Long, pcReturned As Long) As Long
Declare Function EnumProcesses lib "psapi" (ByRef lpidProcess As Long, ByVal cb As Long, ByRef cbNeeded As Long) As Long
Declare Function EnumProcessModules lib "psapi" (ByVal hProcess As Long, ByRef lphModule As Long, ByVal cb As Long, ByRef lpcbNeeded As Long) As Long
Declare Function EnumProps Lib "user32" Alias "EnumPropsA" (ByVal hWnd As Long, ByVal lpEnumFunc As Long) As Long
Declare Function EnumPropsEx Lib "user32" Alias "EnumPropsExA" (ByVal hWnd As Long, ByVal lpEnumFunc As Long, ByVal lParam As Long) As Long
Declare Function EnumProtocols lib "MSWSOCK" (ByRef lpiProtocols As Long, lpProtocolBuffer As Any, ByRef lpdwBufferLength As Long) As Long
Declare Function EnumResourceLanguages Lib "kernel32" Alias "EnumResourceLanguagesA" (ByVal hModule As Long, ByVal lpType As String, ByVal lpName As String, ByVal lpEnumFunc As Long, ByVal lParam As Long) As Long
Declare Function EnumResourceNames Lib "kernel32" Alias "EnumResourceNamesA" (ByVal hModule As Long, ByVal lpType As String, ByVal lpEnumFunc As Long, ByVal lParam As Long) As Long
Declare Function EnumResourceTypes Lib "kernel32" Alias "EnumResourceTypesA" (ByVal hModule As Long, ByVal lpEnumFunc As Long, ByVal lParam As Long) As Long
Declare Function EnumServicesStatus Lib "advapi32.dll" Alias "EnumServicesStatusA" (ByVal hSCManager As Long, ByVal dwServiceType As Long, ByVal dwServiceState As Long, lpServices As ENUM_SERVICE_STATUS, ByVal cbBufSize As Long, pcbBytesNeeded As Long, lpServicesReturned As Long, lpResumeHandle As Long) As Long
Declare Function EnumServicesStatusEx lib "ADVAPI32" (ByVal hSCManager As Long, ByVal InfoLevel As Struct_MembersOf_SC_ENUM_TYPE, ByVal dwServiceType As Long, ByVal dwServiceState As Long, ByVal lpServices As String, ByVal cbBufSize As Long, ByRef pcbBytesNeeded As Long, ByRef lpServicesReturned As Long, ByRef lpResumeHandle As Long, ByVal pszGroupName As String) As Long
Declare Function EnumSystemCodePages Lib "KERNEL32" Alias "EnumSystemCodePagesA" (ByVal lpCodePageEnumProc As Long, ByVal dwFlags As Long) As Long
Declare Function EnumSystemLanguageGroups lib "kernel32" Alias "EnumSystemLanguageGroupsA" (ByRef lpLanguageGroupEnumProc As LANGUAGEGROUP_ENUMPROCA, ByVal dwFlags As Long, ByRef lParam As Long) As Long
Declare Function EnumSystemLocales Lib "KERNEL32" Alias "EnumSystemLocalesA" (ByVal lpLocaleEnumProc As Long, ByVal dwFlags As Long) As Long
Declare Function EnumThreadWindows Lib "user32" (ByVal dwThreadID As Long, ByVal lpfn As Long, ByVal lParam As Long) As Long
Declare Function EnumTimeFormats Lib "KERNEL32" Alias "EnumTimeFormatsA" (ByVal lpTimeFmtEnumProc As Long, ByVal Locale As Long, ByVal dwFlags As Long) As Long
Declare Function EnumUILanguages lib "kernel32" Alias "EnumUILanguagesA" (ByRef lpUILanguageEnumProc As UILANGUAGE_ENUMPROCA, ByVal dwFlags As Long, ByRef lParam As Long) As Long
Declare Function EnumWindows Lib "user32" (ByVal lpEnumFunc As Long, ByVal lParam As Long) As Long
Declare Function EnumWindowStations Lib "user32" Alias "EnumWindowStationsA" (ByVal lpEnumFunc As Long, ByVal lParam As Long) As Long
Declare Function EqualPrefixSid Lib "advapi32.dll" Alias "EqualPrefixSid" (pSid1 As Any, pSid2 As Any) As Long
Declare Function EqualRect Lib "user32" Alias "EqualRect" (lpRect1 As RECT, lpRect2 As RECT) As Long
Declare Function EqualRgn Lib "gdi32" Alias "EqualRgn" (ByVal hSrcRgn1 As Long, ByVal hSrcRgn2 As Long) As Long
Declare Function EqualSid Lib "advapi32.dll" Alias "EqualSid" (pSid1 As Any, pSid2 As Any) As Long
Declare Function EraseTape Lib "kernel32" Alias "EraseTape" (ByVal hDevice As Long, ByVal dwEraseType As Long, ByVal bimmediate As Long) As Long
Declare Function Escape Lib "gdi32" Alias "Escape" (ByVal hdc As Long, ByVal nEscape As Long, ByVal nCount As Long, lpInData As Any, lpOutData As Any) As Long
Declare Function EscapeCommFunction Lib "kernel32" Alias "EscapeCommFunction" (ByVal nCid As Long, ByVal nFunc As Long) As Long
Declare Function EvictClusterNode lib "clusapi" (ByRef hNode As hNode) As Long
Declare Function ExcludeClipRect Lib "gdi32" Alias "ExcludeClipRect" (ByVal hdc As Long, ByVal X1 As Long, ByVal Y1 As Long, ByVal X2 As Long, ByVal Y2 As Long) As Long
Declare Function ExcludeUpdateRgn Lib "user32" Alias "ExcludeUpdateRgn" (ByVal hdc As Long, ByVal hwnd As Long) As Long
Declare Function ExecuteCab lib "advpack" (ByVal hwnd As Long, ByRef pCab As PCABINFO, pReserved As Any) As Long
Declare Function ExitWindows Lib "user32" Alias "ExitWindows" (ByVal dwReserved As Long, ByVal uReturnCode As Long) As Long
Declare Function ExitWindowsEx Lib "user32" Alias "ExitWindowsEx" (ByVal uFlags As Long, ByVal dwReserved As Long) As Long
Declare Function ExpandEnvironmentStrings Lib "kernel32" Alias "ExpandEnvironmentStringsA" (ByVal lpSrc As String, ByVal lpDst As String, ByVal nSize As Long) As Long
Declare Function ExpandEnvironmentStringsForUser lib "userenv" (ByVal hToken As Long, ByVal lpSrc As String, ByVal lpDest As String, ByVal dwSize As Long) As Long
Declare Function ExportNtmsDatabase lib "ntmsapi" (ByVal hSession As Long) As Long
Declare Function ExtCreatePen Lib "gdi32" Alias "ExtCreatePen" (ByVal dwPenStyle As Long, ByVal dwWidth As Long, lplb As LOGBRUSH, ByVal dwStyleCount As Long, lpStyle As Any) As Long
Declare Function ExtCreateRegion Lib "gdi32" Alias "ExtCreateRegion" (lpXform As xform, ByVal nCount As Long, lpRgnData As RGNDATA) As Long
Declare Function ExtEscape Lib "gdi32" Alias "ExtEscape" (ByVal hdc As Long, ByVal nEscape As Long, ByVal cbInput As Long, ByVal lpszInData As String, ByVal cbOutput As Long, ByVal lpszOutData As String) As Long
Declare Function ExtFloodFill Lib "gdi32" Alias "ExtFloodFill" (ByVal hdc As Long, ByVal x As Long, ByVal y As Long, ByVal crColor As Long, ByVal wFillType As Long) As Long
Declare Function ExtractAssociatedIcon Lib "shell32.dll" Alias "ExtractAssociateIconA" (ByVal hInst As Long, ByVal lpIconPath As String, lpiIcon As Integer) As Long
Declare Function ExtractFiles lib "advpack" (ByVal pszCabName As String, ByVal pszExpandDir As String, ByVal dwFlags As Long, ByVal pszFileList As String, lpReserved As Any, ByVal dwReserved As Long) As Long
Declare Function ExtractIcon Lib "shell32.dll" Alias "ExtractIconA" (ByVal hInst As Long, ByVal lpszExeFileName As String, ByVal nIconIndex As Long) As Long
Declare Function ExtractIconEx Lib "shell32.dll" Alias "ExtractIconExA" (ByVal lpszFile As String, ByVal nIconIndex As Long, phiconLarge As Long, phiconSmall As Long, ByVal nIcons As Long) As Long
Declare Function ExtSelectClipRgn Lib "gdi32" Alias "ExtSelectClipRgn" (ByVal hdc As Long, ByVal hRgn As Long, ByVal fnMode As Long) As Long
Declare Function ExtTextOut Lib "gdi32" Alias "ExtTextOutA" (ByVal hdc As Long, ByVal x As Long, ByVal y As Long, ByVal wOptions As Long, lpRect As Rect, ByVal lpString As String, ByVal nCount As Long, lpDx As Long) As Long
Declare Function FailClusterResource lib "clusapi" (ByRef hResource As hResource) As Long
Declare Function FaxAbort lib "winfax" (ByVal FaxHandle As Long, ByVal JobId As Long) As Long
Declare Function FaxAccessCheck lib "winfax" (ByVal FaxHandle As Long, ByVal AccessMask As Long) As Long
Declare Function FaxClose lib "winfax" (ByVal FaxHandle As Long) As Long
Declare Function FaxCompleteJobParams lib "winfax" (ByRef JobParams As OUT, ByRef CoverpageInfo As OUT) As Long
Declare Function FaxConnectFaxServer lib "winfax" (ByVal MachineName As String, ByRef FaxHandle As Long) As Long
Declare Function FaxEnableRoutingMethod lib "winfax" (ByVal FaxPortHandle As Long, ByVal RoutingGuid As String, ByVal Enabled As Long) As Long
Declare Function FaxEnumGlobalRoutingInfo lib "winfax" (ByVal FaxHandle As Long, ByRef RoutingInfo As PFAX_GLOBAL_ROUTING_INFOA, ByRef MethodsReturned As Long) As Long
Declare Function FaxEnumJobs lib "winfax" (ByVal FaxHandle As Long, ByRef JobEntry As PFAX_JOB_ENTRYA, ByRef JobsReturned As Long) As Long
Declare Function FaxEnumPorts lib "winfax" (ByVal FaxHandle As Long, ByRef PortInfo As PFAX_PORT_INFOA, ByRef PortsReturned As Long) As Long
Declare Function FaxEnumRoutingMethods lib "winfax" (ByVal FaxPortHandle As Long, ByRef RoutingMethod As PFAX_ROUTING_METHODA, ByRef MethodsReturned As Long) As Long
Declare Function FaxGetConfiguration lib "winfax" (ByVal FaxHandle As Long, ByRef FaxConfig As PFAX_CONFIGURATIONA) As Long
Declare Function FaxGetDeviceStatus lib "winfax" (ByVal FaxPortHandle As Long, ByRef DeviceStatus As PFAX_DEVICE_STATUSA) As Long
Declare Function FaxGetJob lib "winfax" (ByVal FaxHandle As Long, ByVal JobId As Long, ByRef JobEntry As PFAX_JOB_ENTRYA) As Long
Declare Function FaxGetLoggingCategories lib "winfax" (ByVal FaxHandle As Long, ByRef Categories As PFAX_LOG_CATEGORYA, ByRef NumberCategories As Long) As Long
Declare Function FaxGetPageData lib "winfax" (ByVal FaxHandle As Long, ByVal JobId As Long, ByVal buffer As String, ByRef BufferSize As Long, ByRef ImageWidth As Long, ByRef ImageHeight As Long) As Long
Declare Function FaxGetPort lib "winfax" (ByVal FaxPortHandle As Long, ByRef PortInfo As PFAX_PORT_INFOA) As Long
Declare Function FaxGetRoutingInfo lib "winfax" (ByVal FaxPortHandle As Long, ByVal RoutingGuid As String, ByVal RoutingInfoBuffer As String, ByRef RoutingInfoBufferSize As Long) As Long
Declare Function FaxInitializeEventQueue lib "winfax" (ByVal FaxHandle As Long, ByVal CompletionPort As Long, ByRef CompletionKey As ULONG_PTR, ByVal hwnd As Long, ByVal MessageStart As Long) As Long
Declare Function FaxOpenPort lib "winfax" (ByVal FaxHandle As Long, ByVal DeviceId As Long, ByVal flags As Long, ByRef FaxPortHandle As Long) As Long
Declare Function FaxPrintCoverPage lib "winfax" (ByRef FaxContextInfo As longx, ByRef CoverpageInfo As longx) As Long
Declare Function FaxSendDocument lib "winfax" (ByVal FaxHandle As Long, ByVal FileName As String, ByRef JobParams As PFAX_JOB_PARAMA, ByRef CoverpageInfo As longx, ByRef FaxJobId As Long) As Long
Declare Function FaxSendDocumentForBroadcast lib "winfax" (ByVal FaxHandle As Long, ByVal FileName As String, ByRef FaxJobId As Long, ByRef FaxRecipientCallback As PFAX_RECIPIENT_CALLBACKA, Context As Any) As Long
Declare Function FaxSetConfiguration lib "winfax" (ByVal FaxHandle As Long, ByRef FaxConfig As longx) As Long
Declare Function FaxSetGlobalRoutingInfo lib "winfax" (ByVal FaxHandle As Long, ByRef RoutingInfo As longx) As Long
Declare Function FaxSetJob lib "winfax" (ByVal FaxHandle As Long, ByVal JobId As Long, ByVal Command As Long, ByRef JobEntry As longx) As Long
Declare Function FaxSetLoggingCategories lib "winfax" (ByVal FaxHandle As Long, ByRef Categories As longx, ByVal NumberCategories As Long) As Long
Declare Function FaxSetPort lib "winfax" (ByVal FaxPortHandle As Long, ByRef PortInfo As longx) As Long
Declare Function FaxSetRoutingInfo lib "winfax" (ByVal FaxPortHandle As Long, ByVal RoutingGuid As String, ByVal RoutingInfoBuffer As String, ByVal RoutingInfoBufferSize As Long) As Long
Declare Function FaxStartPrintJob lib "winfax" (ByVal PrinterName As String, ByRef PrintInfo As longx, ByRef FaxJobId As Long, ByRef FaxContextInfo As PFAX_CONTEXT_INFOA) As Long
Declare Function FCIAddFile lib "CABINET" (ByRef hfci As hfci, ByVal pszSourceFile As String, ByVal pszFileName As String, ByVal fExecute As Long, ByRef pfnfcignc As PFNFCIGETNEXTCABINET, ByRef pfnfcis As PFNFCISTATUS, ByRef pfnfcigoi As PFNFCIGETOPENINFO, ByRef ltypeCompress As TCOMP) As Long
Declare Function FCIDestroy lib "CABINET" (ByRef hfci As hfci) As Long
Declare Function FCIFlushCabinet lib "CABINET" (ByRef hfci As hfci, ByVal fGetNextCab As Long, ByRef pfnfcignc As PFNFCIGETNEXTCABINET, ByRef pfnfcis As PFNFCISTATUS) As Long
Declare Function FCIFlushFolder lib "CABINET" (ByRef hfci As hfci, ByRef pfnfcignc As PFNFCIGETNEXTCABINET, ByRef pfnfcis As PFNFCISTATUS) As Long
Declare Function fCreateShellLink lib "VB5STKIT" (ByVal lpstrFolderName As String, ByVal lpstrLinkName As String, ByVal lpstrLinkPath As String, ByVal lpstrLinkArgs As String) As Long
Declare Function FDICopy lib "CABINET" (ByRef hfdi As hfdi, ByVal pszCabinet As String, ByVal pszCabPath As String, ByVal flags As Long, ByRef pfnfdin As PFNFDINOTIFY, ByRef pfnfdid As PFNFDIDECRYPT, pvUser As Any) As Long
Declare Function FDIDestroy lib "CABINET" (ByRef hfdi As hfdi) As Long
Declare Function FDIIsCabinet lib "CABINET" (ByRef hfdi As hfdi, ByRef hf As INT_PTR, ByRef pfdici As PFDICABINETINFO) As Long
Declare Function FDITruncateCabinet lib "CABINET" (ByRef hfdi As hfdi, ByVal pszCabinetName As String, ByVal iFolderToDelete As Integer) As Long
Declare Function FileEncryptionStatus lib "advapi32" Alias "FileEncryptionStatusA" (ByVal lpFileName As String, ByRef lpStatus As Long) As Long
Declare Function FileSaveMarkNotExist lib "advpack" (ByVal lpFileList As String, ByVal lpDir As String, ByVal lpBaseName As String) As Long
Declare Function FileSaveRestore lib "advpack" (ByVal hDlg As Long, ByVal lpFileList As String, ByVal lpDir As String, ByVal lpBaseName As String, ByVal dwFlags As Long) As Long
Declare Function FileSaveRestoreOnINF lib "advpack" (ByVal hWnd As Long, ByVal pszTitle As String, ByVal pszINF As String, ByVal pszSection As String, ByVal pszBackupDir As String, ByVal pszBaseBackupFile As String, ByVal dwFlags As Long) As Long
Declare Function FileTimeToDosDateTime Lib "kernel32" Alias "FileTimeToDosDateTime" (lpFileTime As FILETIME, lpFatDate As Integer, lpFatTime As Integer) As Long
Declare Function FileTimeToLocalFileTime Lib "kernel32" Alias "FileTimeToLocalFileTime" (lpFileTime As FILETIME, lpLocalFileTime As FILETIME) As Long
Declare Function FileTimeToSystemTime Lib "kernel32" Alias "FileTimeToSystemTime" (lpFileTime As FILETIME, lpSystemTime As SYSTEMTIME) As Long
Declare Function FillConsoleOutputAttribute Lib "kernel32" Alias "FillConsoleOutputAttribute" (ByVal hConsoleOutput As Long, ByVal wAttribute As Long, ByVal nLength As Long, dwWriteCoord As COORD, lpNumberOfAttrsWritten As Long) As Long
Declare Function FillConsoleOutputCharacter Lib "kernel32" Alias "FillConsoleOutputCharacterA" (ByVal hConsoleOutput As Long, ByVal cCharacter As Byte, ByVal nLength As Long, dwWriteCoord As COORD, lpNumberOfCharsWritten As Long) As Long
Declare Function FillPath Lib "gdi32" Alias "FillPath" (ByVal hdc As Long) As Long
Declare Function FillRect Lib "user32" Alias "FillRect" (ByVal hdc As Long, lpRect As RECT, ByVal hBrush As Long) As Long
Declare Function FillRgn Lib "gdi32" Alias "FillRgn" (ByVal hdc As Long, ByVal hRgn As Long, ByVal hBrush As Long) As Long
Declare Function FilterNPPBlob lib "npptools" (ByRef hBlob As hBlob, ByRef FilterBlob As hBlob) As Long
Declare Function FindAtom Lib "kernel32" Alias "FindAtomA" (ByVal lpString As String) As Integer
Declare Function FindCertsByIssuer lib "softpub" (ByRef pCertChains As PCERT_CHAIN, ByRef pcbCertChains As Long, ByRef pcCertChains As Long, ByVal pbEncodedIssuerName As String, ByVal cbEncodedIssuerName As Long, ByVal pwszPurpose As String, ByVal dwKeySpec As Long) As Long
Declare Function FindClose Lib "kernel32" Alias "FindClose" (ByVal hFindFile As Long) As Long
Declare Function FindCloseChangeNotification Lib "kernel32" Alias "FindCloseChangeNotification" (ByVal hChangeHandle As Long) As Long
Declare Function FindClosePrinterChangeNotification Lib "winspool.drv" Alias "FindClosePrinterChangeNotification" (ByVal hChange As Long) As Long
Declare Function FindDebugInfoFile lib "dbghelp" (ByVal FileName As String, ByVal SymbolPath As String, ByVal DebugFilePath As String) As Long
Declare Function FindDebugInfoFileEx lib "dbghelp" (ByVal FileName As String, ByVal SymbolPath As String, ByVal DebugFilePath As String, ByRef Callback As PFIND_DEBUG_FILE_CALLBACK, CallerData As Any) As Long
Declare Function FindEnvironmentString Lib "shell32.dll" Alias "FindEnvironmentStringA" (ByVal szEnvVar As String) As String
Declare Function FindExecutable Lib "shell32.dll" Alias "FindExecutableA" (ByVal lpFile As String, ByVal lpDirectory As String, ByVal lpResult As String) As Long
Declare Function FindExecutableImage lib "dbghelp" (ByVal FileName As String, ByVal SymbolPath As String, ByVal ImageFilePath As String) As Long
Declare Function FindExecutableImageEx lib "IMAGEHLP" (ByVal FileName As String, ByVal SymbolPath As String, ByVal ImageFilePath As String, ByRef Callback As PFIND_EXE_FILE_CALLBACK, CallerData As Any) As Long
Declare Function FindFileInPath lib "IMAGEHLP" (ByVal hProcess As Long, ByVal SearchPath As String, ByVal FileName As String, id As Any, ByVal two As Long, ByVal three As Long, ByVal flags As Long, ByVal FilePath As String) As Long
Declare Function FindFileInSearchPath lib "IMAGEHLP" (ByVal hProcess As Long, ByVal SearchPath As String, ByVal FileName As String, ByVal one As Long, ByVal two As Long, ByVal three As Long, ByVal FilePath As String) As Long
Declare Function FindFirstChangeNotification Lib "kernel32" Alias "FindFirstChangeNotificationA" (ByVal lpPathName As String, ByVal bWatchSubtree As Long, ByVal dwNotifyFilter As Byte) As Long
Declare Function FindFirstFile Lib "kernel32" Alias "FindFirstFileA" (ByVal lpFileName As String, lpFindFileData As WIN32_FIND_DATA) As Long
Declare Function FindFirstFileEx lib "kernel32" Alias "FindFirstFileExA" (ByVal lpFileName As String, ByVal fInfoLevelId As Struct_MembersOf_FINDEX_INFO_LEVELS, lpFindFileData As Any, ByVal fSearchOp As Struct_MembersOf_FINDEX_SEARCH_OPS, lpSearchFilter As Any, ByVal dwAdditionalFlags As Long) As Long
Declare Function FindFirstFreeAce Lib "advapi32.dll" Alias "FindFirstFreeAce" (pAcl As ACL, pAce As Long) As Long
Declare Function FindFirstPrinterChangeNotification Lib "winspool.drv" Alias "FindFirstPrinterChangeNotification" (ByVal hPrinter As Long, ByVal fdwFlags As Long, ByVal fdwOptions As Long, pPrinterNotifyOptions As Byte) As Long
Declare Function FindFirstUrlCacheEntry lib "wininet" Alias "FindFirstUrlCacheEntryA" (ByVal lpszUrlSearchPattern As String, ByRef lpFirstCacheEntryInfo As INTERNET_CACHE_ENTRY_INFOA, ByRef lpdwFirstCacheEntryInfoBufferSize As Long) As Long
Declare Function FindFirstUrlCacheEntryEx lib "wininet" Alias "FindFirstUrlCacheEntryExA" (ByVal lpszUrlSearchPattern As String, ByVal dwFlags As Long, ByVal dwFilter As Long, ByRef GroupId As GROUPID, ByRef lpFirstCacheEntryInfo As INTERNET_CACHE_ENTRY_INFOA, ByRef lpdwFirstCacheEntryInfoBufferSize As Long, lpReserved As Any, ByRef pcbReserved2 As Long, lpReserved3 As Any) As Long
Declare Function FindFirstUrlCacheGroup lib "wininet" (ByVal dwFlags As Long, ByVal dwFilter As Long, lpSearchCondition As Any, ByVal dwSearchCondition As Long, ByRef lpGroupId As GROUPID, lpReserved As Any) As Long
Declare Function FindFirstVolume lib "kernel32" Alias "FindFirstVolumeA" (ByVal lpszVolumeName As String, ByVal cchBufferLength As Long) As Long
Declare Function FindFirstVolumeMountPoint lib "kernel32" Alias "FindFirstVolumeMountPointA" (ByVal lpszRootPathName As String, ByVal lpszVolumeMountPoint As String, ByVal cchBufferLength As Long) As Long
Declare Function FindNextChangeNotification Lib "kernel32" Alias "FindNextChangeNotification" (ByVal hChangeHandle As Long) As Long
Declare Function FindNextFile Lib "kernel32" Alias "FindNextFileA" (ByVal hFindFile As Long, lpFindFileData As WIN32_FIND_DATA) As Long
Declare Function FindNextPrinterChangeNotification Lib "winspool.drv" Alias "FindNextPrinterChangeNotification" (ByVal hChange As Long, pdwChange As Long, ByVal pvReserved As Long, ppPrinterNotifyInfo As Long) As Long
Declare Function FindNextUrlCacheGroup lib "wininet" (ByVal hFind As Long, ByRef lpGroupId As GROUPID, lpReserved As Any) As Long
Declare Function FindNextVolume lib "kernel32" Alias "FindNextVolumeA" (ByVal hFindVolume As Long, ByVal lpszVolumeName As String, ByVal cchBufferLength As Long) As Long
Declare Function FindNextVolumeMountPoint lib "kernel32" Alias "FindNextVolumeMountPointA" (ByVal hFindVolumeMountPoint As Long, ByVal lpszVolumeMountPoint As String, ByVal cchBufferLength As Long) As Long
Declare Function FindOneOf lib "npptools" (ByVal p1 As String, ByVal p2 As String) As Long
Declare Function FindResource Lib "kernel32" Alias "FindResourceA" (ByVal hInstance As Long, ByVal lpName As String, ByVal lpType As String) As Long
Declare Function FindResourceEx Lib "kernel32" Alias "FindResourceExA" (ByVal hModule As Long, ByVal lpType As String, ByVal lpName As String, ByVal wLanguage As Integer) As Long
Declare Function FindText Lib "comdlg32.dll" Alias "FindTextA " (pFindreplace As FINDREPLACE) As Long
Declare Function FindUnknownBlobCategories lib "npptools" (ByRef hBlob As Long, ByVal pOwnerName As String, ByRef pKnownCategoriesTable() As String, ByRef hUnknownCategoriesBlob As Long) As Long
Declare Function FindUnknownBlobTags lib "npptools" (ByRef hBlob As Long, ByVal pOwnerName As String, ByVal pCategoryName As String, ByRef pKnownTagsTable() As String, ByRef hUnknownTagsBlob As Long) As Long
Declare Function FindVolumeClose lib "kernel32" (ByVal hFindVolume As Long) As Long
Declare Function FindVolumeMountPointClose lib "kernel32" (ByVal hFindVolumeMountPoint As Long) As Long
Declare Function FindWindow Lib "user32" Alias "FindWindowA" (ByVal lpClassName As String, ByVal lpWindowName As String) As Long
Declare Function FindWindowEx Lib "user32" Alias "FindWindowExA" (ByVal hWndParent As Long, ByVal hWndChildAfter As Long, ByVal lpClassName As String, ByVal lpWindowName As String) As Long
Declare Function FixBrushOrgEx Lib "gdi32" Alias "FixBrushOrgEx" (ByVal hDC As Long, ByVal n1 As Long, ByVal n2 As Long, lpPoint As POINTAPI) As Long
Declare Function FlashWindow Lib "user32" Alias "FlashWindow" (ByVal hwnd As Long, ByVal bInvert As Long) As Long
Declare Function FlashWindowEx lib "user32" (ByRef pfwi As PFLASHWINFO) As Long
Declare Function FlatSB_EnableScrollBar lib "comctl32" (ByVal hwnd As Long, ByValt As Long, ByVal uint As Long) As Long
Declare Function FlatSB_GetScrollInfo lib "comctl32" (ByVal hwnd As Long, ByVal code As Long, ByRef lpscrollinfo As SCROLLINFO) As Long
Declare Function FlatSB_GetScrollPos lib "comctl32" (ByVal hwnd As Long, ByVal code As Long) As Long
Declare Function FlatSB_GetScrollProp lib "comctl32" (ByVal hwnd As Long, ByVal propIndex As Long, ByRef lpint As Long) As Long
Declare Function FlatSB_GetScrollRange lib "comctl32" (ByVal hwnd As Long, ByVal code As Long, ByRef lpint As Long, ByRef lpint As Long) As Long
Declare Function FlatSB_SetScrollInfo lib "comctl32" (ByVal hwnd As Long, ByVal code As Long, ByRef lpscrollinfo As SCROLLINFO, ByVal fRedraw As Long) As Long
Declare Function FlatSB_SetScrollPos lib "comctl32" (ByVal hwnd As Long, ByVal code As Long, ByVal pos As Long, ByVal fRedraw As Long) As Long
Declare Function FlatSB_SetScrollProp lib "comctl32" (ByVal hwnd As Long, ByVal index As Long, ByRef newValue As T_PTR, ByVal bool As Long) As Long
Declare Function FlatSB_SetScrollRange lib "comctl32" (ByVal hwnd As Long, ByVal code As Long, ByVal min As Long, ByVal max As Long, ByVal fRedraw As Long) As Long
Declare Function FlatSB_ShowScrollBar lib "comctl32" (ByVal hwnd As Long, ByVal code As Long, ByVal bool As Long) As Long
Declare Function FlattenPath Lib "gdi32" Alias "FlattenPath" (ByVal hdc As Long) As Long
Declare Function FloodFill Lib "gdi32" Alias "FloodFill" (ByVal hdc As Long, ByVal x As Long, ByVal y As Long, ByVal crColor As Long) As Long
Declare Function FlushConsoleInputBuffer Lib "kernel32" Alias "FlushConsoleInputBuffer" (ByVal hConsoleInput As Long) As Long
Declare Function FlushFileBuffers Lib "kernel32" Alias "FlushFileBuffers" (ByVal hFile As Long) As Long
Declare Function FlushInstructionCache Lib "kernel32" Alias "FlushInstructionCache" (ByVal hProcess As Long, lpBaseAddress As Any, ByVal dwSize As Long) As Long
Declare Function FlushIpNetTable lib "IPHLPAPI" (ByVal dwIfIndex As Long) As Long
Declare Function FlushPrinter lib "SPOOLSS" (ByVal hPrinter As Long, pBuf As Any, ByVal cbBuf As Long, ByRef pcWritten As Long, ByVal cSleep As Long) As Long
Declare Function FlushViewOfFile Lib "kernel32" Alias "FlushViewOfFile" (ByVal lpBaseAddress As Long, ByVal dwNumberOfBytesToFlush As Long) As Long
Declare Function FoldString Lib "kernel32" Alias "FoldStringA" (ByVal dwMapFlags As Long, ByVal lpSrcStr As String, ByVal cchSrc As Long, ByVal lpDestStr As String, ByVal cchDest As Long) As Long
Declare Function FormatMessage Lib "kernel32" Alias "FormatMessageA" (ByVal dwFlags As Long, lpSource As Any, ByVal dwMessageId As Long, ByVal dwLanguageId As Long, ByVal lpBuffer As String, ByVal nSize As Long, Arguments As Long) As Long
Declare Function FrameRect Lib "user32" Alias "FrameRect" (ByVal hdc As Long, lpRect As RECT, ByVal hBrush As Long) As Long
Declare Function FrameRgn Lib "gdi32" Alias "FrameRgn" (ByVal hdc As Long, ByVal hRgn As Long, ByVal hBrush As Long, ByVal nWidth As Long, ByVal nHeight As Long) As Long
Declare Function FreeADsMem lib "activeds" (pMem As Any) As Long
Declare Function FreeADsStr lib "activeds" (ByVal pStr As String) As Long
Declare Function FreeConsole Lib "kernel32" Alias "FreeConsole" () As Long
Declare Function FreeDDElParam Lib "user32" Alias "FreeDDElParam" (ByVal msg As Long, ByVal lParam As Long) As Long
Declare Function FreeEnvironmentStrings Lib "kernel32" Alias "FreeEnvironmentStringsA" (ByVal lpsz As Long) As Long
Declare Function FreeGPOList lib "userenv" (ByRef pGPOList As PGROUP_POLICY_OBJECTA) As Long
Declare Function FreeInheritedFromArray lib "ADVAPI32" (ByRef pInheritArray As PINHERITED_FROMW, ByVal AceCnt As Integer, ByRef pfnArray As PFN_OBJECT_MGR_FUNCTS) As Long
Declare Function FreeLibrary Lib "kernel32" Alias "FreeLibrary" (ByVal hLibModule As Long) As Long
Declare Function FreePrinterNotifyInfo Lib "winspool.drv"  (ByVal addr As Long) As Long
Declare Function FreeResource Lib "kernel32" Alias "FreeResource" (ByVal hResData As Long) As Long
Declare Function FreeUserPhysicalPages lib "KERNEL32" (ByVal hProcess As Long, ByRef NumberOfPages As OUT, ByRef PageArray As PULONG_PTR) As Long
Declare Function FtpCommand lib "wininet" Alias "FtpCommandA" (ByVal hConnect As Long, ByVal fExpectResponse As Boolean, ByVal dwFlags As Long, ByVal lpszCommand As String, ByVal dwContext As Long, ByVal phFtpCommand As Long) As Boolean
Declare Function FtpGetFileSize lib "wininet" (ByRef hFile As Long, ByRef lpdwFileSizeHigh As Long) As Long
Declare Function GdiComment Lib "gdi32" Alias "GdiComment" (ByVal hdc As Long, ByVal cbSize As Long, lpData As Any) As Long
Declare Function GdiFlush Lib "gdi32" Alias "GdiFlush" () As Long
Declare Function GdiGetBatchLimit Lib "gdi32" Alias "GdiGetBatchLimit" () As Long
Declare Function GdiSetBatchLimit Lib "gdi32" Alias "GdiSetBatchLimit" (ByVal dwLimit As Long) As Long
Declare Function GenerateConsoleCtrlEvent Lib "kernel32" Alias "GenerateConsoleCtrlEvent" (ByVal dwCtrlEvent As Long, ByVal dwProcessGroupId As Long) As Long
Declare Function GetAce Lib "advapi32.dll" Alias "GetAce" (pAcl As ACL, ByVal dwAceIndex As Long, pAce As Any) As Long
Declare Function GetAclInformation Lib "advapi32.dll" Alias "GetAclInformation" (pAcl As ACL, pAclInformation As Any, ByVal nAclInformationLength As Long, ByVal dwAclInformationClass As Integer) As Long
Declare Function GetACP Lib "kernel32" Alias "GetACP" () As Long
Declare Function GetActiveWindow Lib "user32" Alias "GetActiveWindow" () As Long
Declare Function GetAdapterIndex lib "IPHLPAPI" (ByVal AdapterName As String, ByRef IfIndex As Long) As Long
Declare Function GetAdaptersInfo lib "IPHLPAPI" (ByRef pAdapterInfo As PIP_ADAPTER_INFO, ByRef pOutBufLen As Long) As Long
Declare Function GetAddressByName lib "MSWSOCK" (ByVal dwNameSpace As Long, ByVal lpServiceType As Long, ByVal lpServiceName As String, ByRef lpiProtocols As Long, ByVal dwResolution As Long, ByRef lpServiceAs As LPSERVICE_ASYNC_INFO, lpCsaddrBuffer As Any, ByRef lpdwBufferLength As Long, ByVal lpAliasBuffer As String, ByRef lpdwAliasBufferLength As Long) As Long
Declare Function GetAllUsersProfileDirectory lib "userenv" Alias "GetAllUsersProfileDirectoryA" (ByVal lpProfileDir As String, lpcchSize As Long) As Boolean
Declare Function GetAltTabInfo lib "user32" (ByVal hwnd As Long, ByVal iItem As Long, ByRef pati As PALTTABINFO, ByVal pszItemText As String, ByVal cchItemText As Long) As Long
Declare Function GetAncestor lib "user32" (ByVal hwnd As Long, ByVal gaFlags As Long) As Long
Declare Function GetAppliedGPOList lib "userenv" (ByVal dwFlags As Long, ByVal pMachineName As String, ByRef pSidUser As Sid, ByRef pGuidExtension As Guid, ByRef ppGPOList As PGROUP_POLICY_OBJECTA) As Long
Declare Function GetArcDirection Lib "gdi32" Alias "GetArcDirection" (ByVal hdc As Long) As Long
Declare Function GetAspectRatioFilterEx Lib "gdi32" Alias "GetAspectRatioFilterEx" (ByVal hdc As Long, lpAspectRatio As SIZE) As Long
Declare Function GetAsyncKeyState Lib "user32" Alias "GetAsyncKeyState" (ByVal vKey As Long) As Integer
Declare Function GetAtomName Lib "kernel32" Alias "GetAtomNameA" (ByVal nAtom As Integer, ByVal lpBuffer As String, ByVal nSize As Long) As Long
Declare Function GetAuditedPermissionsFromAcl lib "ADVAPI32" (ByVal pAcl As Struct_MembersOf_PACL, ByRef pTrustee As PTRUSTEE_A, ByRef pSuccessfulAuditedRights As ACCESS_MASK, ByRef pFailedAuditRights As ACCESS_MASK) As Long
Declare Function GetBestInterface lib "IPHLPAPI" (ByRef dwDestAddr As IPAddr, ByRef pdwBestIfIndex As Long) As Long
Declare Function GetBestRoute lib "IPHLPAPI" (ByVal dwDestAddr As Long, ByVal dwSourceAddr As Long, ByRef pBestRoute As PMIB_IPFORWARDROW) As Long
Declare Function GetBinaryType Lib "kernel32" Alias "GetBinaryTypeA" (ByVal lpApplicationName As String, lpBinaryType As Long) As Long
Declare Function GetBitmapBits Lib "gdi32" Alias "GetBitmapBits" (ByVal hBitmap As Long, ByVal dwCount As Long, lpBits As Any) As Long
Declare Function GetBitmapDimensionEx Lib "gdi32" Alias "GetBitmapDimensionEx" (ByVal hBitmap As Long, lpDimension As SIZE) As Long
Declare Function GetBkColor Lib "gdi32" Alias "GetBkColor" (ByVal hdc As Long) As Long
Declare Function GetBkMode Lib "gdi32" Alias "GetBkMode" (ByVal hdc As Long) As Long
Declare Function GetBoolFromBlob lib "npptools" (ByRef hBlob As hBlob, ByVal pOwnerName As String, ByVal pCategoryName As String, ByVal pTagName As String, ByRef pBool As Long) As Long
Declare Function GetBoundsRect Lib "gdi32" Alias "GetBoundsRect" (ByVal hdc As Long, lprcBounds As RECT, ByVal flags As Long) As Long
Declare Function GetBrushOrgEx Lib "gdi32" Alias "GetBrushOrgEx" (ByVal hDC As Long, lpPoint As POINTAPI) As Long
Declare Function GetCalendarInfo lib "kernel32" Alias "GetCalendarInfoA" (ByVal Locale As Long, ByVal Calendar As Long, ByVal CalType As Long, ByVal lpCalData As String, ByVal cchData As Long, ByRef lpValue As Long) As Long
Declare Function GetCapture Lib "user32" Alias "GetCapture" () As Long
Declare Function GetCaretBlinkTime Lib "user32" Alias "GetCaretBlinkTime" () As Long
Declare Function GetCaretPos Lib "user32" Alias "GetCaretPos" (lpPoint As POINTAPI) As Long
Declare Function GetCharABCWidths Lib "gdi32" Alias "GetCharABCWidthsA" (ByVal hdc As Long, ByVal uFirstChar As Long, ByVal uLastChar As Long, lpabc As ABC) As Long
Declare Function GetCharABCWidthsFloat Lib "gdi32" Alias "GetCharABCWidthsFloatA" (ByVal hdc As Long, ByVal iFirstChar As Long, ByVal iLastChar As Long, lpABCF As ABCFLOAT) As Long
Declare Function GetCharABCWidthsI lib "gdi32" (ByVal hdc As Long, ByVal uint As Long, ByVal uint As Long, ByRef lpword As Integer, ByRef lpabc As ABC) As Long
Declare Function GetCharacterPlacement Lib "gdi32" Alias "GetCharacterPlacementA" (ByVal hdc As Long, ByVal lpsz As String, ByVal n1 As Long, ByVal n2 As Long, lpGcpResults As GCP_RESULTS, ByVal dw As Long) As Long
Declare Function GetCharWidth Lib "gdi32" Alias "GetCharWidthA" (ByVal hdc As Long, ByVal wFirstChar As Long, ByVal wLastChar As Long, lpBuffer As Long) As Long
Declare Function GetCharWidth32 Lib "gdi32" Alias "GetCharWidth32A" (ByVal hdc As Long, ByVal iFirstChar As Long, ByVal iLastChar As Long, lpBuffer As Long) As Long
Declare Function GetCharWidthFloat Lib "gdi32" Alias "GetCharWidthFloatA" (ByVal hdc As Long, ByVal iFirstChar As Long, ByVal iLastChar As Long, pxBuffer As Single) As Long
Declare Function GetCharWidthI lib "gdi32" (ByVal hdc As Long, ByVal uint As Long, ByVal uint As Long, ByRef lpword As Integer, ByRef lpint As Long) As Long
Declare Function GetClassIDFromBlob lib "npptools" (ByRef hBlob As hBlob, ByVal pOwnerName As String, ByVal pCategoryName As String, ByVal pTagName As String, ByRef pclsid As Long) As Long
Declare Function GetClassInfo Lib "user32" Alias "GetClassInfoA" (ByVal hInstance As Long, ByVal lpClassName As String, lpWndClass As WNDCLASS) As Long
Declare Function GetClassInfoEx Lib "user32" Alias "GetClassInfoExA" (ByVal hInstance As Long, ByVal lpClassName As String, lpWndClassEx As WNDCLASSEX) As Long
Declare Function GetClassLong Lib "user32" Alias "GetClassLongA" (ByVal hwnd As Long, ByVal nIndex As Long) As Long
Declare Function GetClassName Lib "user32" Alias "GetClassNameA" (ByVal hwnd As Long, ByVal lpClassName As String, ByVal nMaxCount As Long) As Long
Declare Function GetClassWord Lib "user32" Alias "GetClassWord" (ByVal hwnd As Long, ByVal nIndex As Long) As Long
Declare Function GetClientRect Lib "user32" Alias "GetClientRect" (ByVal hwnd As Long, lpRect As RECT) As Long
Declare Function GetClipboardData Lib "user32" (ByVal wFormat As Long) As Long
Declare Function GetClipboardFormatName Lib "user32" Alias "GetClipboardFormatNameA" (ByVal wFormat As Long, ByVal lpString As String, ByVal nMaxCount As Long) As Long
Declare Function GetClipboardOwner Lib "user32" Alias "GetClipboardOwner" () As Long
Declare Function GetClipboardSequenceNumber lib "user32" () As Long
Declare Function GetClipboardViewer Lib "user32" Alias "GetClipboardViewer" () As Long
Declare Function GetClipBox Lib "gdi32" Alias "GetClipBox" (ByVal hdc As Long, lpRect As RECT) As Long
Declare Function GetClipCursor Lib "user32" Alias "GetClipCursor" (lprc As RECT) As Long
Declare Function GetClipRgn Lib "gdi32" Alias "GetClipRgn" (ByVal hdc As Long, ByVal hRgn As Long) As Long
Declare Function GetClusterGroupState lib "clusapi" (ByRef hGroup As hGroup, ByVal lpszNodeName As String, ByRef lpcchNodeName As Long) As CLUSTER_GROUP_STATE
Declare Function GetClusterInformation lib "clusapi" (ByRef hCluster As hCluster, ByVal lpszClusterName As String, ByRef lpcchClusterName As Long, ByRef lpClusterInfo As Long) As Long
Declare Function GetClusterNodeId lib "clusapi" (ByRef hNode As hNode, ByVal lpszNodeId As String, ByRef lpcchName As Long) As Long
Declare Function GetClusterNodeState lib "clusapi" (ByRef hNode As hNode) As CLUSTER_NODE_STATE
Declare Function GetClusterNotify lib "clusapi" (ByRef hChange As hChange, ByRef lpdwNotifyKey As DWORD_PTR, ByRef lpdwFilterType As Long, ByVal lpszName As String, ByRef lpcchName As Long, ByVal dwMilliseconds As Long) As Long
Declare Function GetClusterQuorumResource lib "clusapi" (ByRef hCluster As hCluster, ByVal lpszResourceName As String, ByRef lpcchResourceName As Long, ByVal lpszDeviceName As String, ByRef lpcchDeviceName As Long, ByRef lpdwMaxQuorumLogSize As Long) As Long
Declare Function GetClusterResourceNetworkName lib "clusapi" (ByRef hResource As hResource, ByVal lpBuffer As String, ByRef nSize As Long) As Long
Declare Function GetClusterResourceState lib "clusapi" (ByRef hResource As hResource, ByVal lpszNodeName As String, ByRef lpcchNodeName As Long, ByVal lpszGroupName As String, ByRef lpcchGroupName As Long) As CLUSTER_RESOURCE_STATE
Declare Function GetClusterResourceTypeKey lib "clusapi" (ByRef hCluster As hCluster, ByVal lpszTypeName As String, ByVal samDesired As Long) As Long
Declare Function GetCMMInfo lib "mscms" (ByRef THTRANSFORM As Long, ByVal dword As Long) As Long
Declare Function GetColorAdjustment Lib "gdi32" Alias "GetColorAdjustment" (ByVal hdc As Long, lpca As COLORADJUSTMENT) As Long
Declare Function GetColorDirectory lib "mscms" Alias "GetColorDirectoryA" (ByVal pcstr As String, ByVal pstr As String, ByRef pdword As Long) As Long
Declare Function GetColorProfileElement lib "mscms" (ByRef THPROFILE As Long, ByRef TTAGTYPE As TAGTYPE, ByVal dword As Long, ByRef pdword As Long, pvoid As Any, ByRef pbool As Long) As Long
Declare Function GetColorProfileElementTag lib "mscms" (ByRef THPROFILE As Long, ByVal dword As Long, ByRef TPTAGTYPE As PTAGTYPE) As Long
Declare Function GetColorProfileFromHandle lib "mscms" (ByRef THPROFILE As Long, ByVal pbyte As String, ByRef pdword As Long) As Long
Declare Function GetColorProfileHeader lib "mscms" (ByRef THPROFILE As Long, ByRef TPPROFILEHEADER As PPROFILEHEADER) As Long
Declare Function GetColorSpace Lib "gdi32" Alias "GetColorSpace" (ByVal hdc As Long) As Long
Declare Function GetComboBoxInfo lib "user32" (ByVal hwndCombo As Long, ByRef pcbi As PCOMBOBOXINFO) As Long
Declare Function GetCommandLine Lib "kernel32" Alias "GetCommandLineA" () As Long
Declare Function GetCommConfig Lib "kernel32" Alias "GetCommConfig" (ByVal hCommDev As Long, lpCC As COMMCONFIG, lpdwSize As Long) As Long
Declare Function GetCommMask Lib "kernel32" Alias "GetCommMask" (ByVal hFile As Long, lpEvtMask As Long) As Long
Declare Function GetCommModemStatus Lib "kernel32" Alias "GetCommModemStatus" (ByVal hFile As Long, lpModemStat As Long) As Long
Declare Function GetCommProperties Lib "kernel32" Alias "GetCommProperties" (ByVal hFile As Long, lpCommProp As COMMPROP) As Long
Declare Function GetCommState Lib "kernel32" Alias "GetCommState" (ByVal nCid As Long, lpDCB As DCB) As Long
Declare Function GetCommTimeouts Lib "kernel32" Alias "GetCommTimeouts" (ByVal hFile As Long, lpCommTimeouts As COMMTIMEOUTS) As Long
Declare Function GetCompressedFileSize Lib "kernel32" Alias "GetCompressedFileSizeA" (ByVal lpFileName As String, lpFileSizeHigh As Long) As Long
Declare Function GetComputerName Lib "kernel32" Alias "GetComputerNameA" (ByVal lpBuffer As String, nSize As Long) As Long
Declare Function GetComputerNameEx lib "kernel32" Alias "GetComputerNameExA" (ByVal NameType As Struct_MembersOf_COMPUTER_NAME_FORMAT, ByVal lpBuffer As String, ByRef nSize As Long) As Long
Declare Function GetComputerObjectName lib "secur32" Alias "GetComputerObjectNameA" (ByVal NameFormat As Struct_MembersOf_EXTENDED_NAME_FORMAT, ByVal lpNameBuffer As String, ByRef nSize As Long) As Long
Declare Function GetConsoleCP Lib "kernel32" Alias "GetConsoleCP" () As Long
Declare Function GetConsoleCursorInfo Lib "kernel32" Alias "GetConsoleCursorInfo" (ByVal hConsoleOutput As Long, lpConsoleCursorInfo As CONSOLE_CURSOR_INFO) As Long
Declare Function GetConsoleMode Lib "kernel32" Alias "GetConsoleMode" (ByVal hConsoleHandle As Long, lpMode As Long) As Long
Declare Function GetConsoleOutputCP Lib "kernel32" Alias "GetConsoleOutputCP" () As Long
Declare Function GetConsoleScreenBufferInfo Lib "kernel32" Alias "GetConsoleScreenBufferInfo" (ByVal hConsoleOutput As Long, lpConsoleScreenBufferInfo As CONSOLE_SCREEN_BUFFER_INFO) As Long
Declare Function GetConsoleTitle Lib "kernel32" Alias "GetConsoleTitleA" (ByVal lpConsoleTitle As String, ByVal nSize As Long) As Long
Declare Function GetCountColorProfileElements lib "mscms" (ByRef THPROFILE As Long, ByRef pdword As Long) As Long
Declare Function GetCPInfo Lib "kernel32" Alias "GetCPInfo" (ByVal CodePage As Long, lpCPInfo As CPINFO) As Long
Declare Function GetCPInfoEx lib "kernel32" Alias "GetCPInfoExA" (ByVal CodePage As Long, ByVal dwFlags As Long, ByRef lpCPInfoEx As CPINFOEXA) As Long
Declare Function GetCurrencyFormat Lib "kernel32" Alias "GetCurrencyFormatA" (ByVal Locale As Long, ByVal dwFlags As Long, ByVal lpValue As String, lpFormat As CURRENCYFMT, ByVal lpCurrencyStr As String, ByVal cchCurrency As Long) As Long
Declare Function GetCurrencyFormatBynum Lib "kernel32" Alias "GetCurrencyFormatA" (ByVal Locale As Long, ByVal dwFlags As Long, ByVal lpValue As String, ByVal lpFormat As Long, ByVal lpCurrencyStr As String, ByVal cchCurrency As Long) As Long
Declare Function GetCurrentDirectory Lib "kernel32" Alias "GetCurrentDirectoryA" (ByVal nBufferLength As Long, ByVal lpBuffer As String) As Long
Declare Function GetCurrentHwProfile lib "advapi32" Alias "GetCurrentHwProfileA" (ByRef lpHwProfileInfo As HW_PROFILE_INFOA) As Long
Declare Function GetCurrentObject Lib "gdi32" Alias "GetCurrentObject" (ByVal hdc As Long, ByVal uObjectType As Long) As Long
Declare Function GetCurrentPositionEx Lib "gdi32" Alias "GetCurrentPositionEx" (ByVal hdc As Long, lpPoint As POINTAPI) As Long
Declare Function GetCurrentProcess Lib "kernel32" Alias "GetCurrentProcess" () As Long
Declare Function GetCurrentProcessId Lib "kernel32" Alias "GetCurrentProcessId" () As Long
Declare Function GetCurrentThread Lib "kernel32" Alias "GetCurrentThread" () As Long
Declare Function GetCurrentThreadId Lib "kernel32" Alias "GetCurrentThreadId" () As Long
Declare Function GetCursor Lib "user32" Alias "GetCursor" () As Long
Declare Function GetCursorInfo lib "user32" (ByRef pci As PCURSORINFO) As Long
Declare Function GetCursorPos Lib "user32" Alias "GetCursorPos" (lpPoint As POINTAPI) As Long
Declare Function GetDateFormat Lib "kernel32" Alias "GetDateFormatA" (ByVal Locale As Long, ByVal dwFlags As Long, lpDate As SYSTEMTIME, ByVal lpFormat As String, ByVal lpDateStr As String, ByVal cchDate As Long) As Long
Declare Function GetDC Lib "user32" Alias "GetDC" (ByVal hwnd As Long) As Long
Declare Function GetDCBrushColor lib "gdi32" (ByVal hdc As Long) As Long
Declare Function GetDCEx Lib "user32" Alias "GetDCEx" (ByVal hwnd As Long, ByVal hrgnclip As Long, ByVal fdwOptions As Long) As Long
Declare Function GetDCOrgEx Lib "gdi32" Alias "GetDCOrgEx" (ByVal hdc As Long, lpPoint As POINTAPI) As Long
Declare Function GetDCPenColor lib "gdi32" (ByVal hdc As Long) As Long
Declare Function GetDefaultCommConfig Lib "kernel32" Alias "GetDefaultCommConfigA" (ByVal lpszName As String, lpCC As COMMCONFIG, lpdwSize As Long) As Long
Declare Function GetDefaultUserProfileDirectory lib "userenv" (ByVal lpProfileDir As String, ByRef lpcchSize As Long) As Long
Declare Function GetDesktopWindow Lib "user32" Alias "GetDesktopWindow" () As Long
Declare Function GetDeviceCaps Lib "gdi32" Alias "GetDeviceCaps" (ByVal hdc As Long, ByVal nIndex As Long) As Long
Declare Function GetDeviceDriverBaseName lib "psapi" (ImageBase As Any, ByVal lpBaseName As String, ByVal nSize As Long) As Long
Declare Function GetDeviceDriverFileName lib "psapi" (ImageBase As Any, ByVal lpFilename As String, ByVal nSize As Long) As Long
Declare Function GetDeviceGammaRamp Lib "gdi32" Alias "GetDeviceGammaRamp" (ByVal hdc As Long, lpv As Any) As Long
Declare Function GetDevicePowerState lib "kernel32" (ByVal hDevice As Long, ByRef pfOn As Long) As Long
Declare Function GetDialogBaseUnits Lib "user32" Alias "GetDialogBaseUnits" () As Long
Declare Function GetDIBColorTable Lib "gdi32" Alias "GetDIBColorTable" (ByVal hDC As Long, ByVal un1 As Long, ByVal un2 As Long, pRGBQuad As RGBQUAD) As Long
Declare Function GetDIBits Lib "gdi32" Alias "GetDIBits" (ByVal aHDC As Long, ByVal hBitmap As Long, ByVal nStartScan As Long, ByVal nNumScans As Long, lpBits As Any, lpBI As BITMAPINFO, ByVal wUsage As Long) As Long
Declare Function GetDiskFreeSpace Lib "kernel32" Alias "GetDiskFreeSpaceA" (ByVal lpRootPathName As String, lpSectorsPerCluster As Long, lpBytesPerSector As Long, lpNumberOfFreeClusters As Long, lpTotalNumberOfClusters As Long) As Long
Declare Function GetDiskFreeSpaceEx Lib "kernel32" Alias "GetDiskFreeSpaceExA" (ByVal lpRootPathName As String, lpFreeBytesAvailableToCaller As LARGE_INTEGER, lpTotalNumberOfBytes As LARGE_INTEGER, lpTotalNumberOfFreeBytes As LARGE_INTEGER) As Long
Declare Function GetDispenserManager lib "MTXDM" (ByRef TIDispenserManager As IDispenserManager) As Long
Declare Function GetDlgCtrlID Lib "user32" Alias "GetDlgCtrlID" (ByVal hwnd As Long) As Long
Declare Function GetDlgItem Lib "user32" Alias "GetDlgItem" (ByVal hDlg As Long, ByVal nIDDlgItem As Long) As Long
Declare Function GetDlgItemInt Lib "user32" Alias "GetDlgItemInt" (ByVal hDlg As Long, ByVal nIDDlgItem As Long, ByVal lpTranslated As Long, ByVal bSigned As Long) As Long
Declare Function GetDlgItemText Lib "user32" Alias "GetDlgItemTextA" (ByVal hDlg As Long, ByVal nIDDlgItem As Long, ByVal lpString As String, ByVal nMaxCount As Long) As Long
Declare Function GetDoubleClickTime Lib "user32" Alias "GetDoubleClickTime" () As Long
Declare Function GetDriverModuleHandle Lib "winmm.dll" Alias "GetDriverModuleHandle" (ByVal hDriver As Long) As Long
Declare Function GetDriveType Lib "kernel32" Alias "GetDriveTypeA" (ByVal nDrive As String) As Long
Declare Function GetDwordFromBlob lib "npptools" (ByRef hBlob As hBlob, ByVal pOwnerName As String, ByVal pCategoryName As String, ByVal pTagName As String, ByRef pDword As Long) As Long
Declare Function GetEffectiveRightsFromAcl lib "ADVAPI32" (ByVal pAcl As Struct_MembersOf_PACL, ByRef pTrustee As PTRUSTEE_A, ByRef pAccessRights As ACCESS_MASK) As Long
Declare Function GetEnhMetaFile Lib "gdi32" Alias "GetEnhMetaFileA" (ByVal lpszMetaFile As String) As Long
Declare Function GetEnhMetaFileBits Lib "gdi32" Alias "GetEnhMetaFileBits" (ByVal hemf As Long, ByVal cbBuffer As Long, lpbBuffer As Byte) As Long
Declare Function GetEnhMetaFileDescription Lib "gdi32" Alias "GetEnhMetaFileDescriptionA" (ByVal hemf As Long, ByVal cchBuffer As Long, ByVal lpszDescription As String) As Long
Declare Function GetEnhMetaFileHeader Lib "gdi32" Alias "GetEnhMetaFileHeader" (ByVal hemf As Long, ByVal cbBuffer As Long, lpemh As ENHMETAHEADER) As Long
Declare Function GetEnhMetaFilePaletteEntries Lib "gdi32" Alias "GetEnhMetaFilePaletteEntries" (ByVal hemf As Long, ByVal cEntries As Long, lppe As PALETTEENTRY) As Long
Declare Function GetEnhMetaFilePixelFormat lib "gdi32" (ByVal henhmetafile As Long, ByVal uint As Long, ByRef PIXELFORMATDESCRIPTOR As PIXELFORMATDESCRIPTOR) As Long
Declare Function GetEnvironmentStrings Lib "kernel32" Alias "GetEnvironmentStringsA" () As Long
Declare Function GetEnvironmentVariable Lib "kernel32" Alias "GetEnvironmentVariableA" (ByVal lpName As String, ByVal lpBuffer As String, ByVal nSize As Long) As Long
Declare Function GetEventLogInformation lib "advapi32" (ByVal hEventLog As Long, ByVal dwInfoLevel As Long, lpBuffer As Any, ByVal cbBufSize As Long, ByRef pcbBytesNeeded As Long) As Long
Declare Function GetExitCodeProcess Lib "kernel32" Alias "GetExitCodeProcess" (ByVal hProcess As Long, lpExitCode As Long) As Long
Declare Function GetExitCodeThread Lib "kernel32" Alias "GetExitCodeThread" (ByVal hThread As Long, lpExitCode As Long) As Long
Declare Function GetExpandedName Lib "lz32.dll" Alias "GetExpandedNameA" (ByVal lpszSource As String, ByVal lpszBuffer As String) As Long
Declare Function GetExplicitEntriesFromAcl lib "ADVAPI32" Alias "GetExplicitEntriesFromAclA" (ByVal pAcl As ACL, ByVal pcCountOfExplicitEntries As Long, ByRef pListOfExplicitEntries As EXPLICIT_ACCESS) As Long
Declare Function GetExtensionVersion lib "idq" (ByRef pVer As HSE_VERSION_INFO) As Long
Declare Function GetFileAttributes Lib "kernel32" Alias "GetFileAttributesA" (ByVal lpFileName As String) As Long
Declare Function GetFileAttributesEx lib "kernel32" Alias "GetFileAttributesExA" (ByVal lpFileName As String, ByVal fInfoLevelId As Struct_MembersOf_GET_FILEEX_INFO_LEVELS, lpFileInformation As Any) As Long
Declare Function GetFileInformationByHandle Lib "kernel32" Alias "GetFileInformationByHandle" (ByVal hFile As Long, lpFileInformation As BY_HANDLE_FILE_INFORMATION) As Long
Declare Function GetFilePatchSignature lib "MSPATCHA" (ByVal FileName As String, ByVal OptionFlags As Long, OptionData As Any, ByVal IgnoreRangeCount As Long, ByRef IgnoreRangeArray As PPATCH_IGNORE_RANGE, ByVal RetainRangeCount As Long, ByRef RetainRangeArray As PPATCH_RETAIN_RANGE, ByVal SignatureBufferSize As Long, SignatureBuffer As Any) As Long
Declare Function GetFilePatchSignatureByHandle lib "MSPATCHA" (ByVal FileHandle As Long, ByVal OptionFlags As Long, OptionData As Any, ByVal IgnoreRangeCount As Long, ByRef IgnoreRangeArray As PPATCH_IGNORE_RANGE, ByVal RetainRangeCount As Long, ByRef RetainRangeArray As PPATCH_RETAIN_RANGE, ByVal SignatureBufferSize As Long, SignatureBuffer As Any) As Long
Declare Function GetFileSecurity Lib "advapi32.dll" Alias "GetFileSecurityA" (ByVal lpFileName As String, ByVal RequestedInformation As Long, pSecurityDescriptor As SECURITY_DESCRIPTOR, ByVal nLength As Long, lpnLengthNeeded As Long) As Long
Declare Function GetFileSize Lib "kernel32" Alias "GetFileSize" (ByVal hFile As Long, lpFileSizeHigh As Long) As Long
Declare Function GetFileSizeEx lib "kernel32" (ByVal hFile As Long, ByRef lpFileSize As LARGE_INTEGER) As Long
Declare Function GetFileTime Lib "kernel32" Alias "GetFileTime" (ByVal hFile As Long, lpCreationTime As FILETIME, lpLastAccessTime As FILETIME, lpLastWriteTime As FILETIME) As Long
Declare Function GetFileTitle Lib "comdlg32.dll" Alias "GetFileTitleA" (ByVal lpszFile As String, ByVal lpszTitle As String, ByVal cbBuf As Integer) As Integer
Declare Function GetFileType Lib "kernel32" Alias "GetFileType" (ByVal hFile As Long) As Long
Declare Function GetFileVersionInfo Lib "version.dll"  Alias "GetFileVersionInfoA" (ByVal lptstrFilename As String, ByVal dwHandle As Long, ByVal dwLen As Long, lpData As Byte) As Long
Declare Function GetFileVersionInfoSize Lib "version.dll" Alias "GetFileVersionInfoSizeA" (ByVal lptstrFilename As String, lpdwHandle As Long) As Long
Declare Function GetFocus Lib "user32" Alias "GetFocus" () As Long
Declare Function GetFontData Lib "gdi32" (ByVal hdc As Long, ByVal dwTable As Long, ByVal dwOffset As Long, lpvBuffer As Any, ByVal cbData As Long) As Long
Declare Function GetFontLanguageInfo Lib "gdi32" Alias "GetFontLanguageInfo" (ByVal hdc As Long) As Long
Declare Function GetFontUnicodeRanges lib "gdi32" (ByVal hdc As Long, ByRef LPGLYPHSET As GLYPHSET) As Long
Declare Function GetForegroundWindow Lib "user32" Alias "GetForegroundWindow" () As Long
Declare Function GetForm Lib "winspool.drv" Alias "GetFormA" (ByVal hPrinter As Long, ByVal pFormName As String, ByVal Level As Long, pForm As Byte, ByVal cbBuf As Long, pcbNeeded As Long) As Long
Declare Function GetFreeResources lib "RSRC32" Alias "_MyGetFreeSystemResources32@4" (ByVal lWhat As Long) As Long
Declare Function GetFriendlyIfIndex lib "IPHLPAPI" (ByVal IfIndex As Long) As Long
Declare Function GetFullPathName Lib "kernel32" Alias "GetFullPathNameA" (ByVal lpFileName As String, ByVal nBufferLength As Long, ByVal lpBuffer As String, lpFilePart As Long) As Long
Declare Function GetGlyphIndices lib "gdi32" Alias "GetGlyphIndicesA" (ByVal hdc As Long, ByVal lpcstr As String, ByValt As Long, ByRef lpword As Integer, ByVal dword As Long) As Long
Declare Function GetGlyphOutline Lib "gdi32" Alias "GetGlyphOutlineA" (ByVal hdc As Long, ByVal uChar As Long, ByVal fuFormat As Long, lpgm As GLYPHMETRICS, ByVal cbBuffer As Long, lpBuffer As Any, lpmat2 As MAT2) As Long
Declare Function GetGPOList lib "userenv" (ByVal hToken As Long, ByVal lpName As String, ByVal lpHostName As String, ByVal lpComputerName As String, ByVal dwFlags As Long, ByRef pGPOList As PGROUP_POLICY_OBJECTA) As Long
Declare Function GetGraphicsMode Lib "gdi32" Alias "GetGraphicsMode" (ByVal hdc As Long) As Long
Declare Function GetGuiResources lib "user32" (ByVal hProcess As Long, ByVal uiFlags As Long) As Long
Declare Function GetGUIThreadInfo lib "user32" (ByVal idThread As Long, ByRef pgui As PGUITHREADINFO) As Long
Declare Function GetHandleInformation Lib "kernel32" Alias "GetHandleInformation" (ByVal hObject As Long, lpdwFlags As Long) As Long
Declare Function gethostname lib "ws2_32" (ByVal name As String, ByVal namelen As Long) As Long
Declare Function GetICMProfile Lib "gdi32" Alias "GetICMProfileA" (ByVal hdc As Long, ByVal dw As Long, ByVal lpStr As String) As Long
Declare Function GetIcmpStatistics lib "IPHLPAPI" (ByRef pStats As PMIB_ICMP) As Long
Declare Function GetIconInfo Lib "user32" Alias "GetIconInfo" (ByVal hIcon As Long, piconinfo As ICONINFO) As Long
Declare Function GetIfEntry lib "IPHLPAPI" (ByRef pIfRow As OUT) As Long
Declare Function GetIfTable lib "IPHLPAPI" (ByRef pIfTable As PMIB_IFTABLE, ByRef pdwSize As Long, ByVal border As Long) As Long
Declare Function GetImageConfigInformation lib "imagehlp" (ByRef LoadedImage As PLOADED_IMAGE, ByRef ImageConfigInformation As PIMAGE_LOAD_CONFIG_DIRECTORY) As Long
Declare Function GetImageUnusedHeaderBytes lib "imagehlp" (ByRef LoadedImage As PLOADED_IMAGE, ByRef SizeUnusedHeaderBytes As Long) As Long
Declare Function GetInheritanceSource lib "ADVAPI32" (ByVal pObjectName As String, ByRef ObjectType As SE_OBJECT_TYPE, ByVal SecurityInfo As Long, ByVal Container As Long, ByRef ObjectTypeGuid As Guid, ByVal pAcl As Struct_MembersOf_PACL, ByRef pfnArray As PFN_OBJECT_MGR_FUNCTS, ByRef pGenericMapping As GENERIC_MAPPING, ByRef pInheritArray As PINHERITED_FROMA) As Long
Declare Function GetInputState Lib "user32" Alias "GetInputState" () As Long
Declare Function GetInterfaceInfo lib "IPHLPAPI" (ByRef pIfTable As PIP_INTERFACE_INFO, ByRef dwOutBufLen As Long) As Long
Declare Function GetIpAddrTable lib "IPHLPAPI" (ByRef pIpAddrTable As PMIB_IPADDRTABLE, ByRef pdwSize As Long, ByVal border As Long) As Long
Declare Function GetIpForwardTable lib "IPHLPAPI" (ByRef pIpForwardTable As PMIB_IPFORWARDTABLE, ByRef pdwSize As Long, ByVal border As Long) As Long
Declare Function GetIpNetTable lib "IPHLPAPI" (ByRef pIpNetTable As PMIB_IPNETTABLE, ByRef pdwSize As Long, ByVal border As Long) As Long
Declare Function GetIpStatistics lib "IPHLPAPI" (ByRef pStats As PMIB_IPSTATS) As Long
Declare Function GetJob Lib "winspool.drv" Alias "GetJobA" (ByVal hPrinter As Long, ByVal JobId As Long, ByVal Level As Long, pJob As Byte, ByVal cdBuf As Long, pcbNeeded As Long) As Long
Declare Function GetKBCodePage Lib "user32" Alias "GetKBCodePage" () As Long
Declare Function GetKernelObjectSecurity Lib "advapi32.dll" Alias "GetKernelObjectSecurity" (ByVal Handle As Long, ByVal RequestedInformation As Long, pSecurityDescriptor As SECURITY_DESCRIPTOR, ByVal nLength As Long, lpnLengthNeeded As Long) As Long
Declare Function GetKerningPairs Lib "gdi32" Alias "GetKerningPairsA" (ByVal hdc As Long, ByVal cPairs As Long, lpkrnpair As KERNINGPAIR) As Long
Declare Function GetKeyboardLayout Lib "user32" Alias "GetKeyboardLayout" (ByVal dwLayout As Long) As Long
Declare Function GetKeyboardLayoutList Lib "user32" Alias "GetKeyboardLayoutList" (ByVal nBuff As Long, lpList As Long) As Long
Declare Function GetKeyboardLayoutName Lib "user32" Alias "GetKeyboardLayoutNameA" (ByVal pwszKLID As String) As Long
Declare Function GetKeyboardState Lib "user32" Alias "GetKeyboardState" (pbKeyState As Byte) As Long
Declare Function GetKeyboardType Lib "user32" Alias "GetKeyboardType" (ByVal nTypeFlag As Long) As Long
Declare Function GetKeyNameText Lib "user32" Alias "GetKeyNameTextA" (ByVal lParam As Long, ByVal lpBuffer As String, ByVal nSize As Long) As Long
Declare Function GetKeyState Lib "user32" Alias "GetKeyState" (ByVal nVirtKey As Long) As Integer
Declare Function GetLargestConsoleWindowSize Lib "kernel32" Alias "GetLargestConsoleWindowSize" (ByVal hConsoleOutput As Long) As COORD
Declare Function GetLastActivePopup Lib "user32" Alias "GetLastActivePopup" (ByVal hwndOwnder As Long) As Long
Declare Function GetLastError Lib "kernel32" Alias "GetLastError" () As Long
Declare Function GetLastInputInfo lib "user32" (ByRef plii As PLASTINPUTINFO) As Long
Declare Function GetLayout lib "gdi32" (ByVal hdc As Long) As Long
Declare Function GetLengthSid Lib "advapi32.dll" Alias "GetLengthSid" (pSid As Any) As Long
Declare Function GetListBoxInfo lib "user32" (ByVal hwnd As Long) As Long
Declare Function GetLocaleInfo Lib "kernel32" Alias "GetLocaleInfoA" (ByVal Locale As Long, ByVal LCType As Long, ByVal lpLCData As String, ByVal cchData As Long) As Long
Declare Function GetLogColorSpace Lib "gdi32" Alias "GetLogColorSpaceA" (ByVal hcolorspace As Long, lplogcolorspace As LOGCOLORSPACE, ByVal dw As Long) As Long
Declare Function GetLogicalDrives Lib "kernel32" Alias "GetLogicalDrives" () As Long
Declare Function GetLogicalDriveStrings Lib "kernel32" Alias "GetLogicalDriveStringsA" (ByVal nBufferLength As Long, ByVal lpBuffer As String) As Long
Declare Function GetLongPathName lib "kernel32" Alias "GetLongPathNameA" (ByVal lpszShortPath As String, ByVal lpszLongPath As String, ByVal cchBuffer As Long) As Long
Declare Function GetMacAddressFromBlob lib "npptools" (ByRef hBlob As hBlob, ByVal pOwnerName As String, ByVal pCategoryName As String, ByVal pTagName As String, ByVal pMacAddress As String) As Long
Declare Function GetMailslotInfo Lib "kernel32" Alias "GetMailslotInfo" (ByVal hMailslot As Long, lpMaxMessageSize As Long, lpNextSize As Long, lpMessageCount As Long, lpReadTimeout As Long) As Long
Declare Function GetMangledSiteSid lib "advapi32" (ByRef pSid As SID, ByVal cchMangledSite As Long, ByVal ppwszMangledSite As String) As Long
Declare Function GetMapMode Lib "gdi32" Alias "GetMapMode" (ByVal hdc As Long) As Long
Declare Function GetMappedFileName lib "psapi" (ByVal hProcess As Long, lpv As Any, ByVal lpFilename As String, ByVal nSize As Long) As Long
Declare Function GetMenu Lib "user32" Alias "GetMenu" (ByVal hwnd As Long) As Long
Declare Function GetMenuBarInfo lib "user32" (ByVal hwnd As Long, ByVal idObject As Long, ByVal idItem As Long, ByRef pmbi As PMENUBARINFO) As Long
Declare Function GetMenuCheckMarkDimensions Lib "user32" Alias "GetMenuCheckMarkDimensions" () As Long
Declare Function GetMenuContextHelpId Lib "user32" Alias "GetMenuContextHelpId" (ByVal hMenu As Long) As Long
Declare Function GetMenuDefaultItem Lib "user32" Alias "GetMenuDefaultItem" (ByVal hMenu As Long, ByVal fByPos As Long, ByVal gmdiFlags As Long) As Long
Declare Function GetMenuInfo lib "user32" (ByVal hmenu As Long, ByRef LPMENUINFO As MENUINFO) As Long
Declare Function GetMenuItemCount Lib "user32" Alias "GetMenuItemCount" (ByVal hMenu As Long) As Long
Declare Function GetMenuItemID Lib "user32" Alias "GetMenuItemID" (ByVal hMenu As Long, ByVal nPos As Long) As Long
Declare Function GetMenuItemInfo Lib "user32" Alias "GetMenuItemInfoA" (ByVal hMenu As Long, ByVal un As Long, ByVal bypos As Long, lpMenuItemInfo As MENUITEMINFO) As Long
Declare Function GetMenuItemRect Lib "user32" Alias "GetMenuItemRect" (ByVal hWnd As Long, ByVal hMenu As Long, ByVal uItem As Long, lprcItem As RECT) As Long
Declare Function GetMenuState Lib "user32" Alias "GetMenuState" (ByVal hMenu As Long, ByVal wID As Long, ByVal wFlags As Long) As Long
Declare Function GetMenuString Lib "user32" Alias "GetMenuStringA" (ByVal hMenu As Long, ByVal wIDItem As Long, ByVal lpString As String, ByVal nMaxCount As Long, ByVal wFlag As Long) As Long
Declare Function GetMessage Lib "user32" Alias "GetMessageA" (lpMsg As MSG, ByVal hwnd As Long, ByVal wMsgFilterMin As Long, ByVal wMsgFilterMax As Long) As Long
Declare Function GetMessageExtraInfo Lib "user32" Alias "GetMessageExtraInfo" () As Long
Declare Function GetMessagePos Lib "user32" Alias "GetMessagePos" () As Long
Declare Function GetMessageTime Lib "user32" Alias "GetMessageTime" () As Long
Declare Function GetMetaFile Lib "gdi32" Alias "GetMetaFileA" (ByVal lpFileName As String) As Long
Declare Function GetMetaFileBitsEx Lib "gdi32" Alias "GetMetaFileBitsEx" (ByVal hMF As Long, ByVal nSize As Long, lpvData As Any) As Long
Declare Function GetMetaRgn Lib "gdi32" Alias "GetMetaRgn" (ByVal hdc As Long, ByVal hRgn As Long) As Long
Declare Function GetMiterLimit Lib "gdi32" Alias "GetMiterLimit" (ByVal hdc As Long, peLimit As Single) As Long
Declare Function GetModuleBaseName lib "psapi" Alias GetModuleBaseNameA (ByVal hProcess As Long, ByVal hModule As Long, ByVal lpBaseName As String, ByVal nSize As Long) As Long
Declare Function GetModuleFileName Lib "kernel32" Alias "GetModuleFileNameA" (ByVal hModule As Long, ByVal lpFileName As String, ByVal nSize As Long) As Long
Declare Function GetModuleFileNameEx lib "psapi" Alias GetModuleFileNameExA (ByVal hProcess As Long, ByVal hModule As Long, ByVal lpFilename As String, ByVal nSize As Long) As Long
Declare Function GetModuleHandle Lib "kernel32" Alias "GetModuleHandleA" (ByVal lpModuleName As String) As Long
Declare Function GetModuleInformation lib "psapi" (ByVal hProcess As Long, ByVal hModule As Long, ByRef lpmodinfo As LPMODULEINFO, ByVal cb As Long) As Long
Declare Function GetMonitorInfo lib "user32" Alias "GetMonitorInfoA" (ByRef hMonitor As Long, ByRef lpmi As MONITORINFO) As Long
Declare Function GetMouseMovePointsEx lib "user32" (ByVal cbSize As Long, ByRef lppt As MOUSEMOVEPOINT, ByRef lpptBuf As MOUSEMOVEPOINT, ByVal nBufPoints As Long, ByVal resolution As Long) As Long
Declare Function GetMUILanguage lib "comctl32" () As Long
Declare Function GetNameByType lib "MSWSOCK" (ByVal lpServiceType As Long, ByVal lpServiceName As String, ByVal dwNameLength As Long) As Long
Declare Function GetNamedPipeHandleState Lib "kernel32" Alias "GetNamedPipeHandleStateA" (ByVal hNamedPipe As Long, lpState As Long, lpCurInstances As Long, lpMaxCollectionCount As Long, lpCollectDataTimeout As Long, ByVal lpUserName As String, ByVal nMaxUserNameSize As Long) As Long
Declare Function GetNamedPipeInfo Lib "kernel32" Alias "GetNamedPipeInfo" (ByVal hNamedPipe As Long, lpFlags As Long, lpOutBufferSize As Long, lpInBufferSize As Long, lpMaxInstances As Long) As Long
Declare Function GetNamedProfileInfo lib "mscms" (ByRef THPROFILE As Long, ByRef TPNAMED_PROFILE_INFO As PNAMED_PROFILE_INFO) As Long
Declare Function GetNamedSecurityInfo lib "ADVAPI32" (ByVal pObjectName As String, ByRef ObjectType As SE_OBJECT_TYPE, ByVal SecurityInfo As Long, ByRef ppsidOwner As Sid, ByRef ppsidGroup As Sid, ByRef ppDacl As pAcl, ByRef ppSacl As pAcl, ByRef ppSecurityDescriptor As SECURITY_DESCRIPTOR) As Long
Declare Function GetNearestColor Lib "gdi32" Alias "GetNearestColor" (ByVal hdc As Long, ByVal crColor As Long) As Long
Declare Function GetNearestPaletteIndex Lib "gdi32" Alias "GetNearestPaletteIndex" (ByVal hPalette As Long, ByVal crColor As Long) As Long
Declare Function GetNetworkInfoFromBlob lib "npptools" (ByRef hBlob As hBlob, ByRef lpNetworkInfo As lpNetworkInfo) As Long
Declare Function GetNetworkParams lib "IPHLPAPI" (ByRef pFixedInfo As PFIXED_INFO, ByRef pOutBufLen As Long) As Long
Declare Function GetNextDlgGroupItem Lib "user32" Alias "GetNextDlgGroupItem" (ByVal hDlg As Long, ByVal hCtl As Long, ByVal bPrevious As Long) As Long
Declare Function GetNextDlgTabItem Lib "user32" Alias "GetNextDlgTabItem" (ByVal hDlg As Long, ByVal hCtl As Long, ByVal bPrevious As Long) As Long
Declare Function GetNextWindow Lib "user32" Alias "GetNextWindow" (ByVal hwnd As Long, ByVal wFlag As Long) As Long
Declare Function GetNodeClusterState lib "clusapi" (ByVal lpszNodeName As String, ByRef pdwClusterState As Long) As Long
Declare Function GetNPPAddressFilterFromBlob lib "npptools" (ByRef hBlob As hBlob, ByRef pAddressTable As LPADDRESSTABLE, ByRef hErrorBlob As hBlob) As Long
Declare Function GetNPPBlobFromUI lib "npptools" (ByVal hwnd As Long, ByRef hFilterBlob As hBlob, ByRef phBlob As hBlob) As Long
Declare Function GetNPPBlobs lib "ndisnpp" (ByRef ppBlobTable As PBLOB_TABLE) As Long
Declare Function GetNPPBlobTable lib "npptools" (ByRef hFilterBlob As hBlob, ByRef ppBlobTable As PBLOB_TABLE) As Long
Declare Function GetNPPEtypeSapFilter lib "npptools" (ByRef hBlob As hBlob, ByRef pnSaps As Integer, ByRef pnEtypes As Integer, ByVal ppSapTable As String, ByRef ppEtypeTable As Integer, ByRef pFilterFlags As Long, ByRef hErrorBlob As hBlob) As Long
Declare Function GetNPPMacTypeAsNumber lib "npptools" (ByRef hBlob As hBlob, ByRef lpMacType As Long) As Long
Declare Function GetNPPPatternFilterFromBlob lib "npptools" (ByRef hBlob As hBlob, ByRef pExpression As LPEXPRESSION, ByRef hErrorBlob As hBlob) As Long
Declare Function GetNPPTriggerFromBlob lib "npptools" (ByRef hBlob As hBlob, ByRef pTrigger As LPTRIGGER, ByRef hErrorBlob As hBlob) As Long
Declare Function GetNtmsMediaPoolName lib "ntmsapi" (ByVal hSession As Long, ByRef lpPoolId As LPNTMS_GUID, ByVal lpBufName As String, ByRef lpdwNameSize As Long) As Long
Declare Function GetNtmsObjectAttribute lib "ntmsapi" (ByVal hSession As Long, ByRef lpObjectId As LPNTMS_GUID, ByVal dwType As Long, ByVal lpAttributeName As String, lpAttributeData As Any, ByRef lpAttributeSize As Long) As Long
Declare Function GetNtmsObjectInformation lib "ntmsapi" (ByVal hSession As Long, ByRef lpObjectId As LPNTMS_GUID, ByRef lpInfo As LPNTMS_OBJECTINFORMATIONA) As Long
Declare Function GetNtmsObjectSecurity lib "ntmsapi" (ByVal hSession As Long, ByRef lpObjectId As LPNTMS_GUID, ByVal dwType As Long, ByVal RequestedInformation As Long, ByRef lpSecurityDescriptor As SECURITY_DESCRIPTOR, ByVal nLength As Long, ByRef lpnLengthNeeded As Long) As Long
Declare Function GetNtmsRequestOrder lib "ntmsapi" (ByVal hSession As Long, ByRef lpRequestId As LPNTMS_GUID, ByRef lpdwOrderNumber As Long) As Long
Declare Function GetNumberFormat Lib "kernel32" Alias "GetNumberFormatA" (ByVal Locale As Long, ByVal dwFlags As Long, ByVal lpValue As String, lpFormat As NUMBERFMT, ByVal lpNumberStr As String, ByVal cchNumber As Long) As Long
Declare Function GetNumberFormatBynum Lib "kernel32" Alias "GetNumberFormatA" (ByVal Locale As Long, ByVal dwFlags As Long, ByVal lpValue As String, ByVal lpFormat As Long, ByVal lpNumberStr As String, ByVal cchNumber As Long) As Long
Declare Function GetNumberOfConsoleInputEvents Lib "kernel32" Alias "GetNumberOfConsoleInputEvents" (ByVal hConsoleInput As Long, lpNumberOfEvents As Long) As Long
Declare Function GetNumberOfConsoleMouseButtons Lib "kernel32" Alias "GetNumberOfConsoleMouseButtons" (lpNumberOfMouseButtons As Long) As Long
Declare Function GetNumberOfEventLogRecords Lib "advapi32.dll" Alias "GetNumberOfEventLogRecords" (ByVal hEventLog As Long, NumberOfRecords As Long) As Long
Declare Function GetNumberOfInterfaces lib "IPHLPAPI" (ByRef pdwNumIf As Long) As Long
Declare Function GetObject lib "gdi32" Alias "GetObjectA" (ByVal hObject As Long, ByVal nCount As Long, lpObject As Any) As Long
Declare Function GetObjectAPI Lib "gdi32" Alias "GetObjectA" (ByVal hObject As Long, ByVal nCount As Long, lpObject As Any) As Long
Declare Function GetObjectContext lib "comsvcs" (ByRef ppInstanceContext As IObjectContext) As Long
Declare Function GetObjectType Lib "gdi32" Alias "GetObjectType" (ByVal hgdiobj As Long) As Long
Declare Function GetOEMCP Lib "kernel32" Alias "GetOEMCP" () As Long
Declare Function GetOldestEventLogRecord Lib "advapi32.dll" Alias "GetOldestEventLogRecord" (ByVal hEventLog As Long, OldestRecord As Long) As Long
Declare Function GetOpenCardName lib "scarddlg" Alias "GetOpenCardNameA" (ByRef TLPOPENCARDNAMEA As OPENCARDNAMEA) As Long
Declare Function GetOpenClipboardWindow Lib "user32" Alias "GetOpenClipboardWindow" () As Long
Declare Function GetOpenFileName Lib "comdlg32.dll" Alias "GetOpenFileNameA" (pOpenfilename As OPENFILENAME) As Long
Declare Function GetOpenFileNamePreview lib "msvfw32" (ByRef lpofn As OPENFILENAME) As Long
Declare Function GetOutlineTextMetrics Lib "gdi32" Alias "GetOutlineTextMetricsA" (ByVal hdc As Long, ByVal cbData As Long, lpotm As OUTLINETEXTMETRIC) As Long
Declare Function GetOverlappedResult Lib "kernel32" Alias "GetOverlappedResult" (ByVal hFile As Long, lpOverlapped As OVERLAPPED, lpNumberOfBytesTransferred As Long, ByVal bWait As Long) As Long
Declare Function GetPaletteEntries Lib "gdi32" Alias "GetPaletteEntries" (ByVal hPalette As Long, ByVal wStartIndex As Long, ByVal wNumEntries As Long, lpPaletteEntries As PALETTEENTRY) As Long
Declare Function GetParent Lib "user32" Alias "GetParent" (ByVal hwnd As Long) As Long
Declare Function GetPath Lib "gdi32" Alias "GetPath" (ByVal hdc As Long, lpPoint As POINTAPI, lpTypes As Byte, ByVal nSize As Long) As Long
Declare Function getpeername lib "ws2_32" (ByVal s As Long, ByRef name As sockaddr, ByRef namelen As Long) As Long
Declare Function GetPerAdapterInfo lib "IPHLPAPI" (ByVal IfIndex As Long, ByRef pPerAdapterInfo As PIP_PER_ADAPTER_INFO, ByRef pOutBufLen As Long) As Long
Declare Function GetPhraseTable lib "ftsrch" (ByVal hcmp As Long, ByRef pcPhrases As Long, ByVal ppbImages As String, ByRef pcbImages As Long, ByVal ppacbImageCompressed As String, ByRef pcbCompressed As Long) As Long
Declare Function GetPixel Lib "gdi32" Alias "GetPixel" (ByVal hdc As Long, ByVal x As Long, ByVal y As Long) As Long
Declare Function GetPixelFormat Lib "gdi32" Alias "GetPixelFormat" (ByVal hDC As Long) As Long
Declare Function GetPolyFillMode Lib "gdi32" Alias "GetPolyFillMode" (ByVal hdc As Long) As Long
Declare Function GetPrinter Lib "winspool.drv" Alias "GetPrinterA" (ByVal hPrinter As Long, ByVal Level As Long, pPrinter As Byte, ByVal cbBuf As Long, pcbNeeded As Long) As Long
Declare Function GetPrinterData Lib "winspool.drv" Alias "GetPrinterDataA" (ByVal hPrinter As Long, ByVal pValueName As String, pType As Long, pData As Byte, ByVal nSize As Long, pcbNeeded As Long) As Long
Declare Function GetPrinterDriver Lib "winspool.drv" Alias "GetPrinterDriverA" (ByVal hPrinter As Long, ByVal pEnvironment As String, ByVal Level As Long, pDriverInfo As Byte, ByVal cdBuf As Long, pcbNeeded As Long) As Long
Declare Function GetPrinterDriverDirectory Lib "winspool.drv" Alias "GetPrinterDriverDirectoryA" (ByVal pName As String, ByVal pEnvironment As String, ByVal Level As Long, pDriverDirectory As Byte, ByVal cdBuf As Long, pcbNeeded As Long) As Long
Declare Function GetPrintProcessorDirectory Lib "winspool.drv" Alias "GetPrintProcessorDirectoryA" (ByVal pName As String, ByVal pEnvironment As String, ByVal Level As Long, ByVal pPrintProcessorInfo As String, ByVal cdBuf As Long, pcbNeeded As Long) As Long
Declare Function GetPriorityClass Lib "kernel32" Alias "GetPriorityClass" (ByVal hProcess As Long) As Long
Declare Function GetPriorityClipboardFormat Lib "user32" Alias "GetPriorityClipboardFormat" (lpPriorityList As Long, ByVal nCount As Long) As Long
Declare Function GetPrivateObjectSecurity Lib "advapi32.dll" Alias "GetPrivateObjectSecurity" (ObjectDescriptor As SECURITY_DESCRIPTOR, ByVal SecurityInformation As Long, ResultantDescriptor As SECURITY_DESCRIPTOR, ByVal DescriptorLength As Long, ReturnLength As Long) As Long
Declare Function GetPrivateProfileInt Lib "kernel32" Alias "GetPrivateProfileIntA" (ByVal lpApplicationName As String, ByVal lpKeyName As String, ByVal nDefault As Long, ByVal lpFileName As String) As Long
Declare Function GetPrivateProfileSection Lib "kernel32" Alias "GetPrivateProfileSectionA" (ByVal lpAppName As String, ByVal lpReturnedString As String, ByVal nSize As Long, ByVal lpFileName As String) As Long
Declare Function GetPrivateProfileSectionNames lib "kernel32" Alias "GetPrivateProfileSectionNamesA" (ByVal lpszReturnBuffer As String, ByVal nSize As Long, ByVal lpFileName As String) As Long
Declare Function GetPrivateProfileString Lib "kernel32" Alias "GetPrivateProfileStringA" (ByVal lpApplicationName As String, ByVal lpKeyName As String, ByVal lpDefault As String, ByVal lpReturnedString As String, ByVal nSize As Long, ByVal lpFileName As String) As Long
Declare Function GetPrivateProfileStruct lib "kernel32" Alias "GetPrivateProfileStructA" (ByVal lpszSection As String, ByVal lpszKey As String, lpStruct As Any, ByVal uSizeStruct As Long, ByVal szFile As String) As Long
Declare Function GetProcAddress Lib "kernel32" Alias "GetProcAddress" (ByVal hModule As Long, ByVal lpProcName As String) As Long
Declare Function GetProcessAffinityMask Lib "kernel32" Alias "GetProcessAffinityMask" (ByVal hProcess As Long, lpProcessAffinityMask As Long, SystemAffinityMask As Long) As Long
Declare Function GetProcessDefaultLayout lib "user32" (ByRef pdwDefaultLayout As Long) As Long
Declare Function GetProcessHeap Lib "kernel32" Alias "GetProcessHeap" () As Long
Declare Function GetProcessHeaps Lib "kernel32" Alias "GetProcessHeaps" (ByVal NumberOfHeaps As Long, ProcessHeaps As Long) As Long
Declare Function GetProcessIoCounters lib "kernel32" (ByVal hProcess As Long, ByRef lpIoCounters As PIO_COUNTERS) As Long
Declare Function GetProcessMemoryInfo lib "psapi" (ByVal Process As Long, ByRef ppsmemCounters As PPROCESS_MEMORY_COUNTERS, ByVal cb As Long) As Long
Declare Function GetProcessPriorityBoost lib "kernel32" (ByVal hProcess As Long, ByRef pDisablePriorityBoost As Long) As Long
Declare Function GetProcessShutdownParameters Lib "kernel32" Alias "GetProcessShutdownParameters" (lpdwLevel As Long, lpdwFlags As Long) As Long
Declare Function GetProcessTimes Lib "kernel32" Alias "GetProcessTimes" (ByVal hProcess As Long, lpCreationTime As FILETIME, lpExitTime As FILETIME, lpKernelTime As FILETIME, lpUserTime As FILETIME) As Long
Declare Function GetProcessVersion lib "kernel32" (ByVal ProcessId As Long) As Long
Declare Function GetProcessWindowStation Lib "user32" Alias "GetProcessWindowStation" () As Long
Declare Function GetProcessWorkingSetSize Lib "kernel32" Alias "GetProcessWorkingSetSize" (ByVal hProcess As Long, lpMinimumWorkingSetSize As Long, lpMaximumWorkingSetSize As Long) As Long
Declare Function GetProfileInt Lib "kernel32" Alias "GetProfileIntA" (ByVal lpAppName As String, ByVal lpKeyName As String, ByVal nDefault As Long) As Long
Declare Function GetProfilesDirectory lib "userenv" (ByVal lpProfilesDir As String, ByRef lpcchSize As Long) As Long
Declare Function GetProfileSection Lib "kernel32" Alias "GetProfileSectionA" (ByVal lpAppName As String, ByVal lpReturnedString As String, ByVal nSize As Long) As Long
Declare Function GetProfileString Lib "kernel32" Alias "GetProfileStringA" (ByVal lpAppName As String, ByVal lpKeyName As String, ByVal lpDefault As String, ByVal lpReturnedString As String, ByVal nSize As Long) As Long
Declare Function GetProfileType lib "userenv" (ByRef dwFlags As Long) As Long
Declare Function GetProp Lib "user32" Alias "GetPropA" (ByVal hwnd As Long, ByVal lpString As String) As Long
Declare Function GetPS2ColorRenderingDictionary lib "mscms" (ByRef THPROFILE As Long, ByVal dword As Long, ByVal pbyte As String, ByRef pdword As Long, ByRef pbool As Long) As Long
Declare Function GetPS2ColorRenderingIntent lib "mscms" (ByRef THPROFILE As Long, ByVal dword As Long, ByVal pbyte As String, ByRef pdword As Long) As Long
Declare Function GetPS2ColorSpaceArray lib "mscms" (ByRef THPROFILE As Long, ByVal dword As Long, ByVal dword As Long, ByVal pbyte As String, ByRef pdword As Long, ByRef pbool As Long) As Long
Declare Function GetQueuedCompletionStatus Lib "kernel32" Alias "GetQueuedCompletionStatus" (ByVal CompletionPort As Long, lpNumberOfBytesTransferred As Long, lpCompletionKey As Long, lpOverlapped As Long, ByVal dwMilliseconds As Long) As Long
Declare Function GetQueueStatus Lib "user32" Alias "GetQueueStatus" (ByVal fuFlags As Long) As Long
Declare Function GetRandomRgn lib "gdi32" (ByVal hdc As Long, ByVal hrgn As Long, ByValt As Long) As Long
Declare Function GetRasterizerCaps Lib "gdi32" Alias "GetRasterizerCaps" (lpraststat As RASTERIZER_STATUS, ByVal cb As Long) As Long
Declare Function GetRegionData Lib "gdi32" (ByVal hRgn As Long, ByVal dwCount As Long, lpRgnData As RgnData) As Long
Declare Function GetRgnBox Lib "gdi32" Alias "GetRgnBox" (ByVal hRgn As Long, lpRect As RECT) As Long
Declare Function GetRoleText lib "OLEACC" (ByVal lRole As Long, ByVal lpszRole As String, ByVal cchRoleMax As Long) As Long
Declare Function GetROP2 Lib "gdi32" Alias "GetROP2" (ByVal hdc As Long) As Long
Declare Function GetRTTAndHopCount lib "IPHLPAPI" (ByRef DestIpAddress As IPAddr, ByRef HopCount As Long, ByVal MaxHops As Long, ByRef RTT As Long) As Long
Declare Function GetSaveFileName Lib "comdlg32.dll" Alias "GetSaveFileNameA" (pOpenfilename As OPENFILENAME) As Long
Declare Function GetSaveFileNamePreview lib "msvfw32" Alias "GetSaveFileNamePreviewA" (ByRef lpofn As OPENFILENAME) As Long
Declare Function GetScrollBarInfo lib "user32" (ByVal hwnd As Long, ByVal idObject As Long, ByRef psbi As PSCROLLBARINFO) As Long
Declare Function GetScrollInfo Lib "user32" Alias "GetScrollInfo" (ByVal hWnd As Long, ByVal n As Long, lpScrollInfo As SCROLLINFO) As Long
Declare Function GetScrollPos Lib "user32" Alias "GetScrollPos" (ByVal hwnd As Long, ByVal nBar As Long) As Long
Declare Function GetScrollRange Lib "user32" Alias "GetScrollRange" (ByVal hwnd As Long, ByVal nBar As Long, lpMinPos As Long, lpMaxPos As Long) As Long
Declare Function GetSecurityDescriptorControl Lib "advapi32.dll" Alias "GetSecurityDescriptorControl" (pSecurityDescriptor As SECURITY_DESCRIPTOR, pControl As Integer, lpdwRevision As Long) As Long
Declare Function GetSecurityDescriptorDacl Lib "advapi32.dll" Alias "GetSecurityDescriptorDacl" (pSecurityDescriptor As SECURITY_DESCRIPTOR, lpbDaclPresent As Long, pDacl As ACL, lpbDaclDefaulted As Long) As Long
Declare Function GetSecurityDescriptorGroup Lib "advapi32.dll" Alias "GetSecurityDescriptorGroup" (pSecurityDescriptor As SECURITY_DESCRIPTOR, pGroup As Any, ByVal lpbGroupDefaulted As Long) As Long
Declare Function GetSecurityDescriptorLength Lib "advapi32.dll" Alias "GetSecurityDescriptorLength" (pSecurityDescriptor As SECURITY_DESCRIPTOR) As Long
Declare Function GetSecurityDescriptorOwner Lib "advapi32.dll" Alias "GetSecurityDescriptorOwner" (pSecurityDescriptor As SECURITY_DESCRIPTOR, pOwner As Any, ByVal lpbOwnerDefaulted As Long) As Long
Declare Function GetSecurityDescriptorRMControl lib "ADVAPI32" (ByRef SecurityDescriptor As SECURITY_DESCRIPTOR, ByVal RMControl As String) As Long
Declare Function GetSecurityDescriptorSacl Lib "advapi32.dll" Alias "GetSecurityDescriptorSacl" (pSecurityDescriptor As SECURITY_DESCRIPTOR, ByVal lpbSaclPresent As Long, pSacl As ACL, ByVal lpbSaclDefaulted As Long) As Long
Declare Function GetSecurityInfo lib "ADVAPI32" (ByVal Handle As Long, ByRef ObjectType As SE_OBJECT_TYPE, ByVal SecurityInfo As Long, ByRef ppsidOwner As Sid, ByRef ppsidGroup As Sid, ByRef ppDacl As pAcl, ByRef ppSacl As pAcl, ByRef ppSecurityDescriptor As SECURITY_DESCRIPTOR) As Long
Declare Function GetService lib "MSWSOCK" (ByVal dwNameSpace As Long, ByVal lpGuid As Long, ByVal lpServiceName As String, ByVal dwProperties As Long, lpBuffer As Any, ByRef lpdwBufferSize As Long, ByRef lpServiceAs As LPSERVICE_ASYNC_INFO) As Long
Declare Function GetServiceDisplayName Lib "advapi32.dll" Alias "GetServiceDisplayNameA" (ByVal hSCManager As Long, ByVal lpServiceName As String, ByVal lpDisplayName As String, lpcchBuffer As Long) As Long
Declare Function GetServiceKeyName Lib "advapi32.dll" Alias "GetServiceKeyNameA" (ByVal hSCManager As Long, ByVal lpDisplayName As String, ByVal lpServiceName As String, lpcchBuffer As Long) As Long
Declare Function GetShortPathName Lib "kernel32" Alias "GetShortPathNameA" (ByVal lpszLongPath As String, ByVal lpszShortPath As String, ByVal cchBuffer As Long) As Long
Declare Function GetSidIdentifierAuthority Lib "advapi32.dll" Alias "GetSidIdentifierAuthority" (pSid As Any) As SID_IDENTIFIER_AUTHORITY
Declare Function GetSidLengthRequired Lib "advapi32.dll" Alias "GetSidLengthRequired" (ByVal nSubAuthorityCount As Byte) As Long
Declare Function GetSidSubAuthority Lib "advapi32.dll" Alias "GetSidSubAuthority" (pSid As Any, ByVal nSubAuthority As Long) As Long
Declare Function GetSidSubAuthorityCount Lib "advapi32.dll" Alias "GetSidSubAuthorityCount" (pSid As Any) As Byte
Declare Function GetSiteDirectory lib "advapi32" Alias "GetSiteDirectoryA" (ByVal hToken As Long, ByVal pszSiteDirectory As String, ByVal uSize As Long) As Long
Declare Function GetSiteNameFromSid lib "advapi32" (ByRef pSid As SID, ByVal pwsSite As String) As Long
Declare Function GetSiteSidFromToken lib "advapi32" (ByVal TokenHandle As Long) As Long
Declare Function GetSiteSidFromUrl lib "advapi32" (ByVal pszUrl As String) As Long
Declare Function getsockname lib "ws2_32" (ByVal s As Long, ByRef name As sockaddr, ByRef namelen As Long) As Long
Declare Function getsockopt lib "ws2_32" (ByVal s As Long, ByVal level As Long, ByVal optname As Long, ByVal optval As String, ByRef optlen As Long) As Long
Declare Function GetStandardColorSpaceProfile lib "mscms" Alias "GetStandardColorSpaceProfileA" (ByVal pcstr As String, ByVal dword As Long, ByVal pstr As String, ByRef pdword As Long) As Long
Declare Function GetStateText lib "OLEACC" (ByVal lStateBit As Long, ByVal lpszState As String, ByVal cchState As Long) As Long
Declare Function GetStdHandle Lib "kernel32" Alias "GetStdHandle" (ByVal nStdHandle As Long) As Long
Declare Function GetStockObject Lib "gdi32" Alias "GetStockObject" (ByVal nIndex As Long) As Long
Declare Function GetStretchBltMode Lib "gdi32" Alias "GetStretchBltMode" (ByVal hdc As Long) As Long
Declare Function GetStringFromBlob lib "npptools" (ByRef hBlob As hBlob, ByVal pOwnerName As String, ByVal pCategoryName As String, ByVal pTagName As String, ByVal ppString As String) As Long
Declare Function GetStringsFromBlob lib "npptools" (ByRef hBlob As hBlob, ByVal pRequestedOwnerName As String, ByVal pRequestedCategoryName As String, ByVal pRequestedTagName As String, ByVal ppReturnedOwnerName As String, ByVal ppReturnedCategoryName As String, ByVal ppReturnedTagName As String, ByVal ppReturnedString As String, ByRef pRestartKey As Long) As Long
Declare Function GetStringType Lib "kernel32" Alias "GetStringTypeA" (ByVal lcid As Long, ByVal dwInfoType As Long, ByVal lpSrcStr As String, ByVal cchSrc As Long, lpCharType As Long) As Long
Declare Function GetStringTypeA lib "kernel32" (ByVal lcid As Long, ByVal dwInfoType As Long, ByVal lpSrcStr As String, ByVal cchSrc As Long, lpCharType As Long) As Long
Declare Function GetStringTypeEx Lib "kernel32" Alias "GetStringTypeExA" (ByVal Locale As Long, ByVal dwInfoType As Long, ByVal lpSrcStr As String, ByVal cchSrc As Long, lpCharType As Integer) As Long
Declare Function GetStringTypeW Lib "kernel32" Alias "GetStringTypeW" (ByVal dwInfoType As Long, ByVal lpSrcStr As String, ByVal cchSrc As Long, lpCharType As Integer) As Long
Declare Function GetSubMenu Lib "user32" Alias "GetSubMenu" (ByVal hMenu As Long, ByVal nPos As Long) As Long
Declare Function GetSysColor Lib "user32" Alias "GetSysColor" (ByVal nIndex As Long) As Long
Declare Function GetSysColorBrush Lib "user32" Alias "GetSysColorBrush" (ByVal nIndex As Long) As Long
Declare Function GetSystemDefaultLangID Lib "kernel32" Alias "GetSystemDefaultLangID" () As Integer
Declare Function GetSystemDefaultLCID Lib "kernel32" Alias "GetSystemDefaultLCID" () As Long
Declare Function GetSystemDefaultUILanguage lib "kernel32" () As Long
Declare Function GetSystemDirectory Lib "kernel32" Alias "GetSystemDirectoryA" (ByVal lpBuffer As String, ByVal nSize As Long) As Long
Declare Function GetSystemMenu Lib "user32" Alias "GetSystemMenu" (ByVal hwnd As Long, ByVal bRevert As Long) As Long
Declare Function GetSystemMetrics Lib "user32" Alias "GetSystemMetrics" (ByVal nIndex As Long) As Long
Declare Function GetSystemPaletteEntries Lib "gdi32" Alias "GetSystemPaletteEntries" (ByVal hdc As Long, ByVal wStartIndex As Long, ByVal wNumEntries As Long, lpPaletteEntries As PALETTEENTRY) As Long
Declare Function GetSystemPaletteUse Lib "gdi32" Alias "GetSystemPaletteUse" (ByVal hdc As Long) As Long
Declare Function GetSystemPowerStatus Lib "kernel32" Alias "GetSystemPowerStatus" (lpSystemPowerStatus As SYSTEM_POWER_STATUS) As Long
Declare Function GetSystemTimeAdjustment Lib "kernel32" Alias "GetSystemTimeAdjustment" (lpTimeAdjustment As Long, lpTimeIncrement As Long, lpTimeAdjustmentDisabled As Long) As Long
Declare Function GetSystemWindowsDirectory lib "kernel32" Alias "GetSystemWindowsDirectoryA" (ByVal lpBuffer As String, ByVal uSize As Long) As Long
Declare Function GetTabbedTextExtent Lib "user32" Alias "GetTabbedTextExtentA" (ByVal hdc As Long, ByVal lpString As String, ByVal nCount As Long, ByVal nTabPositions As Long, lpnTabStopPositions As Long) As Long
Declare Function GetTapeParameters Lib "kernel32" Alias "GetTapeParameters" (ByVal hDevice As Long, ByVal dwOperation As Long, lpdwSize As Long, lpTapeInformation As Any) As Long
Declare Function GetTapePosition Lib "kernel32" Alias "GetTapePosition" (ByVal hDevice As Long, ByVal dwPositionType As Long, lpdwPartition As Long, lpdwOffsetLow As Long, lpdwOffsetHigh As Long) As Long
Declare Function GetTapeStatus Lib "kernel32" Alias "GetTapeStatus" (ByVal hDevice As Long) As Long
Declare Function GetTcpStatistics lib "IPHLPAPI" (ByRef pStats As PMIB_TCPSTATS) As Long
Declare Function GetTcpTable lib "IPHLPAPI" (ByRef pTcpTable As PMIB_TCPTABLE, ByRef pdwSize As Long, ByVal border As Long) As Long
Declare Function GetTempFileName Lib "kernel32" Alias "GetTempFileNameA" (ByVal lpszPath As String, ByVal lpPrefixString As String, ByVal wUnique As Long, ByVal lpTempFileName As String) As Long
Declare Function GetTempPath Lib "kernel32" Alias "GetTempPathA" (ByVal nBufferLength As Long, ByVal lpBuffer As String) As Long
Declare Function GetTextAlign Lib "gdi32" Alias "GetTextAlign" (ByVal hdc As Long) As Long
Declare Function GetTextCharacterExtra Lib "gdi32" (ByVal hdc As Long) As Long
Declare Function GetTextCharset Lib "gdi32" Alias "GetTextCharset" (ByVal hdc As Long) As Long
Declare Function GetTextCharsetInfo Lib "gdi32" Alias "GetTextCharsetInfo" (ByVal hdc As Long, lpSig As FONTSIGNATURE, ByVal dwFlags As Long) As Long
Declare Function GetTextColor Lib "gdi32" Alias "GetTextColor" (ByVal hdc As Long) As Long
Declare Function GetTextExtentExPoint Lib "gdi32" Alias "GetTextExtentExPointA" (ByVal hdc As Long, ByVal lpszStr As String, ByVal cchString As Long, ByVal nMaxExtent As Long, lpnFit As Long, alpDx As Long, lpSize As SIZE) As Long
Declare Function GetTextExtentExPointI lib "gdi32" (ByVal hdc As Long, ByRef lpword As Integer, ByValt As Long, ByValt As Long, ByRef lpint As Long, ByRef lpint As Long, ByRef lpsize As SIZE) As Long
Declare Function GetTextExtentPoint Lib "gdi32" Alias "GetTextExtentPointA" (ByVal hdc As Long, ByVal lpszString As String, ByVal cbString As Long, lpSize As SIZE) As Long
Declare Function GetTextExtentPoint32 Lib "gdi32" Alias "GetTextExtentPoint32A" (ByVal hdc As Long, ByVal lpsz As String, ByVal cbString As Long, lpSize As SIZE) As Long
Declare Function GetTextExtentPointI lib "gdi32" (ByVal hdc As Long, ByRef lpword As Integer, ByValt As Long, ByRef lpsize As SIZE) As Long
Declare Function GetTextFace Lib "gdi32" Alias "GetTextFaceA" (ByVal hdc As Long, ByVal nCount As Long, ByVal lpFacename As String) As Long
Declare Function GetTextMetrics Lib "gdi32" Alias "GetTextMetricsA" (ByVal hdc As Long, lpMetrics As TEXTMETRIC) As Long
Declare Function GetThemeColor lib "uxtheme" (ByVal hTheme As Long, ByVal iPartId As Long, ByVal iStateId As Long, ByVal iPropId As Long, ByRef pColor As OLE_COLOR) As Long
Declare Function GetThemeSysColor lib "uxtheme" (ByVal hTheme As Long, ByVal iColorId As Long) As Long
Declare Function GetThemeSysColorBrush lib "uxtheme" (ByVal hTheme As Long, ByVal iColorId As Long) As Long
Declare Function GetThreadContext Lib "kernel32" Alias "GetThreadContext" (ByVal hThread As Long, lpContext As CONTEXT) As Long
Declare Function GetThreadDesktop Lib "user32" Alias "GetThreadDesktop" (ByVal dwThread As Long) As Long
Declare Function GetThreadLocale Lib "KERNEL32" Alias "GetThreadLocale" () As Long
Declare Function GetThreadPriority Lib "kernel32" Alias "GetThreadPriority" (ByVal hThread As Long) As Long
Declare Function GetThreadPriorityBoost lib "kernel32" (ByVal hThread As Long, ByRef pDisablePriorityBoost As Long) As Long
Declare Function GetThreadSelectorEntry Lib "kernel32" Alias "GetThreadSelectorEntry" (ByVal hThread As Long, ByVal dwSelector As Long, lpSelectorEntry As LDT_ENTRY) As Long
Declare Function GetThreadTimes Lib "kernel32" Alias "GetThreadTimes" (ByVal hThread As Long, lpCreationTime As FILETIME, lpExitTime As FILETIME, lpKernelTime As FILETIME, lpUserTime As FILETIME) As Long
Declare Function GetTickCount Lib "kernel32" Alias "GetTickCount" () As Long
Declare Function GetTimeFormat Lib "kernel32" Alias "GetTimeFormatA" (ByVal Locale As Long, ByVal dwFlags As Long, lpTime As SYSTEMTIME, ByVal lpFormat As String, ByVal lpTimeStr As String, ByVal cchTime As Long) As Long
Declare Function GetTimestampForLoadedLibrary lib "dbghelp" (ByVal Module As Long) As Long
Declare Function GetTimeZoneInformation Lib "kernel32" Alias "GetTimeZoneInformation" (lpTimeZoneInformation As TIME_ZONE_INFORMATION) As Long
Declare Function GetTitleBarInfo lib "user32" (ByVal hwnd As Long, ByRef pti As PTITLEBARINFO) As Long
Declare Function GetTnefStreamCodepage lib "mapi32" (ByRef lpStream As Long, ByRef lpulCodepage As Long, ByRef lpulSubCodepage As Long) As Long
Declare Function GetTokenInformation Lib "advapi32.dll" Alias "GetTokenInformation" (ByVal TokenHandle As Long, TokenInformationClass As Integer, TokenInformation As Any, ByVal TokenInformationLength As Long, ReturnLength As Long) As Long
Declare Function GetTopWindow Lib "user32" Alias "GetTopWindow" (ByVal hwnd As Long) As Long
Declare Function GetTrusteeName lib "ADVAPI32" (ByRef pTrustee As PTRUSTEE_A) As Long
Declare Function GetTypeByName lib "MSWSOCK" (ByVal lpServiceName As String, ByVal lpServiceType As Long) As Long
Declare Function GetUdpStatistics lib "IPHLPAPI" (ByRef pStats As PMIB_UDPSTATS) As Long
Declare Function GetUdpTable lib "IPHLPAPI" (ByRef pUdpTable As PMIB_UDPTABLE, ByRef pdwSize As Long, ByVal border As Long) As Long
Declare Function GetUniDirectionalAdapterInfo lib "IPHLPAPI" (ByRef pIPIfInfo As PIP_UNIDIRECTIONAL_ADAPTER_ADDRESS, ByRef dwOutBufLen As Long) As Long
Declare Function GetUpdateRect Lib "user32" Alias "GetUpdateRect" (ByVal hwnd As Long, lpRect As RECT, ByVal bErase As Long) As Long
Declare Function GetUpdateRgn Lib "user32" Alias "GetUpdateRgn" (ByVal hwnd As Long, ByVal hRgn As Long, ByVal fErase As Long) As Long
Declare Function GetUrlCacheGroupAttribute lib "wininet" Alias "GetUrlCacheGroupAttributeA" (ByRef gid As GROUPID, ByVal dwFlags As Long, ByVal dwAttributes As Long, ByRef lpGroupInfo As LPINTERNET_CACHE_GROUP_INFOA, ByRef lpdwGroupInfo As Long, lpReserved As Any) As Long
Declare Function GetUserDefaultLangID Lib "kernel32" Alias "GetUserDefaultLangID" () As Integer
Declare Function GetUserDefaultLCID Lib "kernel32" Alias "GetUserDefaultLCID" () As Long
Declare Function GetUserDefaultUILanguage lib "kernel32" () As Long
Declare Function GetUserName Lib "advapi32.dll" Alias "GetUserNameA" (ByVal lpBuffer As String, nSize As Long) As Long
Declare Function GetUserNameEx lib "secur32" Alias "GetUserNameExA" (ByVal NameFormat As EXTENDED_NAME_FORMAT, ByVal lpNameBuffer As String, ByRef nSize As Long) As Long
Declare Function GetUserObjectInformation Lib "user32" Alias "GetUserObjectInformationA" (ByVal hObj As Long, ByVal nIndex As Long, pvInfo As Any, ByVal nLength As Long, lpnLengthNeeded As Long) As Long
Declare Function GetUserObjectSecurity Lib "user32" Alias "GetUserObjectSecurity" (ByVal hObj As Long, pSIRequested As Long, pSd As SECURITY_DESCRIPTOR, ByVal nLength As Long, lpnLengthNeeded As Long) As Long
Declare Function GetUserProfileDirectory lib "userenv" (ByVal hToken As Long, ByVal lpProfileDir As String, ByRef lpcchSize As Long) As Long
Declare Function GetVersion Lib "kernel32" Alias "GetVersion" () As Long
Declare Function GetVersionEx Lib "kernel32" Alias "GetVersionExA" (lpVersionInformation As OSVERSIONINFO) As Long
Declare Function GetVersionFromFile lib "advpack" (ByVal lpszFilename As String, ByRef pdwMSVer As Long, ByRef pdwLSVer As Long, ByVal bVersion As Long) As Long
Declare Function GetVersionFromFileEx lib "advpack" (ByVal lpszFilename As String, ByRef pdwMSVer As Long, ByRef pdwLSVer As Long, ByVal bVersion As Long) As Long
Declare Function GetViewportExtEx Lib "gdi32" Alias "GetViewportExtEx" (ByVal hdc As Long, lpSize As SIZE) As Long
Declare Function GetViewportOrgEx Lib "gdi32" Alias "GetViewportOrgEx" (ByVal hdc As Long, lpPoint As POINTAPI) As Long
Declare Function GetVolumeInformation Lib "kernel32" Alias "GetVolumeInformationA" (ByVal lpRootPathName As String, ByVal lpVolumeNameBuffer As String, ByVal nVolumeNameSize As Long, lpVolumeSerialNumber As Long, lpMaximumComponentLength As Long, lpFileSystemFlags As Long, ByVal lpFileSystemNameBuffer As String, ByVal nFileSystemNameSize As Long) As Long
Declare Function GetVolumeNameForVolumeMountPoint lib "kernel32" Alias "GetVolumeNameForVolumeMountPointA" (ByVal lpszVolumeMountPoint As String, ByVal lpszVolumeName As String, ByVal cchBufferLength As Long) As Long
Declare Function GetVolumePathName lib "kernel32" Alias "GetVolumePathNameA" (ByVal lpszFileName As String, ByVal lpszVolumePathName As String, ByVal cchBufferLength As Long) As Long
Declare Function GetWindow Lib "user32" Alias "GetWindow" (ByVal hwnd As Long, ByVal wCmd As Long) As Long
Declare Function GetWindowContextHelpId Lib "user32" (ByVal hWnd As Long) As Long
Declare Function GetWindowDC Lib "user32" Alias "GetWindowDC" (ByVal hwnd As Long) As Long
Declare Function GetWindowExtEx Lib "gdi32" Alias "GetWindowExtEx" (ByVal hdc As Long, lpSize As SIZE) As Long
Declare Function GetWindowInfo lib "user32" (ByVal hwnd As Long, ByRef pwi As PWINDOWINFO) As Long
Declare Function GetWindowLong Lib "user32" Alias "GetWindowLongA" (ByVal hwnd As Long, ByVal nIndex As Long) As Long
Declare Function GetWindowModuleFileName lib "user32" Alias "GetWindowModuleFileNameA" (ByVal hwnd As Long, ByVal pszFileName As String, ByVal cchFileNameMax As Long) As Long
Declare Function GetWindowOrgEx Lib "gdi32" Alias "GetWindowOrgEx" (ByVal hdc As Long, lpPoint As POINTAPI) As Long
Declare Function GetWindowPlacement Lib "user32" Alias "GetWindowPlacement" (ByVal hwnd As Long, lpwndpl As WINDOWPLACEMENT) As Long
Declare Function GetWindowRect Lib "user32" Alias "GetWindowRect" (ByVal hwnd As Long, lpRect As RECT) As Long
Declare Function GetWindowRgn Lib "user32" (ByVal hWnd As Long, ByVal hRgn As Long) As Long
Declare Function GetWindowsDirectory Lib "kernel32" Alias "GetWindowsDirectoryA" (ByVal lpBuffer As String, ByVal nSize As Long) As Long
Declare Function GetWindowText Lib "user32" Alias "GetWindowTextA" (ByVal hwnd As Long, ByVal lpString As String, ByVal cch As Long) As Long
Declare Function GetWindowTextLength Lib "user32" Alias "GetWindowTextLengthA" (ByVal hwnd As Long) As Long
Declare Function GetWindowThreadProcessId Lib "user32" Alias "GetWindowThreadProcessId" (ByVal hwnd As Long, lpdwProcessId As Long) As Long
Declare Function GetWindowWord Lib "user32" Alias "GetWindowWord" (ByVal hwnd As Long, ByVal nIndex As Long) As Integer
Declare Function GetWinMetaFileBits Lib "gdi32" Alias "GetWinMetaFileBits" (ByVal hemf As Long, ByVal cbBuffer As Long, lpbBuffer As Byte, ByVal fnMapMode As Long, ByVal hdcRef As Long) As Long
Declare Function GetWorldTransform Lib "gdi32" Alias "GetWorldTransform" (ByVal hdc As Long, lpXform As xform) As Long
Declare Function GetWriteWatch lib "kernel32" (ByVal dwFlags As Long, lpBaseAddress As Any, ByRef dwRegionSize As Long, lpAddresses As Any, ByRef lpdwCount As Long, ByRef lpdwGranularity As Long) As Long
Declare Function GetWsChanges lib "psapi" (ByVal hProcess As Long, ByRef lpWatchInfo As PPSAPI_WS_WATCH_INFORMATION, ByVal cb As Long) As Long
Declare Function GetXaSwitch lib "MTXOCI" (ByRef XaSwitchFlags As XA_SWITCH_FLAGS, ByRef ppXaSwitch As xa_switch_t) As Long
Declare Function GlobalAddAtom Lib "kernel32" Alias "GlobalAddAtomA" (ByVal lpString As String) As Integer
Declare Function GlobalAlloc Lib "kernel32" Alias "GlobalAlloc" (ByVal wFlags As Long, ByVal dwBytes As Long) As Long
Declare Function GlobalCompact Lib "kernel32" Alias "GlobalCompact" (ByVal dwMinFree As Long) As Long
Declare Function GlobalDeleteAtom Lib "kernel32" Alias "GlobalDeleteAtom" (ByVal nAtom As Integer) As Integer
Declare Function GlobalFindAtom Lib "kernel32" Alias "GlobalFindAtomA" (ByVal lpString As String) As Integer
Declare Function GlobalFlags Lib "kernel32" Alias "GlobalFlags" (ByVal hMem As Long) As Long
Declare Function GlobalFree Lib "kernel32" Alias "GlobalFree" (ByVal hMem As Long) As Long
Declare Function GlobalGetAtomName Lib "kernel32" Alias "GlobalGetAtomNameA" (ByVal nAtom As Integer, ByVal lpBuffer As String, ByVal nSize As Long) As Long
Declare Function GlobalHandle Lib "kernel32" Alias "GlobalHandle" (wMem As Any) As Long
Declare Function GlobalLock Lib "kernel32" Alias "GlobalLock" (ByVal hMem As Long) As Long
Declare Function GlobalMemoryStatusEx lib "kernel32" (ByRef lpBuffer As MEMORYSTATUSEX) As Long
Declare Function GlobalReAlloc Lib "kernel32" Alias "GlobalReAlloc" (ByVal hMem As Long, ByVal dwBytes As Long, ByVal wFlags As Long) As Long
Declare Function GlobalSize Lib "kernel32" Alias "GlobalSize" (ByVal hMem As Long) As Long
Declare Function GlobalUnlock Lib "kernel32" Alias "GlobalUnlock" (ByVal hMem As Long) As Long
Declare Function GlobalUnWire Lib "kernel32" Alias "GlobalUnWire" (ByVal hMem As Long) As Long
Declare Function GlobalWire Lib "kernel32" Alias "GlobalWire" (ByVal hMem As Long) As Long
Declare Function GradientFill lib "msimg32" (ByVal hdc As Long, ByRef PTRIVERTEX As PTRIVERTEX, ByVal ulong As Long, pvoid As Any, ByVal ulong As Long, ByVal ulong As Long) As Long
Declare Function GradientFillRect lib "msimg32" Alias "GradientFill" (ByVal hdc As Long, pVertex As TRIVERTEX, ByVal dwNumVertex As Long, pMesh As GRADIENT_RECT, ByVal dwNumMesh As Long, ByVal dwMode As Long) As Long
Declare Function GrayString Lib "user32" Alias "GrayStringA" (ByVal hDC As Long, ByVal hBrush As Long, ByVal lpOutputFunc As Long, ByVal lpData As Long, ByVal nCount As Long, ByVal X As Long, ByVal Y As Long, ByVal nWidth As Long, ByVal nHeight As Long) As Long
Declare Function GrayStringByString Lib "user32" Alias "GrayStringA" (ByVal hDC As Long, ByVal hBrush As Long, ByVal lpOutputFunc As Long, ByVal lpData As String, ByVal nCount As Long, ByVal X As Long, ByVal Y As Long, ByVal nWidth As Long, ByVal nHeight As Long) As Long
Declare Function HACCEL_UserMarshal lib "ole32" (ByRef pLong As Long, ByVal pChar As String, ByRef pHaccel As Long) As Long
Declare Function HACCEL_UserSize lib "ole32" (ByRef pLong As Long, ByVal lLong As Long, ByRef pHaccel As Long) As Long
Declare Function HACCEL_UserUnmarshal lib "ole32" (ByRef pLong As Long, ByVal pChar As String, ByRef pHaccel As Long) As Long
Declare Function HBITMAP_UserMarshal lib "ole32" (ByRef pLong As Long, ByVal pChar As String, ByRef pHbitmap As Long) As Long
Declare Function HBITMAP_UserSize lib "ole32" (ByRef pLong As Long, ByVal lLong As Long, ByRef pHbitmap As Long) As Long
Declare Function HBITMAP_UserUnmarshal lib "ole32" (ByRef pLong As Long, ByVal pChar As String, ByRef pHbitmap As Long) As Long
Declare Function HDC_UserMarshal lib "ole32" (ByRef pLong As Long, ByVal pChar As String, ByRef pHdc As Long) As Long
Declare Function HDC_UserSize lib "ole32" (ByRef pLong As Long, ByVal lLong As Long, ByRef pHdc As Long) As Long
Declare Function HDC_UserUnmarshal lib "ole32" (ByRef pLong As Long, ByVal pChar As String, ByRef pHdc As Long) As Long
Declare Function Heap32First lib "KERNEL32" (ByRef lphe As LPHEAPENTRY32, ByVal th32ProcessID As Long, ByRef th32HeapID As ULONG_PTR) As Long
Declare Function Heap32ListFirst lib "Kernel32" (ByVal hSnapshot As Long, ByRef lphl As LPHEAPLIST32) As Long
Declare Function Heap32ListNext lib "KERNEL32" (ByVal hSnapshot As Long, ByRef lphl As LPHEAPLIST32) As Long
Declare Function Heap32Next lib "KERNEL32" (ByRef lphe As LPHEAPENTRY32) As Long
Declare Function HeapAlloc Lib "kernel32" Alias "HeapAlloc" (ByVal hHeap As Long, ByVal dwFlags As Long, ByVal dwBytes As Long) As Long
Declare Function HeapCompact Lib "kernel32" Alias "HeapCompact" (ByVal hHeap As Long, ByVal dwFlags As Long) As Long
Declare Function HeapCreate Lib "kernel32" Alias "HeapCreate" (ByVal flOptions As Long, ByVal dwInitialSize As Long, ByVal dwMaximumSize As Long) As Long
Declare Function HeapDestroy Lib "kernel32" Alias "HeapDestroy" (ByVal hHeap As Long) As Long
Declare Function HeapFree Lib "kernel32" Alias "HeapFree" (ByVal hHeap As Long, ByVal dwFlags As Long, ByVal lpMem As Long) As Long
Declare Function HeapLock Lib "kernel32" Alias "HeapLock" (ByVal hHeap As Long) As Long
Declare Function HeapReAlloc Lib "kernel32" Alias "HeapReAlloc" (ByVal hHeap As Long, ByVal dwFlags As Long, ByVal lpMem As Long, ByVal dwBytes As Long) As Long
Declare Function HeapSize Lib "kernel32" Alias "HeapSize" (ByVal hHeap As Long, ByVal dwFlags As Long, ByVal lpMem As Long) As Long
Declare Function HeapUnlock Lib "kernel32" Alias "HeapUnlock" (ByVal hHeap As Long) As Long
Declare Function HeapValidate Lib "kernel32" Alias "HeapValidate" (ByVal hHeap As Long, ByVal dwFlags As Long, ByVal lpMem As Long) As Long
Declare Function HeapWalk lib "kernel32" (ByVal hHeap As Long, ByRef lpEntry As PROCESS_HEAP_ENTRY) As Long
Declare Function HGLOBAL_UserMarshal lib "ole32" (ByRef pLong As Long, ByVal pChar As String, ByRef pHglobal As Long) As Long
Declare Function HGLOBAL_UserSize lib "ole32" (ByRef pLong As Long, ByVal lLong As Long, ByRef pHglobal As Long) As Long
Declare Function HGLOBAL_UserUnmarshal lib "ole32" (ByRef pLong As Long, ByVal pChar As String, ByRef pHglobal As Long) As Long
Declare Function HICON_UserMarshal lib "OLE32" (ByRef pLong As Long, ByVal pChar As String, ByRef pHicon As Long) As Long
Declare Function HICON_UserSize lib "OLE32" (ByRef pLong As Long, ByVal llong As Long, ByRef pHicon As Long) As Long
Declare Function HICON_UserUnmarshal lib "OLE32" (ByRef pLong As Long, ByVal pChar As String, ByRef pHicon As Long) As Long
Declare Function HideCaret Lib "user32" Alias "HideCaret" (ByVal hwnd As Long) As Long
Declare Function HiliteMenuItem Lib "user32" Alias "HiliteMenuItem" (ByVal hwnd As Long, ByVal hMenu As Long, ByVal wIDHiliteItem As Long, ByVal wHilite As Long) As Long
Declare Function HMENU_UserMarshal lib "ole32" (ByRef pLong As Long, ByVal pChar As String, ByRef pHmenu As Long) As Long
Declare Function HMENU_UserSize lib "ole32" (ByRef pLong As Long, ByVal lLong As Long, ByRef pHmenu As Long) As Long
Declare Function HMENU_UserUnmarshal lib "ole32" (ByRef pLong As Long, ByVal pChar As String, ByRef pHmenu As Long) As Long
Declare Function HPALETTE_UserMarshal lib "ole32" (ByRef pLong As Long, ByVal pChar As String, ByRef pHpalette As Long) As Long
Declare Function HPALETTE_UserSize lib "ole32" (ByRef pLong As Long, ByVal lLong As Long, ByRef pHpalette As Long) As Long
Declare Function HPALETTE_UserUnmarshal lib "ole32" (ByRef pLong As Long, ByVal pChar As String, ByRef pHpalette As Long) As Long
Declare Function hread Lib "kernel32" Alias "_hread" (ByVal hFile As Long, lpBuffer As Any, ByVal lBytes As Long) As Long
Declare Function HtmlHelp lib "hhctrl.ocx" Alias "HtmlHelpA" (ByVal hwndCaller As Long, ByVal pszfile As String, ByVal ucommand As Long, ByVal dwdata As Long) As Long
Declare Function htonl lib "ws2_32" (ByVal hostlong As Long) As Long
Declare Function htons lib "ws2_32" (ByVal hostshort As Integer) As Integer
Declare Function HttpEndRequest lib "wininet" Alias "HttpEndRequestA" (ByRef hRequest As Long, ByRef lpBuffersOut As INTERNET_BUFFERSA, ByVal dwFlags As Long, ByVal dwContext As Long) As Long
Declare Function HttpExtensionProc lib "idq" (ByRef pECB As EXTENSION_CONTROL_BLOCK) As Long
Declare Function HttpSendRequestEx lib "wininet" Alias "HttpSendRequestExA" (ByRef hRequest As Long, ByRef lpBuffersIn As INTERNET_BUFFERSA, ByRef lpBuffersOut As INTERNET_BUFFERSA, ByVal dwFlags As Long, ByVal dwContext As Long) As Long
Declare Function HWND_UserMarshal lib "ole32" (ByRef pLong As Long, ByVal pChar As String, ByRef pHwnd As Long) As Long
Declare Function HWND_UserSize lib "ole32" (ByRef pLong As Long, ByVal lLong As Long, ByRef pHwnd As Long) As Long
Declare Function HWND_UserUnmarshal lib "ole32" (ByRef pLong As Long, ByVal pChar As String, ByRef pHwnd As Long) As Long
Declare Function hwrite Lib "kernel32" Alias "_hwrite" (ByVal hFile As Long, lpBuffer As Any, ByVal lBytes As Long) As Long
Declare Function I_NetLogonControl lib "NETAPI32" (ByVal ServerName As String, ByVal FunctionCode As Long, ByVal QueryLevel As Long, ByVal buffer As String) As Long
Declare Function I_NetLogonControl2 lib "NETAPI32" (ByVal ServerName As String, ByVal FunctionCode As Long, ByVal QueryLevel As Long, ByVal data As String, ByVal buffer As String) As Long
Declare Function I_RpcAsyncSetHandle lib "rpcrt4" (ByVal Message As Long, ByRef pAsync As PRPC_ASYNC_STATE) As Long
Declare Function I_RpcBindingCopy lib "rpcrt4" (ByVal SourceBinding As Long, ByRef DestinationBinding As Long) As Long
Declare Function I_RpcBindingInqConnId lib "rpcrt4" (ByVal Binding As Long, ConnId As Any, ByRef pfFirstCall As Long) As Long
Declare Function I_RpcBindingInqDynamicEndpoint lib "rpcrt4" (ByVal Binding As Long, ByVal DynamicEndpoint As String) As Long
Declare Function I_RpcBindingInqSecurityContext lib "rpcrt4" (ByVal Binding As Long, SecurityContextHandle As Any) As Long
Declare Function I_RpcBindingInqTransportType lib "rpcrt4" (ByVal Binding As Long, ByRef lType As Long) As Long
Declare Function I_RpcBindingInqWireIdForSnego lib "RPCRT4" (ByVal Binding As Long, ByVal WireId As String) As Long
Declare Function I_RpcBindingIsClientLocal lib "rpcrt4" (ByVal BindingHandle As Long, ByRef ClientLocalFlag As Long) As Long
Declare Function I_RpcConnectionInqSockBuffSize lib "rpcrt4" (ByRef RecvBuffSize As Long, ByRef SendBuffSize As Long) As Long
Declare Function I_RpcConnectionSetSockBuffSize lib "rpcrt4" (ByVal RecvBuffSize As Long, ByVal SendBuffSize As Long) As Long
Declare Function I_RpcFreeBuffer lib "rpcrt4" (ByRef Message As RPC_MESSAGE) As Long
Declare Function I_RpcGetAssociationContext lib "rpcrt4" (ByVal BindingHandle As Long, AssociationContext As Any) As Long
Declare Function I_RpcGetBuffer lib "rpcrt4" (ByRef Message As RPC_MESSAGE) As Long
Declare Function I_RpcGetBufferWithObject lib "rpcrt4" (ByRef Message As RPC_MESSAGE, ByVal ObjectUuid As Long) As Long
Declare Function I_RpcGetCurrentCallHandle lib "rpcrt4" () As Long
Declare Function I_RpcGetExtendedError lib "rpcrt4" () As Long
Declare Function I_RpcIfInqTransferSyntaxes lib "rpcrt4" (ByVal RpcIfHandle As Long, ByRef TransferSyntaxes As RPC_TRANSFER_SYNTAX, ByVal TransferSyntaxSize As Long, ByRef TransferSyntaxCount As Long) As Long
Declare Function I_RpcMapWin32Status lib "rpcrt4" (ByVal Status As Long) As Long
Declare Function I_RpcMonitorAssociation lib "rpcrt4" (ByVal Handle As Long, ByVal RundownRoutine As Long, Context As Any) As Long
Declare Function I_RpcNsBindingSetEntryName lib "rpcrt4" (ByVal Binding As Long, ByVal EntryNameSyntax As Long, ByVal EntryName As String) As Long
Declare Function I_RpcNsGetBuffer lib "rpcns4" (ByVal Message As Long) As Long
Declare Function I_RpcNsInterfaceExported lib "rpcrt4" (ByVal EntryNameSyntax As Long, ByRef EntryName As Integer, ByRef RpcInterfaceInformation As RPC_SERVER_INTERFACE) As Long
Declare Function I_RpcNsInterfaceUnexported lib "rpcrt4" (ByVal EntryNameSyntax As Long, ByRef EntryName As Integer, ByRef RpcInterfaceInformation As RPC_SERVER_INTERFACE) As Long
Declare Function I_RpcNsSendReceive lib "rpcns4" (ByVal Message As Long, ByRef Handle As Long) As Long
Declare Function I_RpcReBindBuffer lib "rpcns4" (ByVal Message As Long) As Long
Declare Function I_RpcSendReceive lib "rpcrt4" (ByRef Message As RPC_MESSAGE) As Long
Declare Function I_RpcServerRegisterForwardFunction lib "rpcrt4" (ByVal pForwardFunction As Long) As Long
Declare Function I_RpcServerSetAddressChangeFn lib "RPCRT4" (ByRef pAddressChangeFn As RPC_ADDRESS_CHANGE_FN) As Long
Declare Function I_RpcServerUseProtseq2 lib "rpcrt4" Alias "I_RpcServerUseProtseq2A" (ByVal NetworkAddress As String, ByVal Protseq As String, ByVal MaxCalls As Long, SecurityDescriptor As Any, Policy As Any) As Long
Declare Function I_RpcServerUseProtseqEp2 lib "rpcrt4" Alias "I_RpcServerUseProtseqEp2A" (ByVal NetworkAddress As String, ByVal Protseq As String, ByVal MaxCalls As Long, ByVal Endpoint As String, SecurityDescriptor As Any, Policy As Any) As Long
Declare Function I_RpcStopMonitorAssociation lib "rpcrt4" (ByVal Handle As Long) As Long
Declare Function I_UuidCreate lib "rpcrt4" (ByVal Uuid As Long) As Long
Declare Function ICClose lib "msvfw32" (ByVal hic As Long) As Long
Declare Function ICCompress lib "msvfw32" (ByVal hic As Long, ByVal dwFlags As Long, ByRef lpbiOutput As BITMAPINFOHEADER, lpData As Any, ByRef lpbiInput As BITMAPINFOHEADER, lpBits As Any, ByRef lpckid As Long, ByRef lpdwFlags As Long, ByVal lFrameNum As Long, ByVal dwFrameSize As Long, ByVal dwQuality As Long, ByRef lpbiPrev As BITMAPINFOHEADER, lpPrev As Any) As Long
Declare Function ICCompressorChoose lib "msvfw32" (ByVal hwnd As Long, ByVal uiFlags As Long, pvIn As Any, lpData As Any, ByRef pc As PCOMPVARS, ByVal lpszTitle As String) As Long
Declare Function ICDecompress lib "msvfw32" (ByVal hic As Long, ByVal dwFlags As Long, ByRef lpbiFormat As BITMAPINFOHEADER, lpData As Any, ByRef lpbi As BITMAPINFOHEADER, lpBits As Any) As Long
Declare Function ICDraw lib "msvfw32" (ByVal hic As Long, ByVal dwFlags As Long, lpFormat As Any, lpData As Any, ByVal cbData As Long, ByVal lTime As Long) As Long
Declare Function ICDrawBegin lib "msvfw32" (ByVal hic As Long, ByVal dwFlags As Long, ByVal hpal As Long, ByVal hwnd As Long, ByVal hdc As Long, ByVal xDst As Long, ByVal yDst As Long, ByVal dxDst As Long, ByVal dyDst As Long, ByRef lpbi As BITMAPINFOHEADER, ByVal xSrc As Long, ByVal ySrc As Long, ByVal dxSrc As Long, ByVal dySrc As Long, ByVal dwRate As Long, ByVal dwScale As Long) As Long
Declare Function ICGetDisplayFormat lib "msvfw32" (ByVal hic As Long, ByRef lpbiIn As BITMAPINFOHEADER, ByRef lpbiOut As BITMAPINFOHEADER, ByVal BitDepth As Long, ByVal dx As Long, ByVal dy As Long) As Long
Declare Function ICGetInfo lib "msvfw32" (ByVal hic As Long, ByRef picinfo As ICINFO, ByVal cb As Long) As Long
Declare Function ICImageCompress lib "msvfw32" (ByVal hic As Long, ByVal uiFlags As Long, ByRef lpbiIn As BITMAPINFO, lpBits As Any, ByRef lpbiOut As BITMAPINFO, ByVal lQuality As Long, ByRef plSize As Long) As Long
Declare Function ICImageDecompress lib "msvfw32" (ByVal hic As Long, ByVal uiFlags As Long, ByRef lpbiIn As BITMAPINFO, lpBits As Any, ByRef lpbiOut As BITMAPINFO) As Long
Declare Function ICInfo lib "msvfw32" (ByVal fccType As Long, ByVal fccHandler As Long, ByRef lpicinfo As ICINFO) As Long
Declare Function ICInstall lib "msvfw32" (ByVal fccType As Long, ByVal fccHandler As Long, ByVal lParam As Long, ByVal szDesc As String, ByVal wFlags As Long) As Long
Declare Function ICLocate lib "msvfw32" (ByVal fccType As Long, ByVal fccHandler As Long, ByRef lpbiIn As BITMAPINFOHEADER, ByRef lpbiOut As BITMAPINFOHEADER, ByVal wFlags As Integer) As Long
Declare Function IcmpCloseHandle lib "ICMP" (ByVal IcmpHandle As Long) As Long
Declare Function IcmpCreateFile lib "ICMP" () As Long
Declare Function IcmpParseReplies lib "ICMP" (ReplyBuffer As Any, ByVal ReplySize As Long) As Long
Declare Function IcmpSendEcho lib "ICMP" (ByVal IcmpHandle As Long, ByRef DestinationAddress As IPAddr, RequestData As Any, ByVal RequestSize As Integer, ByRef RequestOptions As PIP_OPTION_INFORMATION, ReplyBuffer As Any, ByVal ReplySize As Long, ByVal Timeout As Long) As Long
Declare Function ICOpen lib "msvfw32" (ByVal fccType As Long, ByVal fccHandler As Long, ByVal wMode As Long) As Long
Declare Function ICOpenFunction lib "msvfw32" (ByVal fccType As Long, ByVal fccHandler As Long, ByVal wMode As Long, ByVal lpfnHandler As Long) As Long
Declare Function ICRemove lib "msvfw32" (ByVal fccType As Long, ByVal fccHandler As Long, ByVal wFlags As Long) As Long
Declare Function ICSendMessage lib "msvfw32" (ByVal hic As Long, ByVal msg As Long, ByRef dw1 As Long, ByRef dw2 As Long) As Long
Declare Function ICSeqCompressFrame lib "msvfw32" (ByRef pc As PCOMPVARS, ByVal uiFlags As Long, lpBits As Any, ByRef pfKey As Long, ByRef plSize As Long) As Long
Declare Function ICSeqCompressFrameStart lib "msvfw32" (ByRef pc As PCOMPVARS, ByRef lpbiIn As BITMAPINFO) As Long
Declare Function ImageAddCertificate lib "imagehlp" (ByVal FileHandle As Long, ByRef Certificate As LPWIN_CERTIFICATE, ByRefdex As Long) As Long
Declare Function ImageDirectoryEntryToData lib "dbghelp" (Base As Any, ByVal MappedAsImage As Long, ByVal DirectoryEntry As Integer, ByRef Size As Long) As Long
Declare Function ImageDirectoryEntryToDataEx lib "dbghelp" (Base As Any, ByVal MappedAsImage As Long, ByVal DirectoryEntry As Integer, ByRef Size As Long, ByRef FoundHeader As PIMAGE_SECTION_HEADER) As Long
Declare Function ImageEnumerateCertificates lib "imagehlp" (ByVal FileHandle As Long, ByVal TypeFilter As Integer, ByRef CertificateCount As Long, ByRefdices As Long, ByValdexCount As Long) As Long
Declare Function ImageGetCertificateData lib "imagehlp" (ByVal FileHandle As Long, ByVal CertificateIndex As Long, ByRef Certificate As LPWIN_CERTIFICATE, ByRef RequiredLength As Long) As Long
Declare Function ImageGetCertificateHeader lib "imagehlp" (ByVal FileHandle As Long, ByVal CertificateIndex As Long, ByRef Certificateheader As LPWIN_CERTIFICATE) As Long
Declare Function ImageGetDigestStream lib "imagehlp" (ByVal FileHandle As Long, ByVal DigestLevel As Long, ByRef DigestFunction As DIGEST_FUNCTION, ByRef DigestHandle As DIGEST_HANDLE) As Long
Declare Function ImageList_Add lib "comctl32" (ByVal himl As Long, ByVal hbmImage As Long, ByVal hbmMask As Long) As Long
Declare Function ImageList_AddMasked lib "comctl32" (ByVal himl As Long, ByVal hbmImage As Long, ByVal crMask As Long) As Long
Declare Function ImageList_BeginDrag lib "comctl32" (ByVal himlTrack As Long, ByVal iTrack As Long, ByVal dxHotspot As Long, ByVal dyHotspot As Long) As Long
Declare Function ImageList_Copy lib "comctl32" (ByVal himlDst As Long, ByVal iDst As Long, ByVal himlSrc As Long, ByVal iSrc As Long, ByVal uFlags As Long) As Long
Declare Function ImageList_Create lib "comctl32" (ByVal cx As Long, ByVal cy As Long, ByVal flags As Long, ByVal cInitial As Long, ByVal cGrow As Long) As Long
Declare Function ImageList_Destroy lib "comctl32" (ByVal himl As Long) As Long
Declare Function ImageList_DragEnter lib "comctl32" (ByVal hwndLock As Long, ByVal x As Long, ByVal y As Long) As Long
Declare Function ImageList_DragLeave lib "comctl32" (ByVal hwndLock As Long) As Long
Declare Function ImageList_DragMove lib "comctl32" (ByVal x As Long, ByVal y As Long) As Long
Declare Function ImageList_DragShowNolock lib "comctl32" (ByVal fShow As Long) As Long
Declare Function ImageList_Draw lib "comctl32" (ByVal himl As Long, ByVal i As Long, ByVal hdcDst As Long, ByVal x As Long, ByVal y As Long, ByVal fStyle As Long) As Long
Declare Function ImageList_DrawEx lib "comctl32" (ByVal himl As Long, ByVal i As Long, ByVal hdcDst As Long, ByVal x As Long, ByVal y As Long, ByVal dx As Long, ByVal dy As Long, ByVal rgbBk As Long, ByVal rgbFg As Long, ByVal fStyle As Long) As Long
Declare Function ImageList_DrawIndirect lib "comctl32" (ByRef pimldp As IMAGELISTDRAWPARAMS) As Long
Declare Function ImageList_Duplicate lib "comctl32" (ByVal himl As Long) As Long
Declare Function ImageList_GetBkColor lib "comctl32" (ByVal himl As Long) As Long
Declare Function ImageList_GetDragImage lib "comctl32" (ByRef ppt As POINT, ByRef pptHotspot As POINT) As Long
Declare Function ImageList_GetIcon lib "comctl32" (ByVal himl As Long, ByVal i As Long, ByVal flags As Long) As Long
Declare Function ImageList_GetIconSize lib "comctl32" (ByVal himl As Long, ByRef cx As Long, ByRef cy As Long) As Long
Declare Function ImageList_GetImageCount lib "comctl32" (ByVal himl As Long) As Long
Declare Function ImageList_GetImageInfo lib "comctl32" (ByVal himl As Long, ByVal i As Long, ByRef pImageInfo As IMAGEINFO) As Long
Declare Function ImageList_LoadImage lib "comctl32" (ByVal hi As Long, ByVal lpbmp As String, ByVal cx As Long, ByVal cGrow As Long, ByVal crMask As Long, ByVal uType As Long, ByVal uFlags As Long) As Long
Declare Function ImageList_Merge lib "comctl32" (ByVal himl1 As Long, ByVal i1 As Long, ByVal himl2 As Long, ByVal i2 As Long, ByVal dx As Long, ByVal dy As Long) As Long
Declare Function ImageList_Read lib "comctl32" (ByRef pstm As Long) As Long
Declare Function ImageList_Remove lib "comctl32" (ByVal himl As Long, ByVal i As Long) As Long
Declare Function ImageList_Replace lib "comctl32" (ByVal himl As Long, ByVal i As Long, ByVal hbmImage As Long, ByVal hbmMask As Long) As Long
Declare Function ImageList_ReplaceIcon lib "comctl32" (ByVal himl As Long, ByVal i As Long, ByVal hicon As Long) As Long
Declare Function ImageList_SetBkColor lib "comctl32" (ByVal himl As Long, ByVal clrBk As Long) As Long
Declare Function ImageList_SetDragCursorImage lib "comctl32" (ByVal himlDrag As Long, ByVal iDrag As Long, ByVal dxHotspot As Long, ByVal dyHotspot As Long) As Long
Declare Function ImageList_SetIconSize lib "comctl32" (ByVal himl As Long, ByVal cx As Long, ByVal cy As Long) As Long
Declare Function ImageList_SetImageCount lib "comctl32" (ByVal himl As Long, ByVal uNewCount As Long) As Long
Declare Function ImageList_SetOverlayImage lib "comctl32" (ByVal himl As Long, ByVal iImage As Long, ByVal iOverlay As Long) As Long
Declare Function ImageList_Write lib "comctl32" (ByVal himl As Long, ByRef pstm As Long) As Long
Declare Function ImageRemoveCertificate lib "imagehlp" (ByVal FileHandle As Long, ByValdex As Long) As Long
Declare Function ImageRvaToVa lib "dbghelp" (ByRef NtHeaders As PIMAGE_NT_HEADERS, Base As Any, ByVal Rva As Long, ByRef LastRvaSection As PIMAGE_SECTION_HEADER) As Long
Declare Function ImageUnload lib "imagehlp" (ByRef LoadedImage As PLOADED_IMAGE) As Long
Declare Function ImmAssociateContext Lib "imm32.dll" Alias "ImmAssociateContext" (ByVal hwnd As Long, ByVal himc As Long) As Long
Declare Function ImmAssociateContextEx lib "imm32" (ByVal hwnd As Long, ByVal himc As Long, ByVal dword As Long) As Long
Declare Function ImmConfigureIME Lib "imm32.dll" Alias "ImmConfigureIME" (ByVal hkl As Long, ByVal hwnd As Long, ByVal dw As Long) As Long
Declare Function ImmCreateContext Lib "imm32.dll" Alias "ImmCreateContext" () As Long
Declare Function ImmDestroyContext Lib "imm32.dll" Alias "ImmDestroyContext" (ByVal himc As Long) As Long
Declare Function ImmDisableIME lib "imm32" (ByVal dword As Long) As Long
Declare Function ImmEnumInputContext lib "imm32" (ByVal idThread As Long, ByRef lpfn As IMCENUMPROC, ByVal lParam As Long) As Long
Declare Function ImmEnumRegisterWord Lib "imm32.dll" Alias "ImmEnumRegisterWordA" (ByVal hkl As Long, ByVal RegisterWordEnumProc As Long, ByVal lpszReading As String, ByVal dw As Long, ByVal lpszRegister As String, lpv As Any) As Long
Declare Function ImmEscape Lib "imm32.dll" Alias "ImmEscapeA" (ByVal hkl As Long, ByVal himc As Long, ByVal un As Long, lpv As Any) As Long
Declare Function ImmGetCandidateList Lib "imm32.dll" Alias "ImmGetCandidateListA" (ByVal himc As Long, ByVal deIndex As Long, lpCandidateList As CANDIDATELIST, ByVal dwBufLen As Long) As Long
Declare Function ImmGetCandidateListCount Lib "imm32.dll" Alias "ImmGetCandidateListCountA" (ByVal himc As Long, lpdwListCount As Long) As Long
Declare Function ImmGetCandidateWindow Lib "imm32.dll" Alias "ImmGetCandidateWindow" (ByVal himc As Long, ByVal dw As Long, lpCandidateForm As CANDIDATEFORM) As Long
Declare Function ImmGetCompositionFont Lib "imm32.dll" Alias "ImmGetCompositionFontA" (ByVal himc As Long, lpLogFont As LOGFONT) As Long
Declare Function ImmGetCompositionString Lib "imm32.dll" Alias "ImmGetCompositionStringA" (ByVal himc As Long, ByVal dw As Long, lpv As Any, ByVal dw2 As Long) As Long
Declare Function ImmGetCompositionWindow Lib "imm32.dll" Alias "ImmGetCompositionWindow" (ByVal himc As Long, lpCompositionForm As COMPOSITIONFORM) As Long
Declare Function ImmGetContext Lib "imm32.dll" Alias "ImmGetContext" (ByVal hwnd As Long) As Long
Declare Function ImmGetConversionList Lib "imm32.dll" Alias "ImmGetConversionListA" (ByVal hkl As Long, ByVal himc As Long, ByVal lpsz As String, lpCandidateList As CANDIDATELIST, ByVal dwBufLen As Long, ByVal uFlag As Long) As Long
Declare Function ImmGetConversionStatus Lib "imm32.dll" Alias "ImmGetConversionStatus" (ByVal himc As Long, lpdw As Long, lpdw2 As Long) As Long
Declare Function ImmGetDefaultIMEWnd Lib "imm32.dll" Alias "ImmGetDefaultIMEWnd" (ByVal hwnd As Long) As Long
Declare Function ImmGetDescription Lib "imm32.dll" Alias "ImmGetDescriptionA" (ByVal hkl As Long, ByVal lpsz As String, ByVal uBufLen As Long) As Long
Declare Function ImmGetGuideLine Lib "imm32.dll" Alias "ImmGetGuideLineA" (ByVal himc As Long, ByVal dwIndex As Long, ByVal lpStr As String, ByVal dwBufLen As Long) As Long
Declare Function ImmGetIMEFileName Lib "imm32.dll" Alias "ImmGetIMEFileNameA" (ByVal hkl As Long, ByVal lpStr As String, ByVal uBufLen As Long) As Long
Declare Function ImmGetImeMenuItems lib "imm32" Alias "ImmGetImeMenuItemsA" (ByVal himc As Long, ByVal dword As Long, ByVal dword As Long, ByRef LPIMEMENUITEMINFOA As IMEMENUITEMINFOA, ByRef LPIMEMENUITEMINFOA As IMEMENUITEMINFOA, ByVal dword As Long) As Long
Declare Function ImmGetOpenStatus Lib "imm32.dll" Alias "ImmGetOpenStatus" (ByVal himc As Long) As Long
Declare Function ImmGetProperty Lib "imm32.dll" Alias "ImmGetProperty" (ByVal hkl As Long, ByVal dw As Long) As Long
Declare Function ImmGetRegisterWordStyle Lib "imm32.dll" Alias "ImmGetRegisterWordStyleA" (ByVal hkl As Long, ByVal nItem As Long, lpStyleBuf As STYLEBUF) As Long
Declare Function ImmGetStatusWindowPos Lib "imm32.dll" Alias "ImmGetStatusWindowPos" (ByVal himc As Long, lpPoint As POINTAPI) As Long
Declare Function ImmGetVirtualKey Lib "imm32.dll" Alias "ImmGetVirtualKey" (ByVal hwnd As Long) As Long
Declare Function ImmInstallIME Lib "imm32.dll" Alias "ImmInstallIMEA" (ByVal lpszIMEFileName As String, ByVal lpszLayoutText As String) As Long
Declare Function ImmIsIME Lib "imm32.dll" Alias "ImmIsIME" (ByVal hkl As Long) As Long
Declare Function ImmIsUIMessage Lib "imm32.dll" Alias "ImmIsUIMessageA" (ByVal hwnd As Long, ByVal un As Long, ByVal wParam As Integer, ByVal lParam As Long) As Long
Declare Function ImmNotifyIME Lib "imm32.dll" Alias "ImmNotifyIME" (ByVal himc As Long, ByVal dwAction As Long, ByVal dwIndex As Long, ByVal dwValue As Long) As Long
Declare Function ImmRegisterWord Lib "imm32.dll" Alias "ImmRegisterWordA" (ByVal hkl As Long, ByVal lpszReading As String, ByVal dw As Long, ByVal lpszRegister As String) As Long
Declare Function ImmReleaseContext Lib "imm32.dll" Alias "ImmReleaseContext" (ByVal hwnd As Long, ByVal himc As Long) As Long
Declare Function ImmSetCandidateWindow Lib "imm32.dll" Alias "ImmSetCandidateWindow" (ByVal himc As Long, lpCandidateForm As CANDIDATEFORM) As Long
Declare Function ImmSetCompositionFont Lib "imm32.dll" Alias "ImmSetCompositionFontA" (ByVal himc As Long, lpLogFont As LOGFONT) As Long
Declare Function ImmSetCompositionString Lib "imm32.dll" Alias "ImmSetCompositionStringA" (ByVal himc As Long, ByVal dwIndex As Long, lpComp As Any, ByVal dw As Long, lpRead As Any, ByVal dw2 As Long) As Long
Declare Function ImmSetCompositionWindow Lib "imm32.dll" Alias "ImmSetCompositionWindow" (ByVal himc As Long, lpCompositionForm As COMPOSITIONFORM) As Long
Declare Function ImmSetConversionStatus Lib "imm32.dll" Alias "ImmSetConversionStatus" (ByVal himc As Long, ByVal dw1 As Long, ByVal dw2 As Long) As Long
Declare Function ImmSetOpenStatus Lib "imm32.dll" Alias "ImmSetOpenStatus" (ByVal himc As Long, ByVal b As Long) As Long
Declare Function ImmSetStatusWindowPos Lib "imm32.dll" Alias "ImmSetStatusWindowPos" (ByVal himc As Long, lpPoint As POINTAPI) As Long
Declare Function ImmSimulateHotKey Lib "imm32.dll" Alias "ImmSimulateHotKey" (ByVal hwnd As Long, ByVal dw As Long) As Long
Declare Function ImmUnregisterWord Lib "imm32.dll" Alias "ImmUnregisterWordA" (ByVal hkl As Long, ByVal lpszReading As String, ByVal dw As Long, ByVal lpszUnregister As String) As Long
Declare Function ImpersonateAnonymousToken lib "ADVAPI32" (ByVal ThreadHandle As Long) As Long
Declare Function ImpersonateDdeClientWindow Lib "user32" Alias "ImpersonateDdeClientWindow" (ByVal hWndClient As Long, ByVal hWndServer As Long) As Long
Declare Function ImpersonateLoggedOnUser Lib "kernel32" Alias "ImpersonateLoggedOnUser" (ByVal hToken As Long) As Long
Declare Function ImpersonateNamedPipeClient Lib "advapi32.dll" Alias "ImpersonateNamedPipeClient" (ByVal hNamedPipe As Long) As Long
Declare Function ImpersonateSelf Lib "advapi32.dll" Alias "ImpersonateSelf" (ImpersonationLevel As Integer) As Long
Declare Function IMPGetIME lib "user32" Alias "IMPGetIMEA" (ByVal hwnd As Long, ByRef LPIMEPROA As IMEPROA) As Long
Declare Function ImportNtmsDatabase lib "ntmsapi" (ByVal hSession As Long) As Long
Declare Function IMPQueryIME lib "user32" Alias "IMPQueryIMEA" (ByRef LPIMEPROA As IMEPROA) As Long
Declare Function IMPSetIME lib "user32" Alias "IMPSetIMEA" (ByVal hwnd As Long, ByRef LPIMEPROA As IMEPROA) As Long
Declare Function inet_addr lib "ws2_32" (ByVal cp As String) As Long
Declare Function inet_ntoa lib "ws2_32" (ByRef lIn As sockaddr) As Long
Declare Function InetIsOffline lib "url" (ByVal dwFlags As Long) As Long
Declare Function InflateRect Lib "user32" Alias "InflateRect" (lpRect As RECT, ByVal x As Long, ByVal y As Long) As Long
Declare Function InitAtomTable Lib "kernel32" Alias "InitAtomTable" (ByVal nSize As Long) As Long
Declare Function InitCommonControlsEx lib "comctl32" (ByRef TLPINITCOMMONCONTROLSEX As INITCOMMONCONTROLSEX) As Long
Declare Function InitializeAcl Lib "advapi32.dll" Alias "InitializeAcl" (pAcl As ACL, ByVal nAclLength As Long, ByVal dwAclRevision As Long) As Long
Declare Function InitializeCriticalSectionAndSpinCount lib "kernel32" (ByRef lpCriticalSection As Long, ByVal dwSpinCount As Long) As Long
Declare Function InitializeFlatSB lib "comctl32" (ByVal hwnd As Long) As Long
Declare Function InitializeProcessForWsWatch lib "psapi" (ByVal hProcess As Long) As Long
Declare Function InitializeSecurityDescriptor Lib "advapi32.dll" Alias "InitializeSecurityDescriptor" (pSecurityDescriptor As SECURITY_DESCRIPTOR, ByVal dwRevision As Long) As Long
Declare Function InitializeSid Lib "advapi32.dll" Alias "InitializeSid" (Sid As Any, pIdentifierAuthority As SID_IDENTIFIER_AUTHORITY, ByVal nSubAuthorityCount As Byte) As Long
Declare Function InitiateSystemShutdown Lib "advapi32.dll" Alias "InitiateSystemShutdownA" (ByVal lpMachineName As String, ByVal lpMessage As String, ByVal dwTimeout As Long, ByVal bForceAppsClosed As Long, ByVal bRebootAfterShutdown As Long) As Long
Declare Function InitiateSystemShutdownEx lib "advapi32" Alias "InitiateSystemShutdownExA" (ByVal lpMachineName As String, ByVal lpMessage As String, ByVal dwTimeout As Long, ByVal bForceAppsClosed As Long, ByVal bRebootAfterShutdown As Long, ByVal dwReason As Long) As Long
Declare Function InjectNtmsCleaner lib "ntmsapi" (ByVal hSession As Long, ByRef lpLibrary As LPNTMS_GUID, ByRef lpInjectOperation As LPNTMS_GUID, ByVal dwNumberOfCleansLeft As Long, ByVal dwAction As Long) As Long
Declare Function InjectNtmsMedia lib "ntmsapi" (ByVal hSession As Long, ByRef lpLibraryId As LPNTMS_GUID, ByRef lpInjectOperation As LPNTMS_GUID, ByVal dwAction As Long) As Long
Declare Function InSendMessage Lib "user32" Alias "InSendMessage" () As Long
Declare Function InSendMessageEx lib "user32" (lpReserved As Any) As Long
Declare Function InsertMenu Lib "user32" Alias "InsertMenuA" (ByVal hMenu As Long, ByVal nPosition As Long, ByVal wFlags As Long, ByVal wIDNewItem As Long, ByVal lpNewItem As String) As Long
Declare Function InsertMenuItem Lib "user32" Alias "InsertMenuItemA" (ByVal hMenu As Long, ByVal un As Long, ByVal bypos As Long, lpcMenuItemInfo As MENUITEMINFO) As Long
Declare Function InstallColorProfile lib "mscms" Alias "InstallColorProfileA" (ByVal pcstr As String, ByVal pcstr As String) As Long
Declare Function InterlockedCompareExchange lib "kernel32" (ByRef Destination As Long, ByVal Exchange As Long, ByVal Comperand As Long) As Long
Declare Function InterlockedDecrement Lib "kernel32" Alias "InterlockedDecrement" (lpAddend As Long) As Long
Declare Function InterlockedExchange Lib "kernel32" Alias "InterlockedExchange" (Target As Long, ByVal Value As Long) As Long
Declare Function InterlockedExchangeAdd lib "kernel32" (ByRef Addend As Long, ByVal Value As Long) As Long
Declare Function InterlockedIncrement Lib "kernel32" Alias "InterlockedIncrement" (lpAddend As Long) As Long
Declare Function InternetAttemptConnect lib "wininet" (ByVal dwReserved As Long) As Long
Declare Function InternetAutodial lib "wininet" (ByVal dwFlags As Long, ByVal hwndParent As Long) As Long
Declare Function InternetAutodialHangup lib "wininet" (ByVal dwReserved As Long) As Long
Declare Function InternetCheckConnection lib "wininet" Alias "InternetCheckConnectionA" (ByVal lpszUrl As String, ByVal dwFlags As Long, ByVal dwReserved As Long) As Long
Declare Function InternetCloseHandle lib "wininet" (ByRef hInternet As Long) As Boolean
Declare Function InternetConfirmZoneCrossing lib "wininet" (ByVal hWnd As Long, ByVal szUrlPrev As String, ByVal szUrlNew As String, ByVal bPost As Long) As Long
Declare Function InternetConnect lib "wininet" Alias "InternetConnectA" (ByRef hInternet As Long, ByVal lpszServerName As String, ByRef nServerPort As INTERNET_PORT, ByVal lpszUserName As String, ByVal lpszPassword As String, ByVal dwService As Long, ByVal dwFlags As Long, ByRef dwContext As Long) As Long
Declare Function InternetDial lib "wininet" (ByVal hwndParent As Long, ByVal lpszConnectoid As String, ByVal dwFlags As Long, ByRef lpdwConnection As Long, ByVal dwReserved As Long) As Long
Declare Function InternetErrorDlg lib "wininet" (ByVal hWnd As Long, ByRef hRequest As Long, ByVal dwError As Long, ByVal dwFlags As Long, lppvData As Any) As Long
Declare Function InternetFindNextFile lib "wininet" Alias "InternetFindNextFileA" (ByRef hFind As Long, lpvFindData As Any) As Long
Declare Function InternetGetConnectedState lib "wininet" (ByRef lpdwFlags As Long, ByVal dwReserved As Long) As Long
Declare Function InternetGetConnectedStateEx lib "wininet" (ByRef lpdwFlags As Long, ByVal lpszConnectionName As String, ByVal dwNameLen As Long, ByVal dwReserved As Long) As Long
Declare Function InternetGetLastResponseInfo lib "wininet" Alias "InternetGetLastResponseInfoA" (ByRef lpdwError As Long, ByVal lpszBuffer As String, ByRef lpdwBufferLength As Long) As Boolean
Declare Function InternetGoOnline lib "wininet" (ByVal lpszURL As String, ByVal hwndParent As Long, ByVal dwFlags As Long) As Long
Declare Function InternetHangUp lib "wininet" (ByVal dwConnection As Long, ByVal dwReserved As Long) As Long
Declare Function InternetInitializeAutoProxyDll lib "iedkcs32" (ByVal dwReserved As Long) As Long
Declare Function InternetOpen lib "wininet" Alias "InternetOpenA" (ByVal lpszAgent As String, ByVal dwAccessType As Long, ByVal lpszProxy As String, ByVal lpszProxyBypass As String, ByVal dwFlags As Long) As Long
Declare Function InternetOpenUrl lib "wininet" Alias "InternetOpenUrlA" (ByVal hInternet As Long, ByVal lpszUrl As String, ByVal lpszHeaders As String, ByVal dwHeadersLength As Long, ByVal dwFlags As Long, ByRef dwContext As Long) As Long
Declare Function InternetQueryDataAvailable lib "wininet" (ByVal hFile As Long, ByRef lpdwNumberOfBytesAvailable As Long, ByVal dwFlags As Long, ByVal dwContext As Long) As Boolean
Declare Function InternetQueryOption lib "wininet" Alias "InternetQueryOptionA" (ByVal hInternet As Long, ByVal dwOption As Long, lpBuffer As Any, lpdwBufferLength As Long) As Long
Declare Function InternetReadFile lib "wininet" (ByVal hFile As Long, lpBuffer As Any, ByVal dwNumberOfBytesToRead As Long, ByRef lpdwNumberOfBytesRead As Long) As Integer
Declare Function InternetReadFileEx lib "wininet" Alias "InternetReadFileExA" (ByRef hFile As Long, ByRef lpBuffersOut As INTERNET_BUFFERSA, ByVal dwFlags As Long, ByVal dwContext As Long) As Long
Declare Function InternetSetDialState lib "wininet" (ByVal lpszConnectoid As String, ByVal dwState As Long, ByVal dwReserved As Long) As Long
Declare Function InternetSetFilePointer lib "wininet" (ByRef hFile As Long, ByVal lDistanceToMove As Long, pReserved As Any, ByVal dwMoveMethod As Long, ByVal dwContext As Long) As Long
Declare Function InternetSetOption lib "wininet" Alias "InternetSetOptionA" (ByVal hInternet As Long, ByVal dwOption As Long, lpBuffer As Any, ByVal dwBufferLength As Long) As Long
Declare Function IntersectClipRect Lib "gdi32" Alias "IntersectClipRect" (ByVal hdc As Long, ByVal X1 As Long, ByVal Y1 As Long, ByVal X2 As Long, ByVal Y2 As Long) As Long
Declare Function IntersectRect Lib "user32" Alias "IntersectRect" (lpDestRect As RECT, lpSrc1Rect As RECT, lpSrc2Rect As RECT) As Long
Declare Function IntlStrEqWorker lib "shlwapi" Alias "IntlStrEqWorkerA" (ByVal fCaseSens As Long, ByVal lpString1 As String, ByVal lpString2 As String, ByVal nChar As Long) As Long
Declare Function InvalidateRect Lib "user32" Alias "InvalidateRect" (ByVal hwnd As Long, lpRect As RECT, ByVal bErase As Long) As Long
Declare Function InvalidateRectBynum Lib "user32" Alias "InvalidateRect" (ByVal hwnd As Long, ByVal lpRect As Long, ByVal bErase As Long) As Long
Declare Function InvalidateRgn Lib "user32" Alias "InvalidateRgn" (ByVal hwnd As Long, ByVal hRgn As Long, ByVal bErase As Long) As Long
Declare Function InventoryNtmsLibrary lib "ntmsapi" (ByVal hSession As Long, ByRef lpLibraryId As LPNTMS_GUID, ByVal dwAction As Long) As Long
Declare Function InvertRect Lib "user32" Alias "InvertRect" (ByVal hdc As Long, lpRect As RECT) As Long
Declare Function InvertRgn Lib "gdi32" Alias "InvertRgn" (ByVal hdc As Long, ByVal hRgn As Long) As Long
Declare Function ioctlsocket lib "ws2_32" (ByVal s As Long, ByVal cmd As Long, ByRef argp As Long) As Long
Declare Function IpReleaseAddress lib "IPHLPAPI" (ByRef AdapterInfo As PIP_ADAPTER_INDEX_MAP) As Long
Declare Function IpRenewAddress lib "IPHLPAPI" (ByRef AdapterInfo As PIP_ADAPTER_INDEX_MAP) As Long
Declare Function IpxRecvPacket lib "adptif" (ByVal Handle As Long, ByVal IpxPacket As String, ByVal IpxPacketLength As Long, ByRef lpReserved As PADDRESS_RESERVED, ByRef lpOverlapped As OVERLAPPED, ByVal CompletionRoutine As Long) As Long
Declare Function IpxSendPacket lib "adptif" (ByVal Handle As Long, ByVal AdapterIdx As Long, ByVal IpxPacket As String, ByVal IpxPacketLength As Long, ByRef lpReserved As PADDRESS_RESERVED, ByRef lpOverlapped As OVERLAPPED, ByVal CompletionRoutine As Long) As Long
Declare Function IsAccelerator lib "ole32" (ByVal hAccel As Long, ByVal cAccelEntries As Long, ByRef lpMsg As MSG, ByRef lpwCmd As Integer) As Long
Declare Function IsBadCodePtr Lib "kernel32" Alias "IsBadCodePtr" (ByVal lpfn As Long) As Long
Declare Function IsBadHugeReadPtr Lib "kernel32" Alias "IsBadHugeReadPtr" (lp As Any, ByVal ucb As Long) As Long
Declare Function IsBadHugeWritePtr Lib "kernel32" Alias "IsBadHugeWritePtr" (lp As Any, ByVal ucb As Long) As Long
Declare Function IsBadReadPtr Lib "kernel32" Alias "IsBadReadPtr" (lp As Any, ByVal ucb As Long) As Long
Declare Function IsBadStringPtr Lib "kernel32" Alias "IsBadStringPtrA" (ByVal lpsz As String, ByVal ucchMax As Long) As Long
Declare Function IsBadWritePtr Lib "kernel32" Alias "IsBadWritePtr" (lp As Any, ByVal ucb As Long) As Long
Declare Function IsCharAlpha Lib "user32" Alias "IsCharAlphaA" (ByVal cChar As Byte) As Long
Declare Function IsCharAlphaNumeric Lib "user32" Alias "IsCharAlphaNumericA" (ByVal cChar As Byte) As Long
Declare Function IsCharLower Lib "user32" Alias "IsCharLowerA" (ByVal cChar As Byte) As Long
Declare Function IsCharUpper Lib "user32" Alias "IsCharUpperA" (ByVal cChar As Byte) As Long
Declare Function IsChild Lib "user32" Alias "IsChild" (ByVal hWndParent As Long, ByVal hwnd As Long) As Long
Declare Function IsClipboardFormatAvailable Lib "user32" Alias "IsClipboardFormatAvailable" (ByVal wFormat As Long) As Long
Declare Function IsColorProfileTagPresent lib "mscms" (ByRef THPROFILE As Long, ByRef TTAGTYPE As TAGTYPE, ByRef pbool As Long) As Long
Declare Function IsColorProfileValid lib "mscms" (ByRef THPROFILE As Long, ByRef pbool As Long) As Long
Declare Function IsDBCSLeadByte Lib "kernel32" Alias "IsDBCSLeadByte" (ByVal bTestChar As Byte) As Long
Declare Function IsDBCSLeadByteEx Lib "kernel32"  (ByVal codepage As Long, ByVal bTestChar As Byte) As Long
Declare Function IsDebuggerPresent lib "kernel32" () As Long
Declare Function IsDestinationReachable lib "SENSAPI" (ByVal lpszDestination As String, ByRef lpQOCInfo As lpQOCInfo) As Long
Declare Function IsDialogMessage Lib "user32" Alias "IsDialogMessageA" (ByVal hDlg As Long, lpMsg As MSG) As Long
Declare Function IsDlgButtonChecked Lib "user32" Alias "IsDlgButtonChecked" (ByVal hDlg As Long, ByVal nIDButton As Long) As Long
Declare Function IsIconic Lib "user32" Alias "IsIconic" (ByVal hwnd As Long) As Long
Declare Function IsLoggingEnabled lib "URLMON" (ByVal pszUrl As String) As Long
Declare Function IsMenu Lib "user32" Alias "IsMenu" (ByVal hMenu As Long) As Long
Declare Function IsNetworkAlive lib "SENSAPI" (ByRef lpdwFlags As Long) As Long
Declare Function IsNTAdmin lib "advpack" (ByVal dwReserved As Long, ByRef lpdwReserved As Long) As Long
Declare Function IsProcessorFeaturePresent lib "kernel32" (ByVal ProcessorFeature As Long) As Long
Declare Function IsProcessRestricted lib "advapi32" () As Long
Declare Function IsRectEmpty Lib "user32" Alias "IsRectEmpty" (lpRect As RECT) As Long
Declare Function IsRemoteNPP lib "npptools" (ByRef hBlob As hBlob) As Long
Declare Function IsSystemResumeAutomatic lib "kernel32" () As Long
Declare Function IsTextUnicode Lib "advapi32.dll" Alias "IsTextUnicode" (lpBuffer As Any, ByVal cb As Long, lpi As Long) As Long
Declare Function IsTokenRestricted lib "advapi32" (ByVal TokenHandle As Long) As Long
Declare Function IsValidAcl Lib "advapi32.dll" Alias "IsValidAcl" (pAcl As ACL) As Long
Declare Function IsValidCodePage Lib "kernel32" Alias "IsValidCodePage" (ByVal CodePage As Long) As Long
Declare Function IsValidIndex lib "ftsrch" (ByVal pszFileName As String, ByVal dwOptions As Long) As Long
Declare Function IsValidLanguageGroup lib "kernel32" (ByRef LanguageGroup As LGRPID, ByVal dwFlags As Long) As Long
Declare Function IsValidLocale Lib "KERNEL32" Alias "IsValidLocale" (ByVal Locale As Long, ByVal dwFlags As Long) As Long
Declare Function IsValidSecurityDescriptor Lib "advapi32.dll" Alias "IsValidSecurityDescriptor" (pSecurityDescriptor As SECURITY_DESCRIPTOR) As Long
Declare Function IsValidSid Lib "advapi32.dll" Alias "IsValidSid" (pSid As Any) As Long
Declare Function IsValidURL lib "URLMON" (ByVal pbc As Long, ByVal szURL As String, ByVal dwReserved As Long) As Long
Declare Function IsWindow Lib "user32" Alias "IsWindow" (ByVal hwnd As Long) As Long
Declare Function IsWindowEnabled Lib "user32" Alias "IsWindowEnabled" (ByVal hwnd As Long) As Long
Declare Function IsWindowUnicode Lib "user32" Alias "IsWindowUnicode" (ByVal hwnd As Long) As Long
Declare Function IsWindowVisible Lib "user32" Alias "IsWindowVisible" (ByVal hwnd As Long) As Long
Declare Function IsZoomed Lib "user32" Alias "IsZoomed" (ByVal hwnd As Long) As Long
Declare Function IUnknown_AddRef_Proxy lib "rpcrt4" (ByVal This As Long) As Long
Declare Function IUnknown_QueryInterface_Proxy lib "rpcrt4" (ByVal This As Long, ByVal riid As Long, ppvObject As Any) As Long
Declare Function IUnknown_Release_Proxy lib "rpcrt4" (ByVal This As Long) As Long
Declare Function joyConfigChanged lib "WINMM" (ByVal dwFlags As Long) As Long
Declare Function joyGetDevCaps Lib "winmm.dll" Alias "joyGetDevCapsA" (ByVal id As Long, lpCaps As JOYCAPS, ByVal uSize As Long) As Long
Declare Function joyGetNumDevs Lib "winmm.dll" () As Long
Declare Function joyGetPos Lib "winmm.dll" Alias "joyGetPos" (ByVal uJoyID As Long, pji As JOYINFO) As Long
Declare Function joyGetPosEx Lib "winmm.dll" Alias "joyGetPosEx" (ByVal uJoyID As Long, pji As JOYINFOEX) As Long
Declare Function joyGetThreshold Lib "winmm.dll" Alias "joyGetThreshold" (ByVal id As Long, lpuThreshold As Long) As Long
Declare Function joyReleaseCapture Lib "winmm.dll" Alias "joyReleaseCapture" (ByVal id As Long) As Long
Declare Function joySetCapture Lib "winmm.dll" Alias "joySetCapture" (ByVal hwnd As Long, ByVal uID As Long, ByVal uPeriod As Long, ByVal bChanged As Long) As Long
Declare Function joySetThreshold Lib "winmm.dll" Alias "joySetThreshold" (ByVal id As Long, ByVal uThreshold As Long) As Long
Declare Function KillTimer Lib "user32" Alias "KillTimer" (ByVal hwnd As Long, ByVal nIDEvent As Long) As Long
Declare Function KsCreateAllocator lib "KSUSER" (ByVal ConnectionHandle As Long, ByRef AllocatorFraming As PKSALLOCATOR_FRAMING, ByRef AllocatorHandle As Long) As Long
Declare Function KsCreateClock lib "KSUSER" (ByVal ConnectionHandle As Long, ByRef ClockCreate As PKSCLOCK_CREATE, ByRef ClockHandle As Long) As Long
Declare Function KsCreateTopologyNode lib "KSUSER" (ByVal ParentHandle As Long, ByRef NodeCreate As PKSNODE_CREATE, ByVal DesiredAccess As Long, ByRef NodeHandle As Long) As Long
Declare Function LaunchINFSection lib "advpack" (ByVal hwnd As Long, ByVal hinstance As Long, ByVal pstr As String, ByValt As Long) As Long
Declare Function LaunchINFSectionEx lib "advpack" (ByVal hwnd As Long, ByVal hInstance As Long, ByVal pszParms As String, ByVal nShow As Long) As Long
Declare Function LBItemFromPt lib "comctl32" (ByVal hLB As Long, ByVal pt As Struct_MembersOf_POINT, ByVal bAutoScroll As Long) As Long
Declare Function lclose Lib "kernel32" Alias "_lclose" (ByVal hFile As Long) As Long
Declare Function LCMapString Lib "kernel32" Alias "LCMapStringA" (ByVal Locale As Long, ByVal dwMapFlags As Long, ByVal lpSrcStr As String, ByVal cchSrc As Long, ByVal lpDestStr As String, ByVal cchDest As Long) As Long
Declare Function lcreat Lib "kernel32" Alias "_lcreat" (ByVal lpPathName As String, ByVal iAttribute As Long) As Long
Declare Function ldap_abandon lib "wldap32" (ByRef ld As LDAP, ByVal msgid As Long) As Long
Declare Function ldap_add lib "wldap32" (ByRef ld As LDAP, ByVal dn As String, ByRef attrs As LDAPMod) As Long
Declare Function ldap_add_ext lib "wldap32" (ByRef ld As LDAP, ByVal dn As String, ByRef attrs As LDAPModA, ByRef ServerControls As PLDAPControlA, ByRef ClientControls As PLDAPControlA, ByRef MessageNumber As Long) As Long
Declare Function ldap_add_ext_s lib "wldap32" (ByRef ld As LDAP, ByVal dn As String, ByRef attrs As LDAPModA, ByRef ServerControls As PLDAPControlA, ByRef ClientControls As PLDAPControlA) As Long
Declare Function ldap_add_s lib "wldap32" (ByRef ld As LDAP, ByVal dn As String, ByRef attrs As LDAPMod) As Long
Declare Function ldap_bind lib "wldap32" (ByRef ld As LDAP, ByVal dn As String, ByVal cred As String, ByVal method As Long) As Long
Declare Function ldap_bind_s lib "wldap32" (ByRef ld As LDAP, ByVal dn As String, ByVal cred As String, ByVal method As Long) As Long
Declare Function ldap_check_filter lib "wldap32" Alias "ldap_check_filterA" (ByRef ld As LDAP, ByVal SearchFilter As String) As Long
Declare Function ldap_cleanup lib "wldap32" (ByVal hInstance As Long) As Long
Declare Function ldap_close_extended_op lib "wldap32" (ByRef ld As LDAP, ByVal MessageNumber As Long) As Long
Declare Function ldap_compare lib "wldap32" (ByRef ld As LDAP, ByVal dn As String, ByVal attr As String, ByVal value As String) As Long
Declare Function ldap_compare_ext lib "wldap32" (ByRef ld As LDAP, ByVal dn As String, ByVal Attr As String, ByVal Value As String, ByRef Data As sockaddr, ByRef ServerControls As PLDAPControlA, ByRef ClientControls As PLDAPControlA, ByRef MessageNumber As Long) As Long
Declare Function ldap_compare_ext_s lib "wldap32" (ByRef ld As LDAP, ByVal dn As String, ByVal Attr As String, ByVal Value As String, ByRef Data As sockaddr, ByRef ServerControls As PLDAPControlA, ByRef ClientControls As PLDAPControlA) As Long
Declare Function ldap_compare_s lib "wldap32" (ByRef ld As LDAP, ByVal dn As String, ByVal attr As String, ByVal value As String) As Long
Declare Function ldap_connect lib "wldap32" (ByRef ld As LDAP, ByRef timeout As sockaddr) As Long
Declare Function ldap_control_free lib "wldap32" (ByRef Control As LDAPControlA) As Long
Declare Function ldap_controls_free lib "wldap32" (ByRef Controls As LDAPControlA) As Long
Declare Function ldap_count_entries lib "wldap32" (ByRef ld As LDAP, ByRef res As LDAPMessage) As Long
Declare Function ldap_count_references lib "wldap32" (ByRef ld As LDAP, ByRef res As LDAPMessage) As Long
Declare Function ldap_count_values lib "wldap32" (ByVal vals As String) As Long
Declare Function ldap_count_values_len lib "wldap32" (ByRef vals As sockaddr) As Long
Declare Function ldap_create_page_control lib "wldap32" (ByRef ExternalHandle As PLDAP, ByVal PageSize As Long, ByRef Cookie As sockaddr, ByVal IsCritical As Byte, ByRef Control As PLDAPControlA) As Long
Declare Function ldap_create_sort_control lib "wldap32" (ByRef ExternalHandle As PLDAP, ByRef SortKeys As PLDAPSortKeyA, ByVal IsCritical As Byte, ByRef Control As PLDAPControlA) As Long
Declare Function ldap_delete lib "wldap32" (ByRef ld As LDAP, ByVal dn As String) As Long
Declare Function ldap_delete_ext lib "wldap32" (ByRef ld As LDAP, ByVal dn As String, ByRef ServerControls As PLDAPControlA, ByRef ClientControls As PLDAPControlA, ByRef MessageNumber As Long) As Long
Declare Function ldap_delete_ext_s lib "wldap32" (ByRef ld As LDAP, ByVal dn As String, ByRef ServerControls As PLDAPControlA, ByRef ClientControls As PLDAPControlA) As Long
Declare Function ldap_delete_s lib "wldap32" (ByRef ld As LDAP, ByVal dn As String) As Long
Declare Function ldap_dn2ufn lib "wldap32" (ByVal dn As String) As Long
Declare Function ldap_encode_sort_control lib "wldap32" Alias "ldap_encode_sort_controlA" (ByRef ExternalHandle As PLDAP, ByRef SortKeys As PLDAPSortKeyA, ByRef Control As PLDAPControlA, ByVal Criticality As Long) As Long
Declare Function ldap_err2string lib "wldap32" (ByVal err As Long) As Long
Declare Function ldap_escape_filter_element lib "wldap32" (ByVal sourceFilterElement As String, ByVal sourceLength As Long, ByVal destFilterElement As String, ByVal destLength As Long) As Long
Declare Function ldap_explode_dn lib "wldap32" (ByVal dn As String, ByVal notypes As Long) As Long
Declare Function ldap_extended_operation lib "wldap32" (ByRef ld As LDAP, ByVal Oid As String, ByRef Data As sockaddr, ByRef ServerControls As PLDAPControlA, ByRef ClientControls As PLDAPControlA, ByRef MessageNumber As Long) As Long
Declare Function ldap_first_attribute lib "wldap32" (ByRef ld As LDAP, ByRef entry As LDAPMessage, ByRef ptr As BerElement) As Long
Declare Function ldap_free_controls lib "wldap32" (ByRef Controls As LDAPControlA) As Long
Declare Function ldap_get_dn lib "wldap32" (ByRef ld As LDAP, ByRef entry As LDAPMessage) As Long
Declare Function ldap_get_next_page lib "WLDAP32" (ByRef ExternalHandle As PLDAP, ByRef SearchHandle As PLDAPSearch, ByVal PageSize As Long, ByRef MessageNumber As Long) As Long
Declare Function ldap_get_next_page_s lib "wldap32" (ByRef ExternalHandle As PLDAP, ByRef SearchHandle As PLDAPSearch, ByRef timeout As sockaddr, ByVal PageSize As Long, ByRef TotalCount As Long, ByRef Results As LDAPMessage) As Long
Declare Function ldap_get_option lib "wldap32" (ByRef ld As LDAP, ByVal lOption As Long,value As Any) As Long
Declare Function ldap_get_paged_count lib "wldap32" (ByRef ExternalHandle As PLDAP, ByRef SearchBlock As PLDAPSearch, ByRef TotalCount As Long, ByRef Results As PLDAPMessage) As Long
Declare Function ldap_get_values lib "wldap32" (ByRef ld As LDAP, ByRef entry As LDAPMessage, ByVal attr As String) As Long
Declare Function ldap_modify lib "wldap32" (ByRef ld As LDAP, ByVal dn As String, ByRef mods As LDAPModA) As Long
Declare Function ldap_modify_ext lib "wldap32" (ByRef ld As LDAP, ByVal dn As String, ByRef mods As LDAPModA, ByRef ServerControls As PLDAPControlA, ByRef ClientControls As PLDAPControlA, ByRef MessageNumber As Long) As Long
Declare Function ldap_modify_ext_s lib "wldap32" (ByRef ld As LDAP, ByVal dn As String, ByRef mods As LDAPModA, ByRef ServerControls As PLDAPControlA, ByRef ClientControls As PLDAPControlA) As Long
Declare Function ldap_modify_s lib "wldap32" (ByRef ld As LDAP, ByVal dn As String, ByRef mods As LDAPModA) As Long
Declare Function ldap_modrdn lib "wldap32" (ByRef ExternalHandle As LDAP, ByVal DistinguishedName As String, ByVal NewDistinguishedName As String) As Long
Declare Function ldap_modrdn_s lib "wldap32" (ByRef ExternalHandle As LDAP, ByVal DistinguishedName As String, ByVal NewDistinguishedName As String) As Long
Declare Function ldap_modrdn2 lib "wldap32" (ByRef ExternalHandle As LDAP, ByVal DistinguishedName As String, ByVal NewDistinguishedName As String, ByVal DeleteOldRdn As Long) As Long
Declare Function ldap_modrdn2_s lib "wldap32" (ByRef ExternalHandle As LDAP, ByVal DistinguishedName As String, ByVal NewDistinguishedName As String, ByVal DeleteOldRdn As Long) As Long
Declare Function ldap_msgfree lib "wldap32" (ByRef res As LDAPMessage) As Long
Declare Function ldap_next_attribute lib "wldap32" (ByRef ld As LDAP, ByRef entry As LDAPMessage, ByRef ptr As BerElement) As Long
Declare Function ldap_parse_extended_result lib "wldap32" Alias "ldap_parse_extended_resultA" (ByRef Connection As LDAP, ByRef ResultMessage As LDAPMessage, ByVal ResultOID As String, ByRef ResultData As sockaddr, ByVal Freeit As Long) As Long
Declare Function ldap_parse_page_control lib "wldap32" (ByRef ExternalHandle As PLDAP, ByRef ServerControls As PLDAPControlA, ByRef TotalCount As Long, ByRef Cookie As sockaddr) As Long
Declare Function ldap_parse_reference lib "wldap32" (ByRef Connection As LDAP, ByRef ResultMessage As LDAPMessage, ByVal Referrals As String) As Long
Declare Function ldap_parse_result lib "wldap32" (ByRef Connection As LDAP, ByRef ResultMessage As LDAPMessage, ByRef ReturnCode As Long, ByVal MatchedDNs As String, ByVal ErrorMessage As String, ByVal Referrals As String, ByRef ServerControls As PLDAPControlA, ByVal Freeit As Long) As Long
Declare Function ldap_parse_sort_control lib "wldap32" (ByRef ExternalHandle As PLDAP, ByRef Control As PLDAPControlA, ByRef Result As Long, ByVal sAttribute As String) As Long
Declare Function ldap_rename_ext lib "wldap32" (ByRef ld As LDAP, ByVal dn As String, ByVal NewRDN As String, ByVal NewParent As String, ByVal DeleteOldRdn As Long, ByRef ServerControls As PLDAPControlA, ByRef ClientControls As PLDAPControlA, ByRef MessageNumber As Long) As Long
Declare Function ldap_rename_ext_s lib "wldap32" (ByRef ld As LDAP, ByVal dn As String, ByVal NewRDN As String, ByVal NewParent As String, ByVal DeleteOldRdn As Long, ByRef ServerControls As PLDAPControlA, ByRef ClientControls As PLDAPControlA) As Long
Declare Function ldap_result lib "wldap32" (ByRef ld As LDAP, ByVal msgid As Long, ByVal all As Long, ByRef timeout As sockaddr, ByRef res As LDAPMessage) As Long
Declare Function ldap_result2error lib "wldap32" (ByRef ld As LDAP, ByRef res As LDAPMessage, ByVal freeit As Long) As Long
Declare Function ldap_sasl_bind lib "wldap32" Alias "ldap_sasl_bindA" (ByRef ExternalHandle As LDAP, ByVal DistName As String, ByVal AuthMechanism As String, ByRef cred As Long, ByRef ServerCtrls As PLDAPControlA, ByRef ClientCtrls As PLDAPControlA, ByRef MessageNumber As Long) As Long
Declare Function ldap_sasl_bind_s lib "wldap32" Alias "ldap_sasl_bind_sA" (ByRef ExternalHandle As LDAP, ByVal DistName As String, ByVal AuthMechanism As String, ByRef cred As Long, ByRef ServerCtrls As PLDAPControlA, ByRef ClientCtrls As PLDAPControlA, ByRef ServerData As PBERVAL) As Long
Declare Function ldap_search lib "wldap32" (ByRef ld As LDAP, ByVal base As String, ByVal scope As Long, ByVal filter As String, ByRef attrs As String, ByVal attrsonly As Long) As Long
Declare Function ldap_search_abandon_page lib "wldap32" (ByRef ExternalHandle As PLDAP, ByRef SearchBlock As PLDAPSearch) As Long
Declare Function ldap_search_ext lib "wldap32" (ByRef ld As LDAP, ByVal base As String, ByVal scope As Long, ByVal filter As String, ByRef attrs As String, ByVal attrsonly As Long, ByRef ServerControls As PLDAPControlA, ByRef ClientControls As PLDAPControlA, ByVal TimeLimit As Long, ByVal SizeLimit As Long, ByRef MessageNumber As Long) As Long
Declare Function ldap_search_ext_s lib "wldap32" (ByRef ld As LDAP, ByVal base As String, ByVal scope As Long, ByVal filter As String, ByRef attrs As String, ByVal attrsonly As Long, ByRef ServerControls As PLDAPControlA, ByRef ClientControls As PLDAPControlA, ByRef timeout As sockaddr, ByVal SizeLimit As Long, ByRef res As LDAPMessage) As Long
Declare Function ldap_search_s lib "wldap32" (ByRef ld As LDAP, ByVal base As String, ByVal scope As Long, ByVal filter As String, ByRef attrs As String, ByVal attrsonly As Long, ByRef res As LDAPMessage) As Long
Declare Function ldap_search_st lib "wldap32" (ByRef ld As LDAP, ByVal base As String, ByVal scope As Long, ByVal filter As String, ByRef attrs As String, ByVal attrsonly As Long, ByRef timeout As sockaddr, ByRef res As LDAPMessage) As Long
Declare Function ldap_set_dbg_flags lib "wldap32" (ByVal NewFlags As Long) As Long
Declare Function ldap_set_option lib "wldap32" (ByRef ld As LDAP, ByVal lOption As Long,value As Any) As Long
Declare Function ldap_simple_bind lib "wldap32" (ByRef ld As LDAP, ByVal dn As String, ByVal passwd As String) As Long
Declare Function ldap_simple_bind_s lib "wldap32" (ByRef ld As LDAP, ByVal dn As String, ByVal passwd As String) As Long
Declare Function ldap_startup lib "wldap32" (ByRef version As PLDAP_VERSION_INFO, ByRefstance As Long) As Long
Declare Function ldap_ufn2dn lib "wldap32" (ByVal ufn As String, ByVal pDn As String) As Long
Declare Function ldap_unbind lib "wldap32" (ByRef ld As LDAP) As Long
Declare Function ldap_unbind_s lib "WLDAP32" (ByRef ld As LDAP) As Long
Declare Function ldap_value_free lib "wldap32" (ByVal vals As String) As Long
Declare Function ldap_value_free_len lib "wldap32" (ByRef vals As sockaddr) As Long
Declare Function LdapGetLastError lib "wldap32" () As Long
Declare Function LdapMapErrorToWin32 lib "wldap32" (ByVal LdapError As Long) As Long
Declare Function LdapUnicodeToUTF8 lib "wldap32" (ByVal lpSrcStr As String, ByVal cchSrc As Long, ByVal lpDestStr As String, ByVal cchDest As Long) As Long
Declare Function LdapUTF8ToUnicode lib "wldap32" (ByVal lpSrcStr As String, ByVal cchSrc As Long, ByVal lpDestStr As String, ByVal cchDest As Long) As Long
Declare Function LeaveCriticalPolicySection lib "userenv" (ByVal hSection As Long) As Long
Declare Function LHashValOfNameSys lib "oleaut32" (ByVal syskind As Integer, ByVal lcid As Long, ByVal szName As String) As Long
Declare Function lineAccept lib "tapi32" (ByVal hCall As Long, ByVal lpsUserUserInfo As String, ByVal dwSize As Long) As Long
Declare Function lineAddProvider lib "tapi32" (ByVal lpszProviderFilename As String, ByVal hwndOwner As Long, ByRef lpdwPermanentProviderID As Long) As Long
Declare Function lineAddToConference lib "tapi32" (ByVal hConfCall As Long, ByVal hConsultCall As Long) As Long
Declare Function lineAgentSpecific lib "tapi32" (ByVal hLine As Long, ByVal dwAddressID As Long, ByVal dwAgentExtensionIDIndex As Long, lpParams As Any, ByVal dwSize As Long) As Long
Declare Function lineAnswer lib "tapi32" (ByVal hCall As Long, ByVal lpsUserUserInfo As String, ByVal dwSize As Long) As Long
Declare Function lineBlindTransfer lib "tapi32" (ByVal hCall As Long, ByVal lpszDestAddress As String, ByVal dwCountryCode As Long) As Long
Declare Function lineClose lib "tapi32" (ByVal hLine As Long) As Long
Declare Function lineCompleteCall lib "tapi32" (ByVal hCall As Long, ByRef lpdwCompletionID As Long, ByVal dwCompletionMode As Long, ByVal dwMessageID As Long) As Long
Declare Function lineCompleteTransfer lib "tapi32" (ByVal hCall As Long, ByVal hConsultCall As Long, ByRef lphConfCall As Long, ByVal dwTransferMode As Long) As Long
Declare Function lineConfigDialog lib "tapi32" (ByVal dwDeviceID As Long, ByVal hwndOwner As Long, ByVal lpszDeviceClass As String) As Long
Declare Function lineConfigDialogEdit lib "tapi32" (ByVal dwDeviceID As Long, ByVal hwndOwner As Long, ByVal lpszDeviceClass As String, lpDeviceConfigIn As Any, ByVal dwSize As Long, ByRef lpDeviceConfigOut As VARSTRING) As Long
Declare Function lineConfigProvider lib "tapi32" (ByVal hwndOwner As Long, ByVal dwPermanentProviderID As Long) As Long
Declare Function lineCreateAgent lib "tapi32" Alias "lineCreateAgentA" (ByVal hLine As Long, ByVal lpszAgentID As String, ByVal lpszAgentPIN As String, ByRef lphAgent As HAGENT) As Long
Declare Function lineCreateAgentSession lib "tapi32" Alias "lineCreateAgentSessionA" (ByVal hLine As Long, ByRef hAgent As Long, ByVal lpszAgentPIN As String, ByVal dwWorkingAddressID As Long, ByVal lpGroupID As Long, ByRef lphAgentSession As HAGENTSESSION) As Long
Declare Function LineDD lib "gdi32" Alias "LineDDA" (ByValt As Long, ByValt As Long, ByValt As Long, ByValt As Long, ByVal pLineddaproc As Long, ByVal lparam As Long) As Long
Declare Function LineDDA Lib "gdi32" Alias "LineDDA" (ByVal n1 As Long, ByVal n2 As Long, ByVal n3 As Long, ByVal n4 As Long, ByVal lpLineDDAProc As Long, ByVal lParam As Long) As Long
Declare Function lineDeallocateCall lib "tapi32" (ByVal hCall As Long) As Long
Declare Function lineDevSpecific lib "tapi32" (ByVal hLine As Long, ByVal dwAddressID As Long, ByVal hCall As Long, lpParams As Any, ByVal dwSize As Long) As Long
Declare Function lineDevSpecificFeature lib "tapi32" (ByVal hLine As Long, ByVal dwFeature As Long, lpParams As Any, ByVal dwSize As Long) As Long
Declare Function lineDial lib "tapi32" (ByVal hCall As Long, ByVal lpszDestAddress As String, ByVal dwCountryCode As Long) As Long
Declare Function lineDrop lib "tapi32" (ByVal hCall As Long, ByVal lpsUserUserInfo As String, ByVal dwSize As Long) As Long
Declare Function lineForward lib "tapi32" (ByVal hLine As Long, ByVal bAllAddresses As Long, ByVal dwAddressID As Long, ByRef lpForwardList As LINEFORWARDLIST, ByVal dwNumRingsNoAnswer As Long, ByRef lphConsultCall As Long, ByRef lpCallParams As LINECALLPARAMS) As Long
Declare Function lineGatherDigits lib "tapi32" (ByVal hCall As Long, ByVal dwDigitModes As Long, ByVal lpsDigits As String, ByVal dwNumDigits As Long, ByVal lpszTerminationDigits As String, ByVal dwFirstDigitTimeout As Long, ByVal dwInterDigitTimeout As Long) As Long
Declare Function lineGenerateDigits lib "tapi32" (ByVal hCall As Long, ByVal dwDigitMode As Long, ByVal lpszDigits As String, ByVal dwDuration As Long) As Long
Declare Function lineGenerateTone lib "tapi32" (ByVal hCall As Long, ByVal dwToneMode As Long, ByVal dwDuration As Long, ByVal dwNumTones As Long, ByRef lpTones As LINEGENERATETONE) As Long
Declare Function lineGetAddressCaps lib "tapi32" (ByVal hLineApp As Long, ByVal dwDeviceID As Long, ByVal dwAddressID As Long, ByVal dwAPIVersion As Long, ByVal dwExtVersion As Long, ByRef lpAddressCaps As LINEADDRESSCAPS) As Long
Declare Function lineGetAddressID lib "tapi32" (ByVal hLine As Long, ByRef lpdwAddressID As Long, ByVal dwAddressMode As Long, ByVal lpsAddress As String, ByVal dwSize As Long) As Long
Declare Function lineGetAddressStatus lib "tapi32" (ByVal hLine As Long, ByVal dwAddressID As Long, ByRef lpAddressStatus As LINEADDRESSSTATUS) As Long
Declare Function lineGetAgentActivityList lib "tapi32" Alias "lineGetAgentActivityListA" (ByVal hLine As Long, ByVal dwAddressID As Long, ByRef lpAgentActivityList As LINEAGENTACTIVITYLIST) As Long
Declare Function lineGetAgentCaps lib "tapi32" Alias "lineGetAgentCapsA" (ByVal hLineApp As Long, ByVal dwDeviceID As Long, ByVal dwAddressID As Long, ByVal dwAppAPIVersion As Long, ByRef lpAgentCaps As LINEAGENTCAPS) As Long
Declare Function lineGetAgentGroupList lib "tapi32" Alias "lineGetAgentGroupListA" (ByVal hLine As Long, ByVal dwAddressID As Long, ByRef lpAgentGroupList As LINEAGENTGROUPLIST) As Long
Declare Function lineGetAgentInfo lib "tapi32" (ByVal hLine As Long, ByRef hAgent As Long, ByRef lpAgentInfo As LINEAGENTINFO) As Long
Declare Function lineGetAgentSessionInfo lib "tapi32" (ByVal hLine As Long, ByRef hAgentSession As Long, ByRef lpAgentSessionInfo As LINEAGENTSESSIONINFO) As Long
Declare Function lineGetAgentSessionList lib "tapi32" (ByVal hLine As Long, ByRef hAgent As Long, ByRef lpAgentSessionList As LINEAGENTSESSIONLIST) As Long
Declare Function lineGetAgentStatus lib "tapi32" Alias "lineGetAgentStatusA" (ByVal hLine As Long, ByVal dwAddressID As Long, ByRef lpAgentStatus As LINEAGENTSTATUS) As Long
Declare Function lineGetAppPriority lib "tapi32" (ByVal lpszAppFilename As String, ByVal dwMediaMode As Long, ByRef lpExtensionID As LINEEXTENSIONID, ByVal dwRequestMode As Long, ByRef lpExtensionName As VARSTRING, ByRef lpdwPriority As Long) As Long
Declare Function lineGetCallInfo lib "tapi32" (ByVal hCall As Long, ByRef lpCallInfo As LINECALLINFO) As Long
Declare Function lineGetCallStatus lib "tapi32" (ByVal hCall As Long, ByRef lpCallStatus As LINECALLSTATUS) As Long
Declare Function lineGetConfRelatedCalls lib "tapi32" (ByVal hCall As Long, ByRef lpCallList As LINECALLLIST) As Long
Declare Function lineGetCountry lib "tapi32" (ByVal dwCountryID As Long, ByVal dwAPIVersion As Long, ByRef lpLineCountryList As LINECOUNTRYLIST) As Long
Declare Function lineGetDevCaps lib "tapi32" (ByVal hLineApp As Long, ByVal dwDeviceID As Long, ByVal dwAPIVersion As Long, ByVal dwExtVersion As Long, ByRef lpLineDevCaps As LINEDEVCAPS) As Long
Declare Function lineGetDevConfig lib "tapi32" (ByVal dwDeviceID As Long, ByRef lpDeviceConfig As VARSTRING, ByVal lpszDeviceClass As String) As Long
Declare Function lineGetGroupList lib "tapi32" Alias "lineGetGroupListA" (ByVal hLine As Long, ByRef lpGroupList As LINEAGENTGROUPLIST) As Long
Declare Function lineGetIcon lib "tapi32" (ByVal dwDeviceID As Long, ByVal lpszDeviceClass As String, ByRef lphIcon As Long) As Long
Declare Function lineGetID lib "tapi32" (ByVal hLine As Long, ByVal dwAddressID As Long, ByVal hCall As Long, ByVal dwSelect As Long, ByRef lpDeviceID As VARSTRING, ByVal lpszDeviceClass As String) As Long
Declare Function lineGetLineDevStatus lib "tapi32" (ByVal hLine As Long, ByRef lpLineDevStatus As LINEDEVSTATUS) As Long
Declare Function lineGetMessage lib "tapi32" (ByVal hLineApp As Long, ByRef lpMessage As LINEMESSAGE, ByVal dwTimeout As Long) As Long
Declare Function lineGetNewCalls lib "tapi32" (ByVal hLine As Long, ByVal dwAddressID As Long, ByVal dwSelect As Long, ByRef lpCallList As LINECALLLIST) As Long
Declare Function lineGetNumRings lib "tapi32" (ByVal hLine As Long, ByVal dwAddressID As Long, ByRef lpdwNumRings As Long) As Long
Declare Function lineGetProviderList lib "tapi32" (ByVal dwAPIVersion As Long, ByRef lpProviderList As LINEPROVIDERLIST) As Long
Declare Function lineGetProxyStatus lib "tapi32" (ByVal hLineApp As Long, ByVal dwDeviceID As Long, ByVal dwAppAPIVersion As Long, ByRef lpLineProxyReqestList As LINEPROXYREQUESTLIST) As Long
Declare Function lineGetQueueInfo lib "tapi32" (ByVal hLine As Long, ByVal dwQueueID As Long, ByRef lpLineQueueInfo As LINEQUEUEINFO) As Long
Declare Function lineGetQueueList lib "tapi32" Alias "lineGetQueueListA" (ByVal hLine As Long, ByVal lpGroupID As Long, ByRef lpQueueList As LINEQUEUELIST) As Long
Declare Function lineGetRequest lib "tapi32" (ByVal hLineApp As Long, ByVal dwRequestMode As Long, lpRequestBuffer As Any) As Long
Declare Function lineGetStatusMessages lib "tapi32" (ByVal hLine As Long, ByRef lpdwLineStates As Long, ByRef lpdwAddressStates As Long) As Long
Declare Function lineGetTranslateCaps lib "tapi32" (ByVal hLineApp As Long, ByVal dwAPIVersion As Long, ByRef lpTranslateCaps As LINETRANSLATECAPS) As Long
Declare Function lineHandoff lib "tapi32" (ByVal hCall As Long, ByVal lpszFileName As String, ByVal dwMediaMode As Long) As Long
Declare Function lineHold lib "tapi32" (ByVal hCall As Long) As Long
Declare Function lineInitialize lib "tapi32" (ByRef lphLineApp As Long, ByVal hInstance As Long, ByVal lpfnCallback As Long, ByVal lpszAppName As String, ByRef lpdwNumDevs As Long) As Long
Declare Function lineInitializeEx lib "tapi32" Alias "lineInitializeExA" (ByRef lphLineApp As Long, ByVal hInstance As Long, ByVal lpfnCallback As Long, ByVal lpszFriendlyAppName As String, ByRef lpdwNumDevs As Long, ByRef lpdwAPIVersion As Long, ByRef lpLineInitializeExParams As LINEINITIALIZEEXPARAMS) As Long
Declare Function lineMakeCall lib "tapi32" (ByVal hLine As Long, ByRef lphCall As Long, ByVal lpszDestAddress As String, ByVal dwCountryCode As Long, ByRef lpCallParams As LINECALLPARAMS) As Long
Declare Function lineMonitorDigits lib "tapi32" (ByVal hCall As Long, ByVal dwDigitModes As Long) As Long
Declare Function lineMonitorMedia lib "tapi32" (ByVal hCall As Long, ByVal dwMediaModes As Long) As Long
Declare Function lineMonitorTones lib "tapi32" (ByVal hCall As Long, ByRef lpToneList As LINEMONITORTONE, ByVal dwNumEntries As Long) As Long
Declare Function lineNegotiateAPIVersion lib "tapi32" (ByVal hLineApp As Long, ByVal dwDeviceID As Long, ByVal dwAPILowVersion As Long, ByVal dwAPIHighVersion As Long, ByRef lpdwAPIVersion As Long, ByRef lpExtensionID As LINEEXTENSIONID) As Long
Declare Function lineNegotiateExtVersion lib "tapi32" (ByVal hLineApp As Long, ByVal dwDeviceID As Long, ByVal dwAPIVersion As Long, ByVal dwExtLowVersion As Long, ByVal dwExtHighVersion As Long, ByRef lpdwExtVersion As Long) As Long
Declare Function lineOpen lib "tapi32" (ByVal hLineApp As Long, ByVal dwDeviceID As Long, ByRef lphLine As Long, ByVal dwAPIVersion As Long, ByVal dwExtVersion As Long, ByRef dwCallbackInstance As Long, ByVal dwPrivileges As Long, ByVal dwMediaModes As Long, ByRef lpCallParams As LINECALLPARAMS) As Long
Declare Function linePark lib "tapi32" (ByVal hCall As Long, ByVal dwParkMode As Long, ByVal lpszDirAddress As String, ByRef lpNonDirAddress As VARSTRING) As Long
Declare Function linePickup lib "tapi32" (ByVal hLine As Long, ByVal dwAddressID As Long, ByRef lphCall As Long, ByVal lpszDestAddress As String, ByVal lpszGroupID As String) As Long
Declare Function linePrepareAddToConference lib "tapi32" (ByVal hConfCall As Long, ByRef lphConsultCall As Long, ByRef lpCallParams As LINECALLPARAMS) As Long
Declare Function lineProxyMessage lib "tapi32" (ByVal hLine As Long, ByVal hCall As Long, ByVal dwMsg As Long, ByVal dwParam1 As Long, ByVal dwParam2 As Long, ByVal dwParam3 As Long) As Long
Declare Function lineProxyResponse lib "tapi32" (ByVal hLine As Long, ByRef lpProxyRequest As LINEPROXYREQUEST, ByVal dwResult As Long) As Long
Declare Function lineRedirect lib "tapi32" (ByVal hCall As Long, ByVal lpszDestAddress As String, ByVal dwCountryCode As Long) As Long
Declare Function lineRegisterRequestRecipient lib "tapi32" (ByVal hLineApp As Long, ByVal dwRegistrationInstance As Long, ByVal dwRequestMode As Long, ByVal bEnable As Long) As Long
Declare Function lineReleaseUserUserInfo lib "tapi32" (ByVal hCall As Long) As Long
Declare Function lineRemoveFromConference lib "tapi32" (ByVal hCall As Long) As Long
Declare Function lineRemoveProvider lib "tapi32" (ByVal dwPermanentProviderID As Long, ByVal hwndOwner As Long) As Long
Declare Function lineSecureCall lib "tapi32" (ByVal hCall As Long) As Long
Declare Function lineSendUserUserInfo lib "tapi32" (ByVal hCall As Long, ByVal lpsUserUserInfo As String, ByVal dwSize As Long) As Long
Declare Function lineSetAgentActivity lib "tapi32" (ByVal hLine As Long, ByVal dwAddressID As Long, ByVal dwActivityID As Long) As Long
Declare Function lineSetAgentGroup lib "tapi32" (ByVal hLine As Long, ByVal dwAddressID As Long, ByRef lpAgentGroupList As LINEAGENTGROUPLIST) As Long
Declare Function lineSetAgentMeasurementPeriod lib "tapi32" (ByVal hLine As Long, ByRef hAgent As Long, ByVal dwMeasurementPeriod As Long) As Long
Declare Function lineSetAgentSessionState lib "tapi32" (ByVal hLine As Long, ByRef hAgentSession As Long, ByVal dwSessionState As Long, ByVal dwNextSessionState As Long) As Long
Declare Function lineSetAgentState lib "tapi32" (ByVal hLine As Long, ByVal dwAddressID As Long, ByVal dwAgentState As Long, ByVal dwNextAgentState As Long) As Long
Declare Function lineSetAgentStateEx lib "tapi32" (ByVal hLine As Long, ByRef hAgent As Long, ByVal dwSessionState As Long, ByVal dwNextSessionState As Long) As Long
Declare Function lineSetAppPriority lib "tapi32" (ByVal lpszAppFilename As String, ByVal dwMediaMode As Long, ByRef lpExtensionID As LINEEXTENSIONID, ByVal dwRequestMode As Long, ByVal lpszExtensionName As String, ByVal dwPriority As Long) As Long
Declare Function lineSetAppSpecific lib "tapi32" (ByVal hCall As Long, ByVal dwAppSpecific As Long) As Long
Declare Function lineSetCallData lib "tapi32" (ByVal hCall As Long, lpCallData As Any, ByVal dwSize As Long) As Long
Declare Function lineSetCallParams lib "tapi32" (ByVal hCall As Long, ByVal dwBearerMode As Long, ByVal dwMinRate As Long, ByVal dwMaxRate As Long, ByRef lpDialParams As LINEDIALPARAMS) As Long
Declare Function lineSetCallPrivilege lib "tapi32" (ByVal hCall As Long, ByVal dwCallPrivilege As Long) As Long
Declare Function lineSetCallQualityOfService lib "tapi32" (ByVal hCall As Long, lpSendingFlowspec As Any, ByVal dwSendingFlowspecSize As Long, lpReceivingFlowspec As Any, ByVal dwReceivingFlowspecSize As Long) As Long
Declare Function lineSetCallTreatment lib "tapi32" (ByVal hCall As Long, ByVal dwTreatment As Long) As Long
Declare Function lineSetCurrentLocation lib "tapi32" (ByVal hLineApp As Long, ByVal dwLocation As Long) As Long
Declare Function lineSetDevConfig lib "tapi32" (ByVal dwDeviceID As Long, lpDeviceConfig As Any, ByVal dwSize As Long, ByVal lpszDeviceClass As String) As Long
Declare Function lineSetLineDevStatus lib "tapi32" (ByVal hLine As Long, ByVal dwStatusToChange As Long, ByVal fStatus As Long) As Long
Declare Function lineSetMediaControl lib "tapi32" (ByVal hLine As Long, ByVal dwAddressID As Long, ByVal hCall As Long, ByVal dwSelect As Long, ByRef lpDigitList As LINEMEDIACONTROLDIGIT, ByVal dwDigitNumEntries As Long, ByRef lpMediaList As LINEMEDIACONTROLMEDIA, ByVal dwMediaNumEntries As Long, ByRef lpToneList As LINEMEDIACONTROLTONE, ByVal dwToneNumEntries As Long, ByRef lpCallStateList As LINEMEDIACONTROLCALLSTATE, ByVal dwCallStateNumEntries As Long) As Long
Declare Function lineSetMediaMode lib "tapi32" (ByVal hCall As Long, ByVal dwMediaModes As Long) As Long
Declare Function lineSetNumRings lib "tapi32" (ByVal hLine As Long, ByVal dwAddressID As Long, ByVal dwNumRings As Long) As Long
Declare Function lineSetQueueMeasurementPeriod lib "tapi32" (ByVal hLine As Long, ByVal dwQueueID As Long, ByVal dwMeasurementPeriod As Long) As Long
Declare Function lineSetStatusMessages lib "tapi32" (ByVal hLine As Long, ByVal dwLineStates As Long, ByVal dwAddressStates As Long) As Long
Declare Function lineSetTerminal lib "tapi32" (ByVal hLine As Long, ByVal dwAddressID As Long, ByVal hCall As Long, ByVal dwSelect As Long, ByVal dwTerminalModes As Long, ByVal dwTerminalID As Long, ByVal bEnable As Long) As Long
Declare Function lineSetTollList lib "tapi32" (ByVal hLineApp As Long, ByVal dwDeviceID As Long, ByVal lpszAddressIn As String, ByVal dwTollListOption As Long) As Long
Declare Function lineSetupConference lib "tapi32" (ByVal hCall As Long, ByVal hLine As Long, ByRef lphConfCall As Long, ByRef lphConsultCall As Long, ByVal dwNumParties As Long, ByRef lpCallParams As LINECALLPARAMS) As Long
Declare Function lineSetupTransfer lib "tapi32" (ByVal hCall As Long, ByRef lphConsultCall As Long, ByRef lpCallParams As LINECALLPARAMS) As Long
Declare Function lineShutdown lib "tapi32" (ByVal hLineApp As Long) As Long
Declare Function lineSwapHold lib "tapi32" (ByVal hActiveCall As Long, ByVal hHeldCall As Long) As Long
Declare Function LineTo Lib "gdi32" Alias "LineTo" (ByVal hdc As Long, ByVal x As Long, ByVal y As Long) As Long
Declare Function lineTranslateAddress lib "tapi32" (ByVal hLineApp As Long, ByVal dwDeviceID As Long, ByVal dwAPIVersion As Long, ByVal lpszAddressIn As String, ByVal dwCard As Long, ByVal dwTranslateOptions As Long, ByRef lpTranslateOutput As LINETRANSLATEOUTPUT) As Long
Declare Function lineTranslateDialog lib "tapi32" (ByVal hLineApp As Long, ByVal dwDeviceID As Long, ByVal dwAPIVersion As Long, ByVal hwndOwner As Long, ByVal lpszAddressIn As String) As Long
Declare Function lineUncompleteCall lib "tapi32" (ByVal hLine As Long, ByVal dwCompletionID As Long) As Long
Declare Function lineUnhold lib "tapi32" (ByVal hCall As Long) As Long
Declare Function lineUnpark lib "tapi32" (ByVal hLine As Long, ByVal dwAddressID As Long, ByRef lphCall As Long, ByVal lpszDestAddress As String) As Long
Declare Function listen lib "ws2_32" (ByVal s As Long, ByVal backlog As Long) As Long
Declare Function llseek Lib "kernel32" Alias "_llseek" (ByVal hFile As Long, ByVal lOffset As Long, ByVal iOrigin As Long) As Long
Declare Function LoadAccelerators Lib "user32" Alias "LoadAcceleratorsA" (ByVal hInstance As Long, ByVal lpTableName As String) As Long
Declare Function LoadBitmap Lib "user32" Alias "LoadBitmapA" (ByVal hInstance As Long, ByVal lpBitmapName As String) As Long
Declare Function LoadBitmapBynum Lib "user32" Alias "LoadBitmapA" (ByVal hInstance As Long, ByVal lpBitmapName As Long) As Long
Declare Function LoadCursor Lib "user32" Alias "LoadCursorA" (ByVal hInstance As Long, ByVal lpCursorName As String) As Long
Declare Function LoadCursorBynum Lib "user32" Alias "LoadCursorA" (ByVal hInstance As Long, ByVal lpCursorName As Long) As Long
Declare Function LoadCursorFromFile Lib "user32" Alias "LoadCursorFromFileA" (ByVal lpFileName As String) As Long
Declare Function LoadGroup lib "ftsrch" (ByVal hsrch As Long, ByVal pszFileName As String) As Long
Declare Function LoadIcon Lib "user32" Alias "LoadIconA" (ByVal hInstance As Long, ByVal lpIconName As String) As Long
Declare Function LoadIconBynum Lib "user32" Alias "LoadIconA" (ByVal hInstance As Long, ByVal lpIconName As Long) As Long
Declare Function LoadImage Lib "user32" Alias "LoadImageA" (ByVal hInst As Long, ByVal lpsz As String, ByVal un1 As Long, ByVal n1 As Long, ByVal n2 As Long, ByVal un2 As Long) As Long
Declare Function LoadImageBynum Lib "user32" Alias "LoadImageA" (ByVal hInst As Long, ByVal lpsz As Long, ByVal un1 As Long, ByVal n1 As Long, ByVal n2 As Long, ByVal un2 As Long) As Long
Declare Function LoadKeyboardLayout Lib "user32" Alias "LoadKeyboardLayoutA" (ByVal pwszKLID As String, ByVal flags As Long) As Long
Declare Function LoadLibrary Lib "kernel32" Alias "LoadLibraryA" (ByVal lpLibFileName As String) As Long
Declare Function LoadLibraryEx Lib "kernel32" Alias "LoadLibraryExA" (ByVal lpLibFileName As String, ByVal hFile As Long, ByVal dwFlags As Long) As Long
Declare Function LoadMenu Lib "user32" Alias "LoadMenuA" (ByVal hInstance As Long, ByVal lpString As String) As Long
Declare Function LoadMenuIndirect Lib "user32" Alias "LoadMenuIndirectA" (ByVal lpMenuTemplate As Long) As Long
Declare Function LoadModule Lib "kernel32" Alias "LoadModule" (ByVal lpModuleName As String, lpParameterBlock As Any) As Long
Declare Function LoadResource Lib "kernel32" Alias "LoadResource" (ByVal hInstance As Long, ByVal hResInfo As Long) As Long
Declare Function LoadString Lib "user32" Alias "LoadStringA" (ByVal hInstance As Long, ByVal wID As Long, ByVal lpBuffer As String, ByVal nBufferMax As Long) As Long
Declare Function LoadUserProfile lib "userenv" (ByVal hToken As Long, ByRef lpProfileInfo As OUT) As Long
Declare Function LocalAlloc Lib "kernel32" Alias "LocalAlloc" (ByVal wFlags As Long, ByVal wBytes As Long) As Long
Declare Function LocalCompact Lib "kernel32" Alias "LocalCompact" (ByVal uMinFree As Long) As Long
Declare Function LocalFileTimeToFileTime Lib "kernel32" Alias "LocalFileTimeToFileTime" (lpLocalFileTime As FILETIME, lpFileTime As FILETIME) As Long
Declare Function LocalFlags Lib "kernel32" Alias "LocalFlags" (ByVal hMem As Long) As Long
Declare Function LocalFree Lib "kernel32" Alias "LocalFree" (ByVal hMem As Long) As Long
Declare Function LocalHandle Lib "kernel32" Alias "LocalHandle" (wMem As Any) As Long
Declare Function LocalLock Lib "kernel32" Alias "LocalLock" (ByVal hMem As Long) As Long
Declare Function LocalReAlloc Lib "kernel32" Alias "LocalReAlloc" (ByVal hMem As Long, ByVal wBytes As Long, ByVal wFlags As Long) As Long
Declare Function LocalShrink Lib "kernel32" Alias "LocalShrink" (ByVal hMem As Long, ByVal cbNewSize As Long) As Long
Declare Function LocalSize Lib "kernel32" Alias "LocalSize" (ByVal hMem As Long) As Long
Declare Function LocalUnlock Lib "kernel32" Alias "LocalUnlock" (ByVal hMem As Long) As Long
Declare Function LockBlob lib "npptools" (ByRef hBlob As hBlob) As Long
Declare Function LockFile Lib "kernel32" Alias "LockFile" (ByVal hFile As Long, ByVal dwFileOffsetLow As Long, ByVal dwFileOffsetHigh As Long, ByVal nNumberOfBytesToLockLow As Long, ByVal nNumberOfBytesToLockHigh As Long) As Long
Declare Function LockFileEx Lib "kernel32" Alias "LockFileEx" (ByVal hFile As Long, ByVal dwFlags As Long, ByVal dwReserved As Long, ByVal nNumberOfBytesToLockLow As Long, ByVal nNumberOfBytesToLockHigh As Long, lpOverlapped As OVERLAPPED) As Long
Declare Function LockResource Lib "kernel32" Alias "LockResource" (ByVal hResData As Long) As Long
Declare Function LockServiceDatabase Lib "advapi32.dll" Alias "LockServiceDatabase" (ByVal hSCManager As Long) As Long
Declare Function LockSetForegroundWindow lib "user32" (ByVal uLockCode As Long) As Long
Declare Function LockWindowUpdate Lib "user32" Alias "LockWindowUpdate" (ByVal hwndLock As Long) As Long
Declare Function LockWorkStation lib "user32" () As Long
Declare Function LogonUser Lib "kernel32" Alias "LogonUserA" (ByVal lpszUsername As String, ByVal lpszDomain As String, ByVal lpszPassword As String, ByVal dwLogonType As Long, ByVal dwLogonProvider As Long, phToken As Long) As Long
Declare Function LookupAccountName Lib "advapi32.dll" Alias "LookupAccountNameA" (ByVal lpSystemName As String, ByVal lpAccountName As String, Sid As Long, cbSid As Long, ByVal ReferencedDomainName As String, cbReferencedDomainName As Long, peUse As Integer) As Long
Declare Function LookupAccountSid Lib "advapi32.dll" Alias "LookupAccountSidA" (ByVal lpSystemName As String, Sid As Any, ByVal name As String, cbName As Long, ByVal ReferencedDomainName As String, cbReferencedDomainName As Long, peUse As Integer) As Long
Declare Function LookupIconIdFromDirectory Lib "user32" Alias "LookupIconIdFromDirectory" (presbits As Byte, ByVal fIcon As Long) As Long
Declare Function LookupIconIdFromDirectoryEx Lib "user32" Alias "LookupIconIdFromDirectoryEx" (presbits As Byte, ByVal fIcon As Long, ByVal cxDesired As Long, ByVal cyDesired As Long, ByVal Flags As Long) As Long
Declare Function LookupPrivilegeDisplayName Lib "advapi32.dll" Alias "LookupPrivilegeDisplayNameA" (ByVal lpSystemName As String, ByVal lpName As String, ByVal lpDisplayName As String, cbDisplayName As Long, lpLanguageID As Long) As Long
Declare Function LookupPrivilegeName Lib "advapi32.dll" Alias "LookupPrivilegeNameA" (ByVal lpSystemName As String, lpLuid As LARGE_INTEGER, ByVal lpName As String, cbName As Long) As Long
Declare Function LookupPrivilegeValue Lib "advapi32.dll" Alias "LookupPrivilegeValueA" (ByVal lpSystemName As String, ByVal lpName As String, lpLuid As LARGE_INTEGER) As Long
Declare Function LookupSecurityDescriptorParts lib "ADVAPI32" (ByRef pOwner As PTRUSTEE_A, ByRef pGroup As PTRUSTEE_A, ByRef cCountOfAccessEntries As Long, ByRef pListOfAccessEntries As EXPLICIT_ACCESS, ByRef cCountOfAuditEntries As Long, ByRef pListOfAuditEntries As EXPLICIT_ACCESS, ByRef pSD As SECURITY_DESCRIPTOR) As Long
Declare Function lopen Lib "kernel32" Alias "_lopen" (ByVal lpPathName As String, ByVal iReadWrite As Long) As Long
Declare Function LPSAFEARRAY_UserMarshal lib "oleaut32" (ByRef pLong As Long, ByVal pChar As String, ByRef lpsafearray As SAFEARRAY) As Long
Declare Function LPSAFEARRAY_UserSize lib "oleaut32" (ByRef pLong As Long, ByVal lLong As Long, ByRef lpsafearray As SAFEARRAY) As Long
Declare Function LPSAFEARRAY_UserUnmarshal lib "oleaut32" (ByRef pLong As Long, ByVal pChar As String, ByRef lpsafearray As SAFEARRAY) As Long
Declare Function LPtoDP Lib "gdi32" Alias "LPtoDP" (ByVal hdc As Long, lpPoint As POINTAPI, ByVal nCount As Long) As Long
Declare Function lread Lib "kernel32" Alias "_lread" (ByVal hFile As Long, lpBuffer As Any, ByVal wBytes As Long) As Long
Declare Function LresultFromObject lib "OLEACC" (ByVal riid As Long, ByVal wParam As Long, ByVal pUnk As Long) As Long
Declare Function LsaNtStatusToWinError lib "ADVAPI32" (ByRef Status As NTSTATUS) As Long
Declare Function lstrcat Lib "kernel32" Alias "lstrcatA" (ByVal lpString1 As String, ByVal lpString2 As String) As Long
Declare Function lstrcmp Lib "kernel32" Alias "lstrcmpA" (ByVal lpString1 As String, ByVal lpString2 As String) As Long
Declare Function lstrcmpi Lib "kernel32" Alias "lstrcmpiA" (ByVal lpString1 As String, ByVal lpString2 As String) As Long
Declare Function lstrcpy Lib "kernel32" Alias "lstrcpyA" (ByVal lpString1 As String, ByVal lpString2 As String) As Long
Declare Function lstrcpyn Lib "kernel32" Alias "lstrcpynA" (ByVal lpString1 As String, ByVal lpString2 As String, ByVal iMaxLength As Long) As Long
Declare Function lstrlen Lib "kernel32" Alias "lstrlenA" (ByVal lpString As String) As Long
Declare Function lwrite Lib "kernel32" Alias "_lwrite" (ByVal hFile As Long, lpBuffer As Any, ByVal wBytes As Long) As Long
Declare Function LZCopy Lib "lz32.dll" Alias "LZCopy" (ByVal hfSource As Long, ByVal hfDest As Long) As Long
Declare Function LZInit Lib "lz32.dll" Alias "LZInit" (ByVal hfSrc As Long) As Long
Declare Function LZOpenFile Lib "lz32.dll" Alias "LZOpenFileA" (ByVal lpszFile As String, lpOf As OFSTRUCT, ByVal style As Long) As Long
Declare Function LZRead Lib "lz32.dll" Alias "LZRead" (ByVal hfFile As Long, ByVal lpvBuf As String, ByVal cbread As Long) As Long
Declare Function LZSeek Lib "lz32.dll" Alias "LZSeek" (ByVal hfFile As Long, ByVal lOffset As Long, ByVal nOrigin As Long) As Long
Declare Function LZStart Lib "lz32.dll" Alias "LZStart" () As Long
Declare Function MakeAbsoluteSD Lib "advapi32.dll" Alias "MakeAbsoluteSD" (pSelfRelativeSecurityDescriptor As SECURITY_DESCRIPTOR, pAbsoluteSecurityDescriptor As SECURITY_DESCRIPTOR, lpdwAbsoluteSecurityDescriptorSize As Long, pDacl As ACL, lpdwDaclSize As Long, pSacl As ACL, lpdwSaclSize As Long, pOwner As Any, lpdwOwnerSize As Long, pPrimaryGroup As Any, lpdwPrimaryGroupSize As Long) As Long
Declare Function MakeAbsoluteSD2 lib "advapi32" (ByRef pSelfRelativeSecurityDescriptor As SECURITY_DESCRIPTOR, ByRef lpdwBufferSize As Long) As Long
Declare Function MakeDragList lib "comctl32" (ByVal hLB As Long) As Long
Declare Function MakeSelfRelativeSD Lib "advapi32.dll" Alias "MakeSelfRelativeSD" (pAbsoluteSecurityDescriptor As SECURITY_DESCRIPTOR, pSelfRelativeSecurityDescriptor As SECURITY_DESCRIPTOR, lpdwBufferLength As Long) As Long
Declare Function MakeSureDirectoryPathExists lib "imagehlp" (ByVal DirPath As String) As Long
Declare Function MapAndLoad lib "imagehlp" (ByVal ImageName As String, ByVal DllPath As String, ByRef LoadedImage As PLOADED_IMAGE, ByVal DotDll As Long, ByVal ReadOnly As Long) As Long
Declare Function MapDialogRect Lib "user32" Alias "MapDialogRect" (ByVal hDlg As Long, lpRect As RECT) As Long
Declare Function MapFileAndCheckSum lib "imagehlp" Alias "MapFileAndCheckSumA" (ByVal Filename As String, ByRef HeaderSum As Long, ByRef CheckSum As Long) As Long
Declare Function MAPIDeleteMail lib "MAPI32" (ByVal Session As Long, ByVal UIParam As Long, ByVal MsgID$, ByVal Flags As Long, ByVal Reserved As Long) As Long
Declare Function MAPIDetails lib "MAPI32" Alias "BMAPIDetails" (ByVal Session As Long, ByVal UIParam As Long, Recipient As MapiRecip, ByVal Flags As Long, ByVal Reserved As Long) As Long
Declare Function MAPIFindNext lib "MAPI32" Alias "BMAPIFindNext" (ByVal Session As Long, ByVal UIParam As Long, MsgType$, SeedMsgID$, ByVal Flag As Long, ByVal Reserved As Long, MsgID$) As Long
Declare Function MAPIFreeBuffer lib "mapi32" (pv As Any) As Long
Declare Function MAPILogoff lib "MAPI32" (ByVal Session As Long, ByVal UIParam As Long, ByVal Flags As Long, ByVal Reserved As Long) As Long
Declare Function MAPILogon lib "MAPI32" (ByVal UIParam As Long, ByVal User$, ByVal Password$, ByVal Flags As Long, ByVal Reserved As Long, Session As Long) As Long
Declare Function MAPIResolveName lib "MAPI32" Alias "BMAPIResolveName" (ByVal Session As Long, ByVal UIParam As Long, ByVal UserName$, ByVal Flags As Long, ByVal Reserved As Long, Recipient As MapiRecip) As Long
Declare Function MAPISaveMail lib "MAPI32" Alias "BMAPISaveMail" (ByVal Session As Long, ByVal UIParam As Long, Message As MAPIMessage, Recipient() As MapiRecip, File() As MapiFile, ByVal Flags As Long, ByVal Reserved As Long, MsgID$) As Long
Declare Function MAPISendDocuments lib "MAPI32" (ByVal UIParam As Long, ByVal DelimStr$, ByVal FilePaths$, ByVal FileNames$, ByVal Reserved As Long) As Long
Declare Function MAPISendMail lib "MAPI32" Alias "BMAPISendMail" (ByVal Session As Long, ByVal UIParam As Long, Message As MAPIMessage, Recipient() As MapiRecip, File() As MapiFile, ByVal Flags As Long, ByVal Reserved As Long) As Long
Declare Function MapUserPhysicalPages lib "KERNEL32" (VirtualAddress As Any, ByRef NumberOfPages As ULONG_PTR, ByRef PageArray As PULONG_PTR) As Long
Declare Function MapUserPhysicalPagesScatter lib "KERNEL32" (VirtualAddresses As Any, ByRef NumberOfPages As ULONG_PTR, ByRef PageArray As PULONG_PTR) As Long
Declare Function MapViewOfFile Lib "kernel32" Alias "MapViewOfFile" (ByVal hFileMappingObject As Long, ByVal dwDesiredAccess As Long, ByVal dwFileOffsetHigh As Long, ByVal dwFileOffsetLow As Long, ByVal dwNumberOfBytesToMap As Long) As Long
Declare Function MapViewOfFileEx Lib "kernel32" Alias "MapViewOfFileEx" (ByVal hFileMappingObject As Long, ByVal dwDesiredAccess As Long, ByVal dwFileOffsetHigh As Long, ByVal dwFileOffsetLow As Long, ByVal dwNumberOfBytesToMap As Long, lpBaseAddress As Any) As Long
Declare Function MapVirtualKey Lib "user32" Alias "MapVirtualKeyA" (ByVal wCode As Long, ByVal wMapType As Long) As Long
Declare Function MapVirtualKeyEx Lib "user32" Alias "MapVirtualKeyExA" (ByVal uCode As Long, ByVal uMapType As Long, ByVal dwhkl As Long) As Long
Declare Function MapWindowPoints Lib "user32" Alias "MapWindowPoints" (ByVal hwndFrom As Long, ByVal hwndTo As Long, lppt As POINTAPI, ByVal cPoints As Long) As Long
Declare Function MarshalBlob lib "npptools" (ByRef hBlob As hBlob, ByRef pSize As Long, ByVal ppBytes As String) As Long
Declare Function MaskBlt Lib "gdi32" Alias "MaskBlt" (ByVal hdcDest As Long, ByVal nXDest As Long, ByVal nYDest As Long, ByVal nWidth As Long, ByVal nHeight As Long, ByVal hdcSrc As Long, ByVal nXSrc As Long, ByVal nYSrc As Long, ByVal hbmMask As Long, ByVal xMask As Long, ByVal yMask As Long, ByVal dwRop As Long) As Long
Declare Function McastApiStartup lib "DHCPCSVC" (ByRef Version As Long) As Long
Declare Function McastEnumerateScopes lib "DHCPCSVC" (ByRef AddrFamily As IP_ADDR_FAMILY, ByVal ReQuery As Long, ByRef pScopeList As OUT, ByRef pScopeLen As Long, ByRef pScopeCount As Long) As Long
Declare Function McastGenUID lib "DHCPCSVC" (ByRef pRequestID As OUT) As Long
Declare Function McastReleaseAddress lib "DHCPCSVC" (ByRef AddrFamily As IP_ADDR_FAMILY, ByRef pRequestID As LPMCAST_CLIENT_UID, ByRef pReleaseRequest As PMCAST_LEASE_REQUEST) As Long
Declare Function McastRenewAddress lib "DHCPCSVC" (ByRef AddrFamily As IP_ADDR_FAMILY, ByRef pRequestID As LPMCAST_CLIENT_UID, ByRef pRenewRequest As PMCAST_LEASE_REQUEST, ByRef pRenewResponse As OUT) As Long
Declare Function McastRequestAddress lib "DHCPCSVC" (ByRef AddrFamily As IP_ADDR_FAMILY, ByRef pRequestID As LPMCAST_CLIENT_UID, ByRef pScopeCtx As PMCAST_SCOPE_CTX, ByRef pAddrRequest As PMCAST_LEASE_REQUEST, ByRef pAddrResponse As OUT) As Long
Declare Function mciExecute Lib "winmm.dll" Alias "mciExecute" (ByVal lpstrCommand As String) As Long
Declare Function mciGetCreatorTask Lib "winmm.dll" Alias "mciGetCreatorTask" (ByVal wDeviceID As Long) As Long
Declare Function mciGetDeviceID Lib "winmm.dll" Alias "mciGetDeviceIDA" (ByVal lpstrName As String) As Long
Declare Function mciGetDeviceIDFromElementID Lib "winmm.dll" Alias "mciGetDeviceIDFromElementIDA" (ByVal dwElementID As Long, ByVal lpstrType As String) As Long
Declare Function mciGetErrorString Lib "winmm.dll" Alias "mciGetErrorStringA" (ByVal dwError As Long, ByVal lpstrBuffer As String, ByVal uLength As Long) As Long
Declare Function mciGetYieldProc Lib "winmm.dll" Alias "mciGetYieldProc" (ByVal mciId As Long, pdwYieldData As Long) As Long
Declare Function mciSendCommand Lib "winmm.dll" Alias "mciSendCommandA" (ByVal wDeviceID As Long, ByVal uMessage As Long, ByVal dwParam1 As Long, ByVal dwParam2 As Long) As Long
Declare Function mciSendString Lib "winmm.dll" Alias "mciSendStringA" (ByVal lpstrCommand As String, ByVal lpstrReturnString As String, ByVal uReturnLength As Long, ByVal hwndCallback As Long) As Long
Declare Function mciSetYieldProc Lib "winmm.dll" Alias "mciSetYieldProc" (ByVal mciId As Long, ByVal fpYieldProc As Long, ByVal dwYieldData As Long) As Long
Declare Function MCIWndCreate lib "msvfw32" (ByVal hwndParent As Long, ByVal hInstance As Long, ByVal dwStyle As Long, ByVal szFile As String) As Long
Declare Function MCIWndRegisterClass lib "msvfw32" () As Long
Declare Function MenuItemFromPoint Lib "user32" Alias "MenuItemFromPoint" (ByVal hWnd As Long, ByVal hMenu As Long, ByVal ptx As Long, ByVal pty As Long) As Long
Declare Function MergeBlob lib "npptools" (ByRef hDstBlob As hBlob, ByRef hSrcBlob As hBlob) As Long
Declare Function MesBufferHandleReset lib "rpcrt4" (ByVal Handle As Long, ByVal HandleStyle As Long, ByVal Operation As Struct_MembersOf_MIDL_ES_CODE, ByVal pBuffer As String, ByVal BufferSize As Long, ByRef pEncodedSize As Long) As Long
Declare Function MesDecodeBufferHandleCreate lib "rpcrt4" (ByVal pBuffer As String, ByVal BufferSize As Long, ByRef pHandle As Long) As Long
Declare Function MesDecodeIncrementalHandleCreate lib "rpcrt4" (UserState As Any, ByVal ReadFn As Struct_MembersOf_MIDL_ES_READ, ByRef pHandle As Long) As Long
Declare Function MesEncodeDynBufferHandleCreate lib "rpcrt4" (ByVal pBuffer As String, ByRef pEncodedSize As Long, ByRef pHandle As Long) As Long
Declare Function MesEncodeFixedBufferHandleCreate lib "rpcrt4" (ByVal pBuffer As String, ByVal BufferSize As Long, ByRef pEncodedSize As Long, ByRef pHandle As Long) As Long
Declare Function MesEncodeIncrementalHandleCreate lib "rpcrt4" (UserState As Any, ByVal AllocFn As Struct_MembersOf_MIDL_ES_ALLOC, ByVal WriteFn As Struct_MembersOf_MIDL_ES_WRITE, ByRef pHandle As Long) As Long
Declare Function MesHandleFree lib "rpcrt4" (ByVal Handle As Long) As Long
Declare Function MesIncrementalHandleReset lib "rpcrt4" (ByVal Handle As Long, UserState As Any, ByVal AllocFn As Struct_MembersOf_MIDL_ES_ALLOC, ByVal WriteFn As Struct_MembersOf_MIDL_ES_WRITE, ByVal ReadFn As Struct_MembersOf_MIDL_ES_READ, ByVal Operation As Struct_MembersOf_MIDL_ES_CODE) As Long
Declare Function MesInqProcEncodingId lib "rpcrt4" (ByVal Handle As Long, ByVal pInterfaceId As Long, ByRef pProcNum As Long) As Long
Declare Function MessageBeep Lib "user32" (ByVal wType As Long) As Long
Declare Function MessageBox Lib "user32" Alias "MessageBoxA" (ByVal hwnd As Long, ByVal lpText As String, ByVal lpCaption As String, ByVal wType As Long) As Long
Declare Function MessageBoxEx Lib "user32" Alias "MessageBoxExA" (ByVal hwnd As Long, ByVal lpText As String, ByVal lpCaption As String, ByVal uType As Long, ByVal wLanguageId As Long) As Long
Declare Function MessageBoxIndirect Lib "user32" Alias "MessageBoxIndirectA" (lpMsgBoxParams As MSGBOXPARAMS) As Long
Declare Function MgmAddGroupMembershipEntry lib "rtm" (ByVal hProtocol As Long, ByVal dwSourceAddr As Long, ByVal dwSourceMask As Long, ByVal dwGroupAddr As Long, ByVal dwGroupMask As Long, ByVal dwIfIndex As Long, ByVal dwIfNextHopIPAddr As Long) As Long
Declare Function MgmDeleteGroupMembershipEntry lib "rtm" (ByVal hProtocol As Long, ByVal dwSourceAddr As Long, ByVal dwSourceMask As Long, ByVal dwGroupAddr As Long, ByVal dwGroupMask As Long, ByVal dwIfIndex As Long, ByVal dwIfNextHopIPAddr As Long) As Long
Declare Function MgmDeRegisterMProtocol lib "rtm" (ByVal hProtocol As Long) As Long
Declare Function MgmGetFirstMfe lib "rtm" (ByRef pdwBufferSize As Long, ByVal pbBuffer As String, ByRef pdwNumEntries As Long) As Long
Declare Function MgmGetFirstMfeStats lib "rtm" (ByRef pdwBufferSize As Long, ByVal pbBuffer As String, ByRef pdwNumEntries As Long) As Long
Declare Function MgmGetMfe lib "rtm" (ByRef pimm As PMIB_IPMCAST_MFE, ByRef pdwBufferSize As Long, ByVal pbBuffer As String) As Long
Declare Function MgmGetMfeStats lib "rtm" (ByRef pimm As PMIB_IPMCAST_MFE, ByRef pdwBufferSize As Long, ByVal pbBuffer As String) As Long
Declare Function MgmGetNextMfe lib "rtm" (ByRef pimmStart As PMIB_IPMCAST_MFE, ByRef pdwBufferSize As Long, ByVal pbBuffer As String, ByRef pdwNumEntries As Long) As Long
Declare Function MgmGetNextMfeStats lib "rtm" (ByRef pimmStart As PMIB_IPMCAST_MFE, ByRef pdwBufferSize As Long, ByVal pbBuffer As String, ByRef pdwNumEntries As Long) As Long
Declare Function MgmGetProtocolOnInterface lib "rtm" (ByVal dwIfIndex As Long, ByVal dwIfNextHopAddr As Long, ByRef pdwIfProtocolId As Long, ByRef pdwIfComponentId As Long) As Long
Declare Function MgmGroupEnumerationEnd lib "rtm" (ByVal hEnum As Long) As Long
Declare Function MgmGroupEnumerationGetNext lib "rtm" (ByVal hEnum As Long, ByRef pdwBufferSize As Long, ByVal pbBuffer As String, ByRef pdwNumEntries As Long) As Long
Declare Function MgmGroupEnumerationStart lib "rtm" (ByVal hProtocol As Long, ByVal metEnumType As Struct_MembersOf_MGM_ENUM_TYPES, ByRef phEnumHandle As Long) As Long
Declare Function MgmRegisterMProtocol lib "rtm" (ByRef prpiInfo As PROUTING_PROTOCOL_CONFIG, ByVal dwProtocolId As Long, ByVal dwComponentId As Long, ByRef phProtocol As Long) As Long
Declare Function MgmReleaseInterfaceOwnership lib "rtm" (ByVal hProtocol As Long, ByVal dwIfIndex As Long, ByVal dwIfNextHopAddr As Long) As Long
Declare Function MgmTakeInterfaceOwnership lib "rtm" (ByVal hProtocol As Long, ByVal dwIfIndex As Long, ByVal dwIfNextHopAddr As Long) As Long
Declare Function midiConnect Lib "winmm.dll" Alias "midiConnect" (ByVal hmi As Long, ByVal hmo As Long, pReserved As Any) As Long
Declare Function midiDisconnect Lib "winmm.dll" Alias "midiDisconnect" (ByVal hmi As Long, ByVal hmo As Long, pReserved As Any) As Long
Declare Function midiInAddBuffer Lib "winmm.dll" Alias "midiInAddBuffer" (ByVal hMidiIn As Long, lpMidiInHdr As MIDIHDR, ByVal uSize As Long) As Long
Declare Function midiInClose Lib "winmm.dll" Alias "midiInClose" (ByVal hMidiIn As Long) As Long
Declare Function midiInGetDevCaps Lib "winmm.dll" Alias "midiInGetDevCapsA" (ByVal uDeviceID As Long, lpCaps As MIDIINCAPS, ByVal uSize As Long) As Long
Declare Function midiInGetErrorText Lib "winmm.dll" Alias "midiInGetErrorTextA" (ByVal err As Long, ByVal lpText As String, ByVal uSize As Long) As Long
Declare Function midiInGetID Lib "winmm.dll" Alias "midiInGetID" (ByVal hMidiIn As Long, lpuDeviceID As Long) As Long
Declare Function midiInGetNumDevs Lib "winmm.dll" Alias "midiInGetNumDevs" () As Long
Declare Function midiInMessage Lib "winmm.dll" Alias "midiInMessage" (ByVal hMidiIn As Long, ByVal msg As Long, ByVal dw1 As Long, ByVal dw2 As Long) As Long
Declare Function midiInOpen Lib "winmm.dll" Alias "midiInOpen" (lphMidiIn As Long, ByVal uDeviceID As Long, ByVal dwCallback As Long, ByVal dwInstance As Long, ByVal dwFlags As Long) As Long
Declare Function midiInPrepareHeader Lib "winmm.dll" Alias "midiInPrepareHeader" (ByVal hMidiIn As Long, lpMidiInHdr As MIDIHDR, ByVal uSize As Long) As Long
Declare Function midiInReset Lib "winmm.dll" Alias "midiInReset" (ByVal hMidiIn As Long) As Long
Declare Function midiInStart Lib "winmm.dll" Alias "midiInStart" (ByVal hMidiIn As Long) As Long
Declare Function midiInStop Lib "winmm.dll" Alias "midiInStop" (ByVal hMidiIn As Long) As Long
Declare Function midiInUnprepareHeader Lib "winmm.dll" Alias "midiInUnprepareHeader" (ByVal hMidiIn As Long, lpMidiInHdr As MIDIHDR, ByVal uSize As Long) As Long
Declare Function midiOutCacheDrumPatches Lib "winmm.dll" Alias "midiOutCacheDrumPatches" (ByVal hMidiOut As Long, ByVal uPatch As Long, lpKeyArray As Long, ByVal uFlags As Long) As Long
Declare Function midiOutCachePatches Lib "winmm.dll" Alias "midiOutCachePatches" (ByVal hMidiOut As Long, ByVal uBank As Long, lpPatchArray As Long, ByVal uFlags As Long) As Long
Declare Function midiOutClose Lib "winmm.dll" Alias "midiOutClose" (ByVal hMidiOut As Long) As Long
Declare Function midiOutGetDevCaps Lib "winmm.dll" Alias "midiOutGetDevCapsA" (ByVal uDeviceID As Long, lpCaps As MIDIOUTCAPS, ByVal uSize As Long) As Long
Declare Function midiOutGetErrorText Lib "winmm.dll" Alias "midiOutGetErrorTextA" (ByVal err As Long, ByVal lpText As String, ByVal uSize As Long) As Long
Declare Function midiOutGetID Lib "winmm.dll" Alias "midiOutGetID" (ByVal hMidiOut As Long, lpuDeviceID As Long) As Long
Declare Function midiOutGetNumDevs Lib "winmm.dll" Alias "midiOutGetNumDevs" () As Integer
Declare Function midiOutGetVolume Lib "winmm.dll" Alias "midiOutGetVolume" (ByVal uDeviceID As Long, lpdwVolume As Long) As Long
Declare Function midiOutLongMsg Lib "winmm.dll" Alias "midiOutLongMsg" (ByVal hMidiOut As Long, lpMidiOutHdr As MIDIHDR, ByVal uSize As Long) As Long
Declare Function midiOutMessage Lib "winmm.dll" Alias "midiOutMessage" (ByVal hMidiOut As Long, ByVal msg As Long, ByVal dw1 As Long, ByVal dw2 As Long) As Long
Declare Function midiOutOpen Lib "winmm.dll" Alias "midiOutOpen" (lphMidiOut As Long, ByVal uDeviceID As Long, ByVal dwCallback As Long, ByVal dwInstance As Long, ByVal dwFlags As Long) As Long
Declare Function midiOutPrepareHeader Lib "winmm.dll" Alias "midiOutPrepareHeader" (ByVal hMidiOut As Long, lpMidiOutHdr As MIDIHDR, ByVal uSize As Long) As Long
Declare Function midiOutReset Lib "winmm.dll" Alias "midiOutReset" (ByVal hMidiOut As Long) As Long
Declare Function midiOutSetVolume Lib "winmm.dll" Alias "midiOutSetVolume" (ByVal uDeviceID As Long, ByVal dwVolume As Long) As Long
Declare Function midiOutShortMsg Lib "winmm.dll" Alias "midiOutShortMsg" (ByVal hMidiOut As Long, ByVal dwMsg As Long) As Long
Declare Function midiOutUnprepareHeader Lib "winmm.dll" Alias "midiOutUnprepareHeader" (ByVal hMidiOut As Long, lpMidiOutHdr As MIDIHDR, ByVal uSize As Long) As Long
Declare Function midiStreamClose Lib "winmm.dll" Alias "midiStreamClose" (ByVal hms As Long) As Long
Declare Function midiStreamOpen Lib "winmm.dll" Alias "midiStreamOpen" (phms As Long, puDeviceID As Long, ByVal cMidi As Long, ByVal dwCallback As Long, ByVal dwInstance As Long, ByVal fdwOpen As Long) As Long
Declare Function midiStreamOut Lib "winmm.dll" Alias "midiStreamOut" (ByVal hms As Long, pmh As MIDIHDR, ByVal cbmh As Long) As Long
Declare Function midiStreamPause Lib "winmm.dll" Alias "midiStreamPause" (ByVal hms As Long) As Long
Declare Function midiStreamPosition Lib "winmm.dll" Alias "midiStreamPosition" (ByVal hms As Long, lpmmt As MMTIME, ByVal cbmmt As Long) As Long
Declare Function midiStreamProperty Lib "winmm.dll" Alias "midiStreamProperty" (ByVal hms As Long, lppropdata As Byte, ByVal dwProperty As Long) As Long
Declare Function midiStreamRestart Lib "winmm.dll" Alias "midiStreamRestart" (ByVal hms As Long) As Long
Declare Function midiStreamStop Lib "winmm.dll" Alias "midiStreamStop" (ByVal hms As Long) As Long
Declare Function MIDL_wchar_strlen lib "rpcrt4" (ByRef s As Byte) As Long
Declare Function MIMEAssociationDialog lib "url" Alias "MIMEAssociationDialogA" (ByVal hwndParent As Long, ByVal dwInFlags As Long, ByVal pcszFile As String, ByVal pcszMIMEContentType As String, ByVal pszAppBuf As String, ByVal ucAppBufLen As Long) As Long
Declare Function mixerClose Lib "winmm.dll" Alias "mixerClose" (ByVal hmx As Long) As Long
Declare Function mixerGetControlDetails Lib "winmm.dll" Alias "mixerGetControlDetailsA" (ByVal hmxobj As Long, pmxcd As MIXERCONTROLDETAILS, ByVal fdwDetails As Long) As Long
Declare Function mixerGetDevCaps Lib "winmm.dll" Alias "mixerGetDevCapsA" (ByVal uMxId As Long, pmxcaps As MIXERCAPS, ByVal cbmxcaps As Long) As Long
Declare Function mixerGetID Lib "winmm.dll" Alias "mixerGetID" (ByVal hmxobj As Long, pumxID As Long, ByVal fdwId As Long) As Long
Declare Function mixerGetLineControls Lib "winmm.dll" Alias "mixerGetLineControlsA" (ByVal hmxobj As Long, pmxlc As MIXERLINECONTROLS, ByVal fdwControls As Long) As Long
Declare Function mixerGetLineInfo Lib "winmm.dll" Alias "mixerGetLineInfoA" (ByVal hmxobj As Long, pmxl As MIXERLINE, ByVal fdwInfo As Long) As Long
Declare Function mixerGetNumDevs Lib "winmm.dll" Alias "mixerGetNumDevs" () As Long
Declare Function mixerMessage Lib "winmm.dll" Alias "mixerMessage" (ByVal hmx As Long, ByVal uMsg As Long, ByVal dwParam1 As Long, ByVal dwParam2 As Long) As Long
Declare Function mixerOpen Lib "winmm.dll" Alias "mixerOpen" (phmx As Long, ByVal uMxId As Long, ByVal dwCallback As Long, ByVal dwInstance As Long, ByVal fdwOpen As Long) As Long
Declare Function mixerSetControlDetails Lib "winmm.dll" Alias "mixerSetControlDetails" (ByVal hmxobj As Long, pmxcd As MIXERCONTROLDETAILS, ByVal fdwDetails As Long) As Long
Declare Function mmioAdvance Lib "winmm.dll" Alias "mmioAdvance" (ByVal hmmio As Long, lpmmioinfo As MMIOINFO, ByVal uFlags As Long) As Long
Declare Function mmioAscend Lib "winmm.dll" Alias "mmioAscend" (ByVal hmmio As Long, lpck As MMCKINFO, ByVal uFlags As Long) As Long
Declare Function mmioClose Lib "winmm.dll" Alias "mmioClose" (ByVal hmmio As Long, ByVal uFlags As Long) As Long
Declare Function mmioCreateChunk Lib "winmm.dll" Alias "mmioCreateChunk" (ByVal hmmio As Long, lpck As MMCKINFO, ByVal uFlags As Long) As Long
Declare Function mmioDescend Lib "winmm.dll" Alias "mmioDescend" (ByVal hmmio As Long, lpck As MMCKINFO, lpckParent As MMCKINFO, ByVal uFlags As Long) As Long
Declare Function mmioFlush Lib "winmm.dll" Alias "mmioFlush" (ByVal hmmio As Long, ByVal uFlags As Long) As Long
Declare Function mmioGetInfo Lib "winmm.dll" Alias "mmioGetInfo" (ByVal hmmio As Long, lpmmioinfo As MMIOINFO, ByVal uFlags As Long) As Long
Declare Function mmioInstallIOProc lib "winmm" Alias "mmioInstallIOProcA" (ByVal fccIOProc As Long, ByVal pIOProc As Long, ByVal dwFlags As Long) As Long
Declare Function mmioInstallIOProcA Lib "winmm.dll" Alias "mmioInstallIOProcA" (ByVal fccIOProc As Long, ByVal pIOProc As Long, ByVal dwFlags As Long) As Long
Declare Function mmioOpen Lib "winmm.dll" Alias "mmioOpenA" (ByVal szFileName As String, lpmmioinfo As MMIOINFO, ByVal dwOpenFlags As Long) As Long
Declare Function mmioRead Lib "winmm.dll" Alias "mmioRead" (ByVal hmmio As Long, ByVal pch As String, ByVal cch As Long) As Long
Declare Function mmioRename Lib "winmm.dll" Alias "mmioRenameA" (ByVal szFileName As String, ByVal SzNewFileName As String, lpmmioinfo As MMIOINFO, ByVal dwRenameFlags As Long) As Long
Declare Function mmioSeek Lib "winmm.dll" Alias "mmioSeek" (ByVal hmmio As Long, ByVal lOffset As Long, ByVal iOrigin As Long) As Long
Declare Function mmioSendMessage Lib "winmm.dll" Alias "mmioSendMessage" (ByVal hmmio As Long, ByVal uMsg As Long, ByVal lParam1 As Long, ByVal lParam2 As Long) As Long
Declare Function mmioSetBuffer Lib "winmm.dll" Alias "mmioSetBuffer" (ByVal hmmio As Long, ByVal pchBuffer As String, ByVal cchBuffer As Long, ByVal uFlags As Long) As Long
Declare Function mmioSetInfo Lib "winmm.dll" Alias "mmioSetInfo" (ByVal hmmio As Long, lpmmioinfo As MMIOINFO, ByVal uFlags As Long) As Long
Declare Function mmioStringToFOURCC Lib "winmm.dll" Alias "mmioStringToFOURCCA" (ByVal sz As String, ByVal uFlags As Long) As Long
Declare Function mmioWrite Lib "winmm.dll" Alias "mmioWrite" (ByVal hmmio As Long, ByVal pch As String, ByVal cch As Long) As Long
Declare Function mmsystemGetVersion Lib "winmm.dll" Alias "mmsystemGetVersion" () As Long
Declare Function ModifyMenu Lib "user32" Alias "ModifyMenuA" (ByVal hMenu As Long, ByVal nPosition As Long, ByVal wFlags As Long, ByVal wIDNewItem As Long, ByVal lpString As String) As Long
Declare Function ModifyMenuBynum Lib "user32" Alias "ModifyMenuA" (ByVal hMenu As Long, ByVal nPosition As Long, ByVal wFlags As Long, ByVal wIDNewItem As Long, ByVal lpString As Long) As Long
Declare Function ModifyWorldTransform Lib "gdi32" Alias "ModifyWorldTransform" (ByVal hdc As Long, lpXform As xform, ByVal iMode As Long) As Long
Declare Function Module32First lib "kernel32.dll" (ByVal hSnapshot As Long, lppe As MODULEENTRY32) As Long
Declare Function Module32Next lib "KERNEL32" (ByVal hSnapshot As Long, lpme As MODULEENTRY32) As Long
Declare Function MountNtmsMedia lib "ntmsapi" (ByVal hSession As Long, ByRef lpMediaId As LPNTMS_GUID, ByRef lpDriveId As LPNTMS_GUID, ByVal dwCount As Long, ByVal dwOptions As Long, ByVal dwPriority As Long, ByVal dwTimeout As Long, ByRef lpMountInformation As LPNTMS_MOUNT_INFORMATION) As Long
Declare Function MoveClusterGroup lib "clusapi" (ByRef hGroup As Long, ByRef hDestinationNode As Long) As Long
Declare Function MoveFile Lib "kernel32" Alias "MoveFileA" (ByVal lpExistingFileName As String, ByVal lpNewFileName As String) As Long
Declare Function MoveFileEx Lib "kernel32" Alias "MoveFileExA" (ByVal lpExistingFileName As String, ByVal lpNewFileName As String, ByVal dwFlags As Long) As Long
Declare Function MoveFileWithProgress lib "kernel32" Alias "MoveFileWithProgressA" (ByVal lpExistingFileName As String, ByVal lpNewFileName As String, ByRef lpProgressRoutine As PROGRESS_ROUTINE, lpData As Any, ByVal dwFlags As Long) As Long
Declare Function MoveToEx Lib "gdi32" Alias "MoveToEx" (ByVal hdc As Long, ByVal x As Long, ByVal y As Long, lpPoint As POINTAPI) As Long
Declare Function MoveToNtmsMediaPool lib "ntmsapi" (ByVal hSession As Long, ByRef lpMediaId As LPNTMS_GUID, ByRef lpPoolId As LPNTMS_GUID) As Long
Declare Function MoveWindow Lib "user32" Alias "MoveWindow" (ByVal hwnd As Long, ByVal x As Long, ByVal y As Long, ByVal nWidth As Long, ByVal nHeight As Long, ByVal bRepaint As Long) As Long
Declare Function MprAdminBufferFree lib "mprapi" (pBuffer As Any) As Long
Declare Function MprAdminConnectionClearStats lib "mprapi" (ByRef hRasServer As RAS_SERVER_HANDLE, ByVal hConnection As Long) As Long
Declare Function MprAdminConnectionEnum lib "mprapi" (ByRef hRasServer As RAS_SERVER_HANDLE, ByVal dwLevel As Long, ByVal lplpbBuffer As String, ByVal dwPrefMaxLen As Long, ByRef lpdwEntriesRead As Long, ByRef lpdwTotalEntries As Long, ByRef lpdwResumeHandle As Long) As Long
Declare Function MprAdminConnectionGetInfo lib "mprapi" (ByRef hRasServer As RAS_SERVER_HANDLE, ByVal dwLevel As Long, ByVal hConnection As Long, ByVal lplpbBuffer As String) As Long
Declare Function MprAdminDeregisterConnectionNotification lib "mprapi" (ByRef hMprServer As MPR_SERVER_HANDLE, ByVal hEventNotification As Long) As Long
Declare Function MprAdminDeviceEnum lib "mprapi" (ByRef hMprServer As MPR_SERVER_HANDLE, ByVal dwLevel As Long, ByVal lplpbBuffer As String, ByRef lpdwTotalEntries As Long) As Long
Declare Function MprAdminGetErrorString lib "mprapi" (ByVal dwError As Long, ByVal lpwsErrorString As String) As Long
Declare Function MprAdminGetPDCServer lib "mprapi" (ByRef lpszDomain As Byte, ByRef lpszServer As Byte, ByVal lpszPDCServer As String) As Long
Declare Function MprAdminInterfaceConnect lib "mprapi" (ByRef hMprServer As MPR_SERVER_HANDLE, ByVal hInterface As Long, ByVal hEvent As Long, ByVal fSynchronous As Long) As Long
Declare Function MprAdminInterfaceCreate lib "mprapi" (ByRef hMprServer As MPR_SERVER_HANDLE, ByVal dwLevel As Long, ByVal lpbBuffer As String, ByRef phInterface As Long) As Long
Declare Function MprAdminInterfaceDelete lib "mprapi" (ByRef hMprServer As MPR_SERVER_HANDLE, ByVal hInterface As Long) As Long
Declare Function MprAdminInterfaceDeviceGetInfo lib "mprapi" (ByRef hMprServer As MPR_SERVER_HANDLE, ByVal hInterface As Long, ByVal dwIndex As Long, ByVal dwLevel As Long, ByVal lplpBuffer As String) As Long
Declare Function MprAdminInterfaceDeviceSetInfo lib "mprapi" (ByRef hMprServer As MPR_SERVER_HANDLE, ByVal hInterface As Long, ByVal dwIndex As Long, ByVal dwLevel As Long, ByVal lplpBuffer As String) As Long
Declare Function MprAdminInterfaceDisconnect lib "mprapi" (ByRef hMprServer As MPR_SERVER_HANDLE, ByVal hInterface As Long) As Long
Declare Function MprAdminInterfaceEnum lib "mprapi" (ByRef hMprServer As MPR_SERVER_HANDLE, ByVal dwLevel As Long, ByVal lplpbBuffer As String, ByVal dwPrefMaxLen As Long, ByRef lpdwEntriesRead As Long, ByRef lpdwTotalEntries As Long, ByRef lpdwResumeHandle As Long) As Long
Declare Function MprAdminInterfaceGetCredentials lib "mprapi" (ByVal lpwsServer As String, ByVal lpwsInterfaceName As String, ByVal lpwsUserName As String, ByVal lpwsPassword As String, ByVal lpwsDomainName As String) As Long
Declare Function MprAdminInterfaceGetCredentialsEx lib "mprapi" (ByRef hMprServer As MPR_SERVER_HANDLE, ByVal hInterface As Long, ByVal dwLevel As Long, ByVal lplpbBuffer As String) As Long
Declare Function MprAdminInterfaceGetHandle lib "mprapi" (ByRef hMprServer As MPR_SERVER_HANDLE, ByVal lpwsInterfaceName As String, ByRef phInterface As Long, ByVal fIncludeClientInterfaces As Long) As Long
Declare Function MprAdminInterfaceGetInfo lib "mprapi" (ByRef hMprServer As MPR_SERVER_HANDLE, ByVal hInterface As Long, ByVal dwLevel As Long, ByVal lplpbBuffer As String) As Long
Declare Function MprAdminInterfaceQueryUpdateResult lib "mprapi" (ByRef hMprServer As MPR_SERVER_HANDLE, ByVal hInterface As Long, ByVal dwProtocolId As Long, ByRef lpdwUpdateResult As Long) As Long
Declare Function MprAdminInterfaceSetCredentials lib "mprapi" (ByVal lpwsServer As String, ByVal lpwsInterfaceName As String, ByVal lpwsUserName As String, ByVal lpwsDomainName As String, ByVal lpwsPassword As String) As Long
Declare Function MprAdminInterfaceSetCredentialsEx lib "mprapi" (ByRef hMprServer As MPR_SERVER_HANDLE, ByVal hInterface As Long, ByVal dwLevel As Long, ByVal lpbBuffer As String) As Long
Declare Function MprAdminInterfaceSetInfo lib "mprapi" (ByRef hMprServer As MPR_SERVER_HANDLE, ByVal hInterface As Long, ByVal dwLevel As Long, ByVal lpbBuffer As String) As Long
Declare Function MprAdminInterfaceTransportAdd lib "mprapi" (ByRef hMprServer As MPR_SERVER_HANDLE, ByVal hInterface As Long, ByVal dwTransportId As Long, ByVal pInterfaceInfo As String, ByVal dwInterfaceInfoSize As Long) As Long
Declare Function MprAdminInterfaceTransportGetInfo lib "mprapi" (ByRef hMprServer As MPR_SERVER_HANDLE, ByVal hInterface As Long, ByVal dwTransportId As Long, ByVal ppInterfaceInfo As String, ByRef lpdwpInterfaceInfoSize As Long) As Long
Declare Function MprAdminInterfaceTransportRemove lib "mprapi" (ByRef hMprServer As MPR_SERVER_HANDLE, ByVal hInterface As Long, ByVal dwTransportId As Long) As Long
Declare Function MprAdminInterfaceTransportSetInfo lib "mprapi" (ByRef hMprServer As MPR_SERVER_HANDLE, ByVal hInterface As Long, ByVal dwTransportId As Long, ByVal pInterfaceInfo As String, ByVal dwInterfaceInfoSize As Long) As Long
Declare Function MprAdminInterfaceUpdatePhonebookInfo lib "mprapi" (ByRef hMprServer As MPR_SERVER_HANDLE, ByVal hInterface As Long) As Long
Declare Function MprAdminInterfaceUpdateRoutes lib "mprapi" (ByRef hMprServer As MPR_SERVER_HANDLE, ByVal hInterface As Long, ByVal dwProtocolId As Long, ByVal hEvent As Long) As Long
Declare Function MprAdminIsServiceRunning lib "mprapi" (ByVal lpwsServerName As String) As Long
Declare Function MprAdminMIBBufferFree lib "mprapi" (pBuffer As Any) As Long
Declare Function MprAdminMIBEntryCreate lib "mprapi" (ByRef hMibServer As MIB_SERVER_HANDLE, ByVal dwPid As Long, ByVal dwRoutingPid As Long, lpEntry As Any, ByVal dwEntrySize As Long) As Long
Declare Function MprAdminMIBEntryDelete lib "mprapi" (ByRef hMibServer As MIB_SERVER_HANDLE, ByVal dwProtocolId As Long, ByVal dwRoutingPid As Long, lpEntry As Any, ByVal dwEntrySize As Long) As Long
Declare Function MprAdminMIBEntryGet lib "mprapi" (ByRef hMibServer As MIB_SERVER_HANDLE, ByVal dwProtocolId As Long, ByVal dwRoutingPid As Long, lpInEntry As Any, ByVal dwInEntrySize As Long, lplpOutEntry As Any, ByRef lpOutEntrySize As Long) As Long
Declare Function MprAdminMIBEntryGetFirst lib "mprapi" (ByRef hMibServer As MIB_SERVER_HANDLE, ByVal dwProtocolId As Long, ByVal dwRoutingPid As Long, lpInEntry As Any, ByVal dwInEntrySize As Long, lplpOutEntry As Any, ByRef lpOutEntrySize As Long) As Long
Declare Function MprAdminMIBEntryGetNext lib "mprapi" (ByRef hMibServer As MIB_SERVER_HANDLE, ByVal dwProtocolId As Long, ByVal dwRoutingPid As Long, lpInEntry As Any, ByVal dwInEntrySize As Long, lplpOutEntry As Any, ByRef lpOutEntrySize As Long) As Long
Declare Function MprAdminMIBEntrySet lib "mprapi" (ByRef hMibServer As MIB_SERVER_HANDLE, ByVal dwProtocolId As Long, ByVal dwRoutingPid As Long, lpEntry As Any, ByVal dwEntrySize As Long) As Long
Declare Function MprAdminMIBServerConnect lib "mprapi" (ByVal lpwsServerName As String, ByRef phMibServer As MIB_SERVER_HANDLE) As Long
Declare Function MprAdminPortClearStats lib "mprapi" (ByRef hRasServer As RAS_SERVER_HANDLE, ByVal hPort As Long) As Long
Declare Function MprAdminPortDisconnect lib "mprapi" (ByRef hRasServer As RAS_SERVER_HANDLE, ByVal hPort As Long) As Long
Declare Function MprAdminPortEnum lib "mprapi" (ByRef hRasServer As RAS_SERVER_HANDLE, ByVal dwLevel As Long, ByVal hConnection As Long, ByVal lplpbBuffer As String, ByVal dwPrefMaxLen As Long, ByRef lpdwEntriesRead As Long, ByRef lpdwTotalEntries As Long, ByRef lpdwResumeHandle As Long) As Long
Declare Function MprAdminPortGetInfo lib "mprapi" (ByRef hRasServer As RAS_SERVER_HANDLE, ByVal dwLevel As Long, ByVal hPort As Long, ByVal lplpbBuffer As String) As Long
Declare Function MprAdminPortReset lib "mprapi" (ByRef hRasServer As RAS_SERVER_HANDLE, ByVal hPort As Long) As Long
Declare Function MprAdminRegisterConnectionNotification lib "mprapi" (ByRef hMprServer As MPR_SERVER_HANDLE, ByVal hEventNotification As Long) As Long
Declare Function MprAdminSendUserMessage lib "mprapi" (ByRef hMprServer As MPR_SERVER_HANDLE, ByVal hConnection As Long, ByVal lpwszMessage As String) As Long
Declare Function MprAdminServerConnect lib "mprapi" (ByVal lpwsServerName As String, ByRef phMprServer As MPR_SERVER_HANDLE) As Long
Declare Function MprAdminServerGetInfo lib "mprapi" (ByRef hMprServer As MPR_SERVER_HANDLE, ByVal dwLevel As Long, ByVal lplpbBuffer As String) As Long
Declare Function MprAdminTransportCreate lib "mprapi" (ByRef hMprServer As MPR_SERVER_HANDLE, ByVal dwTransportId As Long, ByVal lpwsTransportName As String, ByVal pGlobalInfo As String, ByVal dwGlobalInfoSize As Long, ByVal pClientInterfaceInfo As String, ByVal dwClientInterfaceInfoSize As Long, ByVal lpwsDLLPath As String) As Long
Declare Function MprAdminTransportGetInfo lib "mprapi" (ByRef hMprServer As MPR_SERVER_HANDLE, ByVal dwTransportId As Long, ByVal ppGlobalInfo As String, ByRef lpdwGlobalInfoSize As Long, ByVal ppClientInterfaceInfo As String, ByRef lpdwClientInterfaceInfoSize As Long) As Long
Declare Function MprAdminTransportSetInfo lib "mprapi" (ByRef hMprServer As MPR_SERVER_HANDLE, ByVal dwTransportId As Long, ByVal pGlobalInfo As String, ByVal dwGlobalInfoSize As Long, ByVal pClientInterfaceInfo As String, ByVal dwClientInterfaceInfoSize As Long) As Long
Declare Function MprAdminUserGetInfo lib "mprapi" (ByRef lpszServer As Byte, ByRef lpszUser As Byte, ByVal dwLevel As Long, ByVal lpbBuffer As String) As Long
Declare Function MprAdminUserSetInfo lib "mprapi" (ByRef lpszServer As Byte, ByRef lpszUser As Byte, ByVal dwLevel As Long, ByVal lpbBuffer As String) As Long
Declare Function MprConfigBufferFree lib "mprapi" (pBuffer As Any) As Long
Declare Function MprConfigGetFriendlyName lib "mprapi" (ByVal hMprConfig As Long, ByVal pszGuidName As String, ByVal pszBuffer As String, ByVal dwBufferSize As Long) As Long
Declare Function MprConfigGetGuidName lib "mprapi" (ByVal hMprConfig As Long, ByVal pszFriendlyName As String, ByVal pszBuffer As String, ByVal dwBufferSize As Long) As Long
Declare Function MprConfigInterfaceCreate lib "mprapi" (ByVal hMprConfig As Long, ByVal dwLevel As Long, ByVal lpbBuffer As String, ByRef phRouterInterface As Long) As Long
Declare Function MprConfigInterfaceDelete lib "mprapi" (ByVal hMprConfig As Long, ByVal hRouterInterface As Long) As Long
Declare Function MprConfigInterfaceEnum lib "mprapi" (ByVal hMprConfig As Long, ByVal dwLevel As Long, ByVal lplpBuffer As String, ByVal dwPrefMaxLen As Long, ByRef lpdwEntriesRead As Long, ByRef lpdwTotalEntries As Long, ByRef lpdwResumeHandle As Long) As Long
Declare Function MprConfigInterfaceGetHandle lib "mprapi" (ByVal hMprConfig As Long, ByVal lpwsInterfaceName As String, ByRef phRouterInterface As Long) As Long
Declare Function MprConfigInterfaceGetInfo lib "mprapi" (ByVal hMprConfig As Long, ByVal hRouterInterface As Long, ByVal dwLevel As Long, ByVal lplpBuffer As String, ByRef lpdwBufferSize As Long) As Long
Declare Function MprConfigInterfaceSetInfo lib "mprapi" (ByVal hMprConfig As Long, ByVal hRouterInterface As Long, ByVal dwLevel As Long, ByVal lpbBuffer As String) As Long
Declare Function MprConfigInterfaceTransportAdd lib "mprapi" (ByVal hMprConfig As Long, ByVal hRouterInterface As Long, ByVal dwTransportId As Long, ByVal lpwsTransportName As String, ByVal pInterfaceInfo As String, ByVal dwInterfaceInfoSize As Long, ByRef phRouterIfTransport As Long) As Long
Declare Function MprConfigInterfaceTransportEnum lib "mprapi" (ByVal hMprConfig As Long, ByVal hRouterInterface As Long, ByVal dwLevel As Long, ByVal lplpBuffer As String, ByVal dwPrefMaxLen As Long, ByRef lpdwEntriesRead As Long, ByRef lpdwTotalEntries As Long, ByRef lpdwResumeHandle As Long) As Long
Declare Function MprConfigInterfaceTransportGetHandle lib "mprapi" (ByVal hMprConfig As Long, ByVal hRouterInterface As Long, ByVal dwTransportId As Long, ByRef phRouterIfTransport As Long) As Long
Declare Function MprConfigInterfaceTransportGetInfo lib "mprapi" (ByVal hMprConfig As Long, ByVal hRouterInterface As Long, ByVal hRouterIfTransport As Long, ByVal ppInterfaceInfo As String, ByRef lpdwInterfaceInfoSize As Long) As Long
Declare Function MprConfigInterfaceTransportRemove lib "mprapi" (ByVal hMprConfig As Long, ByVal hRouterInterface As Long, ByVal hRouterIfTransport As Long) As Long
Declare Function MprConfigInterfaceTransportSetInfo lib "mprapi" (ByVal hMprConfig As Long, ByVal hRouterInterface As Long, ByVal hRouterIfTransport As Long, ByVal pInterfaceInfo As String, ByVal dwInterfaceInfoSize As Long) As Long
Declare Function MprConfigServerBackup lib "mprapi" (ByVal hMprConfig As Long, ByVal lpwsPath As String) As Long
Declare Function MprConfigServerConnect lib "mprapi" (ByVal lpwsServerName As String, ByRef phMprConfig As Long) As Long
Declare Function MprConfigServerGetInfo lib "mprapi" (ByVal hMprConfig As Long, ByVal dwLevel As Long, ByVal lplpbBuffer As String) As Long
Declare Function MprConfigServerInstall lib "mprapi" (ByVal dwLevel As Long, pBuffer As Any) As Long
Declare Function MprConfigServerRefresh lib "mprapi" (ByVal hMprConfig As Long) As Long
Declare Function MprConfigServerRestore lib "mprapi" (ByVal hMprConfig As Long, ByVal lpwsPath As String) As Long
Declare Function MprConfigTransportCreate lib "mprapi" (ByVal hMprConfig As Long, ByVal dwTransportId As Long, ByVal lpwsTransportName As String, ByVal pGlobalInfo As String, ByVal dwGlobalInfoSize As Long, ByVal pClientInterfaceInfo As String, ByVal dwClientInterfaceInfoSize As Long, ByVal lpwsDLLPath As String, ByRef phRouterTransport As Long) As Long
Declare Function MprConfigTransportDelete lib "mprapi" (ByVal hMprConfig As Long, ByVal hRouterTransport As Long) As Long
Declare Function MprConfigTransportEnum lib "mprapi" (ByVal hMprConfig As Long, ByVal dwLevel As Long, ByVal lplpBuffer As String, ByVal dwPrefMaxLen As Long, ByRef lpdwEntriesRead As Long, ByRef lpdwTotalEntries As Long, ByRef lpdwResumeHandle As Long) As Long
Declare Function MprConfigTransportGetHandle lib "mprapi" (ByVal hMprConfig As Long, ByVal dwTransportId As Long, ByRef phRouterTransport As Long) As Long
Declare Function MprConfigTransportGetInfo lib "mprapi" (ByVal hMprConfig As Long, ByVal hRouterTransport As Long, ByVal ppGlobalInfo As String, ByRef lpdwGlobalInfoSize As Long, ByVal ppClientInterfaceInfo As String, ByRef lpdwClientInterfaceInfoSize As Long, ByVal lplpwsDLLPath As String) As Long
Declare Function MprConfigTransportSetInfo lib "mprapi" (ByVal hMprConfig As Long, ByVal hRouterTransport As Long, ByVal pGlobalInfo As String, ByVal dwGlobalInfoSize As Long, ByVal pClientInterfaceInfo As String, ByVal dwClientInterfaceInfoSize As Long, ByVal lpwsDLLPath As String) As Long
Declare Function MprInfoBlockAdd lib "mprapi" (lpHeader As Any, ByVal dwInfoType As Long, ByVal dwItemSize As Long, ByVal dwItemCount As Long, ByVal lpItemData As String, lplpNewHeader As Any) As Long
Declare Function MprInfoBlockFind lib "mprapi" (lpHeader As Any, ByVal dwInfoType As Long, ByRef lpdwItemSize As Long, ByRef lpdwItemCount As Long, ByVal lplpItemData As String) As Long
Declare Function MprInfoBlockQuerySize lib "mprapi" (lpHeader As Any) As Long
Declare Function MprInfoBlockRemove lib "mprapi" (lpHeader As Any, ByVal dwInfoType As Long, lplpNewHeader As Any) As Long
Declare Function MprInfoBlockSet lib "mprapi" (lpHeader As Any, ByVal dwInfoType As Long, ByVal dwItemSize As Long, ByVal dwItemCount As Long, ByVal lpItemData As String, lplpNewHeader As Any) As Long
Declare Function MprInfoCreate lib "mprapi" (ByVal dwVersion As Long, lplpNewHeader As Any) As Long
Declare Function MprInfoDelete lib "mprapi" (lpHeader As Any) As Long
Declare Function MprInfoDuplicate lib "mprapi" (lpHeader As Any, lplpNewHeader As Any) As Long
Declare Function MprInfoRemoveAll lib "mprapi" (lpHeader As Any, lplpNewHeader As Any) As Long
Declare Function MprSetupIpInIpInterfaceFriendlyNameCreate lib "mprapi" (ByVal pwszMachineName As String, ByRef pNameInformation As PMPR_IPINIP_INTERFACE_0) As Long
Declare Function MprSetupIpInIpInterfaceFriendlyNameDelete lib "mprapi" (ByVal pwszMachineName As String, ByRef pGuid As Guid) As Long
Declare Function MprSetupIpInIpInterfaceFriendlyNameEnum lib "mprapi" (ByVal pwszMachineName As String, ByVal lplpBuffer As String, ByRef lpdwEntriesRead As Long) As Long
Declare Function MprSetupIpInIpInterfaceFriendlyNameFree lib "mprapi" (lpBuffer As Any) As Long
Declare Function MprSetupProtocolEnum lib "rtutils" (ByVal dwTransportId As Long, ByVal lplpBuffer As String, ByRef lpdwEntriesRead As Long) As Long
Declare Function MprSetupProtocolFree lib "rtutils" (lpBuffer As Any) As Long
Declare Function MQBeginTransaction lib "mqrt" (ByRef ppTransaction As ITransaction) As Long
Declare Function MQCloseCursor lib "mqrt" (ByVal hCursor As Long) As Long
Declare Function MQCloseQueue lib "mqrt" (ByVal hQueue As Long) As Long
Declare Function MQCreateCursor lib "mqrt" (ByRef hQueue As QUEUEHANDLE, ByRef phCursor As Long) As Long
Declare Function MQCreateQueue lib "mqrt" (ByRef pSecurityDescriptor As SECURITY_DESCRIPTOR, ByRef pQueueProps As OUT, ByVal lpwcsFormatName As String, ByRef lpdwFormatNameLength As Long) As Long
Declare Function MQDeleteQueue lib "mqrt" (ByVal lpwcsFormatName As String) As Long
Declare Function MQGetMachineProperties lib "mqrt" (ByVal lpwcsMachineName As String, ByRef pguidMachineId As Guid, ByRef pQMProps As OUT) As Long
Declare Function MQGetOverlappedResult lib "mqrt" (ByRef lpOverlapped As overlapped) As Long
Declare Function MQGetPrivateComputerInformation lib "mqrt" (ByVal lpwcsComputerName As String, ByRef pPrivateProps As OUT) As Long
Declare Function MQGetQueueProperties lib "mqrt" (ByVal lpwcsFormatName As String, ByRef pQueueProps As MQQUEUEPROPS) As Long
Declare Function MQGetQueueSecurity lib "mqrt" (ByVal lpwcsFormatName As String, ByVal RequestedInformation As Long, ByRef pSecurityDescriptor As SECURITY_DESCRIPTOR, ByVal nLength As Long, ByRef lpnLengthNeeded As Long) As Long
Declare Function MQGetSecurityContext lib "mqrt" (lpCertBuffer As Any, ByVal dwCertBufferLength As Long, ByRef hSecurityContext As Long) As Long
Declare Function MQHandleToFormatName lib "mqrt" (ByRef hQueue As QUEUEHANDLE, ByVal lpwcsFormatName As String, ByRef lpdwFormatNameLength As Long) As Long
Declare Function MQInstanceToFormatName lib "mqrt" (ByRef pGuid As Guid, ByVal lpwcsFormatName As String, ByRef lpdwFormatNameLength As Long) As Long
Declare Function MQLocateBegin lib "mqrt" (ByVal lpwcsContext As String, ByRef pRestriction As MQRESTRICTION, ByRef pColumns As MQCOLUMNSET, ByRef pSort As MQSORTSET, ByRef phEnum As Long) As Long
Declare Function MQLocateEnd lib "mqrt" (ByVal hEnum As Long) As Long
Declare Function MQLocateNext lib "mqrt" (ByVal hEnum As Long, ByRef pcProps As Long, ByRef aPropVar() As MQPROPVARIANT) As Long
Declare Function MQOpenQueue lib "mqrt" (ByVal lpwcsFormatName As String, ByVal dwAccess As Long, ByVal dwShareMode As Long, ByRef phQueue As QUEUEHANDLE) As Long
Declare Function MQPathNameToFormatName lib "mqrt" (ByVal lpwcsPathName As String, ByVal lpwcsFormatName As String, ByRef lpdwFormatNameLength As Long) As Long
Declare Function MQReceiveMessage lib "mqrt" (ByRef hSource As QUEUEHANDLE, ByVal dwTimeout As Long, ByVal dwAction As Long, ByRef pMessageProps As OUT, ByRef lpOverlapped As overlapped, ByRef fnReceiveCallback As PMQRECEIVECALLBACK, ByVal hCursor As Long, ByRef pTransaction As ITransaction) As Long
Declare Function MQRegisterCertificate lib "mqrt" (ByVal dwFlags As Long, lpCertBuffer As Any, ByVal dwCertBufferLength As Long) As Long
Declare Function MQSendMessage lib "mqrt" (ByRef hDestinationQueue As QUEUEHANDLE, ByRef pMessageProps As MQMSGPROPS, ByRef pTransaction As ITransaction) As Long
Declare Function MQSetQueueProperties lib "mqrt" (ByVal lpwcsFormatName As String, ByRef pQueueProps As MQQUEUEPROPS) As Long
Declare Function MQSetQueueSecurity lib "mqrt" (ByVal lpwcsFormatName As String, ByVal SecurityInformation As Long, ByRef pSecurityDescriptor As SECURITY_DESCRIPTOR) As Long
Declare Function MsgWaitForMultipleObjects Lib "user32" Alias "MsgWaitForMultipleObjects" (ByVal nCount As Long, pHandles As Long, ByVal fWaitAll As Long, ByVal dwMilliseconds As Long, ByVal dwWakeMask As Long) As Long
Declare Function MsgWaitForMultipleObjectsEx lib "user32" (ByVal nCount As Long, ByRef pHandles As Long, ByVal dwMilliseconds As Long, ByVal dwWakeMask As Long, ByVal dwFlags As Long) As Long
Declare Function MsiApplyPatch lib "MSI" (ByVal szPatchPackage As String, ByVal szInstallPackage As String, ByVal eInstallType As Struct_MembersOf_INSTALLTYPE, ByVal szCommandLine As String) As Long
Declare Function MsiCloseAllHandles lib "MSI" () As Long
Declare Function MsiCloseHandle lib "MSI" (ByRef hAny As MSIHANDLE) As Long
Declare Function MsiCollectUserInfo lib "MSI" (ByVal szProduct As String) As Long
Declare Function MsiConfigureFeature lib "MSI" (ByVal szProduct As String, ByVal szFeature As String, ByVal eInstallState As Struct_MembersOf_INSTALLSTATE) As Long
Declare Function MsiConfigureProduct lib "MSI" (ByVal szProduct As String, ByVal iInstallLevel As Long, ByVal eInstallState As Struct_MembersOf_INSTALLSTATE) As Long
Declare Function MsiConfigureProductEx lib "MSI" (ByVal szProduct As String, ByVal iInstallLevel As Long, ByVal eInstallState As Struct_MembersOf_INSTALLSTATE, ByVal szCommandLine As String) As Long
Declare Function MsiCreateTransformSummaryInfo lib "MSI" (ByRef hDatabase As MSIHANDLE, ByRef hDatabaseReference As MSIHANDLE, ByVal szTransformFile As String, ByVal iErrorConditions As Long, ByVal iValidation As Long) As Long
Declare Function MsiDatabaseApplyTransform lib "MSI" (ByRef hDatabase As MSIHANDLE, ByVal szTransformFile As String, ByVal iErrorConditions As Long) As Long
Declare Function MsiDatabaseCommit lib "MSI" (ByRef hDatabase As MSIHANDLE) As Long
Declare Function MsiDatabaseExport lib "MSI" (ByRef hDatabase As MSIHANDLE, ByVal szTableName As String, ByVal szFolderPath As String, ByVal szFileName As String) As Long
Declare Function MsiDatabaseGenerateTransform lib "MSI" (ByRef hDatabase As MSIHANDLE, ByRef hDatabaseReference As MSIHANDLE, ByVal szTransformFile As String, ByVal iReserved1 As Long, ByVal iReserved2 As Long) As Long
Declare Function MsiDatabaseGetPrimaryKeys lib "MSI" (ByRef hDatabase As MSIHANDLE, ByVal szTableName As String, ByRef phRecord As MSIHANDLE) As Long
Declare Function MsiDatabaseImport lib "MSI" (ByRef hDatabase As MSIHANDLE, ByVal szFolderPath As String, ByVal szFileName As String) As Long
Declare Function MsiDatabaseIsTablePersistent lib "MSI" (ByRef hDatabase As MSIHANDLE, ByVal szTableName As String) As MSICONDITION
Declare Function MsiDatabaseMerge lib "MSI" (ByRef hDatabase As MSIHANDLE, ByRef hDatabaseMerge As MSIHANDLE, ByVal szTableName As String) As Long
Declare Function MsiDatabaseOpenView lib "MSI" (ByRef hDatabase As MSIHANDLE, ByVal szQuery As String, ByRef phView As MSIHANDLE) As Long
Declare Function MsiDoAction lib "MSI" (ByRef hInstall As MSIHANDLE, ByVal szAction As String) As Long
Declare Function MsiEnableLog lib "MSI" (ByVal dwLogMode As Long, ByVal szLogFile As String, ByVal dwLogAttributes As Long) As Long
Declare Function MsiEnableUIPreview lib "MSI" (ByRef hDatabase As MSIHANDLE, ByRef phPreview As MSIHANDLE) As Long
Declare Function MsiEnumClients lib "MSI" (ByVal szComponent As String, ByVal iProductIndex As Long, ByVal lpProductBuf As String) As Long
Declare Function MsiEnumComponentQualifiers lib "MSI" (ByVal szComponent As String, ByVal iIndex As Long, ByVal lpQualifierBuf As String, ByRef pcchQualifierBuf As Long, ByVal lpApplicationDataBuf As String, ByRef pcchApplicationDataBuf As Long) As Long
Declare Function MsiEnumComponents lib "MSI" (ByVal iComponentIndex As Long, ByVal lpComponentBuf As String) As Long
Declare Function MsiEnumFeatures lib "MSI" (ByVal szProduct As String, ByVal iFeatureIndex As Long, ByVal lpFeatureBuf As String, ByVal lpParentBuf As String) As Long
Declare Function MsiEnumPatches lib "MSI" (ByVal szProduct As String, ByVal iPatchIndex As Long, ByVal lpPatchBuf As String, ByVal lpTransformsBuf As String, ByRef pcchTransformsBuf As Long) As Long
Declare Function MsiEnumProducts lib "MSI" (ByVal iProductIndex As Long, ByVal lpProductBuf As String) As Long
Declare Function MsiEnumRelatedProducts lib "MSI" (ByVal lpUpgradeCode As String, ByVal dwReserved As Long, ByVal iProductIndex As Long, ByVal lpProductBuf As String) As Long
Declare Function MsiEvaluateCondition lib "MSI" (ByRef hInstall As MSIHANDLE, ByVal szCondition As String) As MSICONDITION
Declare Function MsiFormatRecord lib "MSI" (ByRef hInstall As MSIHANDLE, ByRef hRecord As MSIHANDLE, ByVal szResultBuf As String, ByRef pcchResultBuf As Long) As Long
Declare Function MsiGetComponentPath lib "MSI" (ByVal szProduct As String, ByVal szComponent As String, ByVal lpPathBuf As String, ByRef pcchBuf As Long) As INSTALLSTATE
Declare Function MsiGetComponentState lib "MSI" (ByRef hInstall As MSIHANDLE, ByVal szComponent As String, ByRef piInstalled As INSTALLSTATE, ByRef piAction As INSTALLSTATE) As Long
Declare Function MsiGetDatabaseState lib "MSI" (ByRef hDatabase As MSIHANDLE) As MSIDBSTATE
Declare Function MsiGetFeatureCost lib "MSI" (ByRef hInstall As MSIHANDLE, ByVal szFeature As String, ByVal iCostTree As Struct_MembersOf_MSICOSTTREE, ByRef iState As INSTALLSTATE, ByRef piCost As Long) As Long
Declare Function MsiGetFeatureInfo lib "MSI" (ByRef hProduct As MSIHANDLE, ByVal szFeature As String, ByRef lpAttributes As Long, ByVal lpTitleBuf As String, ByRef pcchTitleBuf As Long, ByVal lpHelpBuf As String, ByRef pcchHelpBuf As Long) As Long
Declare Function MsiGetFeatureState lib "MSI" (ByRef hInstall As MSIHANDLE, ByVal szFeature As String, ByRef piInstalled As INSTALLSTATE, ByRef piAction As INSTALLSTATE) As Long
Declare Function MsiGetFeatureUsage lib "MSI" (ByVal szProduct As String, ByVal szFeature As String, ByRef pdwUseCount As Long, ByRef pwDateUsed As Integer) As Long
Declare Function MsiGetFeatureValidStates lib "MSI" (ByRef hInstall As MSIHANDLE, ByVal szFeature As String, ByRef dwInstallStates As Long) As Long
Declare Function MsiGetFileVersion lib "MSI" (ByVal szFilePath As String, ByVal lpVersionBuf As String, ByRef pcchVersionBuf As Long, ByVal lpLangBuf As String, ByRef pcchLangBuf As Long) As Long
Declare Function MsiGetLanguage lib "MSI" (ByRef hInstall As MSIHANDLE) As Long
Declare Function MsiGetMode lib "MSI" (ByRef hInstall As MSIHANDLE, ByVal eRunMode As Struct_MembersOf_MSIRUNMODE) As Long
Declare Function MsiGetPatchInfo lib "MSI" (ByVal szPatch As String, ByVal szAttribute As String, ByVal lpValueBuf As String, ByRef pcchValueBuf As Long) As Long
Declare Function MsiGetProductCode lib "MSI" (ByVal szComponent As String, ByVal lpBuf39 As String) As Long
Declare Function MsiGetProductInfo lib "MSI" (ByVal szProduct As String, ByVal szAttribute As String, ByVal lpValueBuf As String, ByRef pcchValueBuf As Long) As Long
Declare Function MsiGetProductProperty lib "MSI" (ByRef hProduct As MSIHANDLE, ByVal szProperty As String, ByVal lpValueBuf As String, ByRef pcchValueBuf As Long) As Long
Declare Function MsiGetProperty lib "MSI" (ByRef hInstall As MSIHANDLE, ByVal szName As String, ByVal szValueBuf As String, ByRef pcchValueBuf As Long) As Long
Declare Function MsiGetShortcutTarget lib "MSI" (ByVal szShortcutPath As String, ByVal szProductCode As String, ByVal szFeatureId As String, ByVal szComponentCode As String) As Long
Declare Function MsiGetSourcePath lib "MSI" (ByRef hInstall As MSIHANDLE, ByVal szFolder As String, ByVal szPathBuf As String, ByRef pcchPathBuf As Long) As Long
Declare Function MsiGetSummaryInformation lib "MSI" (ByRef hDatabase As MSIHANDLE, ByVal szDatabasePath As String, ByVal uiUpdateCount As Long, ByRef phSummaryInfo As MSIHANDLE) As Long
Declare Function MsiGetTargetPath lib "MSI" (ByRef hInstall As MSIHANDLE, ByVal szFolder As String, ByVal szPathBuf As String, ByRef pcchPathBuf As Long) As Long
Declare Function MsiGetUserInfo lib "MSI" (ByVal szProduct As String, ByVal lpUserNameBuf As String, ByRef pcchUserNameBuf As Long, ByVal lpOrgNameBuf As String, ByRef pcchOrgNameBuf As Long, ByVal lpSerialBuf As String, ByRef pcchSerialBuf As Long) As USERINFOSTATE
Declare Function MsiInstallMissingComponent lib "MSI" (ByVal szProduct As String, ByVal szComponent As String, ByVal eInstallState As Struct_MembersOf_INSTALLSTATE) As Long
Declare Function MsiInstallMissingFile lib "MSI" (ByVal szProduct As String, ByVal szFile As String) As Long
Declare Function MsiInstallProduct lib "MSI" (ByVal szPackagePath As String, ByVal szCommandLine As String) As Long
Declare Function MsiLocateComponent lib "MSI" (ByVal szComponent As String, ByVal lpPathBuf As String, ByRef pcchBuf As Long) As INSTALLSTATE
Declare Function MsiOpenDatabase lib "MSI" (ByVal szDatabasePath As String, ByVal szPersist As String, ByRef phDatabase As MSIHANDLE) As Long
Declare Function MsiOpenPackage lib "MSI" (ByVal szPackagePath As String, ByRef hProduct As MSIHANDLE) As Long
Declare Function MsiOpenProduct lib "MSI" (ByVal szProduct As String, ByRef hProduct As MSIHANDLE) As Long
Declare Function MsiPreviewBillboard lib "MSI" (ByRef hPreview As MSIHANDLE, ByVal szControlName As String, ByVal szBillboard As String) As Long
Declare Function MsiPreviewDialog lib "MSI" (ByRef hPreview As MSIHANDLE, ByVal szDialogName As String) As Long
Declare Function MsiProcessMessage lib "MSI" (ByRef hInstall As MSIHANDLE, ByRef eMessageType As INSTALLMESSAGE, ByRef hRecord As MSIHANDLE) As Long
Declare Function MsiProvideComponent lib "MSI" (ByVal szProduct As String, ByVal szFeature As String, ByVal szComponent As String, ByVal dwInstallMode As Long, ByVal lpPathBuf As String, ByRef pcchPathBuf As Long) As Long
Declare Function MsiProvideQualifiedComponent lib "MSI" (ByVal szCategory As String, ByVal szQualifier As String, ByVal dwInstallMode As Long, ByVal lpPathBuf As String, ByRef pcchPathBuf As Long) As Long
Declare Function MsiProvideQualifiedComponentEx lib "MSI" (ByVal szCategory As String, ByVal szQualifier As String, ByVal dwInstallMode As Long, ByVal szProduct As String, ByVal dwUnused1 As Long, ByVal dwUnused2 As Long, ByVal lpPathBuf As String, ByRef pcchPathBuf As Long) As Long
Declare Function MsiQueryFeatureState lib "MSI" (ByVal szProduct As String, ByVal szFeature As String) As INSTALLSTATE
Declare Function MsiQueryProductState lib "MSI" (ByVal szProduct As String) As INSTALLSTATE
Declare Function MsiRecordClearData lib "MSI" (ByRef hRecord As MSIHANDLE) As Long
Declare Function MsiRecordDataSize lib "MSI" (ByRef hRecord As MSIHANDLE, ByVal iField As Long) As Long
Declare Function MsiRecordGetFieldCount lib "MSI" (ByRef hRecord As MSIHANDLE) As Long
Declare Function MsiRecordGetInteger lib "MSI" (ByRef hRecord As MSIHANDLE, ByVal iField As Long) As Long
Declare Function MsiRecordGetString lib "MSI" (ByRef hRecord As MSIHANDLE, ByVal iField As Long, ByVal szValueBuf As String, ByRef pcchValueBuf As Long) As Long
Declare Function MsiRecordIsNull lib "MSI" (ByRef hRecord As MSIHANDLE, ByVal iField As Long) As Long
Declare Function MsiRecordReadStream lib "MSI" (ByRef hRecord As MSIHANDLE, ByVal iField As Long, ByVal szDataBuf As String, ByRef pcbDataBuf As Long) As Long
Declare Function MsiRecordSetInteger lib "MSI" (ByRef hRecord As MSIHANDLE, ByVal iField As Long, ByVal iValue As Long) As Long
Declare Function MsiRecordSetStream lib "MSI" (ByRef hRecord As MSIHANDLE, ByVal iField As Long, ByVal szFilePath As String) As Long
Declare Function MsiRecordSetString lib "MSI" (ByRef hRecord As MSIHANDLE, ByVal iField As Long, ByVal szValue As String) As Long
Declare Function MsiReinstallFeature lib "MSI" (ByVal szProduct As String, ByVal szFeature As String, ByVal dwReinstallMode As Long) As Long
Declare Function MsiReinstallProduct lib "MSI" (ByVal szProduct As String, ByVal szReinstallMode As Long) As Long
Declare Function MsiSequence lib "MSI" (ByRef hInstall As MSIHANDLE, ByVal szTable As String, ByVal iSequenceMode As Long) As Long
Declare Function MsiSetComponentState lib "MSI" (ByRef hInstall As MSIHANDLE, ByVal szComponent As String, ByRef iState As INSTALLSTATE) As Long
Declare Function MsiSetFeatureAttributes lib "MSI" (ByRef hInstall As MSIHANDLE, ByVal szFeature As String, ByVal dwAttributes As Long) As Long
Declare Function MsiSetFeatureState lib "MSI" (ByRef hInstall As MSIHANDLE, ByVal szFeature As String, ByRef iState As INSTALLSTATE) As Long
Declare Function MsiSetInstallLevel lib "MSI" (ByRef hInstall As MSIHANDLE, ByVal iInstallLevel As Long) As Long
Declare Function MsiSetInternalUI lib "MSI" (ByVal dwUILevel As Struct_MembersOf_INSTALLUILEVEL, ByRef phWnd As Long) As INSTALLUILEVEL
Declare Function MsiSetMode lib "MSI" (ByRef hInstall As MSIHANDLE, ByVal eRunMode As Struct_MembersOf_MSIRUNMODE, ByVal fState As Long) As Long
Declare Function MsiSetProperty lib "MSI" (ByRef hInstall As MSIHANDLE, ByVal szName As String, ByVal szValue As String) As Long
Declare Function MsiSetTargetPath lib "MSI" (ByRef hInstall As MSIHANDLE, ByVal szFolder As String, ByVal szFolderPath As String) As Long
Declare Function MsiSourceListAddSource lib "MSI" (ByVal szProduct As String, ByVal szUserName As String, ByVal dwReserved As Long, ByVal szSource As String) As Long
Declare Function MsiSourceListClearAll lib "MSI" (ByVal szProduct As String, ByVal szUserName As String, ByVal dwReserved As Long) As Long
Declare Function MsiSourceListForceResolution lib "MSI" (ByVal szProduct As String, ByVal szUserName As String, ByVal dwReserved As Long) As Long
Declare Function MsiSummaryInfoGetProperty lib "MSI" (ByRef hSummaryInfo As MSIHANDLE, ByVal uiProperty As Long, ByRef puiDataType As Long, ByRef piValue As Long, ByRef pftValue As FILETIME, ByVal szValueBuf As String, ByRef pcchValueBuf As Long) As Long
Declare Function MsiSummaryInfoGetPropertyCount lib "MSI" (ByRef hSummaryInfo As MSIHANDLE, ByRef puiPropertyCount As Long) As Long
Declare Function MsiSummaryInfoPersist lib "MSI" (ByRef hSummaryInfo As MSIHANDLE) As Long
Declare Function MsiSummaryInfoSetProperty lib "MSI" (ByRef hSummaryInfo As MSIHANDLE, ByVal uiProperty As Long, ByVal uiDataType As Long, ByVal iValue As Long, ByRef pftValue As FILETIME, ByVal szValue As String) As Long
Declare Function MsiUseFeature lib "MSI" (ByVal szProduct As String, ByVal szFeature As String) As INSTALLSTATE
Declare Function MsiUseFeatureEx lib "MSI" (ByVal szProduct As String, ByVal szFeature As String, ByVal dwInstallMode As Long, ByVal dwReserved As Long) As INSTALLSTATE
Declare Function MsiVerifyDiskSpace lib "MSI" (ByRef hInstall As MSIHANDLE) As Long
Declare Function MsiVerifyPackage lib "MSI" (ByVal szPackagePath As String) As Long
Declare Function MsiViewClose lib "MSI" (ByRef hView As MSIHANDLE) As Long
Declare Function MsiViewExecute lib "MSI" (ByRef hView As MSIHANDLE, ByRef hRecord As MSIHANDLE) As Long
Declare Function MsiViewFetch lib "MSI" (ByRef hView As MSIHANDLE, ByRef phRecord As MSIHANDLE) As Long
Declare Function MsiViewGetColumnInfo lib "MSI" (ByRef hView As MSIHANDLE, ByVal eColumnInfo As Struct_MembersOf_MSICOLINFO, ByRef phRecord As MSIHANDLE) As Long
Declare Function MsiViewGetError lib "MSI" (ByRef hView As MSIHANDLE, ByVal szColumnNameBuffer As String, ByRef pcchBuf As Long) As MSIDBERROR
Declare Function MsiViewModify lib "MSI" (ByRef hView As MSIHANDLE, ByVal eModifyMode As Struct_MembersOf_MSIMODIFY, ByRef hRecord As MSIHANDLE) As Long
Declare Function MulDiv Lib "kernel32" Alias "MulDiv" (ByVal nNumber As Long, ByVal nNumerator As Long, ByVal nDenominator As Long) As Long
Declare Function MultiByteToWideChar Lib "kernel32" Alias "MultiByteToWideChar" (ByVal CodePage As Long, ByVal dwFlags As Long, ByVal lpMultiByteStr As String, ByVal cchMultiByte As Long, ByVal lpWideCharStr As Long, ByVal cchWideChar As Long) As Long
Declare Function MultinetGetConnectionPerformance lib "mpr" Alias "MultinetGetConnectionPerformanceA" (ByRef lpNetResource As NETRESOURCE, ByRef lpNetConnectInfoStruct As NETCONNECTINFOSTRUCT) As Long
Declare Function NDdeGetErrorString lib "NDDEAPI" (ByVal uErrorCode As Long, ByVal lpszErrorString As String, ByVal cBufSize As Long) As Long
Declare Function NDdeGetShareSecurity lib "NDDEAPI" (ByVal lpszServer As String, ByVal lpszShareName As String, ByVal si As Long, ByRef pSD As SECURITY_DESCRIPTOR, ByVal cbSD As Long, ByRef lpcbsdRequired As Long) As Long
Declare Function NDdeGetTrustedShare lib "NDDEAPI" (ByVal lpszServer As String, ByVal lpszShareName As String, ByRef lpdwTrustOptions As Long, ByRef lpdwShareModId0 As Long, ByRef lpdwShareModId1 As Long) As Long
Declare Function NDdeIsValidAppTopicList lib "NDDEAPI" (ByVal targetTopic As String) As Long
Declare Function NDdeIsValidShareName lib "NDDEAPI" (ByVal ShareName As String) As Long
Declare Function NDdeSetShareSecurity lib "NDDEAPI" (ByVal lpszServer As String, ByVal lpszShareName As String, ByVal si As Long, ByRef pSD As SECURITY_DESCRIPTOR) As Long
Declare Function NDdeSetTrustedShare lib "NDDEAPI" (ByVal lpszServer As String, ByVal lpszShareName As String, ByVal dwTrustOptions As Long) As Long
Declare Function NDdeShareAdd lib "NDDEAPI" (ByVal lpszServer As String, ByVal nLevel As Long, ByRef pSD As SECURITY_DESCRIPTOR, ByVal lpBuffer As String, ByVal cBufSize As Long) As Long
Declare Function NDdeShareDel lib "NDDEAPI" (ByVal lpszServer As String, ByVal lpszShareName As String, ByVal wReserved As Long) As Long
Declare Function NDdeShareEnum lib "NDDEAPI" (ByVal lpszServer As String, ByVal nLevel As Long, ByVal lpBuffer As String, ByVal cBufSize As Long, ByRef lpnEntriesRead As Long, ByRef lpcbTotalAvailable As Long) As Long
Declare Function NDdeShareGetInfo lib "NDDEAPI" (ByVal lpszServer As String, ByVal lpszShareName As String, ByVal nLevel As Long, ByVal lpBuffer As String, ByVal cBufSize As Long, ByRef lpnTotalAvailable As Long, ByRef lpnItems As Integer) As Long
Declare Function NDdeShareSetInfo lib "NDDEAPI" (ByVal lpszServer As String, ByVal lpszShareName As String, ByVal nLevel As Long, ByVal lpBuffer As String, ByVal cBufSize As Long, ByVal sParmNum As Integer) As Long
Declare Function NDdeTrustedShareEnum lib "NDDEAPI" (ByVal lpszServer As String, ByVal nLevel As Long, ByVal lpBuffer As String, ByVal cBufSize As Long, ByRef lpnEntriesRead As Long, ByRef lpcbTotalAvailable As Long) As Long
Declare Function NdrByteCountPointerMarshall lib "rpcrt4" (ByRef pStubMsg As MIDL_STUB_MESSAGE, ByVal pMemory As String, ByVal pFormat As String) As Long
Declare Function NdrByteCountPointerUnmarshall lib "rpcrt4" (ByRef pStubMsg As MIDL_STUB_MESSAGE, ByVal ppMemory As String, ByVal pFormat As String, ByVal fMustAlloc As Byte) As Long
Declare Function NDRCContextBinding lib "rpcrt4" (ByVal CContext As Struct_MembersOf_NDR_CCONTEXT) As Long
Declare Function NdrComplexArrayMarshall lib "rpcrt4" (ByRef pStubMsg As MIDL_STUB_MESSAGE, ByVal pMemory As String, ByVal pFormat As String) As Long
Declare Function NdrComplexArrayMemorySize lib "rpcrt4" (ByRef pStubMsg As MIDL_STUB_MESSAGE, ByVal pFormat As String) As Long
Declare Function NdrComplexArrayUnmarshall lib "rpcrt4" (ByRef pStubMsg As MIDL_STUB_MESSAGE, ByVal ppMemory As String, ByVal pFormat As String, ByVal fMustAlloc As Byte) As Long
Declare Function NdrComplexStructMarshall lib "rpcrt4" (ByRef pStubMsg As MIDL_STUB_MESSAGE, ByVal pMemory As String, ByVal pFormat As String) As Long
Declare Function NdrComplexStructMemorySize lib "rpcrt4" (ByRef pStubMsg As MIDL_STUB_MESSAGE, ByVal pFormat As String) As Long
Declare Function NdrComplexStructUnmarshall lib "rpcrt4" (ByRef pStubMsg As MIDL_STUB_MESSAGE, ByVal ppMemory As String, ByVal pFormat As String, ByVal fMustAlloc As Byte) As Long
Declare Function NdrConformantArrayMarshall lib "rpcrt4" (ByRef pStubMsg As MIDL_STUB_MESSAGE, ByVal pMemory As String, ByVal pFormat As String) As Long
Declare Function NdrConformantArrayMemorySize lib "rpcrt4" (ByRef pStubMsg As MIDL_STUB_MESSAGE, ByVal pFormat As String) As Long
Declare Function NdrConformantArrayUnmarshall lib "rpcrt4" (ByRef pStubMsg As MIDL_STUB_MESSAGE, ByVal ppMemory As String, ByVal pFormat As String, ByVal fMustAlloc As Byte) As Long
Declare Function NdrConformantStringMarshall lib "rpcrt4" (ByRef pStubMsg As MIDL_STUB_MESSAGE, ByVal pMemory As String, ByVal pFormat As String) As Long
Declare Function NdrConformantStringMemorySize lib "rpcrt4" (ByRef pStubMsg As MIDL_STUB_MESSAGE, ByVal pFormat As String) As Long
Declare Function NdrConformantStringUnmarshall lib "rpcrt4" (ByRef pStubMsg As MIDL_STUB_MESSAGE, ByVal ppMemory As String, ByVal pFormat As String, ByVal fMustAlloc As Byte) As Long
Declare Function NdrConformantStructMarshall lib "rpcrt4" (ByRef pStubMsg As MIDL_STUB_MESSAGE, ByVal pMemory As String, ByVal pFormat As String) As Long
Declare Function NdrConformantStructMemorySize lib "rpcrt4" (ByRef pStubMsg As MIDL_STUB_MESSAGE, ByVal pFormat As String) As Long
Declare Function NdrConformantStructUnmarshall lib "rpcrt4" (ByRef pStubMsg As MIDL_STUB_MESSAGE, ByVal ppMemory As String, ByVal pFormat As String, ByVal fMustAlloc As Byte) As Long
Declare Function NdrConformantVaryingArrayMarshall lib "rpcrt4" (ByRef pStubMsg As MIDL_STUB_MESSAGE, ByVal pMemory As String, ByVal pFormat As String) As Long
Declare Function NdrConformantVaryingArrayMemorySize lib "rpcrt4" (ByRef pStubMsg As MIDL_STUB_MESSAGE, ByVal pFormat As String) As Long
Declare Function NdrConformantVaryingArrayUnmarshall lib "rpcrt4" (ByRef pStubMsg As MIDL_STUB_MESSAGE, ByVal ppMemory As String, ByVal pFormat As String, ByVal fMustAlloc As Byte) As Long
Declare Function NdrConformantVaryingStructMarshall lib "rpcrt4" (ByRef pStubMsg As MIDL_STUB_MESSAGE, ByVal pMemory As String, ByVal pFormat As String) As Long
Declare Function NdrConformantVaryingStructMemorySize lib "rpcrt4" (ByRef pStubMsg As MIDL_STUB_MESSAGE, ByVal pFormat As String) As Long
Declare Function NdrConformantVaryingStructUnmarshall lib "rpcrt4" (ByRef pStubMsg As MIDL_STUB_MESSAGE, ByVal ppMemory As String, ByVal pFormat As String, ByVal fMustAlloc As Byte) As Long
Declare Function NdrContextHandleInitialize lib "rpcrt4" (ByRef pStubMsg As MIDL_STUB_MESSAGE, ByVal pFormat As String) As NDR_SCONTEXT
Declare Function NdrCStdStubBuffer_Release lib "rpcrt4" (ByVal This As Long, ByVal pPSF As Long) As Long
Declare Function NdrCStdStubBuffer2_Release lib "rpcrt4" (ByVal This As Long, ByVal pPSF As Long) As Long
Declare Function NdrDcomAsyncStubCall lib "rpcrt4" (ByVal pThis As Long, ByVal pChannel As Long, ByVal pRpcMsg As Long, ByRef pdwStubPhase As Long) As Long
Declare Function NdrDllCanUnloadNow lib "rpcrt4" (ByRef pPSFactoryBuffer As CStdPSFactoryBuffer) As Long
Declare Function NdrDllGetClassObject lib "rpcrt4" (ByVal rclsid As Long, ByVal riid As Long, ppv As Any, ByRef pProxyFileList As ProxyFileInfo, ByRef pclsid As Long, ByRef pPSFactoryBuffer As CStdPSFactoryBuffer) As Long
Declare Function NdrDllRegisterProxy lib "rpcrt4" (ByVal hDll As Long, ByRef pProxyFileList As ProxyFileInfo, ByRef pclsid As Long) As Long
Declare Function NdrDllUnregisterProxy lib "rpcrt4" (ByVal hDll As Long, ByRef pProxyFileList As ProxyFileInfo, ByRef pclsid As Long) As Long
Declare Function NdrEncapsulatedUnionMarshall lib "rpcrt4" (ByRef pStubMsg As MIDL_STUB_MESSAGE, ByVal pMemory As String, ByVal pFormat As String) As Long
Declare Function NdrEncapsulatedUnionMemorySize lib "rpcrt4" (ByRef pStubMsg As MIDL_STUB_MESSAGE, ByVal pFormat As String) As Long
Declare Function NdrEncapsulatedUnionUnmarshall lib "rpcrt4" (ByRef pStubMsg As MIDL_STUB_MESSAGE, ByVal ppMemory As String, ByVal pFormat As String, ByVal fMustAlloc As Byte) As Long
Declare Function NdrFixedArrayMarshall lib "rpcrt4" (ByRef pStubMsg As MIDL_STUB_MESSAGE, ByVal pMemory As String, ByVal pFormat As String) As Long
Declare Function NdrFixedArrayMemorySize lib "rpcrt4" (ByRef pStubMsg As MIDL_STUB_MESSAGE, ByVal pFormat As String) As Long
Declare Function NdrFixedArrayUnmarshall lib "rpcrt4" (ByRef pStubMsg As MIDL_STUB_MESSAGE, ByVal ppMemory As String, ByVal pFormat As String, ByVal fMustAlloc As Byte) As Long
Declare Function NdrFullPointerFree lib "rpcrt4" (ByRef pXlatTables As FULL_PTR_XLAT_TABLES, Pointer As Any) As Long
Declare Function NdrFullPointerQueryPointer lib "rpcrt4" (ByRef pXlatTables As FULL_PTR_XLAT_TABLES, pPointer As Any, ByVal QueryType As Byte, ByRef pRefId As Long) As Long
Declare Function NdrFullPointerQueryRefId lib "rpcrt4" (ByRef pXlatTables As FULL_PTR_XLAT_TABLES, ByVal RefId As Long, ByVal QueryType As Byte, ppPointer As Any) As Long
Declare Function NdrFullPointerXlatInit lib "rpcrt4" (ByVal NumberOfPointers As Long, ByVal XlatSide As Struct_MembersOf_XLAT_SIDE) As Long
Declare Function NdrGetBuffer lib "rpcrt4" (ByRef pStubMsg As MIDL_STUB_MESSAGE, ByVal BufferLength As Long, ByVal Handle As Long) As Long
Declare Function NdrGetDcomProtocolVersion lib "rpcrt4" (ByRef pStubMsg As MIDL_STUB_MESSAGE, ByRef pVersion As RPC_VERSION) As Long
Declare Function NdrGetPipeBuffer lib "rpcrt4" (ByRef pStubMsg As MIDL_STUB_MESSAGE, ByVal BufferLength As Long, ByVal Handle As Long) As Long
Declare Function NdrGetUserMarshalInfo lib "RPCRT4" (ByRef pFlags As Long, ByVal InformationLevel As Long, ByRef pMarshalInfo As NDR_USER_MARSHAL_INFO) As Long
Declare Function NdrInterfacePointerMarshall lib "rpcrt4" (ByRef pStubMsg As MIDL_STUB_MESSAGE, ByVal pMemory As String, ByVal pFormat As String) As Long
Declare Function NdrInterfacePointerMemorySize lib "rpcrt4" (ByRef pStubMsg As MIDL_STUB_MESSAGE, ByVal pFormat As String) As Long
Declare Function NdrInterfacePointerUnmarshall lib "rpcrt4" (ByRef pStubMsg As MIDL_STUB_MESSAGE, ByVal ppMemory As String, ByVal pFormat As String, ByVal fMustAlloc As Byte) As Long
Declare Function NdrMapCommAndFaultStatus lib "rpcrt4" (ByRef pStubMsg As MIDL_STUB_MESSAGE, ByRef pCommStatus As Long, ByRef pFaultStatus As Long, ByVal Status As Long) As Long
Declare Function NdrMesSimpleTypeAlignSize lib "rpcrt4" (ByVal handle_t As Long) As Long
Declare Function NdrMesTypeAlignSize lib "rpcrt4" (ByVal Handle As Long, ByRef pStubDesc As MIDL_STUB_DESC, ByVal pFormatString As String, pObject As Any) As Long
Declare Function NdrMesTypeAlignSize2 lib "RPCRT4" (ByVal handle As Long, ByRef pPicklingInfo As PMIDL_TYPE_PICKLING_INFO, ByRef pStubDesc As MIDL_STUB_DESC, ByVal pFormatString As String, pObject As Any) As Long
Declare Function NdrNonConformantStringMarshall lib "rpcrt4" (ByRef pStubMsg As MIDL_STUB_MESSAGE, ByVal pMemory As String, ByVal pFormat As String) As Long
Declare Function NdrNonConformantStringMemorySize lib "rpcrt4" (ByRef pStubMsg As MIDL_STUB_MESSAGE, ByVal pFormat As String) As Long
Declare Function NdrNonConformantStringUnmarshall lib "rpcrt4" (ByRef pStubMsg As MIDL_STUB_MESSAGE, ByVal ppMemory As String, ByVal pFormat As String, ByVal fMustAlloc As Byte) As Long
Declare Function NdrNonEncapsulatedUnionMarshall lib "rpcrt4" (ByRef pStubMsg As MIDL_STUB_MESSAGE, ByVal pMemory As String, ByVal pFormat As String) As Long
Declare Function NdrNonEncapsulatedUnionMemorySize lib "rpcrt4" (ByRef pStubMsg As MIDL_STUB_MESSAGE, ByVal pFormat As String) As Long
Declare Function NdrNonEncapsulatedUnionUnmarshall lib "rpcrt4" (ByRef pStubMsg As MIDL_STUB_MESSAGE, ByVal ppMemory As String, ByVal pFormat As String, ByVal fMustAlloc As Byte) As Long
Declare Function NdrNsGetBuffer lib "rpcrt4" (ByRef pStubMsg As MIDL_STUB_MESSAGE, ByVal BufferLength As Long, ByVal Handle As Long) As Long
Declare Function NdrNsSendReceive lib "rpcrt4" (ByRef pStubMsg As MIDL_STUB_MESSAGE, ByVal pBufferEnd As String, ByRef pAutoHandle As Long) As Long
Declare Function NdrPointerMarshall lib "rpcrt4" (ByRef pStubMsg As MIDL_STUB_MESSAGE, ByVal pMemory As String, ByVal pFormat As String) As Long
Declare Function NdrPointerMemorySize lib "rpcrt4" (ByRef pStubMsg As MIDL_STUB_MESSAGE, ByVal pFormat As String) As Long
Declare Function NdrPointerUnmarshall lib "rpcrt4" (ByRef pStubMsg As MIDL_STUB_MESSAGE, ByVal ppMemory As String, ByVal pFormat As String, ByVal fMustAlloc As Byte) As Long
Declare Function NdrProxyErrorHandler lib "rpcrt4" (ByVal dwExceptionCode As Long) As Long
Declare Function NdrRangeUnmarshall lib "rpcrt4" (ByRef pStubMsg As MIDL_STUB_MESSAGE, ByVal ppMemory As String, ByVal pFormat As String, ByVal fMustAlloc As Byte) As Long
Declare Function NDRSContextUnmarshall lib "rpcrt4" (pBuff As Any, ByVal DataRepresentation As Long) As NDR_SCONTEXT
Declare Function NDRSContextUnmarshall2 lib "rpcrt4" (ByVal BindingHandle As Long, pBuff As Any, ByVal DataRepresentation As Long, CtxGuard As Any, ByVal Flags As Long) As NDR_SCONTEXT
Declare Function NDRSContextUnmarshallEx lib "rpcrt4" (ByVal BindingHandle As Long, pBuff As Any, ByVal DataRepresentation As Long) As NDR_SCONTEXT
Declare Function NdrSendReceive lib "rpcrt4" (ByRef pStubMsg As MIDL_STUB_MESSAGE, ByVal pBufferEnd As String) As Long
Declare Function NdrServerContextNewUnmarshall lib "rpcrt4" (ByRef pStubMsg As MIDL_STUB_MESSAGE, ByVal pFormat As String) As NDR_SCONTEXT
Declare Function NdrServerContextUnmarshall lib "rpcrt4" (ByRef pStubMsg As MIDL_STUB_MESSAGE) As NDR_SCONTEXT
Declare Function NdrServerInitialize lib "rpcrt4" (ByVal pRpcMsg As Long, ByRef pStubMsg As MIDL_STUB_MESSAGE, ByRef pStubDescriptor As MIDL_STUB_DESC) As Long
Declare Function NdrServerInitializeNew lib "rpcrt4" (ByVal pRpcMsg As Long, ByRef pStubMsg As MIDL_STUB_MESSAGE, ByRef pStubDescriptor As MIDL_STUB_DESC) As Long
Declare Function NdrServerInitializeUnmarshall lib "rpcrt4" (ByRef pStubMsg As MIDL_STUB_MESSAGE, ByRef pStubDescriptor As MIDL_STUB_DESC, ByVal pRpcMsg As Long) As Long
Declare Function NdrServerUnmarshall lib "rpcrt4" (ByVal pChannel As Long, ByVal pRpcMsg As Long, ByRef pStubMsg As MIDL_STUB_MESSAGE, ByRef pStubDescriptor As MIDL_STUB_DESC, ByVal pFormat As String, pParamList As Any) As Long
Declare Function NdrSimpleStructMarshall lib "rpcrt4" (ByRef pStubMsg As MIDL_STUB_MESSAGE, ByVal pMemory As String, ByVal pFormat As String) As Long
Declare Function NdrSimpleStructMemorySize lib "rpcrt4" (ByRef pStubMsg As MIDL_STUB_MESSAGE, ByVal pFormat As String) As Long
Declare Function NdrSimpleStructUnmarshall lib "rpcrt4" (ByRef pStubMsg As MIDL_STUB_MESSAGE, ByVal ppMemory As String, ByVal pFormat As String, ByVal fMustAlloc As Byte) As Long
Declare Function NdrStubCall lib "rpcrt4" (ByVal pThis As Long, ByVal pChannel As Long, ByVal pRpcMsg As Long, ByRef pdwStubPhase As Long) As Long
Declare Function NdrStubCall2 lib "rpcrt4" (ByVal pThis As Long, ByVal pChannel As Long, ByVal pRpcMsg As Long, ByRef pdwStubPhase As Long) As Long
Declare Function NdrUserMarshalMarshall lib "rpcrt4" (ByRef pStubMsg As MIDL_STUB_MESSAGE, ByVal pMemory As String, ByVal pFormat As String) As Long
Declare Function NdrUserMarshalMemorySize lib "rpcrt4" (ByRef pStubMsg As MIDL_STUB_MESSAGE, ByVal pFormat As String) As Long
Declare Function NdrUserMarshalSimpleTypeConvert lib "rpcrt4" (ByRef pFlags As Long, ByVal pBuffer As String, ByVal FormatChar As Byte) As Long
Declare Function NdrUserMarshalUnmarshall lib "rpcrt4" (ByRef pStubMsg As MIDL_STUB_MESSAGE, ByVal ppMemory As String, ByVal pFormat As String, ByVal fMustAlloc As Byte) As Long
Declare Function NdrVaryingArrayMarshall lib "rpcrt4" (ByRef pStubMsg As MIDL_STUB_MESSAGE, ByVal pMemory As String, ByVal pFormat As String) As Long
Declare Function NdrVaryingArrayMemorySize lib "rpcrt4" (ByRef pStubMsg As MIDL_STUB_MESSAGE, ByVal pFormat As String) As Long
Declare Function NdrVaryingArrayUnmarshall lib "rpcrt4" (ByRef pStubMsg As MIDL_STUB_MESSAGE, ByVal ppMemory As String, ByVal pFormat As String, ByVal fMustAlloc As Byte) As Long
Declare Function NdrXmitOrRepAsMarshall lib "rpcrt4" (ByRef pStubMsg As MIDL_STUB_MESSAGE, ByVal pMemory As String, ByVal pFormat As String) As Long
Declare Function NdrXmitOrRepAsMemorySize lib "rpcrt4" (ByRef pStubMsg As MIDL_STUB_MESSAGE, ByVal pFormat As String) As Long
Declare Function NdrXmitOrRepAsUnmarshall lib "rpcrt4" (ByRef pStubMsg As MIDL_STUB_MESSAGE, ByVal ppMemory As String, ByVal pFormat As String, ByVal fMustAlloc As Byte) As Long
Declare Function NeedReboot lib "advpack" (ByVal dwRebootCheck As Long) As Long
Declare Function NeedRebootInit lib "advpack" () As Long
Declare Function NetAccessAdd lib "SVRAPI" (ByVal pszServer As String, ByVal sLevel As Integer, ByVal pbBuffer As String, ByVal cbBuffer As Integer) As Long
Declare Function NetAccessCheck lib "SVRAPI" (ByVal pszReserved As String, ByVal pszUserName As String, ByVal pszResource As String, ByVal usOperation As Integer, ByRef pusResult As Integer) As Long
Declare Function NetAccessDel lib "SVRAPI" (ByVal pszServer As String, ByVal pszResource As String) As Long
Declare Function NetAccessEnum lib "SVRAPI" (ByVal servername As String, ByVal BasePath As String, ByVal Recursive As Long, ByVal level As Long, ByVal bufptr As String, ByVal prefmaxlen As Long, ByRef entriesread As Long, ByRef totalentries As Long, ByRef resume_handle As Long) As Long
Declare Function NetAccessGetInfo lib "SVRAPI" (ByVal pszServer As String, ByVal pszResource As String, ByVal sLevel As Integer, ByVal pbBuffer As String, ByVal cbBuffer As Integer, ByRef pcbTotalAvail As Integer) As Long
Declare Function NetAccessGetUserPerms lib "SVRAPI" (ByVal pszServer As String, ByVal pszUgName As String, ByVal pszResource As String, ByRef pusPerms As Integer) As Long
Declare Function NetAccessSetInfo lib "SVRAPI" (ByVal servername As String, ByVal resource As String, ByVal level As Long, ByVal buf As String, ByRef parm_err As Long) As Long
Declare Function NetAlertRaise lib "NETAPI32" (ByVal AlertEventName As String, Buffer As Any, ByVal BufferSize As Long) As Long
Declare Function NetAlertRaiseEx lib "NETAPI32" (ByVal AlertEventName As String, VariableInfo As Any, ByVal VariableInfoSize As Long, ByVal ServiceName As String) As Long
Declare Function NetApiBufferAllocate lib "NETAPI32" (ByVal ByteCount As Long, Buffer As Any) As Long
Declare Function NetApiBufferFree lib "NETAPI32" (Buffer As Any) As Long
Declare Function NetApiBufferReallocate lib "NETAPI32" (OldBuffer As Any, ByVal NewByteCount As Long, NewBuffer As Any) As Long
Declare Function NetApiBufferSize lib "NETAPI32" (Buffer As Any, ByRef ByteCount As Long) As Long
Declare Function NetapipBufferAllocate lib "NETAPI32" (ByVal ByteCount As Long, Buffer As Any) As Long
Declare Function NetAuditClear lib "NETAPI32" (ByVal server As String, ByVal backupfile As String, ByVal service As String) As Long
Declare Function NetAuditRead lib "NETAPI32" (ByVal server As String, ByVal service As String, ByRef auditloghandle As LPHLOG, ByVal Offset As Long, ByRef reserved1 As Long, ByVal reserved2 As Long, ByVal offsetflag As Long, ByVal bufptr As String, ByVal prefmaxlen As Long, ByRef bytesread As Long, ByRef totalavailable As Long) As Long
Declare Function NetAuditWrite lib "NETAPI32" (ByVal ltype As Long, ByVal buf As String, ByVal numbytes As Long, ByVal service As String, ByVal Reserved As String) As Long
Declare Function Netbios Lib "netapi32.dll" Alias "Netbios" (pncb As NCB) As Byte
Declare Function NetConfigSet lib "NETAPI32" (ByVal server As String, ByVal reserved1 As String, ByVal component As String, ByVal level As Long, ByVal reserved2 As Long, ByVal buf As String, ByVal reserved3 As Long) As Long
Declare Function NetConnectionEnum lib "netapi32" (ByVal lptstr As String, ByVal lptstr As String, ByVal dword As Long, ByVal pbyte As String, ByVal dword As Long, ByRef pdword As Long, ByRef pdword As Long, ByRef pdword As Long) As Long
Declare Function NetDfsAdd lib "NETAPI32" (ByVal DfsEntryPath As String, ByVal servername As String, ByVal ShareName As String, ByVal Comment As String, ByVal Flags As Long) As Long
Declare Function NetDfsAddFtRoot lib "NETAPI32" (ByVal servername As String, ByVal RootShare As String, ByVal FtDfsName As String, ByVal Comment As String, ByVal Flags As Long) As Long
Declare Function NetDfsAddStdRoot lib "NETAPI32" (ByVal servername As String, ByVal RootShare As String, ByVal Comment As String, ByVal Flags As Long) As Long
Declare Function NetDfsAddStdRootForced lib "NETAPI32" (ByVal servername As String, ByVal RootShare As String, ByVal Comment As String, ByVal Store As String) As Long
Declare Function NetDfsEnum lib "NETAPI32" (ByVal DfsName As String, ByVal level As Long, ByVal prefmaxlen As Long, ByVal Buffer As String, ByRef entriesread As Long, ByRef resumehandle As Long) As Long
Declare Function NetDfsGetClientInfo lib "NETAPI32" (ByVal DfsEntryPath As String, ByVal servername As String, ByVal ShareName As String, ByVal level As Long, ByVal Buffer As String) As Long
Declare Function NetDfsGetDcAddress lib "NETAPI32" (ByVal servername As String, ByVal DcIpAddress As String, ByRef IsRoot As Long, ByRef TimeOut As Long) As Long
Declare Function NetDfsGetInfo lib "NETAPI32" (ByVal DfsEntryPath As String, ByVal servername As String, ByVal ShareName As String, ByVal level As Long, ByVal Buffer As String) As Long
Declare Function NetDfsManagerInitialize lib "NETAPI32" (ByVal servername As String, ByVal Flags As Long) As Long
Declare Function NetDfsMove lib "NETAPI32" (ByVal DfsEntryPath As String, ByVal DfsNewEntryPath As String) As Long
Declare Function NetDfsRemove lib "NETAPI32" (ByVal DfsEntryPath As String, ByVal servername As String, ByVal ShareName As String) As Long
Declare Function NetDfsRemoveFtRoot lib "NETAPI32" (ByVal servername As String, ByVal RootShare As String, ByVal FtDfsName As String, ByVal Flags As Long) As Long
Declare Function NetDfsRemoveFtRootForced lib "NETAPI32" (ByVal domainname As String, ByVal servername As String, ByVal RootShare As String, ByVal FtDfsName As String, ByVal Flags As Long) As Long
Declare Function NetDfsRemoveStdRoot lib "NETAPI32" (ByVal servername As String, ByVal RootShare As String, ByVal Flags As Long) As Long
Declare Function NetDfsRename lib "NETAPI32" (ByVal Path As String, ByVal NewPath As String) As Long
Declare Function NetDfsSetClientInfo lib "NETAPI32" (ByVal DfsEntryPath As String, ByVal servername As String, ByVal ShareName As String, ByVal level As Long, ByVal Buffer As String) As Long
Declare Function NetDfsSetInfo lib "NETAPI32" (ByVal DfsEntryPath As String, ByVal servername As String, ByVal ShareName As String, ByVal level As Long, ByVal Buffer As String) As Long
Declare Function NetErrorLogClear lib "NETAPI32" (ByVal server As String, ByVal backupfile As String, ByVal Reserved As String) As Long
Declare Function NetErrorLogRead lib "NETAPI32" (ByVal server As String, ByVal reserved1 As String, ByRef errloghandle As LPHLOG, ByVal Offset As Long, ByRef reserved2 As Long, ByVal reserved3 As Long, ByVal offsetflag As Long, ByVal bufptr As String, ByVal prefmaxlen As Long, ByRef bytesread As Long, ByRef totalbytes As Long) As Long
Declare Function NetErrorLogWrite lib "NETAPI32" (ByVal reserved1 As String, ByVal code As Long, ByVal component As String, ByVal Buffer As String, ByVal numbytes As Long, ByVal msgbuf As String, ByVal strcount As Long, ByVal reserved2 As String) As Long
Declare Function NetFileClose lib "netapi32" (ByVal lptstr As String, ByVal dword As Long) As Long
Declare Function NetFileClose2 lib "SVRAPI" (ByVal pszServer As String, ByVal ulFileId As Long) As Long
Declare Function NetFileEnum lib "netapi32" (ByVal lptstr As String, ByVal lptstr As String, ByVal lptstr As String, ByVal dword As Long, ByVal pbyte As String, ByVal dword As Long, ByRef pdword As Long, ByRef pdword As Long, ByRef pdword As Long) As Long
Declare Function NetFileGetInfo lib "netapi32" (ByVal lptstr As String, ByVal dword As Long, ByVal dword As Long, ByVal pbyte As String) As Long
Declare Function NetGetAnyDCName lib "NETAPI32" (ByVal servername As String, ByVal domainname As String, ByVal bufptr As String) As Long
Declare Function NetGetDCName lib "NETAPI32" (ByVal servername As String, ByVal domainname As String, ByVal bufptr As String) As Long
Declare Function NetGetDisplayInformationIndex lib "NETAPI32" (ByVal servername As String, ByVal level As Long, ByVal Prefix As String, ByRef index As Long) As Long
Declare Function NetGetJoinableOUs lib "NETAPI32" (ByVal lpServer As String, ByVal lpDomain As String, ByVal lpAccount As String, ByVal lpPassword As String, ByRef OUCount As Long, ByVal OUs As String) As Long
Declare Function NetGetJoinInformation lib "NETAPI32" (ByVal lpServer As String, ByVal lpNameBuffer As String, ByRef BufferType As NETSETUP_JOIN_STATUS) As Long
Declare Function NetGroupAdd lib "NETAPI32" (ByVal servername As String, ByVal level As Long, ByVal buf As String, ByRef parm_err As Long) As Long
Declare Function NetGroupAddUser lib "NETAPI32" (ByVal servername As String, ByVal groupname As String, ByVal userName As String) As Long
Declare Function NetGroupDel lib "NETAPI32" (ByVal servername As String, ByVal groupname As String) As Long
Declare Function NetGroupDelUser lib "NETAPI32" (ByVal servername As String, ByVal groupname As String, ByVal userName As String) As Long
Declare Function NetGroupEnum lib "NETAPI32" (ByVal servername As String, ByVal level As Long, ByVal bufptr As String, ByVal prefmaxlen As Long, ByRef entriesread As Long, ByRef totalentries As Long, ByRef resume_handle As OUT) As Long
Declare Function NetGroupGetInfo lib "NETAPI32" (ByVal servername As String, ByVal groupname As String, ByVal level As Long, ByVal bufptr As String) As Long
Declare Function NetGroupGetUsers lib "NETAPI32" (ByVal servername As String, ByVal groupname As String, ByVal level As Long, ByVal bufptr As String, ByVal prefmaxlen As Long, ByRef entriesread As Long, ByRef totalentries As Long, ByRef resumehandle As OUT) As Long
Declare Function NetGroupSetInfo lib "NETAPI32" (ByVal servername As String, ByVal groupname As String, ByVal level As Long, ByVal buf As String, ByRef parm_err As Long) As Long
Declare Function NetGroupSetUsers lib "NETAPI32" (ByVal servername As String, ByVal groupname As String, ByVal level As Long, ByVal buf As String, ByVal totalentries As Long) As Long
Declare Function NetJoinDomain lib "NETAPI32" (ByVal lpServer As String, ByVal lpDomain As String, ByVal lpAccountOU As String, ByVal lpAccount As String, ByVal lpPassword As String, ByVal fJoinOptions As Long) As Long
Declare Function NetLocalGroupAdd lib "NETAPI32" (ByVal servername As String, ByVal level As Long, ByVal buf As String, ByRef parm_err As Long) As Long
Declare Function NetLocalGroupAddMember lib "NETAPI32" (ByVal servername As String, ByVal groupname As String, ByRef membersid As SID) As Long
Declare Function NetLocalGroupAddMembers lib "NETAPI32" (ByVal servername As String, ByVal groupname As String, ByVal level As Long, ByVal buf As String, ByVal totalentries As Long) As Long
Declare Function NetLocalGroupDel lib "NETAPI32" (ByVal servername As String, ByVal groupname As String) As Long
Declare Function NetLocalGroupDelMember lib "NETAPI32" (ByVal servername As String, ByVal groupname As String, ByRef membersid As SID) As Long
Declare Function NetLocalGroupDelMembers lib "NETAPI32" (ByVal servername As String, ByVal groupname As String, ByVal level As Long, ByVal buf As String, ByVal totalentries As Long) As Long
Declare Function NetLocalGroupEnum lib "NETAPI32" (ByVal servername As String, ByVal level As Long, ByVal bufptr As String, ByVal prefmaxlen As Long, ByRef entriesread As Long, ByRef totalentries As Long, ByRef resumehandle As OUT) As Long
Declare Function NetLocalGroupGetInfo lib "NETAPI32" (ByVal servername As String, ByVal groupname As String, ByVal level As Long, ByVal bufptr As String) As Long
Declare Function NetLocalGroupGetMembers lib "NETAPI32" (ByVal servername As String, ByVal localgroupname As String, ByVal level As Long, ByVal bufptr As String, ByVal prefmaxlen As Long, ByRef entriesread As Long, ByRef totalentries As Long, ByRef resumehandle As OUT) As Long
Declare Function NetLocalGroupSetInfo lib "NETAPI32" (ByVal servername As String, ByVal groupname As String, ByVal level As Long, ByVal buf As String, ByRef parm_err As Long) As Long
Declare Function NetLocalGroupSetMembers lib "NETAPI32" (ByVal servername As String, ByVal groupname As String, ByVal level As Long, ByVal buf As String, ByVal totalentries As Long) As Long
Declare Function NetMessageBufferSend lib "NETAPI32" (ByVal servername As String, ByVal msgname As String, ByVal fromname As String, ByVal buf As String, ByVal buflen As Long) As Long
Declare Function NetMessageNameAdd lib "NETAPI32" (ByVal servername As String, ByVal msgname As String) As Long
Declare Function NetMessageNameDel lib "NETAPI32" (ByVal servername As String, ByVal msgname As String) As Long
Declare Function NetMessageNameEnum lib "NETAPI32" (ByVal servername As String, ByVal level As Long, ByVal bufptr As String, ByVal prefmaxlen As Long, ByRef entriesread As Long, ByRef totalentries As Long, ByRef resume_handle As Long) As Long
Declare Function NetMessageNameGetInfo lib "NETAPI32" (ByVal servername As String, ByVal msgname As String, ByVal level As Long, ByVal bufptr As String) As Long
Declare Function NetQueryDisplayInformation lib "NETAPI32" (ByVal servername As String, ByVal level As Long, ByVal index As Long, ByVal EntriesRequested As Long, ByVal PreferredMaximumLength As Long, ByRef ReturnedEntryCount As Long, SortedBuffer As Any) As Long
Declare Function NetRegisterDomainNameChangeNotification lib "NETAPI32" (ByRef NotificationEventHandle As Long) As Long
Declare Function NetRemoteComputerSupports lib "NETAPI32" (ByVal UncServerName As String, ByVal OptionsWanted As Long, ByRef OptionsSupported As Long) As Long
Declare Function NetRemoteTOD lib "NETAPI32" (ByVal UncServerName As String, ByVal BufferPtr As String) As Long
Declare Function NetRenameMachineInDomain lib "NETAPI32" (ByVal lpServer As String, ByVal lpNewMachineName As String, ByVal lpAccount As String, ByVal lpPassword As String, ByVal fRenameOptions As Long) As Long
Declare Function NetReplExportDirAdd lib "NETAPI32" (ByVal servername As String, ByVal level As Long, ByVal buf As String, ByRef parm_err As Long) As Long
Declare Function NetReplExportDirDel lib "NETAPI32" (ByVal servername As String, ByVal dirname As String) As Long
Declare Function NetReplExportDirEnum lib "NETAPI32" (ByVal servername As String, ByVal level As Long, ByVal bufptr As String, ByVal prefmaxlen As Long, ByRef entriesread As Long, ByRef totalentries As Long, ByRef resumehandle As Long) As Long
Declare Function NetReplExportDirGetInfo lib "NETAPI32" (ByVal servername As String, ByVal dirname As String, ByVal level As Long, ByVal bufptr As String) As Long
Declare Function NetReplExportDirLock lib "NETAPI32" (ByVal servername As String, ByVal dirname As String) As Long
Declare Function NetReplExportDirSetInfo lib "NETAPI32" (ByVal servername As String, ByVal dirname As String, ByVal level As Long, ByVal buf As String, ByRef parm_err As Long) As Long
Declare Function NetReplExportDirUnlock lib "NETAPI32" (ByVal servername As String, ByVal dirname As String, ByVal unlockforce As Long) As Long
Declare Function NetReplGetInfo lib "NETAPI32" (ByVal servername As String, ByVal level As Long, ByVal bufptr As String) As Long
Declare Function NetReplImportDirAdd lib "NETAPI32" (ByVal servername As String, ByVal level As Long, ByVal buf As String, ByRef parm_err As Long) As Long
Declare Function NetReplImportDirDel lib "NETAPI32" (ByVal servername As String, ByVal dirname As String) As Long
Declare Function NetReplImportDirEnum lib "NETAPI32" (ByVal servername As String, ByVal level As Long, ByVal bufptr As String, ByVal prefmaxlen As Long, ByRef entriesread As Long, ByRef totalentries As Long, ByRef resumehandle As Long) As Long
Declare Function NetReplImportDirGetInfo lib "NETAPI32" (ByVal servername As String, ByVal dirname As String, ByVal level As Long, ByVal bufptr As String) As Long
Declare Function NetReplImportDirLock lib "NETAPI32" (ByVal servername As String, ByVal dirname As String) As Long
Declare Function NetReplImportDirUnlock lib "NETAPI32" (ByVal servername As String, ByVal dirname As String, ByVal unlockforce As Long) As Long
Declare Function NetReplSetInfo lib "NETAPI32" (ByVal servername As String, ByVal level As Long, ByVal buf As String, ByRef parm_err As Long) As Long
Declare Function NetScheduleJobAdd lib "NETAPI32" (ByVal servername As String, ByVal Buffer As String, ByRef JobId As Long) As Long
Declare Function NetScheduleJobDel lib "NETAPI32" (ByVal servername As String, ByVal MinJobId As Long, ByVal MaxJobId As Long) As Long
Declare Function NetScheduleJobEnum lib "NETAPI32" (ByVal servername As String, ByVal PointerToBuffer As String, ByVal PrefferedMaximumLength As Long, ByRef entriesread As Long, ByRef totalentries As Long, ByRef resumehandle As Long) As Long
Declare Function NetScheduleJobGetInfo lib "NETAPI32" (ByVal servername As String, ByVal JobId As Long, ByVal PointerToBuffer As String) As Long
Declare Function NetSecurityGetInfo lib "SVRAPI" (ByVal pszServer As String, ByVal sLevel As Integer, ByVal pbBuffer As String, ByVal cbBuffer As Integer, ByRef pcbTotalAvail As Integer) As Long
Declare Function NetServerComputerNameAdd lib "NETAPI32" (ByRef servername As LMSTR, ByRef EmulatedDomainName As LMSTR, ByRef EmulatedServerName As LMSTR) As Long
Declare Function NetServerComputerNameDel lib "NETAPI32" (ByRef servername As LMSTR, ByRef EmulatedServerName As LMSTR) As Long
Declare Function NetServerDiskEnum lib "NETAPI32" (ByRef servername As LMSTR, ByVal level As Long, ByVal bufptr As String, ByVal prefmaxlen As Long, ByRef entriesread As Long, ByRef totalentries As Long, ByRef resume_handle As Long) As Long
Declare Function NetServerEnum lib "NETAPI32" (ByRef servername As LMCSTR, ByVal level As Long, ByVal bufptr As String, ByVal prefmaxlen As Long, ByRef entriesread As Long, ByRef totalentries As Long, ByVal servertype As Long, ByRef domain As LMCSTR, ByRef resume_handle As Long) As Long
Declare Function NetServerEnumEx lib "NETAPI32" (ByRef servername As LMCSTR, ByVal level As Long, ByVal bufptr As String, ByVal prefmaxlen As Long, ByRef entriesread As Long, ByRef totalentries As Long, ByVal servertype As Long, ByRef domain As LMCSTR, ByRef FirstNameToReturn As LMCSTR) As Long
Declare Function NetServerGetInfo lib "NETAPI32" (ByRef servername As LMSTR, ByVal level As Long, ByVal bufptr As String) As Long
Declare Function NetServerSetInfo lib "NETAPI32" (ByRef servername As LMSTR, ByVal level As Long, ByVal buf As String, ByRef ParmError As Long) As Long
Declare Function NetServerTransportAdd lib "NETAPI32" (ByRef servername As LMSTR, ByVal level As Long, ByVal bufptr As String) As Long
Declare Function NetServerTransportAddEx lib "NETAPI32" (ByRef servername As LMSTR, ByVal level As Long, ByVal bufptr As String) As Long
Declare Function NetServerTransportDel lib "NETAPI32" (ByRef servername As LMSTR, ByVal level As Long, ByVal bufptr As String) As Long
Declare Function NetServerTransportEnum lib "NETAPI32" (ByRef servername As LMSTR, ByVal level As Long, ByVal bufptr As String, ByVal prefmaxlen As Long, ByRef entriesread As Long, ByRef totalentries As Long, ByRef resumehandle As Long) As Long
Declare Function NetServiceControl lib "NETAPI32" (ByVal servername As String, ByVal service As String, ByVal opcode As Long, ByVal arg As Long, ByVal bufptr As String) As Long
Declare Function NetServiceEnum lib "NETAPI32" (ByVal servername As String, ByVal level As Long, ByVal bufptr As String, ByVal prefmaxlen As Long, ByRef entriesread As Long, ByRef totalentries As Long, ByRef resume_handle As Long) As Long
Declare Function NetServiceGetInfo lib "NETAPI32" (ByVal servername As String, ByVal service As String, ByVal level As Long, ByVal bufptr As String) As Long
Declare Function NetServiceInstall lib "NETAPI32" (ByVal servername As String, ByVal service As String, ByVal argc As Long, ByVal CommandLineArguments As String, ByVal bufptr As String) As Long
Declare Function NetSessionDel lib "netapi32" (ByVal lptstr As String, ByVal lptstr As String, ByVal lptstr As String) As Long
Declare Function NetSessionEnum lib "netapi32" (ByVal lptstr As String, ByVal lptstr As String, ByVal lptstr As String, ByVal dword As Long, ByVal pbyte As String, ByVal dword As Long, ByRef pdword As Long, ByRef pdword As Long, ByRef pdword As Long) As Long
Declare Function NetSessionGetInfo lib "netapi32" (ByVal lptstr As String, ByVal lptstr As String, ByVal lptstr As String, ByVal dword As Long, ByVal pbyte As String) As Long
Declare Function NetShareAdd lib "netapi32" (ByVal lptstr As String, ByVal dword As Long, ByVal pbyte As String, ByRef pdword As Long) As Long
Declare Function NetShareCheck lib "netapi32" (ByVal lptstr As String, ByVal lptstr As String, ByRef pdword As Long) As Long
Declare Function NetShareDel lib "netapi32" (ByVal lptstr As String, ByVal lptstr As String, ByVal dword As Long) As Long
Declare Function NetShareDelSticky lib "netapi32" (ByVal lptstr As String, ByVal lptstr As String, ByVal dword As Long) As Long
Declare Function NetShareEnum lib "netapi32" (ByVal lptstr As String, ByVal dword As Long, ByVal pbyte As String, ByVal dword As Long, ByRef pdword As Long, ByRef pdword As Long, ByRef pdword As Long) As Long
Declare Function NetShareEnumSticky lib "netapi32" (ByVal lptstr As String, ByVal dword As Long, ByVal pbyte As String, ByVal dword As Long, ByRef pdword As Long, ByRef pdword As Long, ByRef resume_handle As Long) As Long
Declare Function NetShareGetInfo lib "netapi32" (ByVal lptstr As String, ByVal lptstr As String, ByVal dword As Long, ByVal pbyte As String) As Long
Declare Function NetShareSetInfo lib "netapi32" (ByVal lptstr As String, ByVal lptstr As String, ByVal dword As Long, ByVal pbyte As String, ByRef pdword As Long) As Long
Declare Function NetStatisticsGet lib "NETAPI32" (ByRef server As LMSTR, ByRef service As LMSTR, ByVal level As Long, ByVal options As Long, ByVal bufptr As String) As Long
Declare Function NetUnjoinDomain lib "NETAPI32" (ByVal lpServer As String, ByVal lpAccount As String, ByVal lpPassword As String, ByVal fUnjoinOptions As Long) As Long
Declare Function NetUnregisterDomainNameChangeNotification lib "NETAPI32" (ByVal NotificationEventHandle As Long) As Long
Declare Function NetUseAdd lib "NETAPI32" (ByRef UncServerName As LMSTR, ByVal level As Long, ByVal buf As String, ByRef ParmError As Long) As Long
Declare Function NetUseDel lib "NETAPI32" (ByRef UncServerName As LMSTR, ByRef UseName As LMSTR, ByVal ForceCond As Long) As Long
Declare Function NetUseEnum lib "NETAPI32" (ByRef UncServerName As LMSTR, ByVal level As Long, ByVal bufptr As String, ByVal PreferedMaximumSize As Long, ByRef entriesread As Long, ByRef totalentries As Long, ByRef resumehandle As Long) As Long
Declare Function NetUseGetInfo lib "NETAPI32" (ByRef UncServerName As LMSTR, ByRef UseName As LMSTR, ByVal level As Long, ByVal bufptr As String) As Long
Declare Function NetUserAdd lib "NETAPI32" (ByVal servername As String, ByVal level As Long, ByVal buf As String, ByRef parm_err As Long) As Long
Declare Function NetUserChangePassword lib "NETAPI32" (ByVal domainname As String, ByVal userName As String, ByVal oldpassword As String, ByVal newpassword As String) As Long
Declare Function NetUserDel lib "NETAPI32" (ByVal servername As String, ByVal userName As String) As Long
Declare Function NetUserEnum lib "NETAPI32" (ByVal servername As String, ByVal level As Long, ByVal filter As Long, ByVal bufptr As String, ByVal prefmaxlen As Long, ByRef entriesread As Long, ByRef totalentries As Long, ByRef resume_handle As Long) As Long
Declare Function NetUserGetGroups lib "NETAPI32" (ByVal servername As String, ByVal userName As String, ByVal level As Long, ByVal bufptr As String, ByVal prefmaxlen As Long, ByRef entriesread As Long, ByRef totalentries As Long) As Long
Declare Function NetUserGetInfo lib "NETAPI32" (ByVal servername As String, ByVal userName As String, ByVal level As Long, ByVal bufptr As String) As Long
Declare Function NetUserGetLocalGroups lib "NETAPI32" (ByVal servername As String, ByVal userName As String, ByVal level As Long, ByVal Flags As Long, ByVal bufptr As String, ByVal prefmaxlen As Long, ByRef entriesread As Long, ByRef totalentries As Long) As Long
Declare Function NetUserLogon lib "advapi32" Alias "LogonUserA" (ByVal lpszUsername As String, ByVal lpszDomain As String, ByVal lpszPassword As String, ByVal dwLogonType As Long, ByVal dwLogonProvider As Long, phToken As Long) As Long
Declare Function NetUserModalsGet lib "NETAPI32" (ByVal servername As String, ByVal level As Long, ByVal bufptr As String) As Long
Declare Function NetUserModalsSet lib "NETAPI32" (ByVal servername As String, ByVal level As Long, ByVal buf As String, ByRef parm_err As Long) As Long
Declare Function NetUserSetGroups lib "NETAPI32" (ByVal servername As String, ByVal userName As String, ByVal level As Long, ByVal buf As String, ByVal num_entries As Long) As Long
Declare Function NetUserSetInfo lib "NETAPI32" (ByVal servername As String, ByVal userName As String, ByVal level As Long, ByVal buf As String, ByRef parm_err As Long) As Long
Declare Function NetValidateName lib "NETAPI32" (ByVal lpServer As String, ByVal lpName As String, ByVal lpAccount As String, ByVal lpPassword As String, ByVal NameType As Struct_MembersOf_NETSETUP_NAME_TYPE) As Long
Declare Function NetWkstaGetInfo lib "NETAPI32" (ByRef servername As LMSTR, ByVal level As Long, ByVal bufptr As String) As Long
Declare Function NetWkstaSetInfo lib "NETAPI32" (ByRef servername As LMSTR, ByVal level As Long, ByVal Buffer As String, ByRef parm_err As Long) As Long
Declare Function NetWkstaTransportAdd lib "NETAPI32" (ByRef servername As LMSTR, ByVal level As Long, ByVal buf As String, ByRef parm_err As Long) As Long
Declare Function NetWkstaTransportDel lib "NETAPI32" (ByRef servername As LMSTR, ByRef transportname As LMSTR, ByVal ucond As Long) As Long
Declare Function NetWkstaTransportEnum lib "NETAPI32" (ByRef servername As LMSTR, ByVal level As Long, ByVal bufptr As String, ByVal prefmaxlen As Long, ByRef entriesread As Long, ByRef totalentries As Long, ByRef resumehandle As Long) As Long
Declare Function NetWkstaUserEnum lib "NETAPI32" (ByRef servername As LMSTR, ByVal level As Long, ByVal bufptr As String, ByVal prefmaxlen As Long, ByRef entriesread As Long, ByRef totalentries As Long, ByRef resumehandle As Long) As Long
Declare Function NetWkstaUserGetInfo lib "NETAPI32" (ByRef Reserved As LMSTR, ByVal level As Long, ByVal bufptr As String) As Long
Declare Function NetWkstaUserSetInfo lib "NETAPI32" (ByRef Reserved As LMSTR, ByVal level As Long, ByVal buf As String, ByRef parm_err As Long) As Long
Declare Function NewCompressor lib "ftsrch" (ByVal iCharsetDefault As Long) As Long
Declare Function NewHiliter lib "ftsrch" (ByVal hSearch As Long) As Long
Declare Function NewIndex lib "ftsrch" (ByVal pbSourceName As String, ByVal uiTime1 As Long, ByVal uiTime2 As Long, ByVal iCharsetDefault As Long, ByVal lcidDefault As Long, ByVal fdwOptions As Long) As Long
Declare Function NewSearcher lib "ftsrch" () As Long
Declare Function NotifyAddrChange lib "IPHLPAPI" (ByRef handle As Long, ByRef overlapped As overlapped) As Long
Declare Function NotifyBootConfigStatus Lib "advapi32.dll" Alias "NotifyBootConfigStatus" (ByVal BootAcceptable As Long) As Long
Declare Function NotifyChangeEventLog Lib "advapi32.dll" Alias "NotifyChangeEventLog" (ByVal hEventLog As Long, ByVal hEvent As Long) As Long
Declare Function NotifyRouteChange lib "IPHLPAPI" (ByRef handle As Long, ByRef overlapped As overlapped) As Long
Declare Function NSPStartup lib "nwprovau" (ByVal lpProviderId As Long, ByRef lpnspRoutines As LPNSP_ROUTINE) As Long
Declare Function ntohl lib "ws2_32" (ByVal netlong As Long) As Long
Declare Function ntohs lib "ws2_32" (ByVal netshort As Integer) As Integer
Declare Function OaBuildVersion lib "oleaut32" () As Long
Declare Function ObjectCloseAuditAlarm Lib "advapi32.dll" Alias "ObjectCloseAuditAlarmA" (ByVal SubsystemName As String, HandleId As Any, ByVal GenerateOnClose As Long) As Long
Declare Function ObjectDeleteAuditAlarm lib "advapi32" Alias "ObjectDeleteAuditAlarmA" (ByVal SubsystemName As String, HandleId As Any, ByVal GenerateOnClose As Long) As Long
Declare Function ObjectOpenAuditAlarm Lib "advapi32.dll" Alias "ObjectOpenAuditAlarmA" (ByVal SubsystemName As String, HandleId As Any, ByVal ObjectTypeName As String, ByVal ObjectName As String, pSecurityDescriptor As SECURITY_DESCRIPTOR, ByVal ClientToken As Long, ByVal DesiredAccess As Long, ByVal GrantedAccess As Long, Privileges As PRIVILEGE_SET, ByVal ObjectCreation As Long, ByVal AccessGranted As Long, GenerateOnClose As Long) As Long
Declare Function ObjectPrivilegeAuditAlarm Lib "advapi32.dll" Alias "ObjectPrivilegeAuditAlarmA" (ByVal SubsystemName As String, HandleId As Any, ByVal ClientToken As Long, ByVal DesiredAccess As Long, Privileges As PRIVILEGE_SET, ByVal AccessGranted As Long) As Long
Declare Function ODBCGetTryWaitValue lib "ODBC32" () As Long
Declare Function ODBCSetTryWaitValue lib "ODBC32" (ByVal dwValue As Long) As Long
Declare Function OemKeyScan Lib "user32" Alias "OemKeyScan" (ByVal wOemChar As Integer) As Long
Declare Function OemToChar Lib "user32" Alias "OemToCharA" (ByVal lpszSrc As String, ByVal lpszDst As String) As Long
Declare Function OemToCharBuff Lib "user32" Alias "OemToCharBuffA" (ByVal lpszSrc As String, ByVal lpszDst As String, ByVal cchDstLength As Long) As Long
Declare Function OfflineClusterGroup lib "clusapi" (ByRef hGroup As hGroup) As Long
Declare Function OfflineClusterResource lib "clusapi" (ByRef hResource As hResource) As Long
Declare Function OffsetClipRgn Lib "gdi32" Alias "OffsetClipRgn" (ByVal hdc As Long, ByVal x As Long, ByVal y As Long) As Long
Declare Function OffsetRect Lib "user32" Alias "OffsetRect" (lpRect As RECT, ByVal x As Long, ByVal y As Long) As Long
Declare Function OffsetRgn Lib "gdi32" Alias "OffsetRgn" (ByVal hRgn As Long, ByVal x As Long, ByVal y As Long) As Long
Declare Function OffsetViewportOrgEx Lib "gdi32" Alias "OffsetViewportOrgEx" (ByVal hdc As Long, ByVal nX As Long, ByVal nY As Long, lpPoint As POINTAPI) As Long
Declare Function OffsetWindowOrgEx Lib "gdi32" Alias "OffsetWindowOrgEx" (ByVal hdc As Long, ByVal nX As Long, ByVal nY As Long, lpPoint As POINTAPI) As Long
Declare Function OleActivate lib "olecli32" (ByVal lpoleobject As Long, ByVal uint As Long, ByVal bool As Long, ByVal bool As Long, ByVal hwnd As Long, ByRef pRect As RECT) As OLESTATUS
Declare Function OleBlockServer lib "olesvr32" (ByVal lhserver As Long) As OLESTATUS
Declare Function OleBuildVersion lib "ole32" () As Long
Declare Function OleClone lib "olecli32" (ByVal lpoleobject As Long, ByRef TLPOLECLIENT As LPOLECLIENT, ByVal lhclientdoc As Long, ByVal lpcstr As String, ByVal lpoleobject As Long) As OLESTATUS
Declare Function OleClose lib "olecli32" (ByVal lpoleobject As Long) As OLESTATUS
Declare Function OleCopyFromLink lib "olecli32" (ByVal lpoleobject As Long, ByVal lpcstr As String, ByRef TLPOLECLIENT As LPOLECLIENT, ByVal lhclientdoc As Long, ByVal lpcstr As String, ByVal lpoleobject As Long) As OLESTATUS
Declare Function OleCopyToClipboard lib "olecli32" (ByVal lpoleobject As Long) As OLESTATUS
Declare Function OleCreateFromClip lib "olecli32" (ByVal lpcstr As String, ByRef TLPOLECLIENT As LPOLECLIENT, ByVal lhclientdoc As Long, ByVal lpcstr As String, ByVal lpoleobject As Long, ByVal pOleopt_render As Struct_MembersOf_OLEOPT_RENDER, ByVal oleclipformat As Integer) As OLESTATUS
Declare Function OleCreateFromTemplate lib "olecli32" (ByVal lpcstr As String, ByRef TLPOLECLIENT As LPOLECLIENT, ByVal lpcstr As String, ByVal lhclientdoc As Long, ByVal lpcstr As String, ByVal lpoleobject As Long, ByVal pOleopt_render As Struct_MembersOf_OLEOPT_RENDER, ByVal oleclipformat As Integer) As OLESTATUS
Declare Function OleCreateInvisible lib "olecli32" (ByVal lpcstr As String, ByRef TLPOLECLIENT As LPOLECLIENT, ByVal lpcstr As String, ByVal lhclientdoc As Long, ByVal lpcstr As String, ByVal lpoleobject As Long, ByVal pOleopt_render As Struct_MembersOf_OLEOPT_RENDER, ByVal oleclipformat As Integer, ByVal bool As Long) As OLESTATUS
Declare Function OleCreateLinkFromClip lib "olecli32" (ByVal lpcstr As String, ByRef TLPOLECLIENT As LPOLECLIENT, ByVal lhclientdoc As Long, ByVal lpcstr As String, ByVal lpoleobject As Long, ByVal pOleopt_render As Struct_MembersOf_OLEOPT_RENDER, ByVal oleclipformat As Integer) As OLESTATUS
Declare Function OleCreateLinkFromFile lib "olecli32" (ByVal lpcstr As String, ByRef TLPOLECLIENT As LPOLECLIENT, ByVal lpcstr As String, ByVal lpcstr As String, ByVal lpcstr As String, ByVal lhclientdoc As Long, ByVal lpcstr As String, ByVal lpoleobject As Long, ByVal pOleopt_render As Struct_MembersOf_OLEOPT_RENDER, ByVal oleclipformat As Integer) As OLESTATUS
Declare Function OleCreateMenuDescriptor lib "ole32" (ByVal hmenuCombined As Long, ByVal lpMenuWidths As Long) As Long
Declare Function OleDelete lib "olecli32" (ByVal lpoleobject As Long) As OLESTATUS
Declare Function OleDuplicateData lib "ole32" (ByVal hSrc As Long, ByVal cfFormat As Integer, ByVal uiFlags As Long) As Long
Declare Function OleEnumFormats lib "olecli32" (ByVal lpoleobject As Long, ByVal oleclipformat As Integer) As Integer
Declare Function OleEnumObjects lib "olecli32" (ByVal lhclientdoc As Long, ByVal lpoleobject As Long) As OLESTATUS
Declare Function OleEqual lib "olecli32" (ByVal lpoleobject As Long, ByVal lpoleobject As Long) As OLESTATUS
Declare Function OleExecute lib "olecli32" (ByVal lpoleobject As Long, ByVal hglobal As Long, ByVal uint As Long) As OLESTATUS
Declare Function OleGetData lib "olecli32" (ByVal lpoleobject As Long, ByVal oleclipformat As Integer, ByRef pHandle As Long) As OLESTATUS
Declare Function OleGetIconOfClass lib "ole32" (ByVal rclsid As Long, ByVal lpszLabel As String, ByVal fUseTypeAsLabel As Long) As Long
Declare Function OleGetIconOfFile lib "ole32" (ByVal lpszPath As String, ByVal fUseFileAsLabel As Long) As Long
Declare Function OleGetLinkUpdateOptions lib "olecli32" (ByVal lpoleobject As Long, ByRef pOleopt_update As OLEOPT_UPDATE) As OLESTATUS
Declare Function OleIconToCursor lib "oleaut32" (ByVal hinstExe As Long, ByVal hIcon As Long) As Long
Declare Function OleIsDcMeta lib "olecli32" (ByVal hdc As Long) As Long
Declare Function OleIsRunning lib "ole32" (ByVal pObject As Long) As Long
Declare Function OleLockServer lib "olecli32" (ByVal lpoleobject As Long, ByRef pLhserver As Long) As OLESTATUS
Declare Function OleMetafilePictFromIconAndLabel lib "ole32" (ByVal hIcon As Long, ByVal lpszLabel As String, ByVal lpszSourceFile As String, ByVal iIconIndex As Long) As Long
Declare Function OleObjectConvert lib "olecli32" (ByVal lpoleobject As Long, ByVal lpcstr As String, ByRef TLPOLECLIENT As LPOLECLIENT, ByVal lhclientdoc As Long, ByVal lpcstr As String, ByVal lpoleobject As Long) As OLESTATUS
Declare Function OleQueryBounds lib "olecli32" (ByVal lpoleobject As Long, ByRef pRect As RECT) As OLESTATUS
Declare Function OleQueryClientVersion lib "olecli32" () As Long
Declare Function OleQueryCreateFromClip lib "olecli32" (ByVal lpcstr As String, ByVal pOleopt_render As Struct_MembersOf_OLEOPT_RENDER, ByVal oleclipformat As Integer) As OLESTATUS
Declare Function OleQueryLinkFromClip lib "olecli32" (ByVal lpcstr As String, ByVal pOleopt_render As Struct_MembersOf_OLEOPT_RENDER, ByVal oleclipformat As Integer) As OLESTATUS
Declare Function OleQueryName lib "olecli32" (ByVal lpoleobject As Long, ByVal lpstr As String, ByRef pUint As Long) As OLESTATUS
Declare Function OleQueryOpen lib "olecli32" (ByVal lpoleobject As Long) As OLESTATUS
Declare Function OleQueryOutOfDate lib "olecli32" (ByVal lpoleobject As Long) As OLESTATUS
Declare Function OleQueryReleaseError lib "olecli32" (ByVal lpoleobject As Long) As OLESTATUS
Declare Function OleQueryReleaseMethod lib "olecli32" (ByVal lpoleobject As Long) As OLE_RELEASE_METHOD
Declare Function OleQueryReleaseStatus lib "olecli32" (ByVal lpoleobject As Long) As OLESTATUS
Declare Function OleQueryServerVersion lib "olesvr32" () As Long
Declare Function OleQuerySize lib "olecli32" (ByVal lpoleobject As Long, ByRef pDword As Long) As OLESTATUS
Declare Function OleQueryType lib "olecli32" (ByVal lpoleobject As Long, ByRef pLong As Long) As OLESTATUS
Declare Function OleReconnect lib "olecli32" (ByVal lpoleobject As Long) As OLESTATUS
Declare Function OleRegisterClientDoc lib "olecli32" (ByVal lpcstr As String, ByVal lpcstr As String, ByVal lLong As Long, ByRef pLhclientdoc As Long) As OLESTATUS
Declare Function OleRegisterServer lib "olesvr32" (ByVal lpcstr As String, ByRef lpoleserver As OLESERVER, ByRef pLhserver As Long, ByVal hinstance As Long, ByVal pOle_server_use As Struct_MembersOf_OLE_SERVER_USE) As OLESTATUS
Declare Function OleRegisterServerDoc lib "olesvr32" (ByVal lhserver As Long, ByVal lpcstr As String, ByRef lpoleserverdoc As OLESERVERDOC, ByRef pLhserverdoc As Long) As OLESTATUS
Declare Function OleRelease lib "olecli32" (ByVal lpoleobject As Long) As OLESTATUS
Declare Function OleRename lib "olecli32" (ByVal lpoleobject As Long, ByVal lpcstr As String) As OLESTATUS
Declare Function OleRenameClientDoc lib "olecli32" (ByVal lhclientdoc As Long, ByVal lpcstr As String) As OLESTATUS
Declare Function OleRenameServerDoc lib "olesvr32" (ByVal lhserverdoc As Long, ByVal lpcstr As String) As OLESTATUS
Declare Function OleRequestData lib "olecli32" (ByVal lpoleobject As Long, ByVal oleclipformat As Integer) As OLESTATUS
Declare Function OleRevertClientDoc lib "olecli32" (ByVal lhclientdoc As Long) As OLESTATUS
Declare Function OleRevertServerDoc lib "olesvr32" (ByVal lhserverdoc As Long) As OLESTATUS
Declare Function OleRevokeClientDoc lib "olecli32" (ByVal lhclientdoc As Long) As OLESTATUS
Declare Function OleRevokeObject lib "olesvr32" (ByRef TLPOLECLIENT As LPOLECLIENT) As OLESTATUS
Declare Function OleRevokeServer lib "olesvr32" (ByVal lhserver As Long) As OLESTATUS
Declare Function OleRevokeServerDoc lib "olesvr32" (ByVal lhserverdoc As Long) As OLESTATUS
Declare Function OleSavedClientDoc lib "olecli32" (ByVal lhclientdoc As Long) As OLESTATUS
Declare Function OleSavedServerDoc lib "olesvr32" (ByVal lhserverdoc As Long) As OLESTATUS
Declare Function OleSetBounds lib "olecli32" (ByVal lpoleobject As Long, ByRef pRect As RECT) As OLESTATUS
Declare Function OleSetColorScheme lib "olecli32" (ByVal lpoleobject As Long, ByRef pLogpalette As LOGPALETTE) As OLESTATUS
Declare Function OleSetData lib "olecli32" (ByVal lpoleobject As Long, ByVal oleclipformat As Integer, ByVal handle As Long) As OLESTATUS
Declare Function OleSetHostNames lib "olecli32" (ByVal lpoleobject As Long, ByVal lpcstr As String, ByVal lpcstr As String) As OLESTATUS
Declare Function OleSetLinkUpdateOptions lib "olecli32" (ByVal lpoleobject As Long, ByVal pOleopt_update As Struct_MembersOf_OLEOPT_UPDATE) As OLESTATUS
Declare Function OleSetTargetDevice lib "olecli32" (ByVal lpoleobject As Long, ByVal hglobal As Long) As OLESTATUS
Declare Function OleTranslateColor lib "oleaut32" (ByVal lOleColor As Long, ByVal lHPalette As Long, lColorRef As Long) As Long
Declare Function OleUIAddVerbMenu lib "oledlg" Alias "OleUIAddVerbMenuA" (ByVal lpOleObj As Long, ByVal lpszShortType As String, ByVal hMenu As Long, ByVal uPos As Long, ByVal uIDVerbMin As Long, ByVal uIDVerbMax As Long, ByVal bAddConvert As Long, ByVal idConvert As Long, ByRef lphMenu As Long) As Long
Declare Function OleUIBusy lib "oledlg" Alias "OleUIBusyA" (ByRef TLPOLEUIBUSYA As OLEUIBUSYA) As Long
Declare Function OleUICanConvertOrActivateAs lib "oledlg" (ByVal rClsid As Long, ByVal fIsLinkedObject As Long, ByVal wFormat As Integer) As Long
Declare Function OleUIChangeIcon lib "oledlg" Alias "OleUIChangeIconA" (ByRef TLPOLEUICHANGEICONA As OLEUICHANGEICONA) As Long
Declare Function OleUIChangeSource lib "oledlg" Alias "OleUIChangeSourceA" (ByRef TLPOLEUICHANGESOURCEA As OLEUICHANGESOURCEA) As Long
Declare Function OleUIConvert lib "oledlg" Alias "OleUIConvertA" (ByRef TLPOLEUICONVERTA As OLEUICONVERTA) As Long
Declare Function OleUIEditLinks lib "oledlg" Alias "OleUIEditLinksA" (ByRef TLPOLEUIEDITLINKSA As OLEUIEDITLINKSA) As Long
Declare Function OleUIInsertObject lib "oledlg" Alias "OleUIInsertObjectA" (ByRef TLPOLEUIINSERTOBJECTA As OLEUIINSERTOBJECTA) As Long
Declare Function OleUIObjectProperties lib "oledlg" Alias "OleUIObjectPropertiesA" (ByRef TLPOLEUIOBJECTPROPSA As OLEUIOBJECTPROPSA) As Long
Declare Function OleUIPasteSpecial lib "oledlg" Alias "OleUIPasteSpecialA" (ByRef TLPOLEUIPASTESPECIALA As OLEUIPASTESPECIALA) As Long
Declare Function OleUIPromptUser lib "oledlg" Alias "OleUIPromptUserA" (ByVal nTemplate As Long, ByVal hwndParent As Long, OptionalArguments As Any) As Long
Declare Function OleUIUpdateLinks lib "oledlg" Alias "OleUIUpdateLinksA" (ByVal lpOleUILinkCntr As Long, ByVal hwndParent As Long, ByVal lpszTitle As String, ByVal cLinks As Long) As Long
Declare Function OleUnblockServer lib "olesvr32" (ByVal lhserver As Long, ByRef pBool As Long) As OLESTATUS
Declare Function OleUnlockServer lib "olecli32" (ByVal lhserver As Long) As OLESTATUS
Declare Function OleUpdate lib "olecli32" (ByVal lpoleobject As Long) As OLESTATUS
Declare Function OnlineClusterGroup lib "clusapi" (ByRef hGroup As hGroup, ByRef hDestinationNode As Long) As Long
Declare Function OnlineClusterResource lib "clusapi" (ByRef hResource As hResource) As Long
Declare Function OpenBackupEventLog Lib "advapi32.dll" Alias "OpenBackupEventLogA" (ByVal lpUNCServerName As String, ByVal lpFileName As String) As Long
Declare Function OpenClipboard Lib "user32" Alias "OpenClipboard" (ByVal hwnd As Long) As Long
Declare Function OpenDesktop Lib "user32" Alias "OpenDesktopA" (ByVal lpszDesktop As String, ByVal dwFlags As Long, ByVal fInherit As Long, ByVal dwDesiredAccess As Long) As Long
Declare Function OpenDialog lib "ftsrch" (ByVal hsrch As Long, ByVal hwndParent As Long) As Long
Declare Function OpenDriver Lib "winmm.dll" Alias "OpenDriverA" (ByVal szDriverName As String, ByVal szSectionName As String, ByVal lParam2 As Long) As Long
Declare Function OpenEncryptedFileRaw lib "advapi32" Alias "OpenEncryptedFileRawA" (ByVal lpFileName As String, ByVal ulFlags As Long, pvContext As Any) As Long
Declare Function OpenEvent Lib "kernel32" Alias "OpenEventA" (ByVal dwDesiredAccess As Long, ByVal bInheritHandle As Long, ByVal lpName As String) As Long
Declare Function OpenEventLog Lib "advapi32.dll" Alias "OpenEventLogA" (ByVal lpUNCServerName As String, ByVal lpSourceName As String) As Long
Declare Function OpenFile Lib "kernel32" Alias "OpenFile" (ByVal lpFileName As String, lpReOpenBuff As OFSTRUCT, ByVal wStyle As Long) As Long
Declare Function OpenFileMapping Lib "kernel32" Alias "OpenFileMappingA" (ByVal dwDesiredAccess As Long, ByVal bInheritHandle As Long, ByVal lpName As String) As Long
Declare Function OpenIcon Lib "user32" Alias "OpenIcon" (ByVal hwnd As Long) As Long
Declare Function OpenIndex lib "ftsrch" (ByVal hsrch As Long, ByVal pszIndexFileName As String, ByVal pbSourceName As String, ByRef pcbSourceNameLimit As Long, ByRef pTime1 As Long, ByRef pTime2 As Long) As Long
Declare Function OpenINFEngine lib "advpack" (ByVal pszInfFilename As String, ByVal pszInstallSection As String, ByVal dwFlags As Long, ByRef phInf As Long, pvReserved As Any) As Long
Declare Function OpenInputDesktop Lib "user32" Alias "OpenInputDesktop" (ByVal dwFlags As Long, ByVal fInherit As Long, ByVal dwDesiredAccess As Long) As Long
Declare Function OpenJobObject lib "kernel32" Alias "OpenJobObjectA" (ByVal dwDesiredAccess As Long, ByVal bInheritHandle As Long, ByVal lpName As String) As Long
Declare Function OpenMutex Lib "kernel32" Alias "OpenMutexA" (ByVal dwDesiredAccess As Long, ByVal bInheritHandle As Long, ByVal lpName As String) As Long
Declare Function OpenNtmsNotification lib "ntmsapi" (ByVal hSession As Long, ByVal dwType As Long) As Long
Declare Function OpenNtmsSession lib "ntmsapi" (ByVal lpServer As String, ByVal lpApplication As String, ByVal dwOptions As Long) As Long
Declare Function OpenPrinter Lib "winspool.drv" Alias "OpenPrinterA" (ByVal pPrinterName As String, phPrinter As Long, pDefault As PRINTER_DEFAULTS) As Long
Declare Function OpenProcess Lib "kernel32" Alias "OpenProcess" (ByVal dwDesiredAccess As Long, ByVal bInheritHandle As Long, ByVal dwProcessId As Long) As Long
Declare Function OpenProcessToken Lib "advapi32.dll" Alias "OpenProcessToken" (ByVal ProcessHandle As Long, ByVal DesiredAccess As Long, TokenHandle As Long) As Long
Declare Function OpenSCManager Lib "advapi32.dll" Alias "OpenSCManagerA" (ByVal lpMachineName As String, ByVal lpDatabaseName As String, ByVal dwDesiredAccess As Long) As Long
Declare Function OpenSemaphore Lib "kernel32" Alias "OpenSemaphoreA" (ByVal dwDesiredAccess As Long, ByVal bInheritHandle As Long, ByVal lpName As String) As Long
Declare Function OpenService Lib "advapi32.dll" Alias "OpenServiceA" (ByVal hSCManager As Long, ByVal lpServiceName As String, ByVal dwDesiredAccess As Long) As Long
Declare Function OpenStreamOnFile lib "mapi32" (ByVal lpAllocateBuffer As Long, ByVal lpFreeBuffer As Long, ByVal ulFlags As Long, ByVal lpszFileName As String, ByVal lpszPrefix As String, ByRef lppStream As Long) As Long
Declare Function OpenThread lib "kernel32" (ByVal dwDesiredAccess As Long, ByVal bInheritHandle As Long, ByVal dwThreadId As Long) As Long
Declare Function OpenThreadToken Lib "advapi32.dll" Alias "OpenThreadToken" (ByVal ThreadHandle As Long, ByVal DesiredAccess As Long, ByVal OpenAsSelf As Long, TokenHandle As Long) As Long
Declare Function OpenTnefStream lib "mapi32" (lpvSupport As Any, ByRef lpStream As Long, ByVal lpszStreamName As String, ByVal ulFlags As Long, ByVal lpMessage As Long, ByVal wKeyVal As Integer, ByVal lppTNEF As Long) As Long
Declare Function OpenTnefStreamEx lib "mapi32" (lpvSupport As Any, ByRef lpStream As Long, ByVal lpszStreamName As String, ByVal ulFlags As Long, ByVal lpMessage As Long, ByVal wKeyVal As Integer, ByVal lpAdressBook As Long, ByVal lppTNEF As Long) As Long
Declare Function OpenWaitableTimer Lib "kernel32" Alias "OpenWaitableTimerA" (ByVal dwDesiredAccess As Long, ByVal bInheritHandle As Long, ByVal lpName As String) As Long
Declare Function OpenWindowStation Lib "user32" Alias "OpenWindowStationA" (ByVal lpszWinSta As String, ByVal fInherit As Long, ByVal dwDesiredAccess As Long) As Long
Declare Function PackDDElParam Lib "user32" Alias "PackDDElParam" (ByVal msg As Long, ByVal uiLo As Long, ByVal uiHi As Long) As Long
Declare Function PageSetupDlg Lib "comdlg32.dll" Alias "PageSetupDlgA" (pPagesetupdlg As PAGESETUPDLG) As Long
Declare Function PaintDesktop Lib "user32" Alias "PaintDesktop" (ByVal hdc As Long) As Long
Declare Function PaintRgn Lib "gdi32" Alias "PaintRgn" (ByVal hdc As Long, ByVal hRgn As Long) As Long
Declare Function PatBlt Lib "gdi32" Alias "PatBlt" (ByVal hdc As Long, ByVal x As Long, ByVal y As Long, ByVal nWidth As Long, ByVal nHeight As Long, ByVal dwRop As Long) As Long
Declare Function PathAddBackslash lib "shlwapi" Alias "PathAddBackslashA" (ByVal pszPath As String) As Long
Declare Function PathAddExtension lib "shlwapi" Alias "PathAddExtensionA" (ByVal pszPath As String, ByVal pszExt As String) As Long
Declare Function PathAppend lib "shlwapi" Alias "PathAppendA" (ByVal pszPath As String, ByVal pMore As String) As Long
Declare Function PathBuildRoot lib "shlwapi" Alias "PathBuildRootA" (ByVal szRoot As String, ByVal iDrive As Long) As Long
Declare Function PathCanonicalize lib "shlwapi" Alias "PathCanonicalizeA" (ByVal pszBuf As String, ByVal pszPath As String) As Long
Declare Function PathCombine lib "shlwapi" Alias "PathCombineA" (ByVal szDest As String, ByVal lpszDir As String, ByVal lpszFile As String) As Long
Declare Function PathCommonPrefix lib "shlwapi" Alias "PathCommonPrefixA" (ByVal pszFile1 As String, ByVal pszFile2 As String, ByVal achPath As String) As Long
Declare Function PathCompactPath lib "shlwapi" Alias "PathCompactPathA" (ByVal hDC As Long, ByVal pszPath As String, ByVal dx As Long) As Long
Declare Function PathCompactPathEx lib "shlwapi" Alias "PathCompactPathExA" (ByVal pszOut As String, ByVal pszSrc As String, ByVal cchMax As Long, ByVal dwFlags As Long) As Long
Declare Function PathFileExists lib "shlwapi" Alias "PathFileExistsA" (ByVal pszPath As String) As Long
Declare Function PathFindExtension lib "shlwapi" Alias "PathFindExtensionA" (ByVal pszPath As String) As Long
Declare Function PathFindFileName lib "shlwapi" Alias "PathFindFileNameA" (ByVal pszPath As String) As Long
Declare Function PathFindNextComponent lib "shlwapi" Alias "PathFindNextComponentA" (ByVal pszPath As String) As Long
Declare Function PathFindOnPath lib "shlwapi" Alias "PathFindOnPathA" (ByVal pszPath As String, ByVal ppszOtherDirs As String) As Long
Declare Function PathFindSuffixArray lib "shlwapi" Alias "PathFindSuffixArrayA" (ByVal pszPath As String, ByVal apszSuffix As String, ByVal iArraySize As Long) As Long
Declare Function PathGetArgs lib "shlwapi" Alias "PathGetArgsA" (ByVal pszPath As String) As Long
Declare Function PathGetCharType lib "shlwapi" Alias "PathGetCharTypeA" (ByVal ch As Byte) As Long
Declare Function PathGetDriveNumber lib "shlwapi" Alias "PathGetDriveNumberA" (ByVal pszPath As String) As Long
Declare Function PathIsContentType lib "shlwapi" Alias "PathIsContentTypeA" (ByVal pszPath As String, ByVal pszContentType As String) As Long
Declare Function PathIsDirectory lib "shlwapi" Alias "PathIsDirectoryA" (ByVal pszPath As String) As Long
Declare Function PathIsDirectoryEmpty lib "shlwapi" Alias "PathIsDirectoryEmptyA" (ByVal pszPath As String) As Long
Declare Function PathIsFileSpec lib "shlwapi" Alias "PathIsFileSpecA" (ByVal pszPath As String) As Long
Declare Function PathIsLFNFileSpec lib "shlwapi" Alias "PathIsLFNFileSpecA" (ByVal lpName As String) As Long
Declare Function PathIsNetworkPath lib "shlwapi" Alias "PathIsNetworkPathA" (ByVal pszPath As String) As Long
Declare Function PathIsPrefix lib "shlwapi" Alias "PathIsPrefixA" (ByVal pszPrefix As String, ByVal pszPath As String) As Long
Declare Function PathIsRelative lib "shlwapi" Alias "PathIsRelativeA" (ByVal pszPath As String) As Long
Declare Function PathIsRoot lib "shlwapi" Alias "PathIsRootA" (ByVal pszPath As String) As Long
Declare Function PathIsSameRoot lib "shlwapi" Alias "PathIsSameRootA" (ByVal pszPath1 As String, ByVal pszPath2 As String) As Long
Declare Function PathIsSystemFolder lib "shlwapi" Alias "PathIsSystemFolderA" (ByVal pszPath As String, ByVal dwAttrb As Long) As Long
Declare Function PathIsUNC lib "shlwapi" Alias "PathIsUNCA" (ByVal pszPath As String) As Long
Declare Function PathIsUNCServer lib "shlwapi" Alias "PathIsUNCServerA" (ByVal pszPath As String) As Long
Declare Function PathIsUNCServerShare lib "shlwapi" Alias "PathIsUNCServerShareA" (ByVal pszPath As String) As Long
Declare Function PathIsURL lib "shlwapi" Alias "PathIsURLA" (ByVal pszPath As String) As Long
Declare Function PathMakePretty lib "shlwapi" Alias "PathMakePrettyA" (ByVal pszPath As String) As Long
Declare Function PathMakeSystemFolder lib "shlwapi" Alias "PathMakeSystemFolderA" (ByVal pszPath As String) As Long
Declare Function PathMatchSpec lib "shlwapi" Alias "PathMatchSpecA" (ByVal pszFile As String, ByVal pszSpec As String) As Long
Declare Function PathParseIconLocation lib "shlwapi" Alias "PathParseIconLocationA" (ByVal pszIconFile As String) As Long
Declare Function PathRelativePathTo lib "shlwapi" Alias "PathRelativePathToA" (ByVal pszPath As String, ByVal pszFrom As String, ByVal dwAttrFrom As Long, ByVal pszTo As String, ByVal dwAttrTo As Long) As Long
Declare Function PathRemoveBackslash lib "shlwapi" Alias "PathRemoveBackslashA" (ByVal pszPath As String) As Long
Declare Function PathRemoveFileSpec lib "shlwapi" Alias "PathRemoveFileSpecA" (ByVal pszPath As String) As Long
Declare Function PathRenameExtension lib "shlwapi" Alias "PathRenameExtensionA" (ByVal pszPath As String, ByVal pszExt As String) As Long
Declare Function PathSearchAndQualify lib "shlwapi" Alias "PathSearchAndQualifyA" (ByVal pszPath As String, ByVal pszBuf As String, ByVal cchBuf As Long) As Long
Declare Function PathSkipRoot lib "shlwapi" Alias "PathSkipRootA" (ByVal pszPath As String) As Long
Declare Function PathStripToRoot lib "shlwapi" Alias "PathStripToRootA" (ByVal pszPath As String) As Long
Declare Function PathToRegion Lib "gdi32" Alias "PathToRegion" (ByVal hdc As Long) As Long
Declare Function PathUnExpandEnvStrings lib "SHLWAPI" (ByVal pszPath As String, ByVal pszBuf As String, ByVal cchBuf As Long) As Long
Declare Function PathUnmakeSystemFolder lib "shlwapi" Alias "PathUnmakeSystemFolderA" (ByVal pszPath As String) As Long
Declare Function PauseClusterNode lib "clusapi" (ByRef hNode As hNode) As Long
Declare Function PdhIsRealTimeQuery lib "pdh" (ByRef hQuery As hQuery) As Long
Declare Function PeekConsoleInput lib "kernel32" Alias "PeekConsoleInputA" (ByVal hConsoleInput As Long, ByRef lpBuffer As PUT_RECORD, ByVal nLength As Long, ByRef lpNumberOfEventsRead As Long) As Long
Declare Function PeekMessage Lib "user32" Alias "PeekMessageA" (lpMsg As MSG, ByVal hwnd As Long, ByVal wMsgFilterMin As Long, ByVal wMsgFilterMax As Long, ByVal wRemoveMsg As Long) As Long
Declare Function PeekNamedPipe Lib "kernel32" Alias "PeekNamedPipe" (ByVal hNamedPipe As Long, lpBuffer As Any, ByVal nBufferSize As Long, lpBytesRead As Long, lpTotalBytesAvail As Long, lpBytesLeftThisMessage As Long) As Long
Declare Function phoneClose lib "tapi32" (ByVal hPhone As Long) As Long
Declare Function phoneConfigDialog lib "tapi32" (ByVal dwDeviceID As Long, ByVal hwndOwner As Long, ByVal lpszDeviceClass As String) As Long
Declare Function phoneDevSpecific lib "tapi32" (ByVal hPhone As Long, lpParams As Any, ByVal dwSize As Long) As Long
Declare Function phoneGetButtonInfo lib "tapi32" (ByVal hPhone As Long, ByVal dwButtonLampID As Long, ByRef lpButtonInfo As PHONEBUTTONINFO) As Long
Declare Function phoneGetData lib "tapi32" (ByVal hPhone As Long, ByVal dwDataID As Long, lpData As Any, ByVal dwSize As Long) As Long
Declare Function phoneGetDevCaps lib "tapi32" (ByVal hPhoneApp As Long, ByVal dwDeviceID As Long, ByVal dwAPIVersion As Long, ByVal dwExtVersion As Long, ByRef lpPhoneCaps As PHONECAPS) As Long
Declare Function phoneGetDisplay lib "tapi32" (ByVal hPhone As Long, ByRef lpDisplay As VARSTRING) As Long
Declare Function phoneGetGain lib "tapi32" (ByVal hPhone As Long, ByVal dwHookSwitchDev As Long, ByRef lpdwGain As Long) As Long
Declare Function phoneGetHookSwitch lib "tapi32" (ByVal hPhone As Long, ByRef lpdwHookSwitchDevs As Long) As Long
Declare Function phoneGetIcon lib "tapi32" (ByVal dwDeviceID As Long, ByVal lpszDeviceClass As String, ByRef lphIcon As Long) As Long
Declare Function phoneGetID lib "tapi32" (ByVal hPhone As Long, ByRef lpDeviceID As VARSTRING, ByVal lpszDeviceClass As String) As Long
Declare Function phoneGetLamp lib "tapi32" (ByVal hPhone As Long, ByVal dwButtonLampID As Long, ByRef lpdwLampMode As Long) As Long
Declare Function phoneGetMessage lib "tapi32" (ByVal hPhoneApp As Long, ByRef lpMessage As PHONEMESSAGE, ByVal dwTimeout As Long) As Long
Declare Function phoneGetRing lib "tapi32" (ByVal hPhone As Long, ByRef lpdwRingMode As Long, ByRef lpdwVolume As Long) As Long
Declare Function phoneGetStatus lib "tapi32" (ByVal hPhone As Long, ByRef lpPhoneStatus As PHONESTATUS) As Long
Declare Function phoneGetStatusMessages lib "tapi32" (ByVal hPhone As Long, ByRef lpdwPhoneStates As Long, ByRef lpdwButtonModes As Long, ByRef lpdwButtonStates As Long) As Long
Declare Function phoneGetVolume lib "tapi32" (ByVal hPhone As Long, ByVal dwHookSwitchDev As Long, ByRef lpdwVolume As Long) As Long
Declare Function phoneInitialize lib "tapi32" (ByRef lphPhoneApp As Long, ByVal hInstance As Long, ByVal lpfnCallback As Long, ByVal lpszAppName As String, ByRef lpdwNumDevs As Long) As Long
Declare Function phoneInitializeEx lib "tapi32" Alias "phoneInitializeExA" (ByRef lphPhoneApp As Long, ByVal hInstance As Long, ByVal lpfnCallback As Long, ByVal lpszFriendlyAppName As String, ByRef lpdwNumDevs As Long, ByRef lpdwAPIVersion As Long, ByRef lpPhoneInitializeExParams As PHONEINITIALIZEEXPARAMS) As Long
Declare Function phoneNegotiateAPIVersion lib "tapi32" (ByVal hPhoneApp As Long, ByVal dwDeviceID As Long, ByVal dwAPILowVersion As Long, ByVal dwAPIHighVersion As Long, ByRef lpdwAPIVersion As Long, ByRef lpExtensionID As PHONEEXTENSIONID) As Long
Declare Function phoneNegotiateExtVersion lib "tapi32" (ByVal hPhoneApp As Long, ByVal dwDeviceID As Long, ByVal dwAPIVersion As Long, ByVal dwExtLowVersion As Long, ByVal dwExtHighVersion As Long, ByRef lpdwExtVersion As Long) As Long
Declare Function phoneOpen lib "tapi32" (ByVal hPhoneApp As Long, ByVal dwDeviceID As Long, ByRef lphPhone As Long, ByVal dwAPIVersion As Long, ByVal dwExtVersion As Long, ByRef dwCallbackInstance As Long, ByVal dwPrivilege As Long) As Long
Declare Function phoneSetButtonInfo lib "tapi32" (ByVal hPhone As Long, ByVal dwButtonLampID As Long, ByRef lpButtonInfo As PHONEBUTTONINFO) As Long
Declare Function phoneSetData lib "tapi32" (ByVal hPhone As Long, ByVal dwDataID As Long, lpData As Any, ByVal dwSize As Long) As Long
Declare Function phoneSetDisplay lib "tapi32" (ByVal hPhone As Long, ByVal dwRow As Long, ByVal dwColumn As Long, ByVal lpsDisplay As String, ByVal dwSize As Long) As Long
Declare Function phoneSetGain lib "tapi32" (ByVal hPhone As Long, ByVal dwHookSwitchDev As Long, ByVal dwGain As Long) As Long
Declare Function phoneSetHookSwitch lib "tapi32" (ByVal hPhone As Long, ByVal dwHookSwitchDevs As Long, ByVal dwHookSwitchMode As Long) As Long
Declare Function phoneSetLamp lib "tapi32" (ByVal hPhone As Long, ByVal dwButtonLampID As Long, ByVal dwLampMode As Long) As Long
Declare Function phoneSetRing lib "tapi32" (ByVal hPhone As Long, ByVal dwRingMode As Long, ByVal dwVolume As Long) As Long
Declare Function phoneSetStatusMessages lib "tapi32" (ByVal hPhone As Long, ByVal dwPhoneStates As Long, ByVal dwButtonModes As Long, ByVal dwButtonStates As Long) As Long
Declare Function phoneSetVolume lib "tapi32" (ByVal hPhone As Long, ByVal dwHookSwitchDev As Long, ByVal dwVolume As Long) As Long
Declare Function phoneShutdown lib "tapi32" (ByVal hPhoneApp As Long) As Long
Declare Function Pie Lib "gdi32" Alias "Pie" (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
Declare Function PlayEnhMetaFile Lib "gdi32" Alias "PlayEnhMetaFile" (ByVal hdc As Long, ByVal hemf As Long, lpRect As RECT) As Long
Declare Function PlayEnhMetaFileRecord Lib "gdi32" Alias "PlayEnhMetaFileRecord" (ByVal hdc As Long, lpHandletable As HANDLETABLE, lpEnhMetaRecord As ENHMETARECORD, ByVal nHandles As Long) As Long
Declare Function PlayMetaFile Lib "gdi32" Alias "PlayMetaFile" (ByVal hdc As Long, ByVal hMF As Long) As Long
Declare Function PlayMetaFileRecord Lib "gdi32" Alias "PlayMetaFileRecord" (ByVal hdc As Long, ByVal lpHandletable As Long, lpMetaRecord As METARECORD, ByVal nHandles As Long) As Long
Declare Function PlaySound Lib "winmm.dll" Alias "PlaySoundA" (ByVal lpszName As String, ByVal hModule As Long, ByVal dwFlags As Long) As Long
Declare Function PlgBlt Lib "gdi32" Alias "PlgBlt" (ByVal hdcDest As Long, lpPoint As POINTAPI, ByVal hdcSrc As Long, ByVal nXSrc As Long, ByVal nYSrc As Long, ByVal nWidth As Long, ByVal nHeight As Long, ByVal hbmMask As Long, ByVal xMask As Long, ByVal yMask As Long) As Long
Declare Function PolyBezier Lib "gdi32" Alias "PolyBezier" (ByVal hdc As Long, lppt As POINTAPI, ByVal cPoints As Long) As Long
Declare Function PolyBezierTo Lib "gdi32" Alias "PolyBezierTo" (ByVal hdc As Long, lppt As POINTAPI, ByVal cCount As Long) As Long
Declare Function PolyDraw Lib "gdi32" Alias "PolyDraw" (ByVal hdc As Long, lppt As POINTAPI, lpbTypes As Byte, ByVal cCount As Long) As Long
Declare Function Polygon Lib "gdi32" Alias "Polygon" (ByVal hdc As Long, lpPoint As POINTAPI, ByVal nCount As Long) As Long
Declare Function Polyline Lib "gdi32" Alias "Polyline" (ByVal hdc As Long, lpPoint As POINTAPI, ByVal nCount As Long) As Long
Declare Function PolylineTo Lib "gdi32" Alias "PolylineTo" (ByVal hdc As Long, lppt As POINTAPI, ByVal cCount As Long) As Long
Declare Function PolyPolygon Lib "gdi32" Alias "PolyPolygon" (ByVal hdc As Long, lpPoint As POINTAPI, lpPolyCounts As Long, ByVal nCount As Long) As Long
Declare Function PolyPolyline Lib "gdi32" Alias "PolyPolyline" (ByVal hdc As Long, lppt As POINTAPI, lpdwPolyPoints As Long, ByVal cCount As Long) As Long
Declare Function PolyTextOut Lib "gdi32" Alias "PolyTextOutA" (ByVal hdc As Long, pptxt As POLYTEXT, cStrings As Long) As Long
Declare Function PostMessage Lib "user32" Alias "PostMessageA" (ByVal hwnd As Long, ByVal wMsg As Long, ByVal wParam As Long, lParam As Any) As Long
Declare Function PostMessageBynum Lib "user32" Alias "PostMessageA" (ByVal hwnd As Long, ByVal wMsg As Long, ByVal wParam As Long, ByVal lParam As Long) As Long
Declare Function PostMessageByString Lib "user32" Alias "PostMessageA" (ByVal hwnd As Long, ByVal wMsg As Long, ByVal wParam As Long, ByVal lParam As String) As Long
Declare Function PostQueuedCompletionStatus lib "kernel32" (ByVal CompletionPort As Long, ByVal dwNumberOfBytesTransferred As Long, ByRef dwCompletionKey As Long, ByRef lpOverlapped As OVERLAPPED) As Long
Declare Function PostThreadMessage Lib "user32" Alias "PostThreadMessageA" (ByVal idThread As Long, ByVal msg As Long, ByVal wParam As Long, ByVal lParam As Long) As Long
Declare Function PrepareTape Lib "kernel32" Alias "PrepareTape" (ByVal hDevice As Long, ByVal dwOperation As Long, ByVal bimmediate As Long) As Long
Declare Function PrintDlg Lib "comdlg32.dll" Alias "PrintDlgA" (pPrintdlg As PRINTDLG) As Long
Declare Function PrintDlgEx lib "comdlg32" Alias "PrintDlgExA" (ByRef TLPPRINTDLGEXA As PRINTDLGEXA) As Long
Declare Function PrinterMessageBox Lib "winspool.drv" Alias "PrinterMessageBoxA" (ByVal hPrinter As Long, ByVal error As Long, ByVal hwnd As Long, ByVal pText As String, ByVal pCaption As String, ByVal dwType As Long) As Long
Declare Function PrinterProperties Lib "winspool.drv" Alias "PrinterProperties" (ByVal hwnd As Long, ByVal hPrinter As Long) As Long
Declare Function PrintWindow lib "user32" (ByVal hWnd As Long, ByVal hdcBlt As Long, ByVal nFlags As Long) As Long
Declare Function PrivilegeCheck Lib "advapi32.dll" Alias "PrivilegeCheck" (ByVal ClientToken As Long, RequiredPrivileges As PRIVILEGE_SET, ByVal pfResult As Long) As Long
Declare Function PrivilegedServiceAuditAlarm Lib "advapi32.dll" Alias "PrivilegedServiceAuditAlarmA" (ByVal SubsystemName As String, ByVal ServiceName As String, ByVal ClientToken As Long, Privileges As PRIVILEGE_SET, ByVal AccessGranted As Long) As Long
Declare Function Process32First lib "KERNEL32" (ByVal hSnapshot As Long, ByRef lppe As LPPROCESSENTRY32) As Long
Declare Function Process32Next lib "KERNEL32" (ByVal hSnapshot As Long, ByRef lppe As LPPROCESSENTRY32) As Long
Declare Function ProcessGroupPolicyCompleted lib "userenv" (ByRef extensionId As REFGPEXTENSIONID, ByRef pAsyncHandle As ASYNCCOMPLETIONHANDLE, ByVal dwStatus As Long) As Long
Declare Function ProcessIdToSessionId lib "kernel32" (ByVal dwProcessId As Long, ByRef pSessionId As Long) As Long
Declare Function PropVariantToAdsType lib "activeds" (ByRef pVariant As Variant, ByVal dwNumVariant As Long, ByRef ppAdsValues As PADSVALUE, ByRef pdwNumValues As Long) As Long
Declare Function PtInRect Lib "user32" Alias "PtInRect" (lpRect As RECT, ByVal ptx As Long, ByVal pty As Long) As Long
Declare Function PtInRegion Lib "gdi32" Alias "PtInRegion" (ByVal hRgn As Long, ByVal x As Long, ByVal y As Long) As Long
Declare Function PtVisible Lib "gdi32" Alias "PtVisible" (ByVal hdc As Long, ByVal x As Long, ByVal y As Long) As Long
Declare Function PulseEvent Lib "kernel32" Alias "PulseEvent" (ByVal hEvent As Long) As Long
Declare Function PurgeComm Lib "kernel32" Alias "PurgeComm" (ByVal hFile As Long, ByVal dwFlags As Long) As Long
Declare Function PwdChangePassword lib "mpr" Alias "PwdChangePasswordA" (ByVal lpcRegkeyname As String, ByVal hwnd As Long, ByVal uiReserved1 As Long, ByVal uiReserved2 As Long) As Long
Declare Function QueryDosDevice Lib "kernel32" Alias "QueryDosDeviceA" (ByVal lpDeviceName As String, ByVal lpTargetPath As String, ByVal ucchMax As Long) As Long
Declare Function QueryHilites lib "ftsrch" (ByVal hhil As Long, ByVal base As Long, ByVal limit As Long, ByVal cHilites As Long, ByRef paHilites As HILITE) As Long
Declare Function QueryInformationJobObject lib "kernel32" (ByVal hJob As Long, ByRef JobObjectInformationClass As JOBOBJECTINFOCLASS, lpJobObjectInformation As Any, ByVal cbJobObjectInformationLength As Long, ByRef lpReturnLength As Long) As Long
Declare Function QueryOptions lib "ftsrch" (ByVal hsrch As Long, ByVal iIndex As Long, ByRef pfdwOptions As Long) As Long
Declare Function QueryPerformanceCounter Lib "kernel32" Alias "QueryPerformanceCounter" (lpPerformanceCount As LARGE_INTEGER) As Long
Declare Function QueryPerformanceFrequency Lib "kernel32" Alias "QueryPerformanceFrequency" (lpFrequency As LARGE_INTEGER) As Long
Declare Function QueryRecoveryAgentsOnEncryptedFile lib "advapi32" (ByVal lpFileName As String, ByRef pRecoveryAgents As PENCRYPTION_CERTIFICATE_HASH_LIST) As Long
Declare Function QueryServiceConfig Lib "advapi32.dll" Alias "QueryServiceConfigA" (ByVal hService As Long, lpServiceConfig As QUERY_SERVICE_CONFIG, ByVal cbBufSize As Long, pcbBytesNeeded As Long) As Long
Declare Function QueryServiceConfig2 lib "ADVAPI32" (ByVal hService As Long, ByVal dwInfoLevel As Long, ByVal lpBuffer As String, ByVal cbBufSize As Long, ByRef pcbBytesNeeded As Long) As Long
Declare Function QueryServiceLockStatus Lib "advapi32.dll" Alias "QueryServiceLockStatusA" (ByVal hSCManager As Long, lpLockStatus As QUERY_SERVICE_LOCK_STATUS, ByVal cbBufSize As Long, pcbBytesNeeded As Long) As Long
Declare Function QueryServiceObjectSecurity Lib "advapi32.dll" Alias "QueryServiceObjectSecurity" (ByVal hService As Long, ByVal dwSecurityInformation As Long, lpSecurityDescriptor As Any, ByVal cbBufSize As Long, pcbBytesNeeded As Long) As Long
Declare Function QueryServiceStatus Lib "advapi32.dll" Alias "QueryServiceStatus" (ByVal hService As Long, lpServiceStatus As SERVICE_STATUS) As Long
Declare Function QueryServiceStatusEx lib "ADVAPI32" (ByVal hService As Long, ByVal InfoLevel As Struct_MembersOf_SC_STATUS_TYPE, ByVal lpBuffer As String, ByVal cbBufSize As Long, ByRef pcbBytesNeeded As Long) As Long
Declare Function QueryUsersOnEncryptedFile lib "advapi32" (ByVal lpFileName As String, ByRef pUsers As PENCRYPTION_CERTIFICATE_HASH_LIST) As Long
Declare Function QueryWorkingSet lib "psapi" (ByVal hProcess As Long, pv As Any, ByVal cb As Long) As Long
Declare Function QueueUserAPC lib "kernel32" (ByRef pfnAPC As PAPCFUNC, ByVal hThread As Long, ByRef dwData As Long) As Long
Declare Function QueueUserWorkItem lib "kernel32" (ByVal lFunction As Long, Context As Any, ByVal Flags As Long) As Long
Declare Function QueueWorkItem lib "rtutils" (ByRef functionptr As WORKERFUNCTION, context As Any, ByVal serviceinalertablethread As Long) As Long
Declare Function RaiseNMEvent lib "npptools" (ByVal hInstance As Long, ByVal EventType As Integer, ByVal EventID As Long, ByVal nStrings As Integer, ByVal aInsertStrs As String, lpvData As Any, ByVal dwDataSize As Long) As Long
Declare Function RasAdminFreeBuffer lib "rassapi" (Pointer As Any) As Long
Declare Function RasAdminGetErrorString lib "mprapi" (ByVal ResourceId As Long, ByRef lpszString As Byte, ByVal InBufSize As Long) As Long
Declare Function RasAdminGetUserAccountServer lib "rassapi" (ByRef lpszDomain As Byte, ByRef lpszServer As Byte, ByVal lpszUserAccountServer As String) As Long
Declare Function RasAdminGetUserParms lib "rassapi" (ByRef lpszParms As Byte, ByRef pRasUser0 As PRAS_USER_0) As Long
Declare Function RasAdminPortClearStatistics lib "rassapi" (ByRef lpszServer As Byte, ByRef lpszPort As Byte) As Long
Declare Function RasAdminPortDisconnect lib "mprapi" (ByRef lpszServer As Byte, ByRef lpszPort As Byte) As Long
Declare Function RasAdminPortEnum lib "mprapi" (ByRef lpszServer As Byte, ByRef ppRasPort0 As PRAS_PORT_0, ByRef pcEntriesRead As Integer) As Long
Declare Function RasAdminPortGetInfo lib "mprapi" (ByRef lpszServer As Byte, ByRef lpszPort As Byte, ByRef pRasPort1 As RAS_PORT_1, ByRef pRasStats As RAS_PORT_STATISTICS, ByRef ppRasParams As RAS_PARAMETERS) As Long
Declare Function RasAdminServerGetInfo lib "rassapi" (ByRef lpszServer As Byte, ByRef pRasServer0 As PRAS_SERVER_0) As Long
Declare Function RasAdminSetUserParms lib "rassapi" (ByRef lpszParms As Byte, ByVal cchNewParms As Long, ByRef pRasUser0 As PRAS_USER_0) As Long
Declare Function RasAdminUserGetInfo lib "mprapi" (ByRef lpszUserAccountServer As Byte, ByRef lpszUser As Byte, ByRef pRasUser0 As PRAS_USER_0) As Long
Declare Function RasAdminUserSetInfo lib "mprapi" (ByRef lpszUserAccountServer As Byte, ByRef lpszUser As Byte, ByRef pRasUser0 As Long) As Long
Declare Function RasClearConnectionStatistics lib "rasapi32" (ByVal hRasConn As Long) As Long
Declare Function RasClearLinkStatistics lib "rasapi32" (ByVal hRasConn As Long, ByVal dwSubEntry As Long) As Long
Declare Function RasConnectionNotification lib "rasapi32" Alias "RasConnectionNotificationA" (ByVal hrasconn As Long, ByVal handle As Long, ByVal dword As Long) As Long
Declare Function RasCreatePhonebookEntry lib "rasapi32" Alias "RasCreatePhonebookEntryA" (ByVal hwnd As Long, ByVal lpcstr As String) As Long
Declare Function RasDeleteEntry lib "rasapi32" Alias "RasDeleteEntryA" (ByVal lpcstr As String, ByVal lpcstr As String) As Long
Declare Function RasDial lib "rasapi32" Alias "RasDialA" (ByRef lprasdialextensions As RASDIALEXTENSIONS, ByVal lpcstr As String, ByRef lprasdialparamsa As RASDIALPARAMS, ByVal dword As Long, lpvoid As Any, ByRef lphrasconn As Long) As Long
Declare Function RasDialDlg lib "rasdlg" (ByVal lpszPhonebook As String, ByVal lpszEntry As String, ByVal lpszPhoneNumber As String, ByRef lpInfo As LPRASDIALDLG) As Long
Declare Function RasEapFreeMemory lib "rastls" (ByVal pMemory As String) As Long
Declare Function RasEapGetIdentity lib "rastls" (ByVal dwEapTypeId As Long, ByVal hWndParent As Long, ByVal dwFlags As Long, ByRef pwszPhonebook As Byte, ByRef pwszEntry As Byte, ByVal pConnectionDataIn As String, ByVal dwSizeOfConnectionDataIn As Long, ByVal pUserDataIn As String, ByVal dwSizeOfUserDataIn As Long, ByVal ppUserDataOut As String, ByRef pdwSizeOfUserDataOut As Long, ByRef ppwszIdentity As Byte) As Long
Declare Function RasEapGetInfo lib "raschap" (ByVal dwEapTypeId As Long, ByRef pEapInfo As PPP_EAP_INFO) As Long
Declare Function RasEapInvokeConfigUI lib "rastls" (ByVal dwEapTypeId As Long, ByVal hWndParent As Long, ByVal dwFlags As Long, ByVal pConnectionDataIn As String, ByVal dwSizeOfConnectionDataIn As Long, ByVal ppConnectionDataOut As String, ByRef pdwSizeOfConnectionDataOut As Long) As Long
Declare Function RasEapInvokeInteractiveUI lib "rastls" (ByVal dwEapTypeId As Long, ByVal hWndParent As Long, ByVal pUIContextData As String, ByVal dwSizeOfUIContextData As Long, ByVal ppDataFromInteractiveUI As String, ByRef pdwSizeOfDataFromInteractiveUI As Long) As Long
Declare Function RasEditPhonebookEntry lib "rasapi32" Alias "RasEditPhonebookEntryA" (ByVal hwnd As Long, ByVal lpcstr As String, ByVal lpcstr As String) As Long
Declare Function RasEntryDlg lib "rasdlg" (ByVal lpszPhonebook As String, ByVal lpszEntry As String, ByRef lpInfo As LPRASENTRYDLGA) As Long
Declare Function RasEnumAutodialAddresses lib "rasapi32" Alias "RasEnumAutodialAddressesA" (ByVal lpstr As String, ByRef lpdword As Long, ByRef lpdword As Long) As Long
Declare Function RasEnumConnections lib "rasapi32" Alias "RasEnumConnectionsA" (ByRef lprasconna As RASCONN, ByRef lpdword As Long, ByRef lpdword As Long) As Long
Declare Function RasEnumDevices lib "rasapi32" Alias "RasEnumDevicesA" (ByRef TLPRASDEVINFOA As RASDEVINFOA, ByRef lpdword As Long, ByRef lpdword As Long) As Long
Declare Function RasEnumEntries lib "rasapi32" Alias "RasEnumEntriesA" (ByVal lpcstr As String, ByVal lpcstr As String, ByRef lprasentrynamea As RASENTRYNAME, ByRef lpdword As Long, ByRef lpdword As Long) As Long
Declare Function RasGetAutodialAddress lib "rasapi32" Alias "RasGetAutodialAddressA" (ByVal lpcstr As String, ByRef lpdword As Long, ByRef TLPRASAUTODIALENTRYA As RASAUTODIALENTRYA, ByRef lpdword As Long, ByRef lpdword As Long) As Long
Declare Function RasGetAutodialEnable lib "rasapi32" Alias "RasGetAutodialEnableA" (ByVal dword As Long, ByRef lpbool As Long) As Long
Declare Function RasGetAutodialParam lib "rasapi32" Alias "RasGetAutodialParamA" (ByVal dword As Long, lpvoid As Any, ByRef lpdword As Long) As Long
Declare Function RasGetConnectionStatistics lib "rasapi32" (ByVal hRasConn As Long, ByRef lpStatistics As RAS_STATS) As Long
Declare Function RasGetConnectStatus lib "rasapi32" Alias "RasGetConnectStatusA" (ByVal hrasconn As Long, ByRef lprasconnstatusa As RASCONNSTATUS) As Long
Declare Function RasGetCountryInfo lib "rasapi32" Alias "RasGetCountryInfoA" (ByRef TLPRASCTRYINFOA As RASCTRYINFOA, ByRef lpdword As Long) As Long
Declare Function RasGetCredentials lib "rasapi32" Alias "RasGetCredentialsA" (ByVal lpcstr As String, ByVal lpcstr As String, ByRef TLPRASCREDENTIALSA As RASCREDENTIALSA) As Long
Declare Function RasGetCustomAuthData lib "rasapi32" Alias "RasGetCustomAuthDataA" (ByVal pszPhonebook As String, ByVal pszEntry As String, ByVal pbCustomAuthData As String, ByRef pdwSizeofCustomAuthData As Long) As Long
Declare Function RasGetEapUserData lib "rasapi32" Alias "RasGetEapUserDataA" (ByVal hToken As Long, ByVal pszPhonebook As String, ByVal pszEntry As String, ByVal pbEapData As String, ByRef pdwSizeofEapData As Long) As Long
Declare Function RasGetEapUserIdentity lib "rasapi32" Alias "RasGetEapUserIdentityA" (ByVal pszPhonebook As String, ByVal pszEntry As String, ByVal fInvokeUI As Long, ByVal hwnd As Long, ByRef ppRasEapUserIdentity As RASEAPUSERIDENTITYA) As Long
Declare Function RasGetEntryDialParams lib "rasapi32" Alias "RasGetEntryDialParamsA" (ByVal lpcstr As String, ByRef lprasdialparamsa As RASDIALPARAMS, ByRef lpbool As Long) As Long
Declare Function RasGetEntryProperties lib "rasapi32" Alias "RasGetEntryPropertiesA" (ByVal lpcstr As String, ByVal lpcstr As String, ByRef TLPRASENTRYA As RASENTRYA, ByRef lpdword As Long, ByVal lpbyte As String, ByRef lpdword As Long) As Long
Declare Function RasGetErrorString lib "rasapi32" Alias "RasGetErrorStringA" (ByVal uint As Long, ByVal lpstr As String, ByVal dword As Long) As Long
Declare Function RasGetLinkStatistics lib "rasapi32" (ByVal hRasConn As Long, ByVal dwSubEntry As Long, ByRef lpStatistics As RAS_STATS) As Long
Declare Function RasGetProjectionInfo lib "rasapi32" Alias "RasGetProjectionInfoA" (ByVal hrasconn As Long, ByVal pRasprojection As Struct_MembersOf_RASPROJECTION, lpvoid As Any, ByRef lpdword As Long) As Long
Declare Function RasGetSubEntryHandle lib "rasapi32" Alias "RasGetSubEntryHandleA" (ByVal hrasconn As Long, ByVal dword As Long, ByRef lphrasconn As Long) As Long
Declare Function RasGetSubEntryProperties lib "rasapi32" Alias "RasGetSubEntryPropertiesA" (ByVal lpcstr As String, ByVal lpcstr As String, ByVal dword As Long, ByRef TLPRASSUBENTRYA As RASSUBENTRYA, ByRef lpdword As Long, ByVal lpbyte As String, ByRef lpdword As Long) As Long
Declare Function RasHangUp lib "rasapi32" Alias "RasHangUpA" (ByVal hrasconn As Long) As Long
Declare Function RasInvokeEapUI lib "rasapi32" (ByVal hrasconn As Long, ByVal dword As Long, ByRef lprasdialextensions As RASDIALEXTENSIONS, ByVal hwnd As Long) As Long
Declare Function RasMonitorDlg lib "rasdlg" (ByVal lpszDeviceName As String, ByRef lpInfo As LPRASMONITORDLG) As Long
Declare Function RasPhonebookDlg lib "rasdlg" (ByVal lpszPhonebook As String, ByVal lpszEntry As String, ByRef lpInfo As LPRASPBDLGA) As Long
Declare Function RasRenameEntry lib "rasapi32" Alias "RasRenameEntryA" (ByVal lpcstr As String, ByVal lpcstr As String, ByVal lpcstr As String) As Long
Declare Function RasSecurityDialogGetInfo lib "rasman" (ByRef hPort As hPort, ByRef pBuffer As RAS_SECURITY_INFO) As Long
Declare Function RasSecurityDialogReceive lib "rasman" (ByRef hPort As hPort, ByVal pBuffer As String, ByRef pBufferLength As Integer, ByVal TimeOut As Long, ByVal hEvent As Long) As Long
Declare Function RasSecurityDialogSend lib "rasman" (ByRef hPort As hPort, ByVal pBuffer As String, ByVal BufferLength As Integer) As Long
Declare Function RasSetAutodialAddress lib "rasapi32" Alias "RasSetAutodialAddressA" (ByVal lpcstr As String, ByVal dword As Long, ByRef TLPRASAUTODIALENTRYA As RASAUTODIALENTRYA, ByVal dword As Long, ByVal dword As Long) As Long
Declare Function RasSetAutodialEnable lib "rasapi32" Alias "RasSetAutodialEnableA" (ByVal dword As Long, ByVal bool As Long) As Long
Declare Function RasSetAutodialParam lib "rasapi32" Alias "RasSetAutodialParamA" (ByVal dword As Long, lpvoid As Any, ByVal dword As Long) As Long
Declare Function RasSetCredentials lib "rasapi32" Alias "RasSetCredentialsA" (ByVal lpcstr As String, ByVal lpcstr As String, ByRef TLPRASCREDENTIALSA As RASCREDENTIALSA, ByVal bool As Long) As Long
Declare Function RasSetCustomAuthData lib "rasapi32" Alias "RasSetCustomAuthDataA" (ByVal pszPhonebook As String, ByVal pszEntry As String, ByVal pbCustomAuthData As String, ByVal dwSizeofCustomAuthData As Long) As Long
Declare Function RasSetEapUserData lib "rasapi32" Alias "RasSetEapUserDataA" (ByVal hToken As Long, ByVal pszPhonebook As String, ByVal pszEntry As String, ByVal pbEapData As String, ByVal dwSizeofEapData As Long) As Long
Declare Function RasSetEntryDialParams lib "rasapi32" Alias "RasSetEntryDialParamsA" (ByVal lpcstr As String, ByRef lprasdialparamsa As RASDIALPARAMS, ByVal bool As Long) As Long
Declare Function RasSetEntryProperties lib "rasapi32" Alias "RasSetEntryPropertiesA" (ByVal lpcstr As String, ByVal lpcstr As String, ByRef TLPRASENTRYA As RASENTRYA, ByVal dword As Long, ByVal lpbyte As String, ByVal dword As Long) As Long
Declare Function RasSetSubEntryProperties lib "rasapi32" Alias "RasSetSubEntryPropertiesA" (ByVal lpcstr As String, ByVal lpcstr As String, ByVal dword As Long, ByRef TLPRASSUBENTRYA As RASSUBENTRYA, ByVal dword As Long, ByVal lpbyte As String, ByVal dword As Long) As Long
Declare Function RasValidateEntryName lib "rasapi32" Alias "RasValidateEntryNameA" (ByVal lpcstr As String, ByVal lpcstr As String) As Long
Declare Function ReadBlobFromFile lib "npptools" (ByRef phBlob As hBlob, ByVal pFileName As String) As Long
Declare Function ReadConsole Lib "kernel32" Alias "ReadConsoleA" (ByVal hConsoleInput As Long, lpBuffer As Any, ByVal nNumberOfCharsToRead As Long, lpNumberOfCharsRead As Long, lpReserved As Any) As Long
Declare Function ReadConsoleInput lib "kernel32" Alias "ReadConsoleInputA" (ByVal hConsoleInput As Long, ByRef lpBuffer As PUT_RECORD, ByVal nLength As Long, ByRef lpNumberOfEventsRead As Long) As Long
Declare Function ReadConsoleOutput Lib "kernel32" Alias "ReadConsoleOutputA" (ByVal hConsoleOutput As Long, lpBuffer As CHAR_INFO, dwBufferSize As COORD, dwBufferCoord As COORD, lpReadRegion As SMALL_RECT) As Long
Declare Function ReadConsoleOutputAttribute Lib "kernel32" Alias "ReadConsoleOutputAttribute" (ByVal hConsoleOutput As Long, lpAttribute As Long, ByVal nLength As Long, dwReadCoord As COORD, lpNumberOfAttrsRead As Long) As Long
Declare Function ReadConsoleOutputCharacter Lib "kernel32" Alias "ReadConsoleOutputCharacterA" (ByVal hConsoleOutput As Long, ByVal lpCharacter As String, ByVal nLength As Long, dwReadCoord As COORD, lpNumberOfCharsRead As Long) As Long
Declare Function ReadEncryptedFileRaw lib "advapi32" (ByRef pfExportCallback As PFE_EXPORT_FUNC, pvCallbackContext As Any, pvContext As Any) As Long
Declare Function ReadEventLog Lib "advapi32.dll" Alias "ReadEventLogA" (ByVal hEventLog As Long, ByVal dwReadFlags As Long, ByVal dwRecordOffset As Long, lpBuffer As EVENTLOGRECORD, ByVal nNumberOfBytesToRead As Long, pnBytesRead As Long, pnMinNumberOfBytesNeeded As Long) As Long
Declare Function ReadFile Lib "kernel32" Alias "ReadFile" (ByVal hFile As Long, lpBuffer As Any, ByVal nNumberOfBytesToRead As Long, lpNumberOfBytesRead As Long, lpOverlapped As OVERLAPPED) As Long
Declare Function ReadFileEx Lib "kernel32" Alias "ReadFileEx" (ByVal hFile As Long, lpBuffer As Any, ByVal nNumberOfBytesToRead As Long, lpOverlapped As OVERLAPPED, ByVal lpCompletionRoutine As Long) As Long
Declare Function ReadFileScatter lib "kernel32" (ByVal hFile As Long, ByRef aSegmentArray As FILE_SEGMENT_ELEMENT, ByVal nNumberOfBytesToRead As Long, ByRef lpReserved As Long, ByRef lpOverlapped As OVERLAPPED) As Long
Declare Function ReadPrinter Lib "winspool.drv" Alias "ReadPrinter" (ByVal hPrinter As Long, pBuf As Any, ByVal cdBuf As Long, pNoBytesRead As Long) As Long
Declare Function ReadProcessMemory Lib "kernel32" Alias "ReadProcessMemory" (ByVal hProcess As Long, ByVal lpBaseAddress As Long, lpBuffer As Any, ByVal nSize As Long, lpNumberOfBytesWritten As Long) As Long
Declare Function RealChildWindowFromPoint lib "user32" (ByVal hwndParent As Long, ByVal ptParentClientCoords As Struct_MembersOf_POINT) As Long
Declare Function RealGetWindowClass lib "user32" (ByVal hwnd As Long, ByVal pszType As String, ByVal cchType As Long) As Long
Declare Function RealizePalette Lib "gdi32" Alias "RealizePalette" (ByVal hdc As Long) As Long
Declare Function ReallocADsMem lib "activeds" (pOldMem As Any, ByVal cbOld As Long, ByVal cbNew As Long) As Long
Declare Function ReallocADsStr lib "activeds" (ByVal ppStr As String, ByVal pStr As String) As Long
Declare Function ReBaseImage lib "imagehlp" (ByVal CurrentImageName As String, ByVal SymbolPath As String, ByVal fReBase As Long, ByVal fRebaseSysfileOk As Long, ByVal fGoingDown As Long, ByVal CheckImageSize As Long, ByRef OldImageSize As Long, ByRef OldImageBase As Long, ByRef NewImageSize As Long, ByRef NewImageBase As Long, ByVal TimeStamp As Long) As Long
Declare Function ReBaseImage64 lib "IMAGEHLP" (ByVal CurrentImageName As String, ByVal SymbolPath As String, ByVal fReBase As Long, ByVal fRebaseSysfileOk As Long, ByVal fGoingDown As Long, ByVal CheckImageSize As Long, ByRef OldImageSize As Long, ByRef OldImageBase As ULONG64, ByRef NewImageSize As Long, ByRef NewImageBase As OUT, ByVal timeStamp As Long) As Long
Declare Function RebootCheckOnInstall lib "advpack" (ByVal hwnd As Long, ByVal pszINF As String, ByVal pszSec As String, ByVal dwReserved As Long) As Long
Declare Function Rectangle Lib "gdi32" Alias "Rectangle" (ByVal hdc As Long, ByVal X1 As Long, ByVal Y1 As Long, ByVal X2 As Long, ByVal Y2 As Long) As Long
Declare Function RectInRegion Lib "gdi32" Alias "RectInRegion" (ByVal hRgn As Long, lpRect As RECT) As Long
Declare Function RectVisible Lib "gdi32" Alias "RectVisible" (ByVal hdc As Long, lpRect As RECT) As Long
Declare Function recursiveDeleteKey lib "npptools" (ByVal hKeyParent As Long, ByVal lpszKeyChild As String) As Long
Declare Function recv lib "ws2_32" (ByVal s As Long, ByVal buf As String, ByVal lLen As Long, ByVal flags As Long) As Long
Declare Function recvfrom lib "ws2_32" (ByVal s As Long, ByVal buf As String, ByVal lLen As Long, ByVal flags As Long, ByRef from As sockaddr, ByRef fromlen As Long) As Long
Declare Function RecycleSurrogate lib "comsvcs" (ByVal lReasonCode As Long) As Long
Declare Function RedrawWindow Lib "user32" Alias "RedrawWindow" (ByVal hwnd As Long, lprcUpdate As RECT, ByVal hrgnUpdate As Long, ByVal fuRedraw As Long) As Long
Declare Function RefreshPolicy lib "userenv" (ByVal bMachine As Long) As Long
Declare Function RegCloseKey Lib "advapi32.dll" Alias "RegCloseKey" (ByVal hKey As Long) As Long
Declare Function RegConnectRegistry Lib "advapi32.dll" Alias "RegConnectRegistryA" (ByVal lpMachineName As String, ByVal hKey As Long, phkResult As Long) As Long
Declare Function RegCreateBlobKey lib "npptools" (ByVal hKey As Long, ByVal szBlobName As String, ByRef hBlob As hBlob) As Long
Declare Function RegCreateKey Lib "advapi32.dll" Alias "RegCreateKeyA" (ByVal hKey As Long, ByVal lpSubKey As String, phkResult As Long) As Long
Declare Function RegCreateKeyEx Lib "advapi32.dll" Alias "RegCreateKeyExA" (ByVal hKey As Long, ByVal lpSubKey As String, ByVal Reserved As Long, ByVal lpClass As String, ByVal dwOptions As Long, ByVal samDesired As Long, lpSecurityAttributes As SECURITY_ATTRIBUTES, phkResult As Long, lpdwDisposition As Long) As Long
Declare Function RegDeleteKey Lib "advapi32.dll" Alias "RegDeleteKeyA" (ByVal hKey As Long, ByVal lpSubKey As String) As Long
Declare Function RegDeleteValue Lib "advapi32.dll" Alias "RegDeleteValueA" (ByVal hKey As Long, ByVal lpValueName As String) As Long
Declare Function RegDisablePredefinedCache lib "ADVAPI32" () As Long
Declare Function RegEnumKey Lib "advapi32.dll" Alias "RegEnumKeyA" (ByVal hKey As Long, ByVal dwIndex As Long, ByVal lpName As String, ByVal cbName As Long) As Long
Declare Function RegEnumKeyEx Lib "advapi32.dll" Alias "RegEnumKeyExA" (ByVal hKey As Long, ByVal dwIndex As Long, ByVal lpName As String, lpcbName As Long, ByVal lpReserved As Long, ByVal lpClass As String, lpcbClass As Long, lpftLastWriteTime As FILETIME) As Long
Declare Function RegEnumValue Lib "advapi32.dll" Alias "RegEnumValueA" (ByVal hKey As Long, ByVal dwIndex As Long, ByVal lpValueName As String, lpcbValueName As Long, lpReserved As Long, lpType As Long, lpData As Byte, lpcbData As Long) As Long
Declare Function RegFlushKey Lib "advapi32.dll" Alias "RegFlushKey" (ByVal hKey As Long) As Long
Declare Function RegGetKeySecurity Lib "advapi32.dll" Alias "RegGetKeySecurity" (ByVal hKey As Long, ByVal SecurityInformation As Long, pSecurityDescriptor As SECURITY_DESCRIPTOR, lpcbSecurityDescriptor As Long) As Long
Declare Function RegInstall lib "advpack" (ByVal hm As Long, ByVal pszSection As String, ByRef pstTable As CSTRTABLE) As Long
Declare Function RegisterAnimator lib "ftsrch" (ByVal pAnimator As Long, ByVal hwndAnimator As Long) As Long
Declare Function RegisterClass Lib "user32" Alias "RegisterClassA" (Class As WNDCLASS) As Long
Declare Function RegisterClassEx Lib "user32" Alias "RegisterClassExA" (pcWndClassEx As WNDCLASSEX) As Integer
Declare Function RegisterClipboardFormat Lib "user32" Alias "RegisterClipboardFormatA" (ByVal lpString As String) As Long
Declare Function RegisterClusterNotify lib "clusapi" (ByRef hChange As hChange, ByVal dwFilterType As Long, ByVal hObject As Long, ByRef dwNotifyKey As DWORD_PTR) As Long
Declare Function RegisterCMM lib "mscms" Alias "RegisterCMMA" (ByVal pcstr As String, ByVal dword As Long, ByVal pcstr As String) As Long
Declare Function RegisterEventSource Lib "advapi32.dll" Alias "RegisterEventSourceA" (ByVal lpUNCServerName As String, ByVal lpSourceName As String) As Long
Declare Function RegisterGPNotification lib "userenv" (ByVal hEvent As Long, ByVal bMachine As Long) As Long
Declare Function RegisterHotKey Lib "user32" Alias "RegisterHotKey" (ByVal hwnd As Long, ByVal id As Long, ByVal fsModifiers As Long, ByVal vk As Long) As Long
Declare Function RegisterServiceCtrlHandler Lib "advapi32.dll" Alias "RegisterServiceCtrlHandlerA" (ByVal lpServiceName As String, ByVal lpHandlerProc As Long) As Long
Declare Function RegisterServiceCtrlHandlerEx lib "ADVAPI32" (ByVal lpServiceName As String, ByRef lpHandlerProc As LPHANDLER_FUNCTION_EX, lpContext As Any) As Long
Declare Function RegisterServiceProcess lib "kernel32" (ByVal dwProcessID As Long, ByVal dwType As Long) As Long
Declare Function RegisterWaitEventBinding lib "rtutils" (ByRef pwiWorkItem As PWT_EVENT_BINDING) As Long
Declare Function RegisterWaitEventsTimers lib "rtutils" (ByRef pLEventsToAdd As LIST_ENTRY, ByRef pLTimersToAdd As LIST_ENTRY) As Long
Declare Function RegisterWaitForSingleObject lib "kernel32" (ByRef phNewWaitObject As Long, ByVal hObject As Long, ByRef Callback As WAITORTIMERCALLBACK, Context As Any, ByVal dwMilliseconds As Long, ByVal dwFlags As Long) As Long
Declare Function RegisterWaitForSingleObjectEx lib "kernel32" (ByVal hObject As Long, ByRef Callback As WAITORTIMERCALLBACK, Context As Any, ByVal dwMilliseconds As Long, ByVal dwFlags As Long) As Long
Declare Function RegisterWindowMessage Lib "user32" Alias "RegisterWindowMessageA" (ByVal lpString As String) As Long
Declare Function RegLoadKey Lib "advapi32.dll" Alias "RegLoadKeyA" (ByVal hKey As Long, ByVal lpSubKey As String, ByVal lpFile As String) As Long
Declare Function RegNotifyChangeKeyValue Lib "advapi32.dll" Alias "RegNotifyChangeKeyValue" (ByVal hKey As Long, ByVal bWatchSubtree As Long, ByVal dwNotifyFilter As Long, ByVal hEvent As Long, ByVal fAsynchronus As Long) As Long
Declare Function RegOpenBlobKey lib "npptools" (ByVal hKey As Long, ByVal szBlobName As String, ByRef phBlob As hBlob) As Long
Declare Function RegOpenCurrentUser lib "advapi32" (ByVal samDesired As Long, ByRef phkResult As Long) As Long
Declare Function RegOpenKey Lib "advapi32.dll" Alias "RegOpenKeyA" (ByVal hKey As Long, ByVal lpSubKey As String, phkResult As Long) As Long
Declare Function RegOpenKeyEx Lib "advapi32.dll" Alias "RegOpenKeyExA" (ByVal hKey As Long, ByVal lpSubKey As String, ByVal ulOptions As Long, ByVal samDesired As Long, phkResult As Long) As Long
Declare Function RegOpenUserClassesRoot lib "advapi32" (ByVal hToken As Long, ByVal dwOptions As Long, ByVal samDesired As Long, ByRef phkResult As Long) As Long
Declare Function RegOverridePredefKey lib "advapi32" (ByVal hKey As Long, ByVal hNewHKey As Long) As Long
Declare Function RegQueryInfoKey Lib "advapi32.dll" Alias "RegQueryInfoKeyA" (ByVal hKey As Long, ByVal lpClass As String, lpcbClass As Long, ByVal lpReserved As Long, lpcSubKeys As Long, lpcbMaxSubKeyLen As Long, lpcbMaxClassLen As Long, lpcValues As Long, lpcbMaxValueNameLen As Long, lpcbMaxValueLen As Long, lpcbSecurityDescriptor As Long, lpftLastWriteTime As FILETIME) As Long
Declare Function RegQueryMultipleValues lib "advapi32" Alias "RegQueryMultipleValuesA" (ByVal hKey As Long, ByRef val_list As VALENTA, ByVal num_vals As Long, ByVal lpValueBuf As String, ByRef ldwTotsize As Long) As Long
Declare Function RegQueryValue Lib "advapi32.dll" Alias "RegQueryValueA" (ByVal hKey As Long, ByVal lpSubKey As String, ByVal lpValue As String, lpcbValue As Long) As Long
Declare Function RegQueryValueEx Lib "advapi32.dll" Alias "RegQueryValueExA" (ByVal hKey As Long, ByVal lpValueName As String, ByVal lpReserved As Long, lpType As Long, lpData As Any, lpcbData As Long) As Long
Declare Function RegReplaceKey Lib "advapi32.dll" Alias "RegReplaceKeyA" (ByVal hKey As Long, ByVal lpSubKey As String, ByVal lpNewFile As String, ByVal lpOldFile As String) As Long
Declare Function RegRestoreAll lib "advpack" (ByVal hWnd As Long, ByVal pszTitleString As String, ByVal hkBckupKey As Long) As Long
Declare Function RegRestoreKey Lib "advapi32.dll" Alias "RegRestoreKeyA" (ByVal hKey As Long, ByVal lpFile As String, ByVal dwFlags As Long) As Long
Declare Function RegSaveKey Lib "advapi32.dll" Alias "RegSaveKeyA" (ByVal hKey As Long, ByVal lpFile As String, lpSecurityAttributes As SECURITY_ATTRIBUTES) As Long
Declare Function RegSaveRestore lib "advpack" (ByVal hWnd As Long, ByVal pszTitleString As String, ByVal hkBckupKey As Long, ByVal pcszRootKey As String, ByVal pcszSubKey As String, ByVal pcszValueName As String, ByVal dwFlags As Long) As Long
Declare Function RegSaveRestoreOnINF lib "advpack" (ByVal hWnd As Long, ByVal pszTitle As String, ByVal pszINF As String, ByVal pszSection As String, ByVal hHKLMBackKey As Long, ByVal hHKCUBackKey As Long, ByVal dwFlags As Long) As Long
Declare Function RegSetKeySecurity Lib "advapi32.dll" Alias "RegSetKeySecurity" (ByVal hKey As Long, ByVal SecurityInformation As Long, pSecurityDescriptor As SECURITY_DESCRIPTOR) As Long
Declare Function RegSetValue Lib "advapi32.dll" Alias "RegSetValueA" (ByVal hKey As Long, ByVal lpSubKey As String, ByVal dwType As Long, ByVal lpData As String, ByVal cbData As Long) As Long
Declare Function RegSetValueEx Lib "advapi32.dll" Alias "RegSetValueExA" (ByVal hKey As Long, ByVal lpValueName As String, ByVal Reserved As Long, ByVal dwType As Long, lpData As Any, ByVal cbData As Long) As Long
Declare Function RegUnLoadKey Lib "advapi32.dll" Alias "RegUnLoadKeyA" (ByVal hKey As Long, ByVal lpSubKey As String) As Long
Declare Function ReleaseCapture Lib "user32" Alias "ReleaseCapture" () As Long
Declare Function ReleaseDC Lib "user32" Alias "ReleaseDC" (ByVal hwnd As Long, ByVal hdc As Long) As Long
Declare Function ReleaseMutex Lib "kernel32" Alias "ReleaseMutex" (ByVal hMutex As Long) As Long
Declare Function ReleaseNtmsCleanerSlot lib "ntmsapi" (ByVal hSession As Long, ByRef lpLibrary As LPNTMS_GUID) As Long
Declare Function ReleaseSemaphore Lib "kernel32" Alias "ReleaseSemaphore" (ByVal hSemaphore As Long, ByVal lReleaseCount As Long, lpPreviousCount As Long) As Long
Declare Function RemoveClusterResourceDependency lib "clusapi" (ByRef hResource As hResource, ByRef hDependsOn As hResource) As Long
Declare Function RemoveClusterResourceNode lib "clusapi" (ByRef hResource As hResource, ByRef hNode As hNode) As Long
Declare Function RemoveDirectory Lib "kernel32" Alias "RemoveDirectoryA" (ByVal lpPathName As String) As Long
Declare Function RemoveFontMemResourceEx lib "gdi32" (ByVal handle As Long) As Long
Declare Function RemoveFontResource Lib "gdi32" Alias "RemoveFontResourceA" (ByVal lpFileName As String) As Long
Declare Function RemoveFontResourceEx lib "gdi32" Alias "RemoveFontResourceExA" (ByVal lpcstr As String, ByVal dword As Long, ByRef DESIGNVECTOR As DESIGNVECTOR) As Long
Declare Function RemoveFromBlob lib "npptools" (ByRef hBlob As hBlob, ByVal pOwnerName As String, ByVal pCategoryName As String, ByVal pTagName As String) As Long
Declare Function RemoveMenu Lib "user32" Alias "RemoveMenu" (ByVal hMenu As Long, ByVal nPosition As Long, ByVal wFlags As Long) As Long
Declare Function RemoveProp Lib "user32" Alias "RemovePropA" (ByVal hwnd As Long, ByVal lpString As String) As Long
Declare Function RemoveUsersFromEncryptedFile lib "advapi32" (ByVal lpFileName As String, ByRef pHashes As PENCRYPTION_CERTIFICATE_HASH_LIST) As Long
Declare Function ReplaceFile lib "kernel32" (ByVal lpReplacedFileName As String, ByVal lpReplacementFileName As String, ByVal lpBackupFileName As String, ByVal dwReplaceFlags As Long, lpExclude As Any, lpReserved As Any) As Long
Declare Function ReplaceText Lib "comdlg32.dll" Alias "ReplaceTextA" (pFindreplace As FINDREPLACE) As Long
Declare Function ReplyMessage Lib "user32" Alias "ReplyMessage" (ByVal lReply As Long) As Long
Declare Function ReportEvent Lib "advapi32.dll" Alias "ReportEventA" (ByVal hEventLog As Long, ByVal wType As Long, ByVal wCategory As Long, ByVal dwEventID As Long, lpUserSid As Any, ByVal wNumStrings As Long, ByVal dwDataSize As Long, ByVal lpStrings As Long, lpRawData As Any) As Long
Declare Function RequestDeviceWakeup lib "kernel32" (ByVal hDevice As Long) As Long
Declare Function RequestWakeupLatency lib "kernel32" (ByRef latency As LATENCY_TIME) As Long
Declare Function ReserveNtmsCleanerSlot lib "ntmsapi" (ByVal hSession As Long, ByRef lpLibrary As LPNTMS_GUID, ByRef lpSlot As LPNTMS_GUID) As Long
Declare Function ResetDC Lib "gdi32" Alias "ResetDCA" (ByVal hdc As Long, lpInitData As Byte) As Long
Declare Function ResetEvent Lib "kernel32" Alias "ResetEvent" (ByVal hEvent As Long) As Long
Declare Function ResetPrinter Lib "winspool.drv" Alias "ResetPrinterA" (ByVal hPrinter As Long, pDefault As PRINTER_DEFAULTS) As Long
Declare Function ResetWriteWatch lib "kernel32" (lpBaseAddress As Any, ByRef dwRegionSize As Long) As Long
Declare Function ResizePalette Lib "gdi32" Alias "ResizePalette" (ByVal hPalette As Long, ByVal nNumEntries As Long) As Long
Declare Function RestoreClusterDatabase lib "clusapi" (ByVal lpszPathName As String, ByVal bForce As Long, ByVal lpszQuorumDriveLetter As String) As Long
Declare Function RestoreDC Lib "gdi32" Alias "RestoreDC" (ByVal hdc As Long, ByVal nSavedDC As Long) As Long
Declare Function ResumeClusterNode lib "clusapi" (ByRef hNode As hNode) As Long
Declare Function ResumeSuspendedDownload lib "wininet" (ByRef hRequest As Long, ByVal dwResultCode As Long) As Long
Declare Function ResumeThread Lib "kernel32" Alias "ResumeThread" (ByVal hThread As Long) As Long
Declare Function ResUtilAddUnknownProperties lib "resutils" (ByVal hkeyClusterKey As Long, ByRef pPropertyTable As Long, pOutPropertyList As Any, ByVal pcbOutPropertyListSize As Long, ByRef pcbBytesReturned As Long, ByRef pcbRequired As Long) As Long
Declare Function ResUtilCreateDirectoryTree lib "resutils" (ByVal pszPath As String) As Long
Declare Function ResUtilDupParameterBlock lib "resutils" (ByVal pOutParams As String, ByVal pInParams As String, ByRef pPropertyTable As Long) As Long
Declare Function ResUtilDupString lib "resutils" (ByVal pszInString As String) As Long
Declare Function ResUtilEnumPrivateProperties lib "resutils" (ByVal hkeyClusterKey As Long, ByVal pszOutProperties As String, ByVal cbOutPropertiesSize As Long, ByRef pcbBytesReturned As Long, ByRef pcbRequired As Long) As Long
Declare Function ResUtilEnumProperties lib "resutils" (ByRef pPropertyTable As Long, ByVal pszOutProperties As String, ByVal cbOutPropertiesSize As Long, ByRef pcbBytesReturned As Long, ByRef pcbRequired As Long) As Long
Declare Function ResUtilEnumResources lib "resutils" (ByRef hSelf As hResource, ByVal lpszResTypeName As String, ByRef pResCallBack As LPRESOURCE_CALLBACK, pParameter As Any) As Long
Declare Function ResUtilExpandEnvironmentStrings lib "resutils" (ByVal pszSrc As String) As Long
Declare Function ResUtilFindBinaryProperty lib "resutils" (pPropertyList As Any, ByVal cbPropertyListSize As Long, ByVal pszPropertyName As String, ByVal pbPropertyValue As String, ByRef pcbPropertyValueSize As Long) As Long
Declare Function ResUtilFindDependentDiskResourceDriveLetter lib "resutils" (ByRef hCluster As hCluster, ByRef hResource As hResource, ByVal pszDriveLetter As String, ByRef pcchDriveLetter As Long) As Long
Declare Function ResUtilFindDwordProperty lib "resutils" (pPropertyList As Any, ByVal cbPropertyListSize As Long, ByVal pszPropertyName As String, ByRef pdwPropertyValue As Long) As Long
Declare Function ResUtilFindExpandedSzProperty lib "resutils" (pPropertyList As Any, ByVal cbPropertyListSize As Long, ByVal pszPropertyName As String, ByVal pszPropertyValue As String) As Long
Declare Function ResUtilFindExpandSzProperty lib "resutils" (pPropertyList As Any, ByVal cbPropertyListSize As Long, ByVal pszPropertyName As String, ByVal pszPropertyValue As String) As Long
Declare Function ResUtilFindLongProperty lib "resutils" (pPropertyList As Any, ByVal cbPropertyListSize As Long, ByVal pszPropertyName As String, ByRef plPropertyValueSize As Long) As Long
Declare Function ResUtilFindMultiSzProperty lib "resutils" (pPropertyList As Any, ByVal cbPropertyListSize As Long, ByVal pszPropertyName As String, ByVal pszPropertyValue As String, ByRef pcbPropertyValueSize As Long) As Long
Declare Function ResUtilFindSzProperty lib "resutils" (pPropertyList As Any, ByVal cbPropertyListSize As Long, ByVal pszPropertyName As String, ByVal pszPropertyValue As String) As Long
Declare Function ResUtilFreeEnvironment lib "resutils" (lpEnvironment As Any) As Long
Declare Function ResUtilGetAllProperties lib "resutils" (ByVal hkeyClusterKey As Long, ByRef pPropertyTable As Long, pOutPropertyList As Any, ByVal cbOutPropertyListSize As Long, ByRef pcbBytesReturned As Long, ByRef pcbRequired As Long) As Long
Declare Function ResUtilGetBinaryProperty lib "resutils" (ByVal ppbOutValue As String, ByRef pcbOutValueSize As Long, ByRef pValueStruct As Long, ByVal pbOldValue As String, ByVal cbOldValueSize As Long, ByVal ppPropertyList As String, ByRef pcbPropertyListSize As Long) As Long
Declare Function ResUtilGetBinaryValue lib "resutils" (ByVal hkeyClusterKey As Long, ByVal pszValueName As String, ByVal ppbOutValue As String, ByRef pcbOutValueSize As Long) As Long
Declare Function ResUtilGetDwordProperty lib "resutils" (ByRef pdwOutValue As Long, ByRef pValueStruct As Long, ByVal dwOldValue As Long, ByVal dwMinimum As Long, ByVal dwMaximum As Long, ByVal ppPropertyList As String, ByRef pcbPropertyListSize As Long) As Long
Declare Function ResUtilGetDwordValue lib "resutils" (ByVal hkeyClusterKey As Long, ByVal pszValueName As String, ByRef pdwOutValue As Long, ByVal dwDefaultValue As Long) As Long
Declare Function ResUtilGetEnvironmentWithNetName lib "resutils" (ByRef hResource As hResource) As Long
Declare Function ResUtilGetMultiSzProperty lib "resutils" (ByVal ppszOutValue As String, ByRef pcbOutValueSize As Long, ByRef pValueStruct As Long, ByVal pszOldValue As String, ByVal cbOldValueSize As Long, ByVal ppPropertyList As String, ByRef pcbPropertyListSize As Long) As Long
Declare Function ResUtilGetPrivateProperties lib "resutils" (ByVal hkeyClusterKey As Long, pOutPropertyList As Any, ByVal cbOutPropertyListSize As Long, ByRef pcbBytesReturned As Long, ByRef pcbRequired As Long) As Long
Declare Function ResUtilGetProperties lib "resutils" (ByVal hkeyClusterKey As Long, ByRef pPropertyTable As Long, pOutPropertyList As Any, ByVal cbOutPropertyListSize As Long, ByRef pcbBytesReturned As Long, ByRef pcbRequired As Long) As Long
Declare Function ResUtilGetPropertiesToParameterBlock lib "resutils" (ByVal hkeyClusterKey As Long, ByRef pPropertyTable As Long, ByVal pOutParams As String, ByVal bCheckForRequiredProperties As Long, ByVal pszNameOfPropInError As String) As Long
Declare Function ResUtilGetProperty lib "resutils" (ByVal hkeyClusterKey As Long, ByRef pPropertyTableItem As Long, pOutPropertyItem As Any, ByRef pcbOutPropertyItemSize As Long) As Long
Declare Function ResUtilGetPropertySize lib "resutils" (ByVal hkeyClusterKey As Long, ByRef pPropertyTableItem As Long, ByRef pcbOutPropertyListSize As Long, ByRef pnPropertyCount As Long) As Long
Declare Function ResUtilGetResourceDependentIPAddressProps lib "resutils" (ByRef hResource As hResource, ByVal pszAddress As String, ByRef pcchAddress As Long, ByVal pszSubnetMask As String, ByRef pcchSubnetMask As Long, ByVal pszNetwork As String, ByRef pcchNetwork As Long) As Long
Declare Function ResUtilGetSzProperty lib "resutils" (ByVal ppszOutValue As String, ByRef pValueStruct As Long, ByVal pszOldValue As String, ByVal ppPropertyList As String, ByRef pcbPropertyListSize As Long) As Long
Declare Function ResUtilGetSzValue lib "resutils" (ByVal hkeyClusterKey As Long, ByVal pszValueName As String) As Long
Declare Function ResUtilIsPathValid lib "resutils" (ByVal pszPath As String) As Long
Declare Function ResUtilIsResourceClassEqual lib "resutils" (ByRef prci As PCLUS_RESOURCE_CLASS_INFO, ByRef hResource As hResource) As Long
Declare Function ResUtilPropertyListFromParameterBlock lib "resutils" (ByRef pPropertyTable As Long, pOutPropertyList As Any, ByRef pcbOutPropertyListSize As Long, ByVal pInParams As String, ByRef pcbBytesReturned As Long, ByRef pcbRequired As Long) As Long
Declare Function ResUtilResourcesEqual lib "resutils" (ByRef hSelf As hResource, ByRef hResource As hResource) As Long
Declare Function ResUtilResourceTypesEqual lib "resutils" (ByVal lpszResourceTypeName As String, ByRef hResource As hResource) As Long
Declare Function ResUtilSetBinaryValue lib "resutils" (ByVal hkeyClusterKey As Long, ByVal pszValueName As String, ByVal pbNewValue As String, ByVal cbNewValueSize As Long, ByVal ppbOutValue As String, ByRef pcbOutValueSize As Long) As Long
Declare Function ResUtilSetDwordValue lib "resutils" (ByVal hkeyClusterKey As Long, ByVal pszValueName As String, ByVal dwNewValue As Long, ByRef pdwOutValue As Long) As Long
Declare Function ResUtilSetExpandSzValue lib "resutils" (ByVal hkeyClusterKey As Long, ByVal pszValueName As String, ByVal pszNewValue As String, ByVal ppszOutString As String) As Long
Declare Function ResUtilSetMultiSzValue lib "resutils" (ByVal hkeyClusterKey As Long, ByVal pszValueName As String, ByVal pszNewValue As String, ByVal cbNewValueSize As Long, ByVal ppszOutValue As String, ByRef pcbOutValueSize As Long) As Long
Declare Function ResUtilSetPrivatePropertyList lib "resutils" (ByVal hkeyClusterKey As Long, pInPropertyList As Any, ByVal cbInPropertyListSize As Long) As Long
Declare Function ResUtilSetPropertyParameterBlock lib "resutils" (ByVal hkeyClusterKey As Long, ByRef pPropertyTable As Long, Reserved As Any, ByVal pInParams As String, pInPropertyList As Any, ByVal cbInPropertyListSize As Long, ByVal pOutParams As String) As Long
Declare Function ResUtilSetPropertyParameterBlockEx lib "resutils" (ByVal hkeyClusterKey As Long, ByRef pPropertyTable As Long, Reserved As Any, ByVal pInParams As String, pInPropertyList As Any, ByVal cbInPropertyListSize As Long, ByVal bForceWrite As Long, ByVal pOutParams As String) As Long
Declare Function ResUtilSetPropertyTable lib "resutils" (ByVal hkeyClusterKey As Long, ByRef pPropertyTable As Long, Reserved As Any, ByVal bAllowUnknownProperties As Long, pInPropertyList As Any, ByVal cbInPropertyListSize As Long, ByVal pOutParams As String) As Long
Declare Function ResUtilSetPropertyTableEx lib "resutils" (ByVal hkeyClusterKey As Long, ByRef pPropertyTable As Long, Reserved As Any, ByVal bAllowUnknownProperties As Long, pInPropertyList As Any, ByVal cbInPropertyListSize As Long, ByVal bForceWrite As Long, ByVal pOutParams As String) As Long
Declare Function ResUtilSetResourceServiceEnvironment lib "resutils" (ByVal pszServiceName As String, ByRef hResource As hResource, ByRef pfnLogEvent As PLOG_EVENT_ROUTINE, ByRef hResourceHandle As RESOURCE_HANDLE) As Long
Declare Function ResUtilSetResourceServiceStartParameters lib "resutils" (ByVal pszServiceName As String, ByVal schSCMHandle As Long, ByRef phService As Long, ByRef pfnLogEvent As PLOG_EVENT_ROUTINE, ByRef hResourceHandle As RESOURCE_HANDLE) As Long
Declare Function ResUtilSetSzValue lib "resutils" (ByVal hkeyClusterKey As Long, ByVal pszValueName As String, ByVal pszNewValue As String, ByVal ppszOutString As String) As Long
Declare Function ResUtilSetUnknownProperties lib "resutils" (ByVal hkeyClusterKey As Long, ByRef pPropertyTable As Long, pInPropertyList As Any, ByVal cbInPropertyListSize As Long) As Long
Declare Function ResUtilStartResourceService lib "resutils" (ByVal pszServiceName As String, ByRef phServiceHandle As Long) As Long
Declare Function ResUtilStopResourceService lib "resutils" (ByVal pszServiceName As String) As Long
Declare Function ResUtilStopService lib "resutils" (ByVal hServiceHandle As Long) As Long
Declare Function ResUtilVerifyPrivatePropertyList lib "resutils" (pInPropertyList As Any, ByVal cbInPropertyListSize As Long) As Long
Declare Function ResUtilVerifyPropertyTable lib "resutils" (ByRef pPropertyTable As Long, Reserved As Any, ByVal bAllowUnknownProperties As Long, pInPropertyList As Any, ByVal cbInPropertyListSize As Long, ByVal pOutParams As String) As Long
Declare Function ResUtilVerifyResourceService lib "resutils" (ByVal pszServiceName As String) As Long
Declare Function ResUtilVerifyService lib "resutils" (ByVal hServiceHandle As Long) As Long
Declare Function RetrieveUrlCacheEntryStream lib "wininet" Alias "RetrieveUrlCacheEntryStreamA" (ByVal lpszUrlName As String, ByRef lpCacheEntryInfo As INTERNET_CACHE_ENTRY_INFOA, ByRef lpdwCacheEntryInfoBufferSize As Long, ByVal fRandomRead As Long, ByVal dwReserved As Long) As Long
Declare Function ReuseDDElParam Lib "user32" Alias "ReuseDDElParam" (ByVal lParam As Long, ByVal msgIn As Long, ByVal msgOut As Long, ByVal uiLo As Long, ByVal uiHi As Long) As Long
Declare Function RevertToSelf Lib "advapi32.dll" Alias "RevertToSelf" () As Long
Declare Function rotl lib "CRTDLL" (ByVal lint As Long, ByVal lint As Long) As Long
Declare Function RoundRect Lib "gdi32" Alias "RoundRect" (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) As Long
Declare Function RouterGetErrorString lib "rtutils" (ByVal dwErrorCode As Long, ByVal lplpszErrorString As String) As Long
Declare Function RouterLogRegister lib "rtutils" (ByVal lpszSource As String) As Long
Declare Function RpcAsyncInitializeHandle lib "rpcrt4" (ByRef pAsync As PRPC_ASYNC_STATE, ByVal Size As Long) As Long
Declare Function RpcBindingCopy lib "rpcrt4" (ByVal SourceBinding As Long, ByRef DestinationBinding As Long) As Long
Declare Function RpcBindingFree lib "rpcrt4" (ByRef Binding As Long) As Long
Declare Function RpcBindingFromStringBinding lib "rpcrt4" Alias "RpcBindingFromStringBindingA" (ByVal StringBinding As String, ByRef Binding As Long) As Long
Declare Function RpcBindingInqAuthClient lib "rpcrt4" Alias "RpcBindingInqAuthClientA" (ByVal ClientBinding As Long, ByRef Privs As Long, ByVal ServerPrincName As String, ByRef AuthnLevel As Long, ByRef AuthnSvc As Long, ByRef AuthzSvc As Long) As Long
Declare Function RpcBindingInqAuthClientEx lib "rpcrt4" Alias "RpcBindingInqAuthClientExA" (ByVal ClientBinding As Long, ByRef Privs As Long, ByVal ServerPrincName As String, ByRef AuthnLevel As Long, ByRef AuthnSvc As Long, ByRef AuthzSvc As Long, ByVal Flags As Long) As Long
Declare Function RpcBindingInqAuthInfo lib "rpcrt4" Alias "RpcBindingInqAuthInfoA" (ByVal Binding As Long, ByVal ServerPrincName As String, ByRef AuthnLevel As Long, ByRef AuthnSvc As Long, ByRef AuthIdentity As Long, ByRef AuthzSvc As Long) As Long
Declare Function RpcBindingInqAuthInfoEx lib "rpcrt4" Alias "RpcBindingInqAuthInfoExA" (ByVal Binding As Long, ByVal ServerPrincName As String, ByRef AuthnLevel As Long, ByRef AuthnSvc As Long, ByRef AuthIdentity As Long, ByRef AuthzSvc As Long, ByVal RpcQosVersion As Long, ByRef SecurityQOS As RPC_SECURITY_QOS) As Long
Declare Function RpcBindingInqObject lib "rpcrt4" (ByVal Binding As Long, ByVal ObjectUuid As Long) As Long
Declare Function RpcBindingInqOption lib "rpcrt4" (ByVal hBinding As Long, ByVal lOption As Long, ByRef pOptionValue As Long) As Long
Declare Function RpcBindingReset lib "rpcrt4" (ByVal Binding As Long) As Long
Declare Function RpcBindingServerFromClient lib "rpcrt4" (ByVal ClientBinding As Long, ByRef ServerBinding As Long) As Long
Declare Function RpcBindingSetAuthInfo lib "rpcrt4" Alias "RpcBindingSetAuthInfoA" (ByVal Binding As Long, ByVal ServerPrincName As String, ByVal AuthnLevel As Long, ByVal AuthnSvc As Long, ByVal AuthIdentity As Long, ByVal AuthzSvc As Long) As Long
Declare Function RpcBindingSetAuthInfoEx lib "rpcrt4" Alias "RpcBindingSetAuthInfoExA" (ByVal Binding As Long, ByVal ServerPrincName As String, ByVal AuthnLevel As Long, ByVal AuthnSvc As Long, ByVal AuthIdentity As Long, ByVal AuthzSvc As Long, ByRef SecurityQos As RPC_SECURITY_QOS) As Long
Declare Function RpcBindingSetObject lib "rpcrt4" (ByVal Binding As Long, ByVal ObjectUuid As Long) As Long
Declare Function RpcBindingSetOption lib "rpcrt4" (ByVal hBinding As Long, ByVal lOption As Long, ByRef optionValue As Long) As Long
Declare Function RpcBindingToStringBinding lib "rpcrt4" Alias "RpcBindingToStringBindingA" (ByVal Binding As Long, ByVal StringBinding As String) As Long
Declare Function RpcBindingVectorFree lib "rpcrt4" (ByRef BindingVector As RPC_BINDING_VECTOR) As Long
Declare Function RpcCancelThread lib "rpcrt4" (Thread As Any) As Long
Declare Function RpcCancelThreadEx lib "rpcrt4" (Thread As Any, ByVal Timeout As Long) As Long
Declare Function RpcEpRegister lib "rpcrt4" Alias "RpcEpRegisterA" (ByVal IfSpec As Long, ByRef BindingVector As RPC_BINDING_VECTOR, ByRef UuidVector As UUID_VECTOR, ByVal Annotation As String) As Long
Declare Function RpcEpRegisterNoReplace lib "rpcrt4" Alias "RpcEpRegisterNoReplaceA" (ByVal IfSpec As Long, ByRef BindingVector As RPC_BINDING_VECTOR, ByRef UuidVector As UUID_VECTOR, ByVal Annotation As String) As Long
Declare Function RpcEpResolveBinding lib "rpcrt4" (ByVal Binding As Long, ByVal IfSpec As Long) As Long
Declare Function RpcEpUnregister lib "rpcrt4" (ByVal IfSpec As Long, ByRef BindingVector As RPC_BINDING_VECTOR, ByRef UuidVector As UUID_VECTOR) As Long
Declare Function RpcIfIdVectorFree lib "rpcns4" (ByRef IfIdVector As RPC_IF_ID_VECTOR) As Long
Declare Function RpcIfInqId lib "rpcrt4" (ByVal RpcIfHandle As Long, ByRef RpcIfId As RPC_IF_ID) As Long
Declare Function RpcImpersonateClient lib "rpcrt4" (ByVal BindingHandle As Long) As Long
Declare Function RpcMgmtEnableIdleCleanup lib "rpcrt4" () As Long
Declare Function RpcMgmtEpEltInqBegin lib "rpcrt4" (ByVal EpBinding As Long, ByVal inquiryType As Long, ByRef IfId As RPC_IF_ID, ByVal VersOption As Long, ByVal ObjectUuid As Long, ByRef inquiryContext As Long) As Long
Declare Function RpcMgmtEpEltInqDone lib "rpcrt4" (ByRefquiryContext As Long) As Long
Declare Function RpcMgmtEpEltInqNext lib "rpcrt4" Alias "RpcMgmtEpEltInqNextA" (ByValquiryContext As Long, ByRef IfId As RPC_IF_ID, ByRef Binding As Long, ByVal ObjectUuid As Long, ByVal Annotation As String) As Long
Declare Function RpcMgmtEpUnregister lib "rpcrt4" (ByVal EpBinding As Long, ByRef IfId As RPC_IF_ID, ByVal Binding As Long, ByVal ObjectUuid As Long) As Long
Declare Function RpcMgmtInqComTimeout lib "rpcrt4" (ByVal Binding As Long, ByRef Timeout As Long) As Long
Declare Function RpcMgmtInqDefaultProtectLevel lib "rpcrt4" (ByVal AuthnSvc As Long, ByRef AuthnLevel As Long) As Long
Declare Function RpcMgmtInqIfIds lib "rpcrt4" (ByVal Binding As Long, ByRef IfIdVector As RPC_IF_ID_VECTOR) As Long
Declare Function RpcMgmtInqServerPrincName lib "rpcrt4" Alias "RpcMgmtInqServerPrincNameA" (ByVal Binding As Long, ByVal AuthnSvc As Long, ByVal ServerPrincName As String) As Long
Declare Function RpcMgmtInqStats lib "rpcrt4" (ByVal Binding As Long, ByRef Statistics As RPC_STATS_VECTOR) As Long
Declare Function RpcMgmtIsServerListening lib "rpcrt4" (ByVal Binding As Long) As Long
Declare Function RpcMgmtSetAuthorizationFn lib "rpcrt4" (ByVal AuthorizationFn As Long) As Long
Declare Function RpcMgmtSetCancelTimeout lib "rpcrt4" (ByVal Timeout As Long) As Long
Declare Function RpcMgmtSetComTimeout lib "rpcrt4" (ByVal Binding As Long, ByVal Timeout As Long) As Long
Declare Function RpcMgmtSetServerStackSize lib "rpcrt4" (ByVal ThreadStackSize As Long) As Long
Declare Function RpcMgmtStatsVectorFree lib "rpcrt4" (ByRef StatsVector As RPC_STATS_VECTOR) As Long
Declare Function RpcMgmtStopServerListening lib "rpcrt4" (ByVal Binding As Long) As Long
Declare Function RpcMgmtWaitServerListen lib "rpcrt4" () As Long
Declare Function RpcNetworkInqProtseqs lib "rpcrt4" Alias "RpcNetworkInqProtseqsA" (ByRef ProtseqVector As RPC_PROTSEQ_VECTORA) As Long
Declare Function RpcNetworkIsProtseqValid lib "rpcrt4" Alias "RpcNetworkIsProtseqValidA" (ByVal Protseq As String) As Long
Declare Function RpcNsBindingExport lib "rpcns4" Alias "RpcNsBindingExportA" (ByVal EntryNameSyntax As Long, ByVal EntryName As String, ByVal IfSpec As Long, ByRef BindingVec As RPC_BINDING_VECTOR, ByRef ObjectUuidVec As UUID_VECTOR) As Long
Declare Function RpcNsBindingExportPnP lib "rpcns4" Alias "RpcNsBindingExportPnPA" (ByVal EntryNameSyntax As Long, ByVal EntryName As String, ByVal IfSpec As Long, ByRef ObjectVector As UUID_VECTOR) As Long
Declare Function RpcNsBindingImportBegin lib "rpcns4" Alias "RpcNsBindingImportBeginA" (ByVal EntryNameSyntax As Long, ByVal EntryName As String, ByVal IfSpec As Long, ByVal ObjUuid As Long, ByRef ImportContext As Long) As Long
Declare Function RpcNsBindingImportDone lib "rpcns4" (ByRef ImportContext As Long) As Long
Declare Function RpcNsBindingImportNext lib "rpcns4" (ByVal ImportContext As Long, ByRef Binding As Long) As Long
Declare Function RpcNsBindingInqEntryName lib "rpcrt4" Alias "RpcNsBindingInqEntryNameA" (ByVal Binding As Long, ByVal EntryNameSyntax As Long, ByVal EntryName As String) As Long
Declare Function RpcNsBindingLookupBegin lib "rpcns4" Alias "RpcNsBindingLookupBeginA" (ByVal EntryNameSyntax As Long, ByVal EntryName As String, ByVal IfSpec As Long, ByVal ObjUuid As Long, ByVal BindingMaxCount As Long, ByRef LookupContext As Long) As Long
Declare Function RpcNsBindingLookupDone lib "rpcns4" (ByRef LookupContext As Long) As Long
Declare Function RpcNsBindingLookupNext lib "rpcns4" (ByVal LookupContext As Long, ByRef BindingVec As RPC_BINDING_VECTOR) As Long
Declare Function RpcNsBindingSelect lib "rpcns4" (ByRef BindingVec As RPC_BINDING_VECTOR, ByRef Binding As Long) As Long
Declare Function RpcNsBindingUnexport lib "rpcns4" Alias "RpcNsBindingUnexportA" (ByVal EntryNameSyntax As Long, ByVal EntryName As String, ByVal IfSpec As Long, ByRef ObjectUuidVec As UUID_VECTOR) As Long
Declare Function RpcNsBindingUnexportPnP lib "rpcns4" Alias "RpcNsBindingUnexportPnPA" (ByVal EntryNameSyntax As Long, ByVal EntryName As String, ByVal IfSpec As Long, ByRef ObjectVector As UUID_VECTOR) As Long
Declare Function RpcNsEntryExpandName lib "rpcns4" Alias "RpcNsEntryExpandNameA" (ByVal EntryNameSyntax As Long, ByVal EntryName As String, ByVal ExpandedName As String) As Long
Declare Function RpcNsEntryObjectInqBegin lib "rpcns4" Alias "RpcNsEntryObjectInqBeginA" (ByVal EntryNameSyntax As Long, ByVal EntryName As String, ByRefquiryContext As Long) As Long
Declare Function RpcNsEntryObjectInqDone lib "rpcns4" (ByRefquiryContext As Long) As Long
Declare Function RpcNsEntryObjectInqNext lib "rpcns4" (ByValquiryContext As Long, ByVal ObjUuid As Long) As Long
Declare Function RpcNsGroupDelete lib "rpcns4" Alias "RpcNsGroupDeleteA" (ByVal GroupNameSyntax As Long, ByVal GroupName As String) As Long
Declare Function RpcNsGroupMbrAdd lib "rpcns4" Alias "RpcNsGroupMbrAddA" (ByVal GroupNameSyntax As Long, ByVal GroupName As String, ByVal MemberNameSyntax As Long, ByVal MemberName As String) As Long
Declare Function RpcNsGroupMbrInqBegin lib "rpcns4" Alias "RpcNsGroupMbrInqBeginA" (ByVal GroupNameSyntax As Long, ByVal GroupName As String, ByVal MemberNameSyntax As Long, ByRefquiryContext As Long) As Long
Declare Function RpcNsGroupMbrInqDone lib "rpcns4" (ByRefquiryContext As Long) As Long
Declare Function RpcNsGroupMbrInqNext lib "rpcns4" Alias "RpcNsGroupMbrInqNextA" (ByValquiryContext As Long, ByVal MemberName As String) As Long
Declare Function RpcNsGroupMbrRemove lib "rpcns4" Alias "RpcNsGroupMbrRemoveA" (ByVal GroupNameSyntax As Long, ByVal GroupName As String, ByVal MemberNameSyntax As Long, ByVal MemberName As String) As Long
Declare Function RpcNsMgmtBindingUnexport lib "rpcns4" Alias "RpcNsMgmtBindingUnexportA" (ByVal EntryNameSyntax As Long, ByVal EntryName As String, ByRef IfId As RPC_IF_ID, ByVal VersOption As Long, ByRef ObjectUuidVec As UUID_VECTOR) As Long
Declare Function RpcNsMgmtEntryCreate lib "rpcns4" Alias "RpcNsMgmtEntryCreateA" (ByVal EntryNameSyntax As Long, ByVal EntryName As String) As Long
Declare Function RpcNsMgmtEntryDelete lib "rpcns4" Alias "RpcNsMgmtEntryDeleteA" (ByVal EntryNameSyntax As Long, ByVal EntryName As String) As Long
Declare Function RpcNsMgmtEntryInqIfIds lib "rpcns4" Alias "RpcNsMgmtEntryInqIfIdsA" (ByVal EntryNameSyntax As Long, ByVal EntryName As String, ByRef IfIdVec As RPC_IF_ID_VECTOR) As Long
Declare Function RpcNsMgmtHandleSetExpAge lib "rpcns4" (ByVal NsHandle As Long, ByVal ExpirationAge As Long) As Long
Declare Function RpcNsMgmtInqExpAge lib "rpcns4" (ByRef ExpirationAge As Long) As Long
Declare Function RpcNsMgmtSetExpAge lib "rpcns4" (ByVal ExpirationAge As Long) As Long
Declare Function RpcNsProfileDelete lib "rpcns4" Alias "RpcNsProfileDeleteA" (ByVal ProfileNameSyntax As Long, ByVal ProfileName As String) As Long
Declare Function RpcNsProfileEltAdd lib "rpcns4" Alias "RpcNsProfileEltAddA" (ByVal ProfileNameSyntax As Long, ByVal ProfileName As String, ByRef IfId As RPC_IF_ID, ByVal MemberNameSyntax As Long, ByVal MemberName As String, ByVal Priority As Long, ByVal Annotation As String) As Long
Declare Function RpcNsProfileEltInqBegin lib "rpcns4" Alias "RpcNsProfileEltInqBeginA" (ByVal ProfileNameSyntax As Long, ByVal ProfileName As String, ByValquiryType As Long, ByRef IfId As RPC_IF_ID, ByVal VersOption As Long, ByVal MemberNameSyntax As Long, ByVal MemberName As String, ByRefquiryContext As Long) As Long
Declare Function RpcNsProfileEltInqDone lib "rpcns4" (ByRefquiryContext As Long) As Long
Declare Function RpcNsProfileEltInqNext lib "rpcns4" Alias "RpcNsProfileEltInqNextA" (ByValquiryContext As Long, ByRef IfId As RPC_IF_ID, ByVal MemberName As String, ByRef Priority As Long, ByVal Annotation As String) As Long
Declare Function RpcNsProfileEltRemove lib "rpcns4" Alias "RpcNsProfileEltRemoveA" (ByVal ProfileNameSyntax As Long, ByVal ProfileName As String, ByRef IfId As RPC_IF_ID, ByVal MemberNameSyntax As Long, ByVal MemberName As String) As Long
Declare Function RpcObjectInqType lib "rpcrt4" (ByVal ObjUuid As Long, ByVal TypeUuid As Long) As Long
Declare Function RpcObjectSetInqFn lib "rpcrt4" (ByValquiryFn As Long) As Long
Declare Function RpcObjectSetType lib "rpcrt4" (ByVal ObjUuid As Long, ByVal TypeUuid As Long) As Long
Declare Function RpcProtseqVectorFree lib "rpcrt4" Alias "RpcProtseqVectorFreeA" (ByRef ProtseqVector As RPC_PROTSEQ_VECTORA) As Long
Declare Function RpcRevertToSelf lib "rpcrt4" () As Long
Declare Function RpcRevertToSelfEx lib "rpcrt4" (ByVal BindingHandle As Long) As Long
Declare Function RpcServerInqBindings lib "rpcrt4" (ByRef BindingVector As RPC_BINDING_VECTOR) As Long
Declare Function RpcServerInqDefaultPrincName lib "rpcrt4" Alias "RpcServerInqDefaultPrincNameA" (ByVal AuthnSvc As Long, ByVal PrincName As String) As Long
Declare Function RpcServerInqIf lib "rpcrt4" (ByVal IfSpec As Long, ByVal MgrTypeUuid As Long, ByVal MgrEpv As Long) As Long
Declare Function RpcServerListen lib "rpcrt4" (ByVal MinimumCallThreads As Long, ByVal MaxCalls As Long, ByVal DontWait As Long) As Long
Declare Function RpcServerRegisterAuthInfo lib "rpcrt4" Alias "RpcServerRegisterAuthInfoA" (ByVal ServerPrincName As String, ByVal AuthnSvc As Long, ByVal GetKeyFn As Long, Arg As Any) As Long
Declare Function RpcServerRegisterIf lib "rpcrt4" (ByVal IfSpec As Long, ByVal MgrTypeUuid As Long, ByVal MgrEpv As Long) As Long
Declare Function RpcServerRegisterIf2 lib "rpcrt4" (ByVal IfSpec As Long, ByVal MgrTypeUuid As Long, ByVal MgrEpv As Long, ByVal Flags As Long, ByVal MaxCalls As Long, ByVal MaxRpcSize As Long, ByRef IfCallbackFn As RPC_IF_CALLBACK_FN) As Long
Declare Function RpcServerRegisterIfEx lib "rpcrt4" (ByVal IfSpec As Long, ByVal MgrTypeUuid As Long, ByVal MgrEpv As Long, ByVal Flags As Long, ByVal MaxCalls As Long, ByRef IfCallback As RPC_IF_CALLBACK_FN) As Long
Declare Function RpcServerTestCancel lib "rpcrt4" (ByVal BindingHandle As Long) As Long
Declare Function RpcServerUnregisterIf lib "rpcrt4" (ByVal IfSpec As Long, ByVal MgrTypeUuid As Long, ByVal WaitForCallsToComplete As Long) As Long
Declare Function RpcServerUseAllProtseqs lib "rpcrt4" (ByVal MaxCalls As Long, SecurityDescriptor As Any) As Long
Declare Function RpcServerUseAllProtseqsEx lib "rpcrt4" (ByVal MaxCalls As Long, SecurityDescriptor As Any, ByRef Policy As PRPC_POLICY) As Long
Declare Function RpcServerUseAllProtseqsIf lib "rpcrt4" (ByVal MaxCalls As Long, ByVal IfSpec As Long, SecurityDescriptor As Any) As Long
Declare Function RpcServerUseAllProtseqsIfEx lib "rpcrt4" (ByVal MaxCalls As Long, ByVal IfSpec As Long, SecurityDescriptor As Any, ByRef Policy As PRPC_POLICY) As Long
Declare Function RpcServerUseProtseq lib "rpcrt4" Alias "RpcServerUseProtseqA" (ByVal Protseq As String, ByVal MaxCalls As Long, SecurityDescriptor As Any) As Long
Declare Function RpcServerUseProtseqEp lib "rpcrt4" Alias "RpcServerUseProtseqEpA" (ByVal Protseq As String, ByVal MaxCalls As Long, ByVal Endpoint As String, SecurityDescriptor As Any) As Long
Declare Function RpcServerUseProtseqEpEx lib "rpcrt4" Alias "RpcServerUseProtseqEpExA" (ByVal Protseq As String, ByVal MaxCalls As Long, ByVal Endpoint As String, SecurityDescriptor As Any, ByRef Policy As PRPC_POLICY) As Long
Declare Function RpcServerUseProtseqEx lib "rpcrt4" Alias "RpcServerUseProtseqExA" (ByVal Protseq As String, ByVal MaxCalls As Long, SecurityDescriptor As Any, ByRef Policy As PRPC_POLICY) As Long
Declare Function RpcServerUseProtseqIf lib "rpcrt4" Alias "RpcServerUseProtseqIfA" (ByVal Protseq As String, ByVal MaxCalls As Long, ByVal IfSpec As Long, SecurityDescriptor As Any) As Long
Declare Function RpcServerUseProtseqIfEx lib "rpcrt4" Alias "RpcServerUseProtseqIfExA" (ByVal Protseq As String, ByVal MaxCalls As Long, ByVal IfSpec As Long, SecurityDescriptor As Any, ByRef Policy As PRPC_POLICY) As Long
Declare Function RpcSmClientFree lib "rpcrt4" (pNodeToFree As Any) As Long
Declare Function RpcSmDestroyClientContext lib "rpcrt4" (ContextHandle As Any) As Long
Declare Function RpcSmDisableAllocate lib "rpcrt4" () As Long
Declare Function RpcSmEnableAllocate lib "rpcrt4" () As Long
Declare Function RpcSmFree lib "rpcrt4" (NodeToFree As Any) As Long
Declare Function RpcSmGetThreadHandle lib "rpcrt4" (ByRef pStatus As Long) As Long
Declare Function RpcSmSetClientAllocFree lib "rpcrt4" (ByVal ClientAlloc As Long, ByVal ClientFree As Long) As Long
Declare Function RpcSmSetThreadHandle lib "rpcrt4" (ByVal Id As Long) As Long
Declare Function RpcSmSwapClientAllocFree lib "rpcrt4" (ByVal ClientAlloc As Long, ByVal ClientFree As Long, ByVal OldClientAlloc As Long, ByVal OldClientFree As Long) As Long
Declare Function RpcSsGetContextBinding lib "rpcrt4" (ContextHandle As Any, ByRef Binding As Long) As Long
Declare Function RpcSsGetThreadHandle lib "rpcrt4" () As Long
Declare Function RpcStringBindingCompose lib "rpcrt4" Alias "RpcStringBindingComposeA" (ByVal ObjUuid As String, ByVal Protseq As String, ByVal NetworkAddr As String, ByVal Endpoint As String, ByVal Options As String, ByVal StringBinding As String) As Long
Declare Function RpcStringBindingParse lib "rpcrt4" Alias "RpcStringBindingParseA" (ByVal StringBinding As String, ByVal ObjUuid As String, ByVal Protseq As String, ByVal NetworkAddr As String, ByVal Endpoint As String, ByVal NetworkOptions As String) As Long
Declare Function RpcStringFree lib "rpcrt4" Alias "RpcStringFreeA" (ByVal sString As String) As Long
Declare Function RpcTestCancel lib "rpcrt4" () As Long
Declare Function rtcGetDateBstr lib "msvbvm60" () As String
Declare Function rtcGetTimeBstr lib "msvbvm60" () As String
Declare Function rtcGetTimer lib "msvbvm60" () As Long
Declare Function rtcInStrRev lib "msvbvm60" (ByVal lpStringCheck As Long, ByVal lpStringMatch As Long, Optional ByVal lStart As Long = -1, Optional ByVal lCompare As Long = 1) As Long
Declare Function rtcLeftCharBstr lib "msvbvm60" (ByVal lpString As Long, ByVal lCount As Long) As String
Declare Function rtcLeftTrimBstr lib "msvbvm60" (ByVal lpString As Long) As String
Declare Function rtcLowerCaseBstr lib "msvbvm60" (ByVal lpString As Long) As String
Declare Function rtcRightCharBstr lib "msvbvm60" (ByVal lpString As Long, ByVal lCount As Long) As String
Declare Function rtcRightTrimBstr lib "msvbvm60" (ByVal lpString As Long) As String
Declare Function rtcSpaceBstr lib "msvbvm60" (ByVal lCount As Long) As String
Declare Function rtcTrimBstr lib "msvbvm60" (ByVal lpString As Long) As String
Declare Function rtcUpperCaseBstr lib "msvbvm60" (ByVal lpString As Long) As String
Declare Function RTFSync lib "mapi32" (ByVal lpMessage As Long, ByVal ulFlags As Long, ByRef lpfMessageUpdated As Long) As Long
Declare Function RtmAddNextHop lib "rtm" (ByRef RtmRegHandle As RTM_ENTITY_HANDLE, ByRef NextHopInfo As PRTM_NEXTHOP_INFO, ByRef NextHopHandle As OUT, ByRef ChangeFlags As PRTM_NEXTHOP_CHANGE_FLAGS) As Long
Declare Function RtmAddRouteToDest lib "rtm" (ByRef RtmRegHandle As RTM_ENTITY_HANDLE, ByRef RouteHandle As OUT, ByRef DestAddress As PRTM_NET_ADDRESS, ByRef RouteInfo As PRTM_ROUTE_INFO, ByVal TimeToLive As Long, ByRef RouteListHandle As RTM_ROUTE_LIST_HANDLE, ByRef NotifyType As RTM_NOTIFY_FLAGS, ByRef NotifyHandle As RTM_NOTIFY_HANDLE, ByRef ChangeFlags As OUT) As Long
Declare Function RtmBlockMethods lib "rtm" (ByRef RtmRegHandle As RTM_ENTITY_HANDLE, ByVal TargetHandle As Long, ByVal TargetType As Byte, ByVal BlockingFlag As Long) As Long
Declare Function RtmCreateDestEnum lib "rtm" (ByRef RtmRegHandle As RTM_ENTITY_HANDLE, ByRef TargetViews As RTM_VIEW_SET, ByRef EnumFlags As RTM_ENUM_FLAGS, ByRef NetAddress As PRTM_NET_ADDRESS, ByVal ProtocolId As Long, ByRef RtmEnumHandle As PRTM_ENUM_HANDLE) As Long
Declare Function RtmCreateNextHopEnum lib "rtm" (ByRef RtmRegHandle As RTM_ENTITY_HANDLE, ByRef EnumFlags As RTM_ENUM_FLAGS, ByRef NetAddress As PRTM_NET_ADDRESS, ByRef RtmEnumHandle As PRTM_ENUM_HANDLE) As Long
Declare Function RtmCreateRouteEnum lib "rtm" (ByRef RtmRegHandle As RTM_ENTITY_HANDLE, ByRef DestHandle As RTM_DEST_HANDLE, ByRef TargetViews As RTM_VIEW_SET, ByRef EnumFlags As RTM_ENUM_FLAGS, ByRef StartDest As PRTM_NET_ADDRESS, ByRef MatchingFlags As RTM_MATCH_FLAGS, ByRef CriteriaRoute As PRTM_ROUTE_INFO, ByVal CriteriaInterface As Long, ByRef RtmEnumHandle As PRTM_ENUM_HANDLE) As Long
Declare Function RtmCreateRouteList lib "rtm" (ByRef RtmRegHandle As RTM_ENTITY_HANDLE, ByRef RouteListHandle As PRTM_ROUTE_LIST_HANDLE) As Long
Declare Function RtmCreateRouteListEnum lib "rtm" (ByRef RtmRegHandle As RTM_ENTITY_HANDLE, ByRef RouteListHandle As RTM_ROUTE_LIST_HANDLE, ByRef RtmEnumHandle As PRTM_ENUM_HANDLE) As Long
Declare Function RtmDeleteEnumHandle lib "rtm" (ByRef RtmRegHandle As RTM_ENTITY_HANDLE, ByRef EnumHandle As RTM_ENUM_HANDLE) As Long
Declare Function RtmDeleteNextHop lib "rtm" (ByRef RtmRegHandle As RTM_ENTITY_HANDLE, ByRef NextHopHandle As RTM_NEXTHOP_HANDLE, ByRef NextHopInfo As PRTM_NEXTHOP_INFO) As Long
Declare Function RtmDeleteRouteList lib "rtm" (ByRef RtmRegHandle As RTM_ENTITY_HANDLE, ByRef RouteListHandle As RTM_ROUTE_LIST_HANDLE) As Long
Declare Function RtmDeleteRouteToDest lib "rtm" (ByRef RtmRegHandle As RTM_ENTITY_HANDLE, ByRef RouteHandle As RTM_ROUTE_HANDLE, ByRef ChangeFlags As PRTM_ROUTE_CHANGE_FLAGS) As Long
Declare Function RtmDeregisterEntity lib "rtm" (ByRef RtmRegHandle As RTM_ENTITY_HANDLE) As Long
Declare Function RtmDeregisterFromChangeNotification lib "rtm" (ByRef RtmRegHandle As RTM_ENTITY_HANDLE, ByRef NotifyHandle As RTM_NOTIFY_HANDLE) As Long
Declare Function RtmFindNextHop lib "rtm" (ByRef RtmRegHandle As RTM_ENTITY_HANDLE, ByRef NextHopInfo As PRTM_NEXTHOP_INFO, ByRef NextHopHandle As PRTM_NEXTHOP_HANDLE, ByRef NextHopPointer As PRTM_NEXTHOP_INFO) As Long
Declare Function RtmGetChangedDests lib "rtm" (ByRef RtmRegHandle As RTM_ENTITY_HANDLE, ByRef NotifyHandle As RTM_NOTIFY_HANDLE, ByRef NumDests As Long, ByRef ChangedDests As PRTM_DEST_INFO) As Long
Declare Function RtmGetChangeStatus lib "rtm" (ByRef RtmRegHandle As RTM_ENTITY_HANDLE, ByRef NotifyHandle As RTM_NOTIFY_HANDLE, ByRef DestHandle As RTM_DEST_HANDLE, ByRef ChangeStatus As Long) As Long
Declare Function RtmGetDestInfo lib "rtm" (ByRef RtmRegHandle As RTM_ENTITY_HANDLE, ByRef DestHandle As RTM_DEST_HANDLE, ByVal ProtocolId As Long, ByRef TargetViews As RTM_VIEW_SET, ByRef DestInfo As PRTM_DEST_INFO) As Long
Declare Function RtmGetEntityInfo lib "rtm" (ByRef RtmRegHandle As RTM_ENTITY_HANDLE, ByRef EntityHandle As RTM_ENTITY_HANDLE, ByRef EntityInfo As PRTM_ENTITY_INFO) As Long
Declare Function RtmGetEntityMethods lib "rtm" (ByRef RtmRegHandle As RTM_ENTITY_HANDLE, ByRef EntityHandle As RTM_ENTITY_HANDLE, ByRef NumMethods As Long, ByRef ExptMethods As PRTM_ENTITY_EXPORT_METHOD) As Long
Declare Function RtmGetEnumDests lib "rtm" (ByRef RtmRegHandle As RTM_ENTITY_HANDLE, ByRef EnumHandle As RTM_ENUM_HANDLE, ByRef NumDests As Long, ByRef DestInfos As PRTM_DEST_INFO) As Long
Declare Function RtmGetEnumNextHops lib "rtm" (ByRef RtmRegHandle As RTM_ENTITY_HANDLE, ByRef EnumHandle As RTM_ENUM_HANDLE, ByRef NumNextHops As Long, ByRef NextHopHandles As PRTM_NEXTHOP_HANDLE) As Long
Declare Function RtmGetEnumRoutes lib "rtm" (ByRef RtmRegHandle As RTM_ENTITY_HANDLE, ByRef EnumHandle As RTM_ENUM_HANDLE, ByRef NumRoutes As Long, ByRef RouteHandles As PRTM_ROUTE_HANDLE) As Long
Declare Function RtmGetExactMatchDestination lib "rtm" (ByRef RtmRegHandle As RTM_ENTITY_HANDLE, ByRef DestAddress As PRTM_NET_ADDRESS, ByVal ProtocolId As Long, ByRef TargetViews As RTM_VIEW_SET, ByRef DestInfo As PRTM_DEST_INFO) As Long
Declare Function RtmGetExactMatchRoute lib "rtm" (ByRef RtmRegHandle As RTM_ENTITY_HANDLE, ByRef DestAddress As PRTM_NET_ADDRESS, ByRef MatchingFlags As RTM_MATCH_FLAGS, ByRef RouteInfo As OUT, ByVal InterfaceIndex As Long, ByRef TargetViews As RTM_VIEW_SET, ByRef RouteHandle As PRTM_ROUTE_HANDLE) As Long
Declare Function RtmGetLessSpecificDestination lib "rtm" (ByRef RtmRegHandle As RTM_ENTITY_HANDLE, ByRef DestHandle As RTM_DEST_HANDLE, ByVal ProtocolId As Long, ByRef TargetViews As RTM_VIEW_SET, ByRef DestInfo As PRTM_DEST_INFO) As Long
Declare Function RtmGetListEnumRoutes lib "rtm" (ByRef RtmRegHandle As RTM_ENTITY_HANDLE, ByRef EnumHandle As RTM_ENUM_HANDLE, ByRef NumRoutes As Long, ByRef RouteHandles As PRTM_ROUTE_HANDLE) As Long
Declare Function RtmGetMostSpecificDestination lib "rtm" (ByRef RtmRegHandle As RTM_ENTITY_HANDLE, ByRef DestAddress As PRTM_NET_ADDRESS, ByVal ProtocolId As Long, ByRef TargetViews As RTM_VIEW_SET, ByRef DestInfo As PRTM_DEST_INFO) As Long
Declare Function RtmGetNextHopInfo lib "rtm" (ByRef RtmRegHandle As RTM_ENTITY_HANDLE, ByRef NextHopHandle As RTM_NEXTHOP_HANDLE, ByRef NextHopInfo As PRTM_NEXTHOP_INFO) As Long
Declare Function RtmGetNextHopPointer lib "rtm" (ByRef RtmRegHandle As RTM_ENTITY_HANDLE, ByRef NextHopHandle As RTM_NEXTHOP_HANDLE, ByRef NextHopPointer As PRTM_NEXTHOP_INFO) As Long
Declare Function RtmGetOpaqueInformationPointer lib "rtm" (ByRef RtmRegHandle As RTM_ENTITY_HANDLE, ByRef DestHandle As RTM_DEST_HANDLE, OpaqueInfoPointer As Any) As Long
Declare Function RtmGetRegisteredEntities lib "rtm" (ByRef RtmRegHandle As RTM_ENTITY_HANDLE, ByRef NumEntities As Long, ByRef EntityHandles As PRTM_ENTITY_HANDLE, ByRef EntityInfos As PRTM_ENTITY_INFO) As Long
Declare Function RtmGetRouteInfo lib "rtm" (ByRef RtmRegHandle As RTM_ENTITY_HANDLE, ByRef RouteHandle As RTM_ROUTE_HANDLE, ByRef RouteInfo As PRTM_ROUTE_INFO, ByRef DestAddress As PRTM_NET_ADDRESS) As Long
Declare Function RtmGetRoutePointer lib "rtm" (ByRef RtmRegHandle As RTM_ENTITY_HANDLE, ByRef RouteHandle As RTM_ROUTE_HANDLE, ByRef RoutePointer As PRTM_ROUTE_INFO) As Long
Declare Function RtmHoldDestination lib "rtm" (ByRef RtmRegHandle As RTM_ENTITY_HANDLE, ByRef DestHandle As RTM_DEST_HANDLE, ByRef TargetViews As RTM_VIEW_SET, ByVal HoldTime As Long) As Long
Declare Function RtmIgnoreChangedDests lib "rtm" (ByRef RtmRegHandle As RTM_ENTITY_HANDLE, ByRef NotifyHandle As RTM_NOTIFY_HANDLE, ByVal NumDests As Long, ByRef ChangedDests As PRTM_DEST_HANDLE) As Long
Declare Function RtmInsertInRouteList lib "rtm" (ByRef RtmRegHandle As RTM_ENTITY_HANDLE, ByRef RouteListHandle As RTM_ROUTE_LIST_HANDLE, ByVal NumRoutes As Long, ByRef RouteHandles As PRTM_ROUTE_HANDLE) As Long
Declare Function RtmInvokeMethod lib "rtm" (ByRef RtmRegHandle As RTM_ENTITY_HANDLE, ByRef EntityHandle As RTM_ENTITY_HANDLE, ByRef lInput As PRTM_ENTITY_METHOD_INPUT, ByRef OutputSize As Long, ByRef Output As PRTM_ENTITY_METHOD_OUTPUT) As Long
Declare Function RtmIsBestRoute lib "rtm" (ByRef RtmRegHandle As RTM_ENTITY_HANDLE, ByRef RouteHandle As RTM_ROUTE_HANDLE, ByRef BestInViews As PRTM_VIEW_SET) As Long
Declare Function RtmIsMarkedForChangeNotification lib "rtm" (ByRef RtmRegHandle As RTM_ENTITY_HANDLE, ByRef NotifyHandle As RTM_NOTIFY_HANDLE, ByRef DestHandle As RTM_DEST_HANDLE, ByRef DestMarked As Long) As Long
Declare Function RtmLockDestination lib "rtm" (ByRef RtmRegHandle As RTM_ENTITY_HANDLE, ByRef DestHandle As RTM_DEST_HANDLE, ByVal Exclusive As Long, ByVal LockDest As Long) As Long
Declare Function RtmLockNextHop lib "rtm" (ByRef RtmRegHandle As RTM_ENTITY_HANDLE, ByRef NextHopHandle As RTM_NEXTHOP_HANDLE, ByVal Exclusive As Long, ByVal LockNextHop As Long, ByRef NextHopPointer As PRTM_NEXTHOP_INFO) As Long
Declare Function RtmLockRoute lib "rtm" (ByRef RtmRegHandle As RTM_ENTITY_HANDLE, ByRef RouteHandle As RTM_ROUTE_HANDLE, ByVal Exclusive As Long, ByVal LockRoute As Long, ByRef RoutePointer As PRTM_ROUTE_INFO) As Long
Declare Function RtmMarkDestForChangeNotification lib "rtm" (ByRef RtmRegHandle As RTM_ENTITY_HANDLE, ByRef NotifyHandle As RTM_NOTIFY_HANDLE, ByRef DestHandle As RTM_DEST_HANDLE, ByVal MarkDest As Long) As Long
Declare Function RtmReferenceHandles lib "rtm" (ByRef RtmRegHandle As RTM_ENTITY_HANDLE, ByVal NumHandles As Long, ByRef RtmHandles As Long) As Long
Declare Function RtmRegisterEntity lib "rtm" (ByRef RtmEntityInfo As PRTM_ENTITY_INFO, ByRef ExportMethods As PRTM_ENTITY_EXPORT_METHODS, ByRef EventCallback As RTM_EVENT_CALLBACK, ByVal ReserveOpaquePointer As Long, ByRef RtmRegProfile As PRTM_REGN_PROFILE, ByRef RtmRegHandle As PRTM_ENTITY_HANDLE) As Long
Declare Function RtmRegisterForChangeNotification lib "rtm" (ByRef RtmRegHandle As RTM_ENTITY_HANDLE, ByRef TargetViews As RTM_VIEW_SET, ByRef NotifyFlags As RTM_NOTIFY_FLAGS, NotifyContext As Any, ByRef NotifyHandle As PRTM_NOTIFY_HANDLE) As Long
Declare Function RtmReleaseChangedDests lib "rtm" (ByRef RtmRegHandle As RTM_ENTITY_HANDLE, ByRef NotifyHandle As RTM_NOTIFY_HANDLE, ByVal NumDests As Long, ByRef ChangedDests As PRTM_DEST_INFO) As Long
Declare Function RtmReleaseDestInfo lib "rtm" (ByRef RtmRegHandle As RTM_ENTITY_HANDLE, ByRef DestInfo As PRTM_DEST_INFO) As Long
Declare Function RtmReleaseDests lib "rtm" (ByRef RtmRegHandle As RTM_ENTITY_HANDLE, ByVal NumDests As Long, ByRef DestInfos As PRTM_DEST_INFO) As Long
Declare Function RtmReleaseEntities lib "rtm" (ByRef RtmRegHandle As RTM_ENTITY_HANDLE, ByVal NumEntities As Long, ByRef EntityHandles As PRTM_ENTITY_HANDLE) As Long
Declare Function RtmReleaseEntityInfo lib "rtm" (ByRef RtmRegHandle As RTM_ENTITY_HANDLE, ByRef EntityInfo As PRTM_ENTITY_INFO) As Long
Declare Function RtmReleaseNextHopInfo lib "rtm" (ByRef RtmRegHandle As RTM_ENTITY_HANDLE, ByRef NextHopInfo As PRTM_NEXTHOP_INFO) As Long
Declare Function RtmReleaseNextHops lib "rtm" (ByRef RtmRegHandle As RTM_ENTITY_HANDLE, ByVal NumNextHops As Long, ByRef NextHopHandles As PRTM_NEXTHOP_HANDLE) As Long
Declare Function RtmReleaseRouteInfo lib "rtm" (ByRef RtmRegHandle As RTM_ENTITY_HANDLE, ByRef RouteInfo As PRTM_ROUTE_INFO) As Long
Declare Function RtmReleaseRoutes lib "rtm" (ByRef RtmRegHandle As RTM_ENTITY_HANDLE, ByVal NumRoutes As Long, ByRef RouteHandles As PRTM_ROUTE_HANDLE) As Long
Declare Function RtmUpdateAndUnlockRoute lib "rtm" (ByRef RtmRegHandle As RTM_ENTITY_HANDLE, ByRef RouteHandle As RTM_ROUTE_HANDLE, ByVal TimeToLive As Long, ByRef RouteListHandle As RTM_ROUTE_LIST_HANDLE, ByRef NotifyType As RTM_NOTIFY_FLAGS, ByRef NotifyHandle As RTM_NOTIFY_HANDLE, ByRef ChangeFlags As PRTM_ROUTE_CHANGE_FLAGS) As Long
Declare Function RunSetupCommand lib "advpack" (ByVal hWnd As Long, ByVal szCmdName As String, ByVal szInfSection As String, ByVal szDir As String, ByVal lpszTitle As String, ByRef phEXE As Long, ByVal dwFlags As Long, pvReserved As Any) As Long
Declare Function RxRemoteApi lib "NETAPI32" (ByVal ApiNumber As Long, ByVal UncServerName As String, ByVal ParmDescString As String, ByVal DataDesc16 As String, ByVal DataDesc32 As String, ByVal DataDescSmb As String, ByVal AuxDesc16 As String, ByVal AuxDesc32 As String, ByVal AuxDescSmb As String, ByVal Flags As Long, Optional OptionalArguments As Any) As Long
Declare Function SafeArrayCreate lib "oleaut32" (ByVal vt As Integer, ByVal cDims As Long, ByRef rgsabound As SAFEARRAYBOUND) As Long
Declare Function SafeArrayCreateEx lib "oleaut32" (ByVal vt As Integer, ByVal cDims As Long, ByRef rgsabound As SAFEARRAYBOUND, pvExtra As Any) As Long
Declare Function SafeArrayCreateVector lib "oleaut32" (ByVal vt As Integer, ByVal lLbound As Long, ByVal cElements As Long) As Long
Declare Function SafeArrayCreateVectorEx lib "oleaut32" (ByVal vt As Integer, ByVal lLbound As Long, ByVal cElements As Long, pvExtra As Any) As Long
Declare Function SafeArrayGetDim lib "oleaut32" (ByRef psa As SAFEARRAY) As Long
Declare Function SafeArrayGetElemsize lib "oleaut32" (ByRef psa As SAFEARRAY) As Long
Declare Function SatisfyNtmsOperatorRequest lib "ntmsapi" (ByVal hSession As Long, ByRef lpRequestId As LPNTMS_GUID) As Long
Declare Function SaveDC Lib "gdi32" Alias "SaveDC" (ByVal hdc As Long) As Long
Declare Function SaveGroup lib "ftsrch" (ByVal hsrch As Long, ByVal pszFileName As String) As Long
Declare Function SaveIndex lib "ftsrch" (ByVal hinx As Long, ByVal pszFileName As String) As Long
Declare Function ScaleViewportExtEx Lib "gdi32" Alias "ScaleViewportExtEx" (ByVal hdc As Long, ByVal nXnum As Long, ByVal nXdenom As Long, ByVal nYnum As Long, ByVal nYdenom As Long, lpSize As SIZE) As Long
Declare Function ScaleWindowExtEx Lib "gdi32" Alias "ScaleWindowExtEx" (ByVal hdc As Long, ByVal nXnum As Long, ByVal nXdenom As Long, ByVal nYnum As Long, ByVal nYdenom As Long, lpSize As SIZE) As Long
Declare Function ScanDisplayText lib "ftsrch" (ByVal hhil As Long, ByVal pbText As String, ByVal cbText As Long, ByVal iCharset As Long, ByVal lcid As Long) As Long
Declare Function ScanText lib "ftsrch" (ByVal hcmp As Long, ByVal pbText As String, ByVal cbText As Long, ByVal iCharset As Long) As Long
Declare Function ScanTopicText lib "ftsrch" (ByVal hinx As Long, ByVal pbText As String, ByVal cbText As Long, ByVal iCharset As Long, ByVal lcid As Long) As Long
Declare Function ScanTopicTitle lib "ftsrch" (ByVal hinx As Long, ByVal pbTitle As String, ByVal cbTitle As Long, ByVal iTopic As Long, ByVal hTopic As Long, ByVal iCharset As Long, ByVal lcid As Long) As Long
Declare Function SCardAddReaderToGroup lib "winscard" Alias "SCardAddReaderToGroupA" (ByRef hContext As SCARDCONTEXT, ByVal szReaderName As String, ByVal szGroupName As String) As Long
Declare Function SCardBeginTransaction lib "winscard" (ByRef hCard As SCARDHANDLE) As Long
Declare Function SCardCancel lib "winscard" (ByRef hContext As SCARDCONTEXT) As Long
Declare Function SCardConnect lib "winscard" Alias "SCardConnectA" (ByRef hContext As SCARDCONTEXT, ByVal szReader As String, ByVal dwShareMode As Long, ByVal dwPreferredProtocols As Long, ByRef phCard As SCARDHANDLE, ByRef pdwActiveProtocol As Long) As Long
Declare Function SCardControl lib "winscard" (ByRef hCard As SCARDHANDLE, ByVal dwControlCode As Long, lpInBuffer As Any, ByVal nInBufferSize As Long, lpOutBuffer As Any, ByVal nOutBufferSize As Long, ByRef lpBytesReturned As Long) As Long
Declare Function SCardDisconnect lib "winscard" (ByRef hCard As SCARDHANDLE, ByVal dwDisposition As Long) As Long
Declare Function SCardDlgExtendedError lib "scarddlg" () As Long
Declare Function SCardEndTransaction lib "winscard" (ByRef hCard As SCARDHANDLE, ByVal dwDisposition As Long) As Long
Declare Function SCardEstablishContext lib "winscard" (ByVal dwScope As Long, pvReserved1 As Any, pvReserved2 As Any, ByRef phContext As SCARDCONTEXT) As Long
Declare Function SCardForgetCardType lib "winscard" Alias "SCardForgetCardTypeA" (ByRef hContext As SCARDCONTEXT, ByVal szCardName As String) As Long
Declare Function SCardForgetReader lib "winscard" Alias "SCardForgetReaderA" (ByRef hContext As SCARDCONTEXT, ByVal szReaderName As String) As Long
Declare Function SCardForgetReaderGroup lib "winscard" Alias "SCardForgetReaderGroupA" (ByRef hContext As SCARDCONTEXT, ByVal szGroupName As String) As Long
Declare Function SCardFreeMemory lib "winscard" (ByRef hContext As SCARDCONTEXT, pvMem As Any) As Long
Declare Function SCardGetAttrib lib "winscard" (ByRef hCard As SCARDHANDLE, ByVal dwAttrId As Long, ByVal pbAttr As String, ByRef pcbAttrLen As Long) As Long
Declare Function SCardGetCardTypeProviderName lib "winscard" Alias "SCardGetCardTypeProviderNameA" (ByRef hContext As SCARDCONTEXT, ByVal szCardName As String, ByVal dwProviderId As Long, ByVal szProvider As String, ByRef pcchProvider As Long) As Long
Declare Function SCardGetProviderId lib "winscard" Alias "SCardGetProviderIdA" (ByRef hContext As SCARDCONTEXT, ByVal szCard As String, ByVal pguidProviderId As Long) As Long
Declare Function SCardGetStatusChange lib "winscard" Alias "SCardGetStatusChangeA" (ByRef hContext As SCARDCONTEXT, ByVal dwTimeout As Long, ByRef rgReaderStates As SCARD_READERSTATEA, ByVal cReaders As Long) As Long
Declare Function SCardIntroduceCardType lib "winscard" Alias "SCardIntroduceCardTypeA" (ByRef hContext As SCARDCONTEXT, ByVal szCardName As String, ByRef pguidPrimaryProvider As CGUID, ByRef rgguidInterfaces As CGUID, ByVal dwInterfaceCount As Long, ByRef pbAtr As BYTE, ByRef pbAtrMask As BYTE, ByVal cbAtrLen As Long) As Long
Declare Function SCardIntroduceReader lib "winscard" Alias "SCardIntroduceReaderA" (ByRef hContext As SCARDCONTEXT, ByVal szReaderName As String, ByVal szDeviceName As String) As Long
Declare Function SCardIntroduceReaderGroup lib "winscard" Alias "SCardIntroduceReaderGroupA" (ByRef hContext As SCARDCONTEXT, ByVal szGroupName As String) As Long
Declare Function SCardIsValidContext lib "winscard" (ByRef hContext As SCARDCONTEXT) As Long
Declare Function SCardListCards lib "winscard" Alias "SCardListCardsA" (ByRef hContext As SCARDCONTEXT, ByRef pbAtr As BYTE, ByRef rgquidInterfaces As CGUID, ByVal cguidInterfaceCount As Long, ByVal mszCards As String, ByRef pcchCards As Long) As Long
Declare Function SCardListInterfaces lib "winscard" Alias "SCardListInterfacesA" (ByRef hContext As SCARDCONTEXT, ByVal szCard As String, ByVal pguidInterfaces As Long, ByRef pcguidInterfaces As Long) As Long
Declare Function SCardListReaderGroups lib "winscard" Alias "SCardListReaderGroupsA" (ByRef hContext As SCARDCONTEXT, ByVal mszGroups As String, ByRef pcchGroups As Long) As Long
Declare Function SCardListReaders lib "winscard" Alias "SCardListReadersA" (ByRef hContext As SCARDCONTEXT, ByVal mszGroups As String, ByVal mszReaders As String, ByRef pcchReaders As Long) As Long
Declare Function SCardLocateCards lib "winscard" Alias "SCardLocateCardsA" (ByRef hContext As SCARDCONTEXT, ByVal mszCards As String, ByRef rgReaderStates As SCARD_READERSTATEA, ByVal cReaders As Long) As Long
Declare Function SCardReconnect lib "winscard" (ByRef hCard As SCARDHANDLE, ByVal dwShareMode As Long, ByVal dwPreferredProtocols As Long, ByVal dwInitialization As Long, ByRef pdwActiveProtocol As Long) As Long
Declare Function SCardReleaseContext lib "winscard" (ByRef hContext As SCARDCONTEXT) As Long
Declare Function SCardRemoveReaderFromGroup lib "winscard" Alias "SCardRemoveReaderFromGroupA" (ByRef hContext As SCARDCONTEXT, ByVal szReaderName As String, ByVal szGroupName As String) As Long
Declare Function SCardSetAttrib lib "winscard" (ByRef hCard As SCARDHANDLE, ByVal dwAttrId As Long, ByRef pbAttr As BYTE, ByVal cbAttrLen As Long) As Long
Declare Function SCardSetCardTypeProviderName lib "winscard" Alias "SCardSetCardTypeProviderNameA" (ByRef hContext As SCARDCONTEXT, ByVal szCardName As String, ByVal dwProviderId As Long, ByVal szProvider As String) As Long
Declare Function SCardState lib "winscard" (ByRef hCard As SCARDHANDLE, ByRef pdwState As Long, ByRef pdwProtocol As Long, ByVal pbAtr As String, ByRef pcbAtrLen As Long) As Long
Declare Function SCardStatus lib "winscard" Alias "SCardStatusA" (ByRef hCard As SCARDHANDLE, ByVal szReaderName As String, ByRef pcchReaderLen As Long, ByRef pdwState As Long, ByRef pdwProtocol As Long, ByVal pbAtr As String, ByRef pcbAtrLen As Long) As Long
Declare Function SCardTransmit lib "winscard" (ByRef hCard As SCARDHANDLE, ByRef pioSendPci As CSCARD_IO_REQUEST, ByRef pbSendBuffer As BYTE, ByVal cbSendLength As Long, ByRef pioRecvPci As SCARD_IO_REQUEST, ByVal pbRecvBuffer As String, ByRef pcbRecvLength As Long) As Long
Declare Function SCardUIDlgSelectCard lib "scarddlg" Alias "SCardUIDlgSelectCardA" (ByRef TLPOPENCARDNAMEA_EX As OPENCARDNAMEA_EX) As Long
Declare Function ScheduleJob Lib "winspool.drv" Alias "ScheduleJob" (ByVal hPrinter As Long, ByVal JobId As Long) As Long
Declare Function ScMAPIXFromCMC lib "MAPI32" (ByVal cmc_session As Long, ByVal ulFlags As Long, ByVal lpInterface As Long, ByVal lppMAPISession As Long) As Long
Declare Function ScMAPIXFromSMAPI lib "mapi32" (ByVal lhSimpleSession As Long, ByVal ulFlags As Long, ByVal lpInterface As Long, ByVal lppMAPISession As Long) As Long
Declare Function ScreenToClient Lib "user32" Alias "ScreenToClient" (ByVal hwnd As Long, lpPoint As POINTAPI) As Long
Declare Function ScriptApplyDigitSubstitution lib "USP10" (ByRef psds As Long, ByRef psc As SCRIPT_CONTROL, ByRef pss As SCRIPT_STATE) As Long
Declare Function ScriptApplyLogicalWidth lib "USP10" (ByRef piDx As Long, ByVal cChars As Long, ByVal cGlyphs As Long, ByRef pwLogClust As Integer, ByRef psva As Long, ByRef piAdvance As Long, ByRef psa As Long, ByRef pABC As ABC, ByRef piJustify As Long) As Long
Declare Function ScriptBreak lib "USP10" (ByRef pwcChars As Byte, ByVal cChars As Long, ByRef psa As Long, ByRef psla As SCRIPT_LOGATTR) As Long
Declare Function ScriptCacheGetHeight lib "USP10" (ByVal hdc As Long, ByRef psc As SCRIPT_CACHE, ByRef tmHeight As Long) As Long
Declare Function ScriptCPtoX lib "USP10" (ByVal iCP As Long, ByVal fTrailing As Long, ByVal cChars As Long, ByVal cGlyphs As Long, ByRef pwLogClust As Integer, ByRef psva As Long, ByRef piAdvance As Long, ByRef psa As Long, ByRef piX As Long) As Long
Declare Function ScriptFreeCache lib "USP10" (ByRef psc As SCRIPT_CACHE) As Long
Declare Function ScriptGetCMap lib "USP10" (ByVal hdc As Long, ByRef psc As SCRIPT_CACHE, ByRef pwcInChars As Byte, ByVal cChars As Long, ByVal dwFlags As Long, ByRef pwOutGlyphs As Integer) As Long
Declare Function ScriptGetFontProperties lib "USP10" (ByVal hdc As Long, ByRef psc As SCRIPT_CACHE, ByRef sfp As SCRIPT_FONTPROPERTIES) As Long
Declare Function ScriptGetGlyphABCWidth lib "USP10" (ByVal hdc As Long, ByRef psc As SCRIPT_CACHE, ByVal wGlyph As Integer, ByRef pABC As ABC) As Long
Declare Function ScriptGetLogicalWidths lib "USP10" (ByRef psa As Long, ByVal cChars As Long, ByVal cGlyphs As Long, ByRef piGlyphWidth As Long, ByRef pwLogClust As Integer, ByRef psva As Long, ByRef piDx As Long) As Long
Declare Function ScriptGetProperties lib "USP10" (ByRef ppSp As Long, ByRef piNumScripts As Long) As Long
Declare Function ScriptIsComplex lib "USP10" (ByRef pwcInChars As Byte, ByVal cInChars As Long, ByVal dwFlags As Long) As Long
Declare Function ScriptItemize lib "USP10" (ByRef pwcInChars As Byte, ByVal cInChars As Long, ByVal cMaxItems As Long, ByRef psControl As Long, ByRef psState As Long, ByRef pItems As SCRIPT_ITEM, ByRef pcItems As Long) As Long
Declare Function ScriptJustify lib "USP10" (ByRef psva As Long, ByRef piAdvance As Long, ByVal cGlyphs As Long, ByVal iDx As Long, ByVal iMinKashida As Long, ByRef piJustify As Long) As Long
Declare Function ScriptLayout lib "USP10" (ByVal cRuns As Long, ByVal pbLevel As String, ByRef piVisualToLogical As Long, ByRef piLogicalToVisual As Long) As Long
Declare Function ScriptPlace lib "USP10" (ByVal hdc As Long, ByRef psc As SCRIPT_CACHE, ByRef pwGlyphs As Integer, ByVal cGlyphs As Long, ByRef psva As Long, ByRef psa As SCRIPT_ANALYSIS, ByRef piAdvance As Long, ByRef pGoffset As GOFFSET, ByRef pABC As ABC) As Long
Declare Function ScriptRecordDigitSubstitution lib "USP10" (ByVal Locale As Long, ByRef psds As SCRIPT_DIGITSUBSTITUTE) As Long
Declare Function ScriptShape lib "USP10" (ByVal hdc As Long, ByRef psc As SCRIPT_CACHE, ByRef pwcChars As Byte, ByVal cChars As Long, ByVal cMaxGlyphs As Long, ByRef psa As SCRIPT_ANALYSIS, ByRef pwOutGlyphs As Integer, ByRef pwLogClust As Integer, ByRef psva As SCRIPT_VISATTR, ByRef pcGlyphs As Long) As Long
Declare Function ScriptString_pcOutChars lib "USP10" (ByRef ssa As SCRIPT_STRING_ANALYSIS) As Long
Declare Function ScriptString_pSize lib "USP10" (ByRef ssa As SCRIPT_STRING_ANALYSIS) As Long
Declare Function ScriptStringAnalyse lib "USP10" (ByVal hdc As Long, pString As Any, ByVal cString As Long, ByVal cGlyphs As Long, ByVal iCharset As Long, ByVal dwFlags As Long, ByVal iReqWidth As Long, ByRef psControl As SCRIPT_CONTROL, ByRef psState As SCRIPT_STATE, ByRef piDx As Long, ByRef pTabdef As SCRIPT_TABDEF, ByVal pbInClass As String, ByRef pssa As SCRIPT_STRING_ANALYSIS) As Long
Declare Function ScriptStringCPtoX lib "USP10" (ByRef ssa As SCRIPT_STRING_ANALYSIS, ByVal iCP As Long, ByVal fTrailing As Long, ByRef pX As Long) As Long
Declare Function ScriptStringFree lib "USP10" (ByRef pssa As SCRIPT_STRING_ANALYSIS) As Long
Declare Function ScriptStringGetLogicalWidths lib "USP10" (ByRef ssa As SCRIPT_STRING_ANALYSIS, ByRef piDx As Long) As Long
Declare Function ScriptStringGetOrder lib "USP10" (ByRef ssa As SCRIPT_STRING_ANALYSIS, ByRef puOrder As Long) As Long
Declare Function ScriptStringOut lib "USP10" (ByRef ssa As SCRIPT_STRING_ANALYSIS, ByVal iX As Long, ByVal iY As Long, ByVal uOptions As Long, ByRef prc As RECT, ByVal iMinSel As Long, ByVal iMaxSel As Long, ByVal fDisabled As Long) As Long
Declare Function ScriptStringValidate lib "USP10" (ByRef ssa As SCRIPT_STRING_ANALYSIS) As Long
Declare Function ScriptStringXtoCP lib "USP10" (ByRef ssa As SCRIPT_STRING_ANALYSIS, ByVal iX As Long, ByRef piCh As Long, ByRef piTrailing As Long) As Long
Declare Function ScriptTextOut lib "USP10" (ByVal hdc As Long, ByRef psc As SCRIPT_CACHE, ByVal x As Long, ByVal y As Long, ByVal fuOptions As Long, ByRef lprc As RECT, ByRef psa As Long, ByRef pwcReserved As Byte, ByVal iReserved As Long, ByRef pwGlyphs As Integer, ByVal cGlyphs As Long, ByRef piAdvance As Long, ByRef piJustify As Long, ByRef pGoffset As Long) As Long
Declare Function ScriptXtoCP lib "USP10" (ByVal iX As Long, ByVal cChars As Long, ByVal cGlyphs As Long, ByRef pwLogClust As Integer, ByRef psva As Long, ByRef piAdvance As Long, ByRef psa As Long, ByRef piCP As Long, ByRef piTrailing As Long) As Long
Declare Function ScrollConsoleScreenBuffer Lib "kernel32" Alias "ScrollConsoleScreenBufferA" (ByVal hConsoleOutput As Long, lpScrollRectangle As SMALL_RECT, lpClipRectangle As SMALL_RECT, dwDestinationOrigin As COORD, lpFill As CHAR_INFO) As Long
Declare Function ScrollDC Lib "user32" Alias "ScrollDC" (ByVal hdc As Long, ByVal dx As Long, ByVal dy As Long, lprcScroll As RECT, lprcClip As RECT, ByVal hrgnUpdate As Long, lprcUpdate As RECT) As Long
Declare Function ScrollWindow Lib "user32" Alias "ScrollWindow" (ByVal hWnd As Long, ByVal XAmount As Long, ByVal YAmount As Long, lpRect As RECT, lpClipRect As RECT) As Long
Declare Function ScrollWindowEx Lib "user32" Alias "ScrollWindowEx" (ByVal hwnd As Long, ByVal dx As Long, ByVal dy As Long, lprcScroll As RECT, lprcClip As RECT, ByVal hrgnUpdate As Long, lprcUpdate As RECT, ByVal fuScroll As Long) As Long
Declare Function SearchPath Lib "kernel32" Alias "SearchPathA" (ByVal lpPath As String, ByVal lpFileName As String, ByVal lpExtension As String, ByVal nBufferLength As Long, ByVal lpBuffer As String, lpFilePart As Long) As Long
Declare Function SearchTreeForFile lib "imagehelp" (ByVal RootPath As String, ByVal InputPathName As String, ByVal InputPathBuffer As String) As Long
Declare Function SecurityDescriptorToBinarySD lib "activeds" (ByVal vVarSecDes As Variant, ByRef ppSecurityDescriptor As SECURITY_DESCRIPTOR, ByRef pdwSDLength As Long, ByVal pszServerName As String, ByVal userName As String, ByVal passWord As String, ByVal dwFlags As Long) As Long
Declare Function SelectClipPath Lib "gdi32" Alias "SelectClipPath" (ByVal hdc As Long, ByVal iMode As Long) As Long
Declare Function SelectClipRgn Lib "gdi32" Alias "SelectClipRgn" (ByVal hdc As Long, ByVal hRgn As Long) As Long
Declare Function SelectCMM lib "mscms" (ByVal dword As Long) As Long
Declare Function SelectNPPBlobFromTable lib "npptools" (ByVal hwnd As Long, ByRef pBlobTable As PBLOB_TABLE, ByRef hBlob As hBlob) As Long
Declare Function SelectObject Lib "gdi32" Alias "SelectObject" (ByVal hdc As Long, ByVal hObject As Long) As Long
Declare Function SelectPalette Lib "gdi32" Alias "SelectPalette" (ByVal hdc As Long, ByVal hPalette As Long, ByVal bForceBackground As Long) As Long
Declare Function selectws lib "WS2_32" Alias "select" (ByVal nfds As Long, ByRef readfds As Long, ByRef writefds As Long, ByRef exceptfds As Long, ByRef timeout As Long) As Long
Declare Function send lib "ws2_32" (ByVal s As Long, ByVal buf As String, ByVal lLen As Long, ByVal flags As Long) As Long
Declare Function SendARP lib "IPHLPAPI" (ByRef DestIP As IPAddr, ByRef SrcIP As IPAddr, ByRef pMacAddr As Long, ByRef PhyAddrLen As Long) As Long
Declare Function SendDlgItemMessage Lib "user32" Alias "SendDlgItemMessageA" (ByVal hDlg As Long, ByVal nIDDlgItem As Long, ByVal wMsg As Long, ByVal wParam As Long, ByVal lParam As Long) As Long
Declare Function SendDriverMessage Lib "winmm.dll" Alias "SendDriverMessage" (ByVal hDriver As Long, ByVal message As Long, ByVal lParam1 As Long, ByVal lParam2 As Long) As Long
Declare Function SendIMEMessageEx lib "user32" Alias "SendIMEMessageExA" (ByVal hwnd As Long, ByVal lparam As Long) As Long
Declare Function SendInput lib "user32" (ByVal cInputs As Long, ByRef pInputs As INPUT, ByVal cbSize As Long) As Long
Declare Function SendMessage Lib "user32" Alias "SendMessageA" (ByVal hwnd As Long, ByVal wMsg As Long, ByVal wParam As Long, lParam As Any) As Long
Declare Function SendMessageByNum Lib "user32" Alias "SendMessageA" (ByVal hwnd As Long, ByVal wMsg As Long, ByVal wParam As Long, ByVal lParam As Long) As Long
Declare Function SendMessageByString Lib "user32" Alias "SendMessageA" (ByVal hwnd As Long, ByVal wMsg As Long, ByVal wParam As Long, ByVal lParam As String) As Long
Declare Function SendMessageCallback Lib "user32" Alias "SendMessageCallbackA" (ByVal hwnd As Long, ByVal msg As Long, ByVal wParam As Long, ByVal lParam As Long, ByVal lpResultCallBack As Long, ByVal dwData As Long) As Long
Declare Function SendMessageTimeout Lib "user32" Alias "SendMessageTimeoutA" (ByVal hwnd As Long, ByVal msg As Long, ByVal wParam As Long, ByVal lParam As Long, ByVal fuFlags As Long, ByVal uTimeout As Long, lpdwResult As Long) As Long
Declare Function SendNotifyMessage Lib "user32" Alias "SendNotifyMessageA" (ByVal hwnd As Long, ByVal msg As Long, ByVal wParam As Long, ByVal lParam As Long) As Long
Declare Function sendto lib "ws2_32" (ByVal s As Long, ByVal buf As String, ByVal lLen As Long, ByVal flags As Long, ByRef to As sockaddr, ByVal tolen As Long) As Long
Declare Function SetAbortProc Lib "gdi32" Alias "SetAbortProc" (ByVal hDC As Long, ByVal lpAbortProc As Long) As Long
Declare Function SetAclInformation Lib "advapi32.dll" Alias "SetAclInformation" (pAcl As ACL, pAclInformation As Any, ByVal nAclInformationLength As Long, ByVal dwAclInformationClass As Integer) As Long
Declare Function SetActiveWindow Lib "user32" Alias "SetActiveWindow" (ByVal hwnd As Long) As Long
Declare Function SetArcDirection Lib "gdi32" Alias "SetArcDirection" (ByVal hdc As Long, ByVal ArcDirection As Long) As Long
Declare Function SetBitmapBits Lib "gdi32" Alias "SetBitmapBits" (ByVal hBitmap As Long, ByVal dwCount As Long, lpBits As Any) As Long
Declare Function SetBitmapDimensionEx Lib "gdi32" Alias "SetBitmapDimensionEx" (ByVal hbm As Long, ByVal nX As Long, ByVal nY As Long, lpSize As SIZE) As Long
Declare Function SetBkColor Lib "gdi32" Alias "SetBkColor" (ByVal hdc As Long, ByVal crColor As Long) As Long
Declare Function SetBkMode Lib "gdi32" Alias "SetBkMode" (ByVal hdc As Long, ByVal nBkMode As Long) As Long
Declare Function SetBoolInBlob lib "npptools" (ByRef hBlob As hBlob, ByVal pOwnerName As String, ByVal pCategoryName As String, ByVal pTagName As String, ByVal Bool As Long) As Long
Declare Function SetBoundsRect Lib "gdi32" Alias "SetBoundsRect" (ByVal hdc As Long, lprcBounds As RECT, ByVal flags As Long) As Long
Declare Function SetBrushOrgEx Lib "gdi32" Alias "SetBrushOrgEx" (ByVal hdc As Long, ByVal nXOrg As Long, ByVal nYOrg As Long, lppt As POINTAPI) As Long
Declare Function SetCalendarInfo lib "kernel32" Alias "SetCalendarInfoA" (ByVal Locale As Long, ByVal Calendar As Long, ByVal CalType As Long, ByVal lpCalData As String) As Long
Declare Function SetCapture Lib "user32" Alias "SetCapture" (ByVal hwnd As Long) As Long
Declare Function SetCaretBlinkTime Lib "user32" Alias "SetCaretBlinkTime" (ByVal wMSeconds As Long) As Long
Declare Function SetCaretPos Lib "user32" Alias "SetCaretPos" (ByVal x As Long, ByVal y As Long) As Long
Declare Function SetClassIDInBlob lib "npptools" (ByRef hBlob As hBlob, ByVal pOwnerName As String, ByVal pCategoryName As String, ByVal pTagName As String, ByRef pclsid As Long) As Long
Declare Function SetClassLong Lib "user32" Alias "SetClassLongA" (ByVal hwnd As Long, ByVal nIndex As Long, ByVal dwNewLong As Long) As Long
Declare Function SetClassWord Lib "user32" Alias "SetClassWord" (ByVal hwnd As Long, ByVal nIndex As Long, ByVal wNewWord As Long) As Long
Declare Function SetClipboardData Lib "user32" (ByVal wFormat As Long, ByVal hMem As Long) As Long
Declare Function SetClipboardViewer Lib "user32" Alias "SetClipboardViewer" (ByVal hwnd As Long) As Long
Declare Function SetClusterGroupName lib "clusapi" (ByRef hGroup As hGroup, ByVal lpszGroupName As String) As Long
Declare Function SetClusterGroupNodeList lib "clusapi" (ByRef hGroup As hGroup, ByVal NodeCount As Long, ByRef NodeList() As HNODE) As Long
Declare Function SetClusterName lib "clusapi" (ByRef hCluster As hCluster, ByVal lpszNewClusterName As String) As Long
Declare Function SetClusterNetworkPriorityOrder lib "clusapi" (ByRef hCluster As hCluster, ByVal NetworkCount As Long, ByRef NetworkList() As HNETWORK) As Long
Declare Function SetClusterQuorumResource lib "clusapi" (ByRef hResource As hResource, ByVal lpszDeviceName As String, ByVal dwMaxQuoLogSize As Long) As Long
Declare Function SetClusterResourceName lib "clusapi" (ByRef hResource As hResource, ByVal lpszResourceName As String) As Long
Declare Function SetColorAdjustment Lib "gdi32" Alias "SetColorAdjustment" (ByVal hdc As Long, lpca As COLORADJUSTMENT) As Long
Declare Function SetColorProfileElement lib "mscms" (ByRef THPROFILE As Long, ByRef TTAGTYPE As TAGTYPE, ByVal dword As Long, ByRef pdword As Long, pvoid As Any) As Long
Declare Function SetColorProfileElementReference lib "mscms" (ByRef THPROFILE As Long, ByRef TTAGTYPE As TAGTYPE, ByRef TTAGTYPE As TAGTYPE) As Long
Declare Function SetColorProfileElementSize lib "mscms" (ByRef THPROFILE As Long, ByRef TTAGTYPE As TAGTYPE, ByVal dword As Long) As Long
Declare Function SetColorProfileHeader lib "mscms" (ByRef THPROFILE As Long, ByRef TPPROFILEHEADER As PPROFILEHEADER) As Long
Declare Function SetColorSpace Lib "gdi32" Alias "SetColorSpace" (ByVal hdc As Long, ByVal hcolorspace As Long) As Long
Declare Function SetCommBreak Lib "kernel32" Alias "SetCommBreak" (ByVal nCid As Long) As Long
Declare Function SetCommConfig Lib "kernel32" Alias "SetCommConfig" (ByVal hCommDev As Long, lpCC As COMMCONFIG, ByVal dwSize As Long) As Long
Declare Function SetCommMask Lib "kernel32" Alias "SetCommMask" (ByVal hFile As Long, ByVal dwEvtMask As Long) As Long
Declare Function SetCommState Lib "kernel32" Alias "SetCommState" (ByVal hCommDev As Long, lpDCB As DCB) As Long
Declare Function SetCommTimeouts Lib "kernel32" Alias "SetCommTimeouts" (ByVal hFile As Long, lpCommTimeouts As COMMTIMEOUTS) As Long
Declare Function SetComputerName Lib "kernel32" Alias "SetComputerNameA" (ByVal lpComputerName As String) As Long
Declare Function SetComputerNameEx lib "kernel32" Alias "SetComputerNameExA" (ByVal NameType As Struct_MembersOf_COMPUTER_NAME_FORMAT, ByVal lpBuffer As String) As Long
Declare Function SetConsoleActiveScreenBuffer Lib "kernel32" Alias "SetConsoleActiveScreenBuffer" (ByVal hConsoleOutput As Long) As Long
Declare Function SetConsoleCP Lib "kernel32" Alias "SetConsoleCP" (ByVal wCodePageID As Long) As Long
Declare Function SetConsoleCtrlHandler Lib "kernel32" Alias "SetConsoleCtrlHandler" (ByVal HandlerRoutine As Long, ByVal Add As Long) As Long
Declare Function SetConsoleCursorInfo Lib "kernel32" Alias "SetConsoleCursorInfo" (ByVal hConsoleOutput As Long, lpConsoleCursorInfo As CONSOLE_CURSOR_INFO) As Long
Declare Function SetConsoleCursorPosition Lib "kernel32" Alias "SetConsoleCursorPosition" (ByVal hConsoleOutput As Long, dwCursorPosition As COORD) As Long
Declare Function SetConsoleMode Lib "kernel32" Alias "SetConsoleMode" (ByVal hConsoleHandle As Long, ByVal dwMode As Long) As Long
Declare Function SetConsoleOutputCP Lib "kernel32" Alias "SetConsoleOutputCP" (ByVal wCodePageID As Long) As Long
Declare Function SetConsoleScreenBufferSize Lib "kernel32" Alias "SetConsoleScreenBufferSize" (ByVal hConsoleOutput As Long, dwSize As COORD) As Long
Declare Function SetConsoleTextAttribute Lib "kernel32" Alias "SetConsoleTextAttribute" (ByVal hConsoleOutput As Long, ByVal wAttributes As Long) As Long
Declare Function SetConsoleTitle Lib "kernel32" Alias "SetConsoleTitleA" (ByVal lpConsoleTitle As String) As Long
Declare Function SetConsoleWindowInfo Lib "kernel32" Alias "SetConsoleWindowInfo" (ByVal hConsoleOutput As Long, ByVal bAbsolute As Long, lpConsoleWindow As SMALL_RECT) As Long
Declare Function SetCriticalSectionSpinCount lib "kernel32" (ByRef lpCriticalSection As Long, ByVal dwSpinCount As Long) As Long
Declare Function SetCurrentDirectory Lib "kernel32" Alias "SetCurrentDirectoryA" (ByVal lpPathName As String) As Long
Declare Function SetCursor Lib "user32" Alias "SetCursor" (ByVal hCursor As Long) As Long
Declare Function SetCursorPos Lib "user32" Alias "SetCursorPos" (ByVal x As Long, ByVal y As Long) As Long
Declare Function SetDCBrushColor lib "gdi32" (ByVal hdc As Long, ByVal colorref As Long) As Long
Declare Function SetDCPenColor lib "gdi32" (ByVal hdc As Long, ByVal colorref As Long) As Long
Declare Function SetDefaultCommConfig Lib "kernel32" Alias "SetDefaultCommConfigA" (ByVal lpszName As String, lpCC As COMMCONFIG, ByVal dwSize As Long) As Long
Declare Function SetDeviceGammaRamp Lib "gdi32" Alias "SetDeviceGammaRamp" (ByVal hdc As Long, lpv As Any) As Long
Declare Function SetDIBColorTable Lib "gdi32" Alias "SetDIBColorTable" (ByVal hDC As Long, ByVal un1 As Long, ByVal un2 As Long, pcRGBQuad As RGBQUAD) As Long
Declare Function SetDIBits Lib "gdi32" Alias "SetDIBits" (ByVal hdc As Long, ByVal hBitmap As Long, ByVal nStartScan As Long, ByVal nNumScans As Long, lpBits As Any, lpBI As BITMAPINFO, ByVal wUsage As Long) As Long
Declare Function SetDIBitsToDevice Lib "gdi32" Alias "SetDIBitsToDevice" (ByVal hdc As Long, ByVal x As Long, ByVal y As Long, ByVal dx As Long, ByVal dy As Long, ByVal SrcX As Long, ByVal SrcY As Long, ByVal Scan As Long, ByVal NumScans As Long, Bits As Any, BitsInfo As BITMAPINFO, ByVal wUsage As Long) As Long
Declare Function SetDlgItemInt Lib "user32" Alias "SetDlgItemInt" (ByVal hDlg As Long, ByVal nIDDlgItem As Long, ByVal wValue As Long, ByVal bSigned As Long) As Long
Declare Function SetDlgItemText Lib "user32" Alias "SetDlgItemTextA" (ByVal hDlg As Long, ByVal nIDDlgItem As Long, ByVal lpString As String) As Long
Declare Function SetDoubleClickTime Lib "user32" Alias "SetDoubleClickTime" (ByVal wCount As Long) As Long
Declare Function SetDwordInBlob lib "npptools" (ByRef hBlob As hBlob, ByVal pOwnerName As String, ByVal pCategoryName As String, ByVal pTagName As String, ByVal dword As Long) As Long
Declare Function SetEndOfFile Lib "kernel32" Alias "SetEndOfFile" (ByVal hFile As Long) As Long
Declare Function SetEnhMetaFileBits Lib "gdi32" Alias "SetEnhMetaFileBits" (ByVal cbBuffer As Long, lpData As Byte) As Long
Declare Function SetEntriesInAcl lib "ADVAPI32" (ByVal cCountOfExplicitEntries As Long, ByRef pListOfExplicitEntries As EXPLICIT_ACCESS, ByVal OldAcl As Struct_MembersOf_PACL, ByRef NewAcl As PACL) As Long
Declare Function SetEnvironmentVariable Lib "kernel32" Alias "SetEnvironmentVariableA" (ByVal lpName As String, ByVal lpValue As String) As Long
Declare Function SetErrorMode Lib "kernel32" Alias "SetErrorMode" (ByVal wMode As Long) As Long
Declare Function SetEvent Lib "kernel32" Alias "SetEvent" (ByVal hEvent As Long) As Long
Declare Function SetFileAttributes Lib "kernel32" Alias "SetFileAttributesA" (ByVal lpFileName As String, ByVal dwFileAttributes As Long) As Long
Declare Function SetFilePointer Lib "kernel32" Alias "SetFilePointer" (ByVal hFile As Long, ByVal lDistanceToMove As Long, lpDistanceToMoveHigh As Long, ByVal dwMoveMethod As Long) As Long
Declare Function SetFilePointerEx lib "kernel32" (ByVal hFile As Long, ByVal liDistanceToMove As Struct_MembersOf_LARGE_INTEGER, ByRef lpNewFilePointer As LARGE_INTEGER, ByVal dwMoveMethod As Long) As Long
Declare Function SetFileSecurity Lib "advapi32.dll" Alias "SetFileSecurityA" (ByVal lpFileName As String, ByVal SecurityInformation As Long, pSecurityDescriptor As SECURITY_DESCRIPTOR) As Long
Declare Function SetFileTime Lib "kernel32" Alias "SetFileTime" (ByVal hFile As Long, lpCreationTime As FILETIME, lpLastAccessTime As FILETIME, lpLastWriteTime As FILETIME) As Long
Declare Function SetFocus lib "user32" (ByVal hwnd As Long) As Long
Declare Function SetFocusAPI Lib "user32" Alias "SetFocus" (ByVal hwnd As Long) As Long
Declare Function SetForegroundWindow Lib "user32" Alias "SetForegroundWindow" (ByVal hwnd As Long) As Long
Declare Function SetForm Lib "winspool.drv" Alias "SetFormA" (ByVal hPrinter As Long, ByVal pFormName As String, ByVal Level As Long, pForm As Byte) As Long
Declare Function SetGraphicsMode Lib "gdi32" Alias "SetGraphicsMode" (ByVal hdc As Long, ByVal iMode As Long) As Long
Declare Function SetHandleCount Lib "kernel32" Alias "SetHandleCount" (ByVal wNumber As Long) As Long
Declare Function SetHandleInformation Lib "kernel32" Alias "SetHandleInformation" (ByVal hObject As Long, ByVal dwMask As Long, ByVal dwFlags As Long) As Long
Declare Function SetICMMode Lib "gdi32" Alias "SetICMMode" (ByVal hdc As Long, ByVal n As Long) As Long
Declare Function SetICMProfile Lib "gdi32" Alias "SetICMProfileA" (ByVal hdc As Long, ByVal lpStr As String) As Long
Declare Function SetIfEntry lib "IPHLPAPI" (ByRef pIfRow As PMIB_IFROW) As Long
Declare Function SetImageConfigInformation lib "imagehlp" (ByRef LoadedImage As PLOADED_IMAGE, ByRef ImageConfigInformation As PIMAGE_LOAD_CONFIG_DIRECTORY) As Long
Declare Function SetInformationJobObject lib "kernel32" (ByVal hJob As Long, ByRef JobObjectInformationClass As JOBOBJECTINFOCLASS, lpJobObjectInformation As Any, ByVal cbJobObjectInformationLength As Long) As Long
Declare Function SetIoCompletionProc lib "rtutils" (ByVal FileHandle As Long, ByVal CompletionProc As Long) As Long
Declare Function SetIpForwardEntry lib "IPHLPAPI" (ByRef pRoute As PMIB_IPFORWARDROW) As Long
Declare Function SetIpNetEntry lib "IPHLPAPI" (ByRef pArpEntry As PMIB_IPNETROW) As Long
Declare Function SetIpStatistics lib "IPHLPAPI" (ByRef pIpStats As PMIB_IPSTATS) As Long
Declare Function SetIpTTL lib "IPHLPAPI" (ByVal nTTL As Long) As Long
Declare Function SetJob Lib "winspool.drv" Alias "SetJobA" (ByVal hPrinter As Long, ByVal JobId As Long, ByVal Level As Long, pJob As Byte, ByVal Command As Long) As Long
Declare Function SetKernelObjectSecurity Lib "advapi32.dll" Alias "SetKernelObjectSecurity" (ByVal Handle As Long, ByVal SecurityInformation As Long, SecurityDescriptor As SECURITY_DESCRIPTOR) As Long
Declare Function SetKeyboardState Lib "user32" Alias "SetKeyboardState" (lppbKeyState As Byte) As Long
Declare Function SetLayeredWindowAttributes lib "user32" (ByVal hwnd As Long, ByVal crKey As Long, ByVal bAlpha As Byte, ByVal dwFlags As Long) As Long
Declare Function SetLayout lib "gdi32" (ByVal hdc As Long, ByVal dword As Long) As Long
Declare Function SetLocaleInfo Lib "kernel32" Alias "SetLocaleInfoA" (ByVal Locale As Long, ByVal LCType As Long, ByVal lpLCData As String) As Long
Declare Function SetLocalTime Lib "kernel32" Alias "SetLocalTime" (lpSystemTime As SYSTEMTIME) As Long
Declare Function SetMacAddressInBlob lib "npptools" (ByRef hBlob As hBlob, ByVal pOwnerName As String, ByVal pCategoryName As String, ByVal pTagName As String, ByVal pMacAddress As String) As Long
Declare Function SetMailslotInfo Lib "kernel32" Alias "SetMailslotInfo" (ByVal hMailslot As Long, ByVal lReadTimeout As Long) As Long
Declare Function SetMapMode Lib "gdi32" Alias "SetMapMode" (ByVal hdc As Long, ByVal nMapMode As Long) As Long
Declare Function SetMapperFlags Lib "gdi32" Alias "SetMapperFlags" (ByVal hdc As Long, ByVal dwFlag As Long) As Long
Declare Function SetMenu Lib "user32" Alias "SetMenu" (ByVal hwnd As Long, ByVal hMenu As Long) As Long
Declare Function SetMenuContextHelpId Lib "user32" Alias "SetMenuContextHelpId" (ByVal hMenu As Long, ByVal dw As Long) As Long
Declare Function SetMenuDefaultItem Lib "user32" Alias "SetMenuDefaultItem" (ByVal hMenu As Long, ByVal uItem As Long, ByVal fByPos As Long) As Long
Declare Function SetMenuInfo lib "user32" (ByVal hmenu As Long, ByRef LPCMENUINFO As CMENUINFO) As Long
Declare Function SetMenuItemBitmaps Lib "user32" Alias "SetMenuItemBitmaps" (ByVal hMenu As Long, ByVal nPosition As Long, ByVal wFlags As Long, ByVal hBitmapUnchecked As Long, ByVal hBitmapChecked As Long) As Long
Declare Function SetMenuItemInfo Lib "user32" Alias "SetMenuItemInfoA" (ByVal hMenu As Long, ByVal un As Long, ByVal bypos As Long, lpcMenuItemInfo As MENUITEMINFO) As Long
Declare Function SetMessageExtraInfo Lib "user32" Alias "SetMessageExtraInfo" (ByVal lParam As Long) As Long
Declare Function SetMessageQueue Lib "user32" Alias "SetMessageQueue" (ByVal cMessagesMax As Long) As Long
Declare Function SetMessageWaitingIndicator lib "kernel32" (ByVal hMsgIndicator As Long, ByVal ulMsgCount As Long) As Long
Declare Function SetMetaFileBitsEx Lib "gdi32" Alias "SetMetaFileBitsEx" (ByVal nSize As Long, lpData As Byte) As Long
Declare Function SetMetaRgn Lib "gdi32" Alias "SetMetaRgn" (ByVal hdc As Long) As Long
Declare Function SetMiterLimit Lib "gdi32" Alias "SetMiterLimit" (ByVal hdc As Long, ByVal eNewLimit As Single, peOldLimit As Single) As Long
Declare Function SetNamedPipeHandleState Lib "kernel32" Alias "SetNamedPipeHandleState" (ByVal hNamedPipe As Long, lpMode As Long, lpMaxCollectionCount As Long, lpCollectDataTimeout As Long) As Long
Declare Function SetNamedSecurityInfo lib "ADVAPI32" (ByVal pObjectName As String, ByRef ObjectType As SE_OBJECT_TYPE, ByVal SecurityInfo As Long, ByRef psidOwner As SID, ByRef psidGroup As SID, ByVal pDacl As Struct_MembersOf_PACL, ByVal pSacl As Struct_MembersOf_PACL) As Long
Declare Function SetNetworkInfoInBlob lib "npptools" (ByRef hBlob As hBlob, ByRef lpNetworkInfo As lpNetworkInfo) As Long
Declare Function SetNPPAddressFilterInBlob lib "npptools" (ByRef hBlob As hBlob, ByRef pAddressTable As LPADDRESSTABLE) As Long
Declare Function SetNPPEtypeSapFilter lib "npptools" (ByRef hBlob As hBlob, ByVal nSaps As Integer, ByVal nEtypes As Integer, ByVal lpSapTable As String, ByRef lpEtypeTable As Integer, ByVal FilterFlags As Long, ByRef hErrorBlob As hBlob) As Long
Declare Function SetNPPPatternFilterInBlob lib "npptools" (ByRef hBlob As hBlob, ByRef pExpression As LPEXPRESSION, ByRef hErrorBlob As hBlob) As Long
Declare Function SetNPPTriggerInBlob lib "npptools" (ByRef hBlob As hBlob, ByRef pTrigger As LPTRIGGER, ByRef hErrorBlob As hBlob) As Long
Declare Function SetNtmsDeviceChangeDetection lib "ntmsapi" (ByVal hSession As Long, ByVal DetectHandle As Long, ByRef lpRequestId As LPNTMS_GUID, ByVal dwType As Long, ByVal dwCount As Long) As Long
Declare Function SetNtmsMediaComplete lib "ntmsapi" (ByVal hSession As Long, ByRef lpMediaId As LPNTMS_GUID) As Long
Declare Function SetNtmsObjectAttribute lib "ntmsapi" (ByVal hSession As Long, ByRef lpObjectId As LPNTMS_GUID, ByVal dwType As Long, ByVal lpAttributeName As String, lpAttributeData As Any, ByVal dwAttributeSize As Long) As Long
Declare Function SetNtmsObjectInformation lib "ntmsapi" (ByVal hSession As Long, ByRef lpObjectId As LPNTMS_GUID, ByRef lpInfo As LPNTMS_OBJECTINFORMATIONA) As Long
Declare Function SetNtmsObjectSecurity lib "ntmsapi" (ByVal hSession As Long, ByRef lpObjectId As LPNTMS_GUID, ByVal dwType As Long, ByVal SecurityInformation As Long, ByRef lpSecurityDescriptor As SECURITY_DESCRIPTOR) As Long
Declare Function SetNtmsRequestOrder lib "ntmsapi" (ByVal hSession As Long, ByRef lpRequestId As LPNTMS_GUID, ByVal dwOrderNumber As Long) As Long
Declare Function SetPaletteEntries Lib "gdi32" Alias "SetPaletteEntries" (ByVal hPalette As Long, ByVal wStartIndex As Long, ByVal wNumEntries As Long, lpPaletteEntries As PALETTEENTRY) As Long
Declare Function SetParent Lib "user32" Alias "SetParent" (ByVal hWndChild As Long, ByVal hWndNewParent As Long) As Long
Declare Function SetPerUserSecValues lib "advpack" (ByRef pPerUser As PPERUSERSECTION) As Long
Declare Function SetPhraseTable lib "ftsrch" (ByVal hcmp As Long, ByVal pbImages As String, ByVal cbImages As Long, ByVal pacbImageCompressed As String, ByVal cbCompressed As Long) As Long
Declare Function SetPixel Lib "gdi32" Alias "SetPixel" (ByVal hdc As Long, ByVal x As Long, ByVal y As Long, ByVal crColor As Long) As Long
Declare Function SetPixelFormat Lib "gdi32" Alias "SetPixelFormat" (ByVal hDC As Long, ByVal n As Long, pcPixelFormatDescriptor As PIXELFORMATDESCRIPTOR) As Long
Declare Function SetPixelV Lib "gdi32" Alias "SetPixelV" (ByVal hdc As Long, ByVal x As Long, ByVal y As Long, ByVal crColor As Long) As Long
Declare Function SetPolyFillMode Lib "gdi32" Alias "SetPolyFillMode" (ByVal hdc As Long, ByVal nPolyFillMode As Long) As Long
Declare Function SetPrinter Lib "winspool.drv" Alias "SetPrinterA" (ByVal hPrinter As Long, ByVal Level As Long, pPrinter As Byte, ByVal Command As Long) As Long
Declare Function SetPrinterData Lib "winspool.drv" Alias "SetPrinterDataA" (ByVal hPrinter As Long, ByVal pValueName As String, ByVal dwType As Long, pData As Byte, ByVal cbData As Long) As Long
Declare Function SetPriorityClass Lib "kernel32" Alias "SetPriorityClass" (ByVal hProcess As Long, ByVal dwPriorityClass As Long) As Long
Declare Function SetPrivateObjectSecurity Lib "advapi32.dll" Alias "SetPrivateObjectSecurity" (ByVal SecurityInformation As Long, ModificationDescriptor As SECURITY_DESCRIPTOR, ObjectsSecurityDescriptor As SECURITY_DESCRIPTOR, GenericMapping As GENERIC_MAPPING, ByVal Token As Long) As Long
Declare Function SetPrivateObjectSecurityEx lib "advapi32" (ByVal SecurityInformation As Long, ByRef ModificationDescriptor As SECURITY_DESCRIPTOR, ByRef ObjectsSecurityDescriptor As SECURITY_DESCRIPTOR, ByVal AutoInheritFlags As Long, ByRef GenericMapping As GENERIC_MAPPING, ByVal Token As Long) As Long
Declare Function SetProcessAffinityMask lib "kernel32" (ByVal hProcess As Long, ByRef dwProcessAffinityMask As Long) As Long
Declare Function SetProcessDefaultLayout lib "user32" (ByVal dwDefaultLayout As Long) As Long
Declare Function SetProcessPriorityBoost lib "kernel32" (ByVal hProcess As Long, ByVal bDisablePriorityBoost As Long) As Long
Declare Function SetProcessShutdownParameters Lib "kernel32" Alias "SetProcessShutdownParameters" (ByVal dwLevel As Long, ByVal dwFlags As Long) As Long
Declare Function SetProcessWindowStation Lib "user32" Alias "SetProcessWindowStation" (ByVal hWinSta As Long) As Long
Declare Function SetProcessWorkingSetSize Lib "kernel32" Alias "SetProcessWorkingSetSize" (ByVal hProcess As Long, ByVal dwMinimumWorkingSetSize As Long, ByVal dwMaximumWorkingSetSize As Long) As Long
Declare Function SetProp Lib "user32" Alias "SetPropA" (ByVal hwnd As Long, ByVal lpString As String, ByVal hData As Long) As Long
Declare Function SetRect Lib "user32" Alias "SetRect" (lpRect As RECT, ByVal X1 As Long, ByVal Y1 As Long, ByVal X2 As Long, ByVal Y2 As Long) As Long
Declare Function SetRectEmpty Lib "user32" Alias "SetRectEmpty" (lpRect As RECT) As Long
Declare Function SetRectRgn Lib "gdi32" Alias "SetRectRgn" (ByVal hRgn As Long, ByVal X1 As Long, ByVal Y1 As Long, ByVal X2 As Long, ByVal Y2 As Long) As Long
Declare Function SetROP2 Lib "gdi32" Alias "SetROP2" (ByVal hdc As Long, ByVal nDrawMode As Long) As Long
Declare Function SetScrollInfo Lib "user32" Alias "SetScrollInfo" (ByVal hWnd As Long, ByVal n As Long, lpcScrollInfo As SCROLLINFO, ByVal bool As Long) As Long
Declare Function SetScrollPos Lib "user32" Alias "SetScrollPos" (ByVal hwnd As Long, ByVal nBar As Long, ByVal nPos As Long, ByVal bRedraw As Long) As Long
Declare Function SetScrollRange Lib "user32" Alias "SetScrollRange" (ByVal hwnd As Long, ByVal nBar As Long, ByVal nMinPos As Long, ByVal nMaxPos As Long, ByVal bRedraw As Long) As Long
Declare Function SetSecurityDescriptorControl lib "advapi32" (ByRef pSecurityDescriptor As SECURITY_DESCRIPTOR, ByVal ControlBitsOfInterest As Integer, ByVal ControlBitsToSet As Integer) As Long
Declare Function SetSecurityDescriptorDacl Lib "advapi32.dll" Alias "SetSecurityDescriptorDacl" (pSecurityDescriptor As SECURITY_DESCRIPTOR, ByVal bDaclPresent As Long, pDacl As ACL, ByVal bDaclDefaulted As Long) As Long
Declare Function SetSecurityDescriptorGroup Lib "advapi32.dll" Alias "SetSecurityDescriptorGroup" (pSecurityDescriptor As SECURITY_DESCRIPTOR, pGroup As Any, ByVal bGroupDefaulted As Long) As Long
Declare Function SetSecurityDescriptorOwner Lib "advapi32.dll" Alias "SetSecurityDescriptorOwner" (pSecurityDescriptor As SECURITY_DESCRIPTOR, pOwner As Any, ByVal bOwnerDefaulted As Long) As Long
Declare Function SetSecurityDescriptorRMControl lib "ADVAPI32" (ByRef SecurityDescriptor As SECURITY_DESCRIPTOR, ByVal RMControl As String) As Long
Declare Function SetSecurityDescriptorSacl Lib "advapi32.dll" Alias "SetSecurityDescriptorSacl" (pSecurityDescriptor As SECURITY_DESCRIPTOR, ByVal bSaclPresent As Long, pSacl As ACL, ByVal bSaclDefaulted As Long) As Long
Declare Function SetSecurityInfo lib "ADVAPI32" (ByVal handle As Long, ByRef ObjectType As SE_OBJECT_TYPE, ByVal SecurityInfo As Long, ByRef psidOwner As SID, ByRef psidGroup As SID, ByVal pDacl As Struct_MembersOf_PACL, ByVal pSacl As Struct_MembersOf_PACL) As Long
Declare Function SetService lib "MSWSOCK" (ByVal dwNameSpace As Long, ByVal dwOperation As Long, ByVal dwFlags As Long, ByRef lpServiceInfo As SERVICE_INFO, ByRef lpServiceAsyncInfo As LPSERVICE_ASYNC_INFO, ByRef lpdwStatusFlags As Long) As Long
Declare Function SetServiceBits Lib "advapi32.dll" Alias "SetServiceBits" (ByVal hServiceStatus As Long, ByVal dwServiceBits As Long, ByVal bSetBitsOn As Long, ByVal bUpdateImmediately As Long) As Long
Declare Function SetServiceObjectSecurity Lib "advapi32.dll" Alias "SetServiceObjectSecurity" (ByVal hService As Long, ByVal dwSecurityInformation As Long, lpSecurityDescriptor As Any) As Long
Declare Function SetServiceStatus Lib "advapi32.dll" Alias "SetServiceStatus" (ByVal hServiceStatus As Long, lpServiceStatus As SERVICE_STATUS) As Long
Declare Function setsockopt lib "ws2_32" (ByVal s As Long, ByVal level As Long, ByVal optname As Long, ByVal optval As String, ByVal optlen As Long) As Long
Declare Function SetStandardColorSpaceProfile lib "mscms" Alias "SetStandardColorSpaceProfileA" (ByVal pcstr As String, ByVal dword As Long, ByVal pcstr As String) As Long
Declare Function SetStdHandle Lib "kernel32" Alias "SetStdHandle" (ByVal nStdHandle As Long, ByVal nHandle As Long) As Long
Declare Function SetStretchBltMode Lib "gdi32" Alias "SetStretchBltMode" (ByVal hdc As Long, ByVal nStretchMode As Long) As Long
Declare Function SetStringInBlob lib "npptools" (ByRef hBlob As hBlob, ByVal pOwnerName As String, ByVal pCategoryName As String, ByVal pTagName As String, ByVal pString As String) As Long
Declare Function SetSysColors Lib "user32" Alias "SetSysColors" (ByVal nChanges As Long, lpSysColor As Long, lpColorValues As Long) As Long
Declare Function SetSystemCursor Lib "user32" Alias "SetSystemCursor" (ByVal hcur As Long, ByVal id As Long) As Long
Declare Function SetSystemPaletteUse Lib "gdi32" Alias "SetSystemPaletteUse" (ByVal hdc As Long, ByVal wUsage As Long) As Long
Declare Function SetSystemPowerState Lib "kernel32" Alias "SetSystemPowerState" (ByVal fSuspend As Long, ByVal fForce As Long) As Long
Declare Function SetSystemTime Lib "kernel32" Alias "SetSystemTime" (lpSystemTime As SYSTEMTIME) As Long
Declare Function SetSystemTimeAdjustment Lib "kernel32" Alias "SetSystemTimeAdjustment" (ByVal dwTimeAdjustment As Long, ByVal bTimeAdjustmentDisabled As Long) As Long
Declare Function SetTapeParameters Lib "kernel32" Alias "SetTapeParameters" (ByVal hDevice As Long, ByVal dwOperation As Long, lpTapeInformation As Any) As Long
Declare Function SetTapePosition Lib "kernel32" Alias "SetTapePosition" (ByVal hDevice As Long, ByVal dwPositionMethod As Long, ByVal dwPartition As Long, ByVal dwOffsetLow As Long, ByVal dwOffsetHigh As Long, ByVal bimmediate As Long) As Long
Declare Function SetTcpEntry lib "IPHLPAPI" (ByRef pTcpRow As PMIB_TCPROW) As Long
Declare Function SetTextAlign Lib "gdi32" Alias "SetTextAlign" (ByVal hdc As Long, ByVal wFlags As Long) As Long
Declare Function SetTextCharacterExtra Lib "gdi32" (ByVal hdc As Long, ByVal nCharExtra As Long) As Long
Declare Function SetTextColor Lib "gdi32" Alias "SetTextColor" (ByVal hdc As Long, ByVal crColor As Long) As Long
Declare Function SetTextJustification Lib "gdi32" Alias "SetTextJustification" (ByVal hdc As Long, ByVal nBreakExtra As Long, ByVal nBreakCount As Long) As Long
Declare Function SetThreadAffinityMask Lib "kernel32" Alias "SetThreadAffinityMask" (ByVal hThread As Long, ByVal dwThreadAffinityMask As Long) As Long
Declare Function SetThreadContext Lib "kernel32" Alias "SetThreadContext" (ByVal hThread As Long, lpContext As CONTEXT) As Long
Declare Function SetThreadDesktop Lib "user32" Alias "SetThreadDesktop" (ByVal hDesktop As Long) As Long
Declare Function SetThreadIdealProcessor lib "kernel32" (ByVal hThread As Long, ByVal dwIdealProcessor As Long) As Long
Declare Function SetThreadLocale Lib "kernel32" Alias "SetThreadLocale" (ByVal Locale As Long) As Long
Declare Function SetThreadPriority Lib "kernel32" Alias "SetThreadPriority" (ByVal hThread As Long, ByVal nPriority As Long) As Long
Declare Function SetThreadPriorityBoost lib "kernel32" (ByVal hThread As Long, ByVal bDisablePriorityBoost As Long) As Long
Declare Function SetThreadToken Lib "advapi32.dll" Alias "SetThreadToken" (Thread As Long, ByVal Token As Long) As Long
Declare Function SetTimer Lib "user32" Alias "SetTimer" (ByVal hWnd As Long, ByVal nIDEvent As Long, ByVal uElapse As Long, ByVal lpTimerFunc As Long) As Long
Declare Function SetTimerQueueTimer lib "kernel32" (ByVal TimerQueue As Long, ByRef Callback As WAITORTIMERCALLBACK, Parameter As Any, ByVal DueTime As Long, ByVal Period As Long, ByVal PreferIo As Long) As Long
Declare Function SetTimeZoneInformation Lib "kernel32" Alias "SetTimeZoneInformation" (lpTimeZoneInformation As TIME_ZONE_INFORMATION) As Long
Declare Function SetTokenInformation Lib "advapi32.dll" Alias "SetTokenInformation" (ByVal TokenHandle As Long, TokenInformationClass As Integer, TokenInformation As Any, ByVal TokenInformationLength As Long) As Long
Declare Function SetUnhandledExceptionFilter Lib "kernel32" Alias "SetUnhandledExceptionFilter" (ByVal lpTopLevelExceptionFilter As Long) As Long
Declare Function SetupAddInstallSectionToDiskSpaceList lib "setupapi" Alias "SetupAddInstallSectionToDiskSpaceListA" (ByRef DiskSpace As Long, ByReffHandle As Long, ByRef LayoutInfHandle As Long, ByVal SectionName As String, Reserved1 As Any, ByVal Reserved2 As Long) As Long
Declare Function SetupAddSectionToDiskSpaceList lib "setupapi" Alias "SetupAddSectionToDiskSpaceListA" (ByRef DiskSpace As Long, ByReffHandle As Long, ByRef ListInfHandle As Long, ByVal SectionName As String, ByVal Operation As Long, Reserved1 As Any, ByVal Reserved2 As Long) As Long
Declare Function SetupAddToDiskSpaceList lib "setupapi" Alias "SetupAddToDiskSpaceListA" (ByRef DiskSpace As Long, ByVal TargetFilespec As String, ByVal FileSize As Double, ByVal Operation As Long, Reserved1 As Any, ByVal Reserved2 As Long) As Long
Declare Function SetupAddToSourceList lib "setupapi" Alias "SetupAddToSourceListA" (ByVal Flags As Long, ByVal Source As String) As Long
Declare Function SetupAdjustDiskSpaceList lib "setupapi" Alias "SetupAdjustDiskSpaceListA" (ByRef DiskSpace As Long, ByVal DriveRoot As String, ByVal Amount As Double, Reserved1 As Any, ByVal Reserved2 As Long) As Long
Declare Function SetupBackupError lib "setupapi" Alias "SetupBackupErrorA" (ByVal hwndParent As Long, ByVal DialogTitle As String, ByVal BackupFile As String, ByVal TargetFile As String, ByVal Win32ErrorCode As Long, ByVal Style As Long) As Long
Declare Function SetupCancelTemporarySourceList lib "setupapi" () As Long
Declare Function SetupCloseFileQueue lib "setupapi" (ByRef QueueHandle As Long) As Long
Declare Function SetupColorMatching lib "icmui" Alias "SetupColorMatchingA" (ByRef pcms As PCOLORMATCHSETUPA) As Long
Declare Function SetupComm Lib "kernel32" Alias "SetupComm" (ByVal hFile As Long, ByVal dwInQueue As Long, ByVal dwOutQueue As Long) As Long
Declare Function SetupCommitFileQueue lib "setupapi" (ByVal Owner As Long, ByRef QueueHandle As Long, ByRef MsgHandler As PSP_FILE_CALLBACK_A, Context As Any) As Long
Declare Function SetupCopyError lib "setupapi" Alias "SetupCopyErrorA" (ByVal hwndParent As Long, ByVal DialogTitle As String, ByVal DiskName As String, ByVal PathToSource As String, ByVal SourceFile As String, ByVal TargetPathFile As String, ByVal Win32ErrorCode As Long, ByVal Style As Long, ByVal PathBuffer As String, ByVal PathBufferSize As Long, ByRef PathRequiredSize As Long) As Long
Declare Function SetupCopyOEMInf lib "setupapi" Alias "SetupCopyOEMInfA" (ByVal SourceInfFileName As String, ByVal OEMSourceMediaLocation As String, ByVal OEMSourceMediaType As Long, ByVal CopyStyle As Long, ByVal DestinationInfFileName As String, ByVal DestinationInfFileNameSize As Long, ByRef RequiredSize As Long, ByVal DestinationInfFileNameComponent As String) As Long
Declare Function SetupDecompressOrCopyFile lib "setupapi" Alias "SetupDecompressOrCopyFileA" (ByVal SourceFileName As String, ByVal TargetFileName As String, ByRef CompressionType As Long) As Long
Declare Function SetupDefaultQueueCallback lib "setupapi" (Context As Any, ByVal Notification As Long, ByRef Param1 As Long, ByRef Param2 As Long) As Long
Declare Function SetupDeleteError lib "setupapi" Alias "SetupDeleteErrorA" (ByVal hwndParent As Long, ByVal DialogTitle As String, ByVal File As String, ByVal Win32ErrorCode As Long, ByVal Style As Long) As Long
Declare Function SetupDestroyDiskSpaceList lib "setupapi" (ByRef DiskSpace As Long) As Long
Declare Function SetupDiAskForOEMDisk lib "setupapi" (ByRef DeviceInfoSet As Long, ByRef DeviceInfoData As PSP_DEVINFO_DATA) As Long
Declare Function SetupDiBuildClassInfoList lib "setupapi" (ByVal Flags As Long, ByVal ClassGuidList As Long, ByVal ClassGuidListSize As Long, ByRef RequiredSize As Long) As Long
Declare Function SetupDiBuildClassInfoListEx lib "setupapi" Alias "SetupDiBuildClassInfoListExA" (ByVal Flags As Long, ByVal ClassGuidList As Long, ByVal ClassGuidListSize As Long, ByRef RequiredSize As Long, ByVal MachineName As String, Reserved As Any) As Long
Declare Function SetupDiBuildDriverInfoList lib "setupapi" (ByRef DeviceInfoSet As Long, ByRef DeviceInfoData As PSP_DEVINFO_DATA, ByVal DriverType As Long) As Long
Declare Function SetupDiCallClassInstaller lib "setupapi" (ByRefstallFunction As DI_FUNCTIONstallFunction, ByRef DeviceInfoSet As Long, ByRef DeviceInfoData As PSP_DEVINFO_DATA) As Long
Declare Function SetupDiCancelDriverInfoSearch lib "setupapi" (ByRef DeviceInfoSet As Long) As Long
Declare Function SetupDiChangeState lib "setupapi" (ByRef DeviceInfoSet As Long, ByRef DeviceInfoData As PSP_DEVINFO_DATA) As Long
Declare Function SetupDiClassGuidsFromName lib "setupapi" Alias "SetupDiClassGuidsFromNameA" (ByVal ClassName As String, ByVal ClassGuidList As Long, ByVal ClassGuidListSize As Long, ByRef RequiredSize As Long) As Long
Declare Function SetupDiClassGuidsFromNameEx lib "setupapi" Alias "SetupDiClassGuidsFromNameExA" (ByVal ClassName As String, ByVal ClassGuidList As Long, ByVal ClassGuidListSize As Long, ByRef RequiredSize As Long, ByVal MachineName As String, Reserved As Any) As Long
Declare Function SetupDiClassNameFromGuid lib "setupapi" Alias "SetupDiClassNameFromGuidA" (ByRef ClassGuid As GUID, ByVal ClassName As String, ByVal ClassNameSize As Long, ByRef RequiredSize As Long) As Long
Declare Function SetupDiClassNameFromGuidEx lib "setupapi" Alias "SetupDiClassNameFromGuidExA" (ByRef ClassGuid As GUID, ByVal ClassName As String, ByVal ClassNameSize As Long, ByRef RequiredSize As Long, ByVal MachineName As String, Reserved As Any) As Long
Declare Function SetupDiCreateDeviceInfo lib "setupapi" Alias "SetupDiCreateDeviceInfoA" (ByRef DeviceInfoSet As Long, ByVal DeviceName As String, ByRef ClassGuid As GUID, ByVal DeviceDescription As String, ByVal hwndParent As Long, ByVal CreationFlags As Long, ByRef DeviceInfoData As PSP_DEVINFO_DATA) As Long
Declare Function SetupDiCreateDeviceInterface lib "setupapi" Alias "SetupDiCreateDeviceInterfaceA" (ByRef DeviceInfoSet As Long, ByRef DeviceInfoData As PSP_DEVINFO_DATA, ByRefterfaceClassGuid As GUID, ByVal ReferenceString As String, ByVal CreationFlags As Long, ByRef DeviceInterfaceData As PSP_DEVICE_INTERFACE_DATA) As Long
Declare Function SetupDiCreateDeviceInterfaceRegKey lib "setupapi" Alias "SetupDiCreateDeviceInterfaceRegKeyA" (ByRef DeviceInfoSet As Long, ByRef DeviceInterfaceData As PSP_DEVICE_INTERFACE_DATA, ByVal Reserved As Long, ByVal samDesired As Long, ByReffHandle As Long, ByValfSectionName As String) As Long
Declare Function SetupDiCreateDevRegKey lib "setupapi" Alias "SetupDiCreateDevRegKeyA" (ByRef DeviceInfoSet As Long, ByRef DeviceInfoData As PSP_DEVINFO_DATA, ByVal Scope As Long, ByVal HwProfile As Long, ByVal KeyType As Long, ByReffHandle As Long, ByValfSectionName As String) As Long
Declare Function SetupDiDeleteDeviceInfo lib "setupapi" (ByRef DeviceInfoSet As Long, ByRef DeviceInfoData As PSP_DEVINFO_DATA) As Long
Declare Function SetupDiDeleteDeviceInterfaceData lib "setupapi" (ByRef DeviceInfoSet As Long, ByRef DeviceInterfaceData As PSP_DEVICE_INTERFACE_DATA) As Long
Declare Function SetupDiDeleteDeviceInterfaceRegKey lib "setupapi" (ByRef DeviceInfoSet As Long, ByRef DeviceInterfaceData As PSP_DEVICE_INTERFACE_DATA, ByVal Reserved As Long) As Long
Declare Function SetupDiDeleteDevRegKey lib "setupapi" (ByRef DeviceInfoSet As Long, ByRef DeviceInfoData As PSP_DEVINFO_DATA, ByVal Scope As Long, ByVal HwProfile As Long, ByVal KeyType As Long) As Long
Declare Function SetupDiDestroyClassImageList lib "setupapi" (ByRef ClassImageListData As PSP_CLASSIMAGELIST_DATA) As Long
Declare Function SetupDiDestroyDeviceInfoList lib "setupapi" (ByRef DeviceInfoSet As Long) As Long
Declare Function SetupDiDestroyDriverInfoList lib "setupapi" (ByRef DeviceInfoSet As Long, ByRef DeviceInfoData As PSP_DEVINFO_DATA, ByVal DriverType As Long) As Long
Declare Function SetupDiDrawMiniIcon lib "setupapi" (ByVal hdc As Long, ByVal rc As Struct_MembersOf_RECT, ByVal MiniIconIndex As Long, ByVal Flags As Long) As Long
Declare Function SetupDiEnumDeviceInfo lib "setupapi" (ByRef DeviceInfoSet As Long, ByVal MemberIndex As Long, ByRef DeviceInfoData As PSP_DEVINFO_DATA) As Long
Declare Function SetupDiEnumDeviceInterfaces lib "setupapi" (ByRef DeviceInfoSet As Long, ByRef DeviceInfoData As PSP_DEVINFO_DATA, ByRefterfaceClassGuid As GUID, ByVal MemberIndex As Long, ByRef DeviceInterfaceData As PSP_DEVICE_INTERFACE_DATA) As Long
Declare Function SetupDiEnumDriverInfo lib "setupapi" Alias "SetupDiEnumDriverInfoA" (ByRef DeviceInfoSet As Long, ByRef DeviceInfoData As PSP_DEVINFO_DATA, ByVal DriverType As Long, ByVal MemberIndex As Long, ByRef DriverInfoData As PSP_DRVINFO_DATA_A) As Long
Declare Function SetupDiGetActualSectionToInstall lib "setupapi" Alias "SetupDiGetActualSectionToInstallA" (ByReffHandle As Long, ByValfSectionName As String, ByValfSectionWithExt As String, ByValfSectionWithExtSize As Long, ByRef RequiredSize As Long, ByVal Extension As String) As Long
Declare Function SetupDiGetClassBitmapIndex lib "setupapi" (ByRef ClassGuid As GUID, ByRef MiniIconIndex As Long) As Long
Declare Function SetupDiGetClassDescription lib "setupapi" Alias "SetupDiGetClassDescriptionA" (ByRef ClassGuid As GUID, ByVal ClassDescription As String, ByVal ClassDescriptionSize As Long, ByRef RequiredSize As Long) As Long
Declare Function SetupDiGetClassDescriptionEx lib "setupapi" Alias "SetupDiGetClassDescriptionExA" (ByRef ClassGuid As GUID, ByVal ClassDescription As String, ByVal ClassDescriptionSize As Long, ByRef RequiredSize As Long, ByVal MachineName As String, Reserved As Any) As Long
Declare Function SetupDiGetClassDevPropertySheets lib "setupapi" Alias "SetupDiGetClassDevPropertySheetsA" (ByRef DeviceInfoSet As Long, ByRef DeviceInfoData As PSP_DEVINFO_DATA, ByRef PropertySheetHeader As PROPSHEETHEADER, ByVal PropertySheetHeaderPageListSize As Long, ByRef RequiredSize As Long, ByVal PropertySheetType As Long) As Long
Declare Function SetupDiGetClassImageIndex lib "setupapi" (ByRef ClassImageListData As PSP_CLASSIMAGELIST_DATA, ByRef ClassGuid As GUID, ByRef ImageIndex As Long) As Long
Declare Function SetupDiGetClassImageList lib "setupapi" (ByRef ClassImageListData As PSP_CLASSIMAGELIST_DATA) As Long
Declare Function SetupDiGetClassImageListEx lib "setupapi" Alias "SetupDiGetClassImageListExA" (ByRef ClassImageListData As PSP_CLASSIMAGELIST_DATA, ByVal MachineName As String, Reserved As Any) As Long
Declare Function SetupDiGetClassInstallParams lib "setupapi" Alias "SetupDiGetClassInstallParamsA" (ByRef DeviceInfoSet As Long, ByRef DeviceInfoData As PSP_DEVINFO_DATA, ByRef ClassInstallParams As PSP_CLASSINSTALL_HEADER, ByVal ClassInstallParamsSize As Long, ByRef RequiredSize As Long) As Long
Declare Function SetupDiGetDeviceInfoListClass lib "setupapi" (ByRef DeviceInfoSet As Long, ByVal ClassGuid As Long) As Long
Declare Function SetupDiGetDeviceInfoListDetail lib "setupapi" Alias "SetupDiGetDeviceInfoListDetailA" (ByRef DeviceInfoSet As Long, ByRef DeviceInfoSetDetailData As PSP_DEVINFO_LIST_DETAIL_DATA_A) As Long
Declare Function SetupDiGetDeviceInstallParams lib "setupapi" Alias "SetupDiGetDeviceInstallParamsA" (ByRef DeviceInfoSet As Long, ByRef DeviceInfoData As PSP_DEVINFO_DATA, ByRef DeviceInstallParams As PSP_DEVINSTALL_PARAMS_A) As Long
Declare Function SetupDiGetDeviceInstanceId lib "setupapi" Alias "SetupDiGetDeviceInstanceIdA" (ByRef DeviceInfoSet As Long, ByRef DeviceInfoData As PSP_DEVINFO_DATA, ByVal DeviceInstanceId As String, ByVal DeviceInstanceIdSize As Long, ByRef RequiredSize As Long) As Long
Declare Function SetupDiGetDeviceInterfaceAlias lib "setupapi" (ByRef DeviceInfoSet As Long, ByRef DeviceInterfaceData As PSP_DEVICE_INTERFACE_DATA, ByRef AliasInterfaceClassGuid As GUID, ByRef AliasDeviceInterfaceData As PSP_DEVICE_INTERFACE_DATA) As Long
Declare Function SetupDiGetDeviceInterfaceDetail lib "setupapi" Alias "SetupDiGetDeviceInterfaceDetailA" (ByRef DeviceInfoSet As Long, ByRef DeviceInterfaceData As PSP_DEVICE_INTERFACE_DATA, ByRef DeviceInterfaceDetailData As PSP_DEVICE_INTERFACE_DETAIL_DATA_A, ByVal DeviceInterfaceDetailDataSize As Long, ByRef RequiredSize As Long, ByRef DeviceInfoData As PSP_DEVINFO_DATA) As Long
Declare Function SetupDiGetDeviceRegistryProperty lib "setupapi" Alias "SetupDiGetDeviceRegistryPropertyA" (ByRef DeviceInfoSet As Long, ByRef DeviceInfoData As PSP_DEVINFO_DATA, ByVal Property As Long, ByRef PropertyRegDataType As Long, ByVal PropertyBuffer As String, ByVal PropertyBufferSize As Long, ByRef RequiredSize As Long) As Long
Declare Function SetupDiGetDriverInfoDetail lib "setupapi" Alias "SetupDiGetDriverInfoDetailA" (ByRef DeviceInfoSet As Long, ByRef DeviceInfoData As PSP_DEVINFO_DATA, ByRef DriverInfoData As PSP_DRVINFO_DATA_A, ByRef DriverInfoDetailData As PSP_DRVINFO_DETAIL_DATA_A, ByVal DriverInfoDetailDataSize As Long, ByRef RequiredSize As Long) As Long
Declare Function SetupDiGetDriverInstallParams lib "setupapi" Alias "SetupDiGetDriverInstallParamsA" (ByRef DeviceInfoSet As Long, ByRef DeviceInfoData As PSP_DEVINFO_DATA, ByRef DriverInfoData As PSP_DRVINFO_DATA_A, ByRef DriverInstallParams As PSP_DRVINSTALL_PARAMS) As Long
Declare Function SetupDiGetHwProfileFriendlyName lib "setupapi" Alias "SetupDiGetHwProfileFriendlyNameA" (ByVal HwProfile As Long, ByVal FriendlyName As String, ByVal FriendlyNameSize As Long, ByRef RequiredSize As Long) As Long
Declare Function SetupDiGetHwProfileFriendlyNameEx lib "setupapi" Alias "SetupDiGetHwProfileFriendlyNameExA" (ByVal HwProfile As Long, ByVal FriendlyName As String, ByVal FriendlyNameSize As Long, ByRef RequiredSize As Long, ByVal MachineName As String, Reserved As Any) As Long
Declare Function SetupDiGetHwProfileList lib "setupapi" (ByRef HwProfileList As Long, ByVal HwProfileListSize As Long, ByRef RequiredSize As Long, ByRef CurrentlyActiveIndex As Long) As Long
Declare Function SetupDiGetHwProfileListEx lib "setupapi" Alias "SetupDiGetHwProfileListExA" (ByRef HwProfileList As Long, ByVal HwProfileListSize As Long, ByRef RequiredSize As Long, ByRef CurrentlyActiveIndex As Long, ByVal MachineName As String, Reserved As Any) As Long
Declare Function SetupDiGetINFClass lib "setupapi" Alias "SetupDiGetINFClassA" (ByValfName As String, ByVal ClassGuid As Long, ByVal ClassName As String, ByVal ClassNameSize As Long, ByRef RequiredSize As Long) As Long
Declare Function SetupDiGetSelectedDevice lib "setupapi" (ByRef DeviceInfoSet As Long, ByRef DeviceInfoData As PSP_DEVINFO_DATA) As Long
Declare Function SetupDiGetSelectedDriver lib "setupapi" Alias "SetupDiGetSelectedDriverA" (ByRef DeviceInfoSet As Long, ByRef DeviceInfoData As PSP_DEVINFO_DATA, ByRef DriverInfoData As PSP_DRVINFO_DATA_A) As Long
Declare Function SetupDiGetWizardPage lib "setupapi" (ByRef DeviceInfoSet As Long, ByRef DeviceInfoData As PSP_DEVINFO_DATA, ByRefstallWizardData As PSP_INSTALLWIZARD_DATAstallWizardData, ByVal PageType As Long, ByVal Flags As Long) As Long
Declare Function SetupDiInstallClass lib "setupapi" Alias "SetupDiInstallClassA" (ByVal hwndParent As Long, ByValfFileName As String, ByVal Flags As Long, ByRef FileQueue As Long) As Long
Declare Function SetupDiInstallClassEx lib "setupapi" Alias "SetupDiInstallClassExA" (ByVal hwndParent As Long, ByValfFileName As String, ByVal Flags As Long, ByRef FileQueue As Long, ByRefterfaceClassGuid As GUID, Reserved1 As Any, Reserved2 As Any) As Long
Declare Function SetupDiInstallDevice lib "setupapi" (ByRef DeviceInfoSet As Long, ByRef DeviceInfoData As PSP_DEVINFO_DATA) As Long
Declare Function SetupDiInstallDeviceInterfaces lib "setupapi" (ByRef DeviceInfoSet As Long, ByRef DeviceInfoData As PSP_DEVINFO_DATA) As Long
Declare Function SetupDiInstallDriverFiles lib "setupapi" (ByRef DeviceInfoSet As Long, ByRef DeviceInfoData As PSP_DEVINFO_DATA) As Long
Declare Function SetupDiLoadClassIcon lib "setupapi" (ByRef ClassGuid As GUID, ByRef LargeIcon As Long, ByRef MiniIconIndex As Long) As Long
Declare Function SetupDiMoveDuplicateDevice lib "setupapi" (ByRef DeviceInfoSet As Long, ByRef DestinationDeviceInfoData As PSP_DEVINFO_DATA) As Long
Declare Function SetupDiOpenClassRegKey lib "setupapi" (ByRef ClassGuid As GUID, ByVal samDesired As Long) As Long
Declare Function SetupDiOpenClassRegKeyEx lib "setupapi" Alias "SetupDiOpenClassRegKeyExA" (ByRef ClassGuid As GUID, ByVal samDesired As Long, ByVal Flags As Long, ByVal MachineName As String, Reserved As Any) As Long
Declare Function SetupDiOpenDeviceInfo lib "setupapi" Alias "SetupDiOpenDeviceInfoA" (ByRef DeviceInfoSet As Long, ByVal DeviceInstanceId As String, ByVal hwndParent As Long, ByVal OpenFlags As Long, ByRef DeviceInfoData As PSP_DEVINFO_DATA) As Long
Declare Function SetupDiOpenDeviceInterface lib "setupapi" Alias "SetupDiOpenDeviceInterfaceA" (ByRef DeviceInfoSet As Long, ByVal DevicePath As String, ByVal OpenFlags As Long, ByRef DeviceInterfaceData As PSP_DEVICE_INTERFACE_DATA) As Long
Declare Function SetupDiOpenDeviceInterfaceRegKey lib "setupapi" (ByRef DeviceInfoSet As Long, ByRef DeviceInterfaceData As PSP_DEVICE_INTERFACE_DATA, ByVal Reserved As Long, ByVal samDesired As Long) As Long
Declare Function SetupDiOpenDevRegKey lib "setupapi" (ByRef DeviceInfoSet As Long, ByRef DeviceInfoData As PSP_DEVINFO_DATA, ByVal Scope As Long, ByVal HwProfile As Long, ByVal KeyType As Long, ByVal samDesired As Long) As Long
Declare Function SetupDiRegisterCoDeviceInstallers lib "setupapi" (ByRef DeviceInfoSet As Long, ByRef DeviceInfoData As PSP_DEVINFO_DATA) As Long
Declare Function SetupDiRegisterDeviceInfo lib "setupapi" (ByRef DeviceInfoSet As Long, ByRef DeviceInfoData As PSP_DEVINFO_DATA, ByVal Flags As Long, ByRef CompareProc As PSP_DETSIG_CMPPROC, CompareContext As Any, ByRef DupDeviceInfoData As PSP_DEVINFO_DATA) As Long
Declare Function SetupDiRemoveDevice lib "setupapi" (ByRef DeviceInfoSet As Long, ByRef DeviceInfoData As PSP_DEVINFO_DATA) As Long
Declare Function SetupDiRemoveDeviceInterface lib "setupapi" (ByRef DeviceInfoSet As Long, ByRef DeviceInterfaceData As PSP_DEVICE_INTERFACE_DATA) As Long
Declare Function SetupDiSelectBestCompatDrv lib "setupapi" (ByRef DeviceInfoSet As Long, ByRef DeviceInfoData As PSP_DEVINFO_DATA) As Long
Declare Function SetupDiSelectDevice lib "setupapi" (ByRef DeviceInfoSet As Long, ByRef DeviceInfoData As PSP_DEVINFO_DATA) As Long
Declare Function SetupDiSelectOEMDrv lib "setupapi" (ByVal hwndParent As Long, ByRef DeviceInfoSet As Long, ByRef DeviceInfoData As PSP_DEVINFO_DATA) As Long
Declare Function SetupDiSetClassInstallParams lib "setupapi" Alias "SetupDiSetClassInstallParamsA" (ByRef DeviceInfoSet As Long, ByRef DeviceInfoData As PSP_DEVINFO_DATA, ByRef ClassInstallParams As PSP_CLASSINSTALL_HEADER, ByVal ClassInstallParamsSize As Long) As Long
Declare Function SetupDiSetDeviceInstallParams lib "setupapi" Alias "SetupDiSetDeviceInstallParamsA" (ByRef DeviceInfoSet As Long, ByRef DeviceInfoData As PSP_DEVINFO_DATA, ByRef DeviceInstallParams As PSP_DEVINSTALL_PARAMS_A) As Long
Declare Function SetupDiSetDeviceRegistryProperty lib "setupapi" Alias "SetupDiSetDeviceRegistryPropertyA" (ByRef DeviceInfoSet As Long, ByRef DeviceInfoData As PSP_DEVINFO_DATA, ByVal Property As Long, ByVal PropertyBuffer As String, ByVal PropertyBufferSize As Long) As Long
Declare Function SetupDiSetDriverInstallParams lib "setupapi" Alias "SetupDiSetDriverInstallParamsA" (ByRef DeviceInfoSet As Long, ByRef DeviceInfoData As PSP_DEVINFO_DATA, ByRef DriverInfoData As PSP_DRVINFO_DATA_A, ByRef DriverInstallParams As PSP_DRVINSTALL_PARAMS) As Long
Declare Function SetupDiSetSelectedDevice lib "setupapi" (ByRef DeviceInfoSet As Long, ByRef DeviceInfoData As PSP_DEVINFO_DATA) As Long
Declare Function SetupDiSetSelectedDriver lib "setupapi" Alias "SetupDiSetSelectedDriverA" (ByRef DeviceInfoSet As Long, ByRef DeviceInfoData As PSP_DEVINFO_DATA, ByRef DriverInfoData As PSP_DRVINFO_DATA_A) As Long
Declare Function SetupDiUnremoveDevice lib "setupapi" (ByRef DeviceInfoSet As Long, ByRef DeviceInfoData As PSP_DEVINFO_DATA) As Long
Declare Function SetupFindFirstLine lib "setupapi" Alias "SetupFindFirstLineA" (ByReffHandle As Long, ByVal Section As String, ByVal Key As String, ByRef Context As PINFCONTEXT) As Long
Declare Function SetupFindNextLine lib "setupapi" (ByRef ContextIn As PINFCONTEXT, ByRef ContextOut As PINFCONTEXT) As Long
Declare Function SetupFindNextMatchLine lib "setupapi" Alias "SetupFindNextMatchLineA" (ByRef ContextIn As PINFCONTEXT, ByVal Key As String, ByRef ContextOut As PINFCONTEXT) As Long
Declare Function SetupFreeSourceList lib "setupapi" Alias "SetupFreeSourceListA" (ByVal List As String, ByVal Count As Long) As Long
Declare Function SetupGetBackupInformation lib "setupapi" Alias "SetupGetBackupInformationA" (ByRef QueueHandle As Long, ByRef BackupParams As PSP_BACKUP_QUEUE_PARAMS_A) As Long
Declare Function SetupGetBinaryField lib "setupapi" (ByRef Context As PINFCONTEXT, ByVal FieldIndex As Long, ByVal ReturnBuffer As String, ByVal ReturnBufferSize As Long, ByRef RequiredSize As Long) As Long
Declare Function SetupGetFieldCount lib "setupapi" (ByRef Context As PINFCONTEXT) As Long
Declare Function SetupGetFileCompressionInfo lib "setupapi" Alias "SetupGetFileCompressionInfoA" (ByVal SourceFileName As String, ByVal ActualSourceFileName As String, ByRef SourceFileSize As Long, ByRef TargetFileSize As Long, ByRef CompressionType As Long) As Long
Declare Function SetupGetInfFileList lib "setupapi" Alias "SetupGetInfFileListA" (ByVal DirectoryPath As String, ByValfStyle As Long, ByVal ReturnBuffer As String, ByVal ReturnBufferSize As Long, ByRef RequiredSize As Long) As Long
Declare Function SetupGetInfInformation lib "setupapi" Alias "SetupGetInfInformationA" (fSpec As Any, ByVal SearchControl As Long, ByRef ReturnBuffer As PSP_INF_INFORMATION, ByVal ReturnBufferSize As Long, ByRef RequiredSize As Long) As Long
Declare Function SetupGetIntField lib "setupapi" (ByRef Context As PINFCONTEXT, ByVal FieldIndex As Long, ByReftegerValue As Long) As Long
Declare Function SetupGetLineByIndex lib "setupapi" Alias "SetupGetLineByIndexA" (ByReffHandle As Long, ByVal Section As String, ByValdex As Long, ByRef Context As PINFCONTEXT) As Long
Declare Function SetupGetLineCount lib "setupapi" Alias "SetupGetLineCountA" (ByReffHandle As Long, ByVal Section As String) As Long
Declare Function SetupGetLineText lib "setupapi" Alias "SetupGetLineTextA" (ByRef Context As PINFCONTEXT, ByReffHandle As Long, ByVal Section As String, ByVal Key As String, ByVal ReturnBuffer As String, ByVal ReturnBufferSize As Long, ByRef RequiredSize As Long) As Long
Declare Function SetupGetMultiSzField lib "setupapi" Alias "SetupGetMultiSzFieldA" (ByRef Context As PINFCONTEXT, ByVal FieldIndex As Long, ByVal ReturnBuffer As String, ByVal ReturnBufferSize As Long, ByRef RequiredSize As Long) As Long
Declare Function SetupGetSourceFileLocation lib "setupapi" Alias "SetupGetSourceFileLocationA" (ByReffHandle As Long, ByReffContext As PINFCONTEXTfContext, ByVal FileName As String, ByRef SourceId As Long, ByVal ReturnBuffer As String, ByVal ReturnBufferSize As Long, ByRef RequiredSize As Long) As Long
Declare Function SetupGetSourceFileSize lib "setupapi" Alias "SetupGetSourceFileSizeA" (ByReffHandle As Long, ByReffContext As PINFCONTEXTfContext, ByVal FileName As String, ByVal Section As String, ByRef FileSize As Long, ByVal RoundingFactor As Long) As Long
Declare Function SetupGetSourceInfo lib "setupapi" Alias "SetupGetSourceInfoA" (ByReffHandle As Long, ByVal SourceId As Long, ByValfoDesired As Long, ByVal ReturnBuffer As String, ByVal ReturnBufferSize As Long, ByRef RequiredSize As Long) As Long
Declare Function SetupGetStringField lib "setupapi" Alias "SetupGetStringFieldA" (ByRef Context As PINFCONTEXT, ByVal FieldIndex As Long, ByVal ReturnBuffer As String, ByVal ReturnBufferSize As Long, ByRef RequiredSize As Long) As Long
Declare Function SetupGetTargetPath lib "setupapi" Alias "SetupGetTargetPathA" (ByReffHandle As Long, ByReffContext As PINFCONTEXTfContext, ByVal Section As String, ByVal ReturnBuffer As String, ByVal ReturnBufferSize As Long, ByRef RequiredSize As Long) As Long
Declare Function SetupInitDefaultQueueCallback lib "setupapi" (ByVal OwnerWindow As Long) As Long
Declare Function SetupInitDefaultQueueCallbackEx lib "setupapi" (ByVal OwnerWindow As Long, ByVal AlternateProgressWindow As Long, ByVal ProgressMessage As Long, ByVal Reserved1 As Long, Reserved2 As Any) As Long
Declare Function SetupInstallFile lib "setupapi" Alias "SetupInstallFileA" (ByReffHandle As Long, ByReffContext As PINFCONTEXTfContext, ByVal SourceFile As String, ByVal SourcePathRoot As String, ByVal DestinationName As String, ByVal CopyStyle As Long, ByRef CopyMsgHandler As PSP_FILE_CALLBACK_A, Context As Any) As Long
Declare Function SetupInstallFileEx lib "setupapi" Alias "SetupInstallFileExA" (ByReffHandle As Long, ByReffContext As PINFCONTEXTfContext, ByVal SourceFile As String, ByVal SourcePathRoot As String, ByVal DestinationName As String, ByVal CopyStyle As Long, ByRef CopyMsgHandler As PSP_FILE_CALLBACK_A, Context As Any, ByRef FileWasInUse As Long) As Long
Declare Function SetupInstallFilesFromInfSection lib "setupapi" Alias "SetupInstallFilesFromInfSectionA" (ByReffHandle As Long, ByRef LayoutInfHandle As Long, ByRef FileQueue As Long, ByVal SectionName As String, ByVal SourceRootPath As String, ByVal CopyFlags As Long) As Long
Declare Function SetupInstallFromInfSection lib "setupapi" Alias "SetupInstallFromInfSectionA" (ByVal Owner As Long, ByReffHandle As Long, ByVal SectionName As String, ByVal Flags As Long, ByVal RelativeKeyRoot As Long, ByVal SourceRootPath As String, ByVal CopyFlags As Long, ByRef MsgHandler As PSP_FILE_CALLBACK_A, Context As Any, ByRef DeviceInfoSet As Long, ByRef DeviceInfoData As PSP_DEVINFO_DATA) As Long
Declare Function SetupInstallServicesFromInfSection lib "setupapi" Alias "SetupInstallServicesFromInfSectionA" (ByReffHandle As Long, ByVal SectionName As String, ByVal Flags As Long) As Long
Declare Function SetupInstallServicesFromInfSectionEx lib "setupapi" Alias "SetupInstallServicesFromInfSectionExA" (ByReffHandle As Long, ByVal SectionName As String, ByVal Flags As Long, ByRef DeviceInfoSet As Long, ByRef DeviceInfoData As PSP_DEVINFO_DATA, Reserved1 As Any, Reserved2 As Any) As Long
Declare Function SetupIterateCabinet lib "setupapi" Alias "SetupIterateCabinetA" (ByVal CabinetFile As String, ByVal Reserved As Long, ByRef MsgHandler As PSP_FILE_CALLBACK_A, Context As Any) As Long
Declare Function SetupLogError lib "setupapi" Alias "SetupLogErrorA" (ByVal MessageString As String, ByRef Severity As LogSeverity) As Long
Declare Function SetupLogFile lib "setupapi" Alias "SetupLogFileA" (ByRef FileLogHandle As Long, ByVal LogSectionName As String, ByVal SourceFilename As String, ByVal TargetFilename As String, ByVal Checksum As Long, ByVal DiskTagfile As String, ByVal DiskDescription As String, ByVal OtherInfo As String, ByVal Flags As Long) As Long
Declare Function SetupOpenAppendInfFile lib "setupapi" Alias "SetupOpenAppendInfFileA" (ByVal FileName As String, ByReffHandle As Long, ByRef ErrorLine As Long) As Long
Declare Function SetupOpenLog lib "setupapi" (ByVal lErase As Long) As Long
Declare Function SetupPromptForDisk lib "setupapi" Alias "SetupPromptForDiskA" (ByVal hwndParent As Long, ByVal DialogTitle As String, ByVal DiskName As String, ByVal PathToSource As String, ByVal FileSought As String, ByVal TagFile As String, ByVal DiskPromptStyle As Long, ByVal PathBuffer As String, ByVal PathBufferSize As Long, ByRef PathRequiredSize As Long) As Long
Declare Function SetupPromptReboot lib "setupapi" (ByRef FileQueue As Long, ByVal Owner As Long, ByVal ScanOnly As Long) As Long
Declare Function SetupQueryDrivesInDiskSpaceList lib "setupapi" Alias "SetupQueryDrivesInDiskSpaceListA" (ByRef DiskSpace As Long, ByVal ReturnBuffer As String, ByVal ReturnBufferSize As Long, ByRef RequiredSize As Long) As Long
Declare Function SetupQueryFileLog lib "setupapi" Alias "SetupQueryFileLogA" (ByRef FileLogHandle As Long, ByVal LogSectionName As String, ByVal TargetFilename As String, ByVal DesiredInfo As Struct_MembersOf_SetupFileLogInfo, ByVal DataOut As String, ByVal ReturnBufferSize As Long, ByRef RequiredSize As Long) As Long
Declare Function SetupQueryInfFileInformation lib "setupapi" Alias "SetupQueryInfFileInformationA" (ByReffInformation As PSP_INF_INFORMATIONfInformation, ByValfIndex As Long, ByVal ReturnBuffer As String, ByVal ReturnBufferSize As Long, ByRef RequiredSize As Long) As Long
Declare Function SetupQueryInfOriginalFileInformation lib "setupapi" Alias "SetupQueryInfOriginalFileInformationA" (ByReffInformation As PSP_INF_INFORMATIONfInformation, ByValfIndex As Long, ByRef AlternatePlatformInfo As PSP_ALTPLATFORM_INFO, ByRef OriginalFileInfo As PSP_ORIGINAL_FILE_INFO_A) As Long
Declare Function SetupQueryInfVersionInformation lib "setupapi" Alias "SetupQueryInfVersionInformationA" (ByReffInformation As PSP_INF_INFORMATIONfInformation, ByValfIndex As Long, ByVal Key As String, ByVal ReturnBuffer As String, ByVal ReturnBufferSize As Long, ByRef RequiredSize As Long) As Long
Declare Function SetupQuerySourceList lib "setupapi" Alias "SetupQuerySourceListA" (ByVal Flags As Long, ByVal List As String, ByRef Count As Long) As Long
Declare Function SetupQuerySpaceRequiredOnDrive lib "setupapi" Alias "SetupQuerySpaceRequiredOnDriveA" (ByRef DiskSpace As Long, ByVal DriveSpec As String, ByRef SpaceRequired As Double, Reserved1 As Any, ByVal Reserved2 As Long) As Long
Declare Function SetupQueueCopy lib "setupapi" Alias "SetupQueueCopyA" (ByRef QueueHandle As Long, ByVal SourceRootPath As String, ByVal SourcePath As String, ByVal SourceFilename As String, ByVal SourceDescription As String, ByVal SourceTagfile As String, ByVal TargetDirectory As String, ByVal TargetFilename As String, ByVal CopyStyle As Long) As Long
Declare Function SetupQueueCopyIndirect lib "setupapi" Alias "SetupQueueCopyIndirectA" (ByRef CopyParams As PSP_FILE_COPY_PARAMS_A) As Long
Declare Function SetupQueueCopySection lib "setupapi" Alias "SetupQueueCopySectionA" (ByRef QueueHandle As Long, ByVal SourceRootPath As String, ByReffHandle As Long, ByRef ListInfHandle As Long, ByVal Section As String, ByVal CopyStyle As Long) As Long
Declare Function SetupQueueDefaultCopy lib "setupapi" Alias "SetupQueueDefaultCopyA" (ByRef QueueHandle As Long, ByReffHandle As Long, ByVal SourceRootPath As String, ByVal SourceFilename As String, ByVal TargetFilename As String, ByVal CopyStyle As Long) As Long
Declare Function SetupQueueDelete lib "setupapi" Alias "SetupQueueDeleteA" (ByRef QueueHandle As Long, ByVal PathPart1 As String, ByVal PathPart2 As String) As Long
Declare Function SetupQueueDeleteSection lib "setupapi" Alias "SetupQueueDeleteSectionA" (ByRef QueueHandle As Long, ByReffHandle As Long, ByRef ListInfHandle As Long, ByVal Section As String) As Long
Declare Function SetupQueueRename lib "setupapi" Alias "SetupQueueRenameA" (ByRef QueueHandle As Long, ByVal SourcePath As String, ByVal SourceFilename As String, ByVal TargetPath As String, ByVal TargetFilename As String) As Long
Declare Function SetupQueueRenameSection lib "setupapi" Alias "SetupQueueRenameSectionA" (ByRef QueueHandle As Long, ByReffHandle As Long, ByRef ListInfHandle As Long, ByVal Section As String) As Long
Declare Function SetupRemoveFileLogEntry lib "setupapi" Alias "SetupRemoveFileLogEntryA" (ByRef FileLogHandle As Long, ByVal LogSectionName As String, ByVal TargetFilename As String) As Long
Declare Function SetupRemoveFromDiskSpaceList lib "setupapi" Alias "SetupRemoveFromDiskSpaceListA" (ByRef DiskSpace As Long, ByVal TargetFilespec As String, ByVal Operation As Long, Reserved1 As Any, ByVal Reserved2 As Long) As Long
Declare Function SetupRemoveFromSourceList lib "setupapi" Alias "SetupRemoveFromSourceListA" (ByVal Flags As Long, ByVal Source As String) As Long
Declare Function SetupRemoveInstallSectionFromDiskSpaceList lib "setupapi" Alias "SetupRemoveInstallSectionFromDiskSpaceListA" (ByRef DiskSpace As Long, ByReffHandle As Long, ByRef LayoutInfHandle As Long, ByVal SectionName As String, Reserved1 As Any, ByVal Reserved2 As Long) As Long
Declare Function SetupRemoveSectionFromDiskSpaceList lib "setupapi" Alias "SetupRemoveSectionFromDiskSpaceListA" (ByRef DiskSpace As Long, ByReffHandle As Long, ByRef ListInfHandle As Long, ByVal SectionName As String, ByVal Operation As Long, Reserved1 As Any, ByVal Reserved2 As Long) As Long
Declare Function SetupRenameError lib "setupapi" Alias "SetupRenameErrorA" (ByVal hwndParent As Long, ByVal DialogTitle As String, ByVal SourceFile As String, ByVal TargetFile As String, ByVal Win32ErrorCode As Long, ByVal Style As Long) As Long
Declare Function SetupScanFileQueue lib "setupapi" (ByRef FileQueue As Long, ByVal Flags As Long, ByVal Window As Long, ByRef CallbackRoutine As PSP_FILE_CALLBACK_A, CallbackContext As Any, ByRef Result As Long) As Long
Declare Function SetupSetDirectoryId lib "setupapi" Alias "SetupSetDirectoryIdA" (ByReffHandle As Long, ByVal Id As Long, ByVal Directory As String) As Long
Declare Function SetupSetDirectoryIdEx lib "setupapi" Alias "SetupSetDirectoryIdExA" (ByReffHandle As Long, ByVal Id As Long, ByVal Directory As String, ByVal Flags As Long, ByVal Reserved1 As Long, Reserved2 As Any) As Long
Declare Function SetupSetFileQueueAlternatePlatform lib "setupapi" Alias "SetupSetFileQueueAlternatePlatformA" (ByRef QueueHandle As Long, ByRef AlternatePlatformInfo As PSP_ALTPLATFORM_INFO, ByVal AlternateDefaultCatalogFile As String) As Long
Declare Function SetupSetPlatformPathOverride lib "setupapi" Alias "SetupSetPlatformPathOverrideA" (ByVal Override As String) As Long
Declare Function SetupSetSourceList lib "setupapi" Alias "SetupSetSourceListA" (ByVal Flags As Long, ByVal SourceList As String, ByVal SourceCount As Long) As Long
Declare Function SetupTerminateFileLog lib "setupapi" (ByRef FileLogHandle As Long) As Long
Declare Function SetUrlCacheGroupAttribute lib "wininet" Alias "SetUrlCacheGroupAttributeA" (ByRef gid As GROUPID, ByVal dwFlags As Long, ByVal dwAttributes As Long, ByRef lpGroupInfo As LPINTERNET_CACHE_GROUP_INFOA, lpReserved As Any) As Long
Declare Function SetUserFileEncryptionKey lib "advapi32" (ByRef pEncryptionCertificate As PENCRYPTION_CERTIFICATE) As Long
Declare Function SetUserObjectInformation Lib "user32" Alias "SetUserObjectInformationA" (ByVal hObj As Long, ByVal nIndex As Long, pvInfo As Any, ByVal nLength As Long) As Long
Declare Function SetUserObjectSecurity Lib "user32" Alias "SetUserObjectSecurity" (ByVal hObj As Long, pSIRequested As Long, pSd As SECURITY_DESCRIPTOR) As Long
Declare Function SetViewportExtEx Lib "gdi32" Alias "SetViewportExtEx" (ByVal hdc As Long, ByVal nX As Long, ByVal nY As Long, lpSize As SIZE) As Long
Declare Function SetViewportOrgEx Lib "gdi32" Alias "SetViewportOrgEx" (ByVal hdc As Long, ByVal nX As Long, ByVal nY As Long, lpPoint As POINTAPI) As Long
Declare Function SetVolumeLabel Lib "kernel32" Alias "SetVolumeLabelA" (ByVal lpRootPathName As String, ByVal lpVolumeName As String) As Long
Declare Function SetVolumeMountPoint lib "kernel32" Alias "SetVolumeMountPointA" (ByVal lpszVolumeMountPoint As String, ByVal lpszVolumeName As String) As Long
Declare Function SetWaitableTimer Lib "kernel32" (ByVal hTimer As Long, lpDueTime As FILETIME, ByVal lPeriod As Long, ByVal pfnCompletionRoutine As Long, ByVal lpArgToCompletionRoutine As Long, ByVal fResume As Long) As Long
Declare Function SetWindowContextHelpId Lib "user32" (ByVal hWnd As Long, ByVal dwContextHelpId As Long) As Long
Declare Function SetWindowExtEx Lib "gdi32" Alias "SetWindowExtEx" (ByVal hdc As Long, ByVal nX As Long, ByVal nY As Long, lpSize As SIZE) As Long
Declare Function SetWindowLong Lib "user32" Alias "SetWindowLongA" (ByVal hwnd As Long, ByVal nIndex As Long, ByVal dwNewLong As Long) As Long
Declare Function SetWindowOrgEx Lib "gdi32" Alias "SetWindowOrgEx" (ByVal hdc As Long, ByVal nX As Long, ByVal nY As Long, lpPoint As POINTAPI) As Long
Declare Function SetWindowPlacement Lib "user32" Alias "SetWindowPlacement" (ByVal hwnd As Long, lpwndpl As WINDOWPLACEMENT) As Long
Declare Function SetWindowPos Lib "user32" Alias "SetWindowPos" (ByVal hwnd As Long, ByVal hWndInsertAfter As Long, ByVal x As Long, ByVal y As Long, ByVal cx As Long, ByVal cy As Long, ByVal wFlags As Long) As Long
Declare Function SetWindowRgn Lib "user32" (ByVal hWnd As Long, ByVal hRgn As Long, ByVal bRedraw As Long) As Long
Declare Function SetWindowsHook Lib "user32" Alias "SetWindowsHookA" (ByVal nFilterType As Long, ByVal pfnFilterProc As Long) As Long
Declare Function SetWindowsHookEx Lib "user32" Alias "SetWindowsHookExA" (ByVal idHook As Long, ByVal lpfn As Long, ByVal hmod As Long, ByVal dwThreadId As Long) As Long
Declare Function SetWindowText Lib "user32" Alias "SetWindowTextA" (ByVal hwnd As Long, ByVal lpString As String) As Long
Declare Function SetWindowWord Lib "user32" Alias "SetWindowWord" (ByVal hwnd As Long, ByVal nIndex As Long, ByVal wNewWord As Long) As Long
Declare Function SetWinMetaFileBits Lib "gdi32" Alias "SetWinMetaFileBits" (ByVal cbBuffer As Long, lpbBuffer As Byte, ByVal hdcRef As Long, lpmfp As METAFILEPICT) As Long
Declare Function SetWorldTransform Lib "gdi32" Alias "SetWorldTransform" (ByVal hdc As Long, lpXform As xform) As Long
Declare Function SfcGetNextProtectedFile lib "SFC" (ByVal RpcHandle As Long, ByRef ProtFileData As PPROTECTED_FILE_DATA) As Long
Declare Function SfcIsFileProtected lib "SFC" (ByVal RpcHandle As Long, ByVal ProtFileName As String) As Long
Declare Function SfpVerifyFile lib "SFC" (ByVal pszFileName As String, ByVal pszError As String, ByVal dwErrSize As Long) As Long
Declare Function SHAppBarMessage Lib "shell32.dll" Alias "SHAppBarMessage" (ByVal dwMessage As Long, pData As APPBARDATA) As Long
Declare Function SHBrowseForFolder lib "shell32" (ByRef lpbi As BROWSEINFO) As Long
Declare Function SHCopyKey lib "shlwapi" Alias "SHCopyKeyA" (ByVal hkeySrc As Long, ByVal szSrcSubKey As String, ByVal hkeyDest As Long, ByVal fReserved As Long) As Long
Declare Function SHCreateDirectoryEx lib "SHELL32" (ByVal hwnd As Long, ByVal pszPath As String, ByRef psa As SECURITY_ATTRIBUTES) As Long
Declare Function SHCreateShellPalette lib "shlwapi" (ByVal hdc As Long) As Long
Declare Function SHCreateThread lib "shlwapi" (ByVal pfnThreadProc As Long, pData As Any, ByVal dwFlags As Long, ByVal pfnCallback As Long) As Long
Declare Function SHDeleteEmptyKey lib "shlwapi" Alias "SHDeleteEmptyKeyA" (ByVal hkey As Long, ByVal pszSubKey As String) As Long
Declare Function SHDeleteKey lib "shlwapi" Alias "SHDeleteKeyA" (ByVal hkey As Long, ByVal pszSubKey As String) As Long
Declare Function SHDeleteValue lib "shlwapi" Alias "SHDeleteValueA" (ByVal hkey As Long, ByVal pszSubKey As String, ByVal pszValue As String) As Long
Declare Function Shell_NotifyIcon Lib "shell32.dll" Alias "Shell_NotifyIconA" (ByVal dwMessage As Long, lpData As NOTIFYICONDATA) As Long
Declare Function ShellAbout Lib "shell32.dll" Alias "ShellAboutA" (ByVal hwnd As Long, ByVal szApp As String, ByVal szOtherStuff As String, ByVal hIcon As Long) As Long
Declare Function ShellExecute Lib "shell32.dll" Alias "ShellExecuteA" (ByVal hwnd As Long, ByVal lpOperation As String, ByVal lpFile As String, ByVal lpParameters As String, ByVal lpDirectory As String, ByVal nShowCmd As Long) As Long
Declare Function ShellExecuteEx lib "shell32" (ByRef lpExecInfo As SHELLEXECUTEINFOA) As Long
Declare Function SHEnumKeyEx lib "shlwapi" Alias "SHEnumKeyExA" (ByVal hkey As Long, ByVal dwIndex As Long, ByVal pszName As String, ByRef pcchName As Long) As Long
Declare Function SHEnumValue lib "shlwapi" Alias "SHEnumValueA" (ByVal hkey As Long, ByVal dwIndex As Long, ByVal pszValueName As String, ByRef pcchValueName As Long, ByRef pdwType As Long, pvData As Any, ByRef pcbData As Long) As Long
Declare Function SHFileOperation Lib "shell32.dll" Alias "SHFileOperationA" (lpFileOp As SHFILEOPSTRUCT) As Long
Declare Function SHGetDiskFreeSpaceEx lib "shell32" Alias "SHGetDiskFreeSpaceExA" (ByVal pszDirectoryName As String, ByRef pulFreeBytesAvailableToCaller As ULARGE_INTEGER, ByRef pulTotalNumberOfBytes As ULARGE_INTEGER, ByRef pulTotalNumberOfFreeBytes As ULARGE_INTEGER) As Long
Declare Function SHGetFileInfo Lib "shell32.dll" Alias "SHGetFileInfoA" (ByVal pszPath As String, ByVal dwFileAttributes As Long, psfi As SHFILEINFO, ByVal cbFileInfo As Long, ByVal uFlags As Long) As Long
Declare Function SHGetFolderPath lib "shell32" Alias "SHGetFolderPathA" (ByVal hwnd As Long, ByVal csidl As Long, ByVal hToken As Long, ByVal dwFlags As Long, ByVal pszPath As String) As Long
Declare Function SHGetIconOverlayIndex lib "SHELL32" (ByVal pszIconPath As String, ByVal iIconIndex As Long) As Long
Declare Function SHGetNewLinkInfo Lib "shell32.dll" Alias "SHGetNewLinkInfoA" (ByVal pszLinkto As String, ByVal pszDir As String, ByVal pszName As String, pfMustCopy As Long, ByVal uFlags As Long) As Long
Declare Function SHGetPathFromIDList lib "shell32" (ByRef pidl As CITEMIDLIST, ByVal pszPath As String) As Long
Declare Function SHGetSpecialFolderPath lib "shell32" Alias "SHGetSpecialFolderPathA" (ByVal hwnd As Long, ByVal pszPath As String, ByVal csidl As Long, ByVal fCreate As Long) As Long
Declare Function SHGetValue lib "shlwapi" Alias "SHGetValueA" (ByVal hkey As Long, ByVal pszSubKey As String, ByVal pszValue As String, ByRef pdwType As Long, pvData As Any, ByRef pcbData As Long) As Long
Declare Function SHInvokePrinterCommand lib "shell32" Alias "SHInvokePrinterCommandA" (ByVal hwnd As Long, ByVal uAction As Long, ByVal lpBuf1 As String, ByVal lpBuf2 As String, ByVal fModal As Long) As Long
Declare Function SHOpenRegStream lib "shlwapi" Alias "SHOpenRegStreamA" (ByVal hkey As Long, ByVal pszSubkey As String, ByVal pszValue As String, ByVal grfMode As Long) As Long
Declare Function SHOpenRegStream2 lib "shlwapi" Alias "SHOpenRegStream2A" (ByVal hkey As Long, ByVal pszSubkey As String, ByVal pszValue As String, ByVal grfMode As Long) As Long
Declare Function ShowCaret Lib "user32" Alias "ShowCaret" (ByVal hwnd As Long) As Long
Declare Function ShowCursor Lib "user32" Alias "ShowCursor" (ByVal bShow As Long) As Long
Declare Function ShowHideMenuCtl lib "comctl32" (ByVal hWnd As Long, ByRef uFlags As Long, ByRef lpInfo As Long) As Long
Declare Function ShowOwnedPopups Lib "user32" Alias "ShowOwnedPopups" (ByVal hwnd As Long, ByVal fShow As Long) As Long
Declare Function ShowScrollBar Lib "user32" Alias "ShowScrollBar" (ByVal hwnd As Long, ByVal wBar As Long, ByVal bShow As Long) As Long
Declare Function ShowWindow Lib "user32" Alias "ShowWindow" (ByVal hwnd As Long, ByVal nCmdShow As Long) As Long
Declare Function ShowWindowAsync Lib "user32" (ByVal hwnd As Long, ByVal nCmdShow As Long) As Long
Declare Function SHQueryInfoKey lib "shlwapi" Alias "SHQueryInfoKeyA" (ByVal hkey As Long, ByRef pcSubKeys As Long, ByRef pcchMaxSubKeyLen As Long, ByRef pcValues As Long, ByRef pcchMaxValueNameLen As Long) As Long
Declare Function SHQueryValueEx lib "shlwapi" Alias "SHQueryValueExA" (ByVal hkey As Long, ByVal pszValue As String, ByRef pdwReserved As Long, ByRef pdwType As Long, pvData As Any, ByRef pcbData As Long) As Long
Declare Function SHRegCloseUSKey lib "shlwapi" (ByRef hUSKey As Long) As Long
Declare Function SHRegCreateUSKey lib "shlwapi" Alias "SHRegCreateUSKeyA" (ByVal pszPath As String, ByVal samDesired As Long, ByRef hRelativeUSKey As Long, ByRef phNewUSKey As PHUSKEY, ByVal dwFlags As Long) As Long
Declare Function SHRegDeleteEmptyUSKey lib "shlwapi" Alias "SHRegDeleteEmptyUSKeyA" (ByRef hUSKey As Long, ByVal pszSubKey As String, ByVal delRegFlags As Struct_MembersOf_SHREGDEL_FLAGS) As Long
Declare Function SHRegDeleteUSValue lib "shlwapi" Alias "SHRegDeleteUSValueA" (ByRef hUSKey As Long, ByVal pszValue As String, ByVal delRegFlags As Struct_MembersOf_SHREGDEL_FLAGS) As Long
Declare Function SHRegDuplicateHKey lib "SHLWAPI" (ByVal hKey As Long) As Long
Declare Function SHRegEnumUSKey lib "shlwapi" Alias "SHRegEnumUSKeyA" (ByRef hUSKey As Long, ByVal dwIndex As Long, ByVal pszName As String, ByRef pcchName As Long, ByVal enumRegFlags As Struct_MembersOf_SHREGENUM_FLAGS) As Long
Declare Function SHRegEnumUSValue lib "shlwapi" Alias "SHRegEnumUSValueA" (ByRef hUSkey As Long, ByVal dwIndex As Long, ByVal pszValueName As String, ByRef pcchValueName As Long, ByRef pdwType As Long, pvData As Any, ByRef pcbData As Long, ByVal enumRegFlags As Struct_MembersOf_SHREGENUM_FLAGS) As Long
Declare Function SHRegGetBoolUSValue lib "shlwapi" Alias "SHRegGetBoolUSValueA" (ByVal pszSubKey As String, ByVal pszValue As String, ByVal fIgnoreHKCU As Long, ByVal fDefault As Long) As Long
Declare Function SHRegGetPath lib "SHLWAPI" (ByVal hKey As Long, ByVal pcszSubKey As String, ByVal pcszValue As String, ByVal pszPath As String, ByVal dwFlags As Long) As Long
Declare Function SHRegGetUSValue lib "shlwapi" Alias "SHRegGetUSValueA" (ByVal pszSubKey As String, ByVal pszValue As String, ByRef pdwType As Long, pvData As Any, ByRef pcbData As Long, ByVal fIgnoreHKCU As Long, pvDefaultData As Any, ByVal dwDefaultDataSize As Long) As Long
Declare Function SHRegOpenUSKey lib "shlwapi" Alias "SHRegOpenUSKeyA" (ByVal pszPath As String, ByVal samDesired As Long, ByRef hRelativeUSKey As Long, ByRef phNewUSKey As PHUSKEY, ByVal fIgnoreHKCU As Long) As Long
Declare Function SHRegQueryInfoUSKey lib "shlwapi" Alias "SHRegQueryInfoUSKeyA" (ByRef hUSKey As Long, ByRef pcSubKeys As Long, ByRef pcchMaxSubKeyLen As Long, ByRef pcValues As Long, ByRef pcchMaxValueNameLen As Long, ByVal enumRegFlags As Struct_MembersOf_SHREGENUM_FLAGS) As Long
Declare Function SHRegQueryUSValue lib "shlwapi" Alias "SHRegQueryUSValueA" (ByRef hUSKey As Long, ByVal pszValue As String, ByRef pdwType As Long, pvData As Any, ByRef pcbData As Long, ByVal fIgnoreHKCU As Long, pvDefaultData As Any, ByVal dwDefaultDataSize As Long) As Long
Declare Function SHRegSetPath lib "SHLWAPI" (ByVal hKey As Long, ByVal pcszSubKey As String, ByVal pcszValue As String, ByVal pcszPath As String, ByVal dwFlags As Long) As Long
Declare Function SHRegSetUSValue lib "shlwapi" Alias "SHRegSetUSValueA" (ByVal pszSubKey As String, ByVal pszValue As String, ByVal dwType As Long, pvData As Any, ByVal cbData As Long, ByVal dwFlags As Long) As Long
Declare Function SHRegWriteUSValue lib "shlwapi" Alias "SHRegWriteUSValueA" (ByRef hUSKey As Long, ByVal pszValue As String, ByVal dwType As Long, pvData As Any, ByVal cbData As Long, ByVal dwFlags As Long) As Long
Declare Function SHSetValue lib "shlwapi" Alias "SHSetValueA" (ByVal hkey As Long, ByVal pszSubKey As String, ByVal pszValue As String, ByVal dwType As Long, pvData As Any, ByVal cbData As Long) As Long
Declare Function SHSkipJunction lib "SHLWAPI" (ByVal pbc As Long, ByRef pclsid As Long) As Long
Declare Function shutdown lib "ws2_32" (ByVal s As Long, ByVal how As Long) As Long
Declare Function SignalObjectAndWait lib "kernel32" (ByVal hObjectToSignal As Long, ByVal hObjectToWaitOn As Long, ByVal dwMilliseconds As Long, ByVal bAlertable As Long) As Long
Declare Function SizeofResource Lib "kernel32" Alias "SizeofResource" (ByVal hInstance As Long, ByVal hResInfo As Long) As Long
Declare Function SleepEx Lib "kernel32" Alias "SleepEx" (ByVal dwMilliseconds As Long, ByVal bAlertable As Long) As Long
Declare Function SNB_UserMarshal lib "ole32" (ByRef pLong As Long, ByVal pChar As String, ByVal pSnb As Long) As Long
Declare Function SNB_UserSize lib "ole32" (ByRef pLong As Long, ByVal lLong As Long, ByVal pSnb As Long) As Long
Declare Function SNB_UserUnmarshal lib "ole32" (ByRef pLong As Long, ByVal pChar As String, ByVal pSnb As Long) As Long
Declare Function sndPlaySound Lib "winmm.dll" Alias "sndPlaySoundA" (ByVal lpszSoundName As String, ByVal uFlags As Long) As Long
Declare Function SnmpExtensionInit lib "acsmib" (ByVal dwUptimeReference As Long, ByRef phSubagentTrapEvent As Long, ByVal pFirstSupportedRegion As Long) As Long
Declare Function SnmpExtensionInitEx lib "iasperf" (ByVal pNextSupportedRegion As Long) As Long
Declare Function SnmpExtensionQuery lib "acsmib" (ByVal bPduType As Byte, ByRef pVarBindList As SnmpVarBindList, ByRef pErrorStatus As AsnInteger32, ByRef pErrorIndex As AsnInteger32) As Long
Declare Function SnmpExtensionTrap lib "acsmib" (ByVal pEnterpriseOid As Long, ByRef pGenericTrapId As AsnInteger32, ByRef pSpecificTrapId As AsnInteger32, ByRef pTimeStamp As Long, ByRef pVarBindList As SnmpVarBindList) As Long
Declare Function SnmpMgrClose lib "mgmtapi" (ByRef session As LPSNMP_MGR_SESSION) As Long
Declare Function SnmpMgrCtl lib "mgmtapi" (ByRef session As LPSNMP_MGR_SESSION, ByVal dwCtlCode As Long, lpvInBuffer As Any, ByVal cbInBuffer As Long, lpvOUTBuffer As Any, ByVal cbOUTBuffer As Long, ByRef lpcbBytesReturned As Long) As Long
Declare Function SnmpMgrGetTrap lib "mgmtapi" (ByVal enterprise As Long, ByVal IPAddress As Long, ByRef genericTrap As Long, ByRef specificTrap As Long, ByRef timeStamp As Long, ByVal variableBindings As Long) As Long
Declare Function SnmpMgrGetTrapEx lib "mgmtapi" (ByVal enterprise As Long, ByVal agentAddress As Long, ByVal sourceAddress As Long, ByRef genericTrap As Long, ByRef specificTrap As Long, ByRef community As Long, ByRef timeStamp As Long, ByVal variableBindings As Long) As Long
Declare Function SnmpMgrOidToStr lib "mgmtapi" (ByVal oid As Long, ByVal sstring As String) As Long
Declare Function SnmpMgrRequest lib "mgmtapi" (ByRef session As LPSNMP_MGR_SESSION, ByVal requestType As Byte, ByVal variableBindings As Long, ByRef errorStatus As Long, ByRef errorIndex As Long) As Long
Declare Function SnmpMgrStrToOid lib "mgmtapi" (ByVal sstring As String, ByVal oid As Long) As Long
Declare Function SnmpMgrTrapListen lib "mgmtapi" (ByRef phTrapAvailable As Long) As Long
Declare Function SnmpSvcGetUptime lib "snmpapi" () As Long
Declare Function SnmpUtilAsnAnyCpy lib "snmpapi" (ByRef pAnyDst As AsnAny, ByRef pAnySrc As AsnAny) As Long
Declare Function SnmpUtilIdsTo lib "snmpapi" Alias "SnmpUtilIdsToA" (ByRef Ids As Long, ByVal IdLength As Long) As Long
Declare Function SnmpUtilMemAlloc lib "snmpapi" (ByVal nBytes As Long) As Long
Declare Function SnmpUtilMemReAlloc lib "snmpapi" (pMem As Any, ByVal nBytes As Long) As Long
Declare Function SnmpUtilOctetsCmp lib "snmpapi" (ByRef pOctets1 As AsnOctetString, ByRef pOctets2 As AsnOctetString) As Long
Declare Function SnmpUtilOctetsCpy lib "snmpapi" (ByRef pOctetsDst As AsnOctetString, ByRef pOctetsSrc As AsnOctetString) As Long
Declare Function SnmpUtilOctetsNCmp lib "snmpapi" (ByRef pOctets1 As AsnOctetString, ByRef pOctets2 As AsnOctetString, ByVal nChars As Long) As Long
Declare Function SnmpUtilOidAppend lib "snmpapi" (ByVal pOidDst As Long, ByVal pOidSrc As Long) As Long
Declare Function SnmpUtilOidCmp lib "snmpapi" (ByVal pOid1 As Long, ByVal pOid2 As Long) As Long
Declare Function SnmpUtilOidCpy lib "snmpapi" (ByVal pOidDst As Long, ByVal pOidSrc As Long) As Long
Declare Function SnmpUtilOidNCmp lib "snmpapi" (ByVal pOid1 As Long, ByVal pOid2 As Long, ByVal nSubIds As Long) As Long
Declare Function SnmpUtilOidTo lib "snmpapi" Alias "SnmpUtilOidToA" (ByVal Oid As Long) As Long
Declare Function SnmpUtilVarBindCpy lib "snmpapi" (ByRef pVbDst As SnmpVarBind, ByRef pVbSrc As SnmpVarBind) As Long
Declare Function SnmpUtilVarBindListCpy lib "snmpapi" (ByRef pVblDst As SnmpVarBindList, ByRef pVblSrc As SnmpVarBindList) As Long
Declare Function socket lib "ws2_32" (ByVal af As Long, ByVal lType As Long, ByVal protocol As Long) As Long
Declare Function SoftwareUpdateMessageBox lib "shdocvw" (ByVal hWnd As Long, ByVal szDistUnit As String, ByVal dwFlags As Long, ByRef psdi As SOFTDISTINFO) As Long
Declare Function SplitSymbols lib "imagehlp" (ByVal ImageName As String, ByVal SymbolsPath As String, ByVal SymbolFilePath As String, ByVal Flags As Long) As Long
Declare Function SQLAllocConnect lib "msorcl32" (ByVal henv As Long, ByRef phdbc As Long) As Long
Declare Function SQLAllocEnv lib "msorcl32" (ByRef phenv As Long) As Long
Declare Function SQLAllocHandle lib "ODBC32" (ByVal HandleType As Integer, ByRef InputHandle As SQLHANDLE, ByRef OutputHandle As SQLHANDLE) As Long
Declare Function SQLAllocHandleStd lib "ODBC32" (ByVal fHandleType As Integer, ByRef hInput As SQLHANDLE, ByRef phOutput As SQLHANDLE) As Long
Declare Function SQLAllocStmt lib "msorcl32" (ByVal hdbc As Long, ByRef phstmt As Long) As Long
Declare Function SQLBindCol lib "msorcl32" (ByVal hstmt As Long, ByVal icol As Integer, ByVal fCType As Integer, rgbValue As Any, ByVal cbValueMax As Long, ByRef pcbValue As Long) As Long
Declare Function SQLBindParam lib "ODBC32" (ByVal StatementHandle As Long, ByVal ParameterNumber As Integer, ByVal ValueType As Integer, ByVal ParameterType As Integer, ByRef LengthPrecision As SQLULEN, ByVal ParameterScale As Integer, ParameterValue As Any, ByRef StrLen_or_Ind As SQLLEN) As Long
Declare Function SQLBindParameter lib "msorcl32" (ByVal hstmt As Long, ByVal ipar As Integer, ByVal fParamType As Integer, ByVal fCType As Integer, ByVal fSqlType As Integer, ByVal cbColDef As Long, ByVal ibScale As Integer, rgbValue As Any, ByVal cbValueMax As Long, ByRef pcbValue As Long) As Long
Declare Function SQLBrowseConnect lib "msorcl32" (ByVal hdbc As Long, ByVal szConnStrIn As String, ByVal cbConnStrIn As Integer, ByVal szConnStrOut As String, ByVal cbConnStrOutMax As Integer, ByRef pcbConnStrOut As Integer) As Long
Declare Function SQLBulkOperations lib "ODBC32" (ByVal StatementHandle As Long, ByVal Operation As Integer) As Long
Declare Function SQLCancel lib "msorcl32" (ByVal hstmt As Long) As Long
Declare Function SQLCloseCursor lib "ODBC32" (ByVal StatementHandle As Long) As Long
Declare Function SQLCloseEnumServers lib "ODBCBCP" (ByVal hEnumHandle As Long) As Integer
Declare Function SQLColAttribute lib "ODBC32" (ByVal hstmt As Long, ByVal iCol As Integer, ByVal iField As Integer, pCharAttr As Any, ByVal cbCharAttrMax As Integer, ByRef pcbCharAttr As Integer, pNumAttr As Any) As Long
Declare Function SQLColAttributes lib "msorcl32" (ByVal hstmt As Long, ByVal icol As Integer, ByVal fDescType As Integer, rgbDesc As Any, ByVal cbDescMax As Integer, ByRef pcbDesc As Integer, ByRef pfDesc As Long) As Long
Declare Function SQLColumnPrivileges lib "odbc32" (ByVal hstmt As Long, ByVal szCatalogName As String, ByVal cbCatalogName As Integer, ByVal szSchemaName As String, ByVal cbSchemaName As Integer, ByVal szTableName As String, ByVal cbTableName As Integer, ByVal szColumnName As String, ByVal cbColumnName As Integer) As Long
Declare Function SQLColumns lib "msorcl32" (ByVal hstmt As Long, ByVal szCatalogName As String, ByVal cbCatalogName As Integer, ByVal szSchemaName As String, ByVal cbSchemaName As Integer, ByVal szTableName As String, ByVal cbTableName As Integer, ByVal szColumnName As String, ByVal cbColumnName As Integer) As Long
Declare Function SQLConfigDataSource lib "odbccp32" (ByVal hwndParent As Long, ByVal fRequest As Integer, ByVal lpszDriver As String, ByVal lpszAttributes As String) As Long
Declare Function SQLConfigDriver lib "odbccp32" (ByVal hwndParent As Long, ByVal fRequest As Integer, ByVal lpszDriver As String, ByVal lpszArgs As String, ByVal lpszMsg As String, ByVal cbMsgMax As Integer, ByRef pcbMsgOut As Integer) As Long
Declare Function SQLConnect lib "msorcl32" (ByVal hdbc As Long, ByVal szDSN As String, ByVal cbDSN As Integer, ByVal szUID As String, ByVal cbUID As Integer, ByVal szAuthStr As String, ByVal cbAuthStr As Integer) As Long
Declare Function SQLCopyDesc lib "ODBC32" (ByRef SourceDescHandle As SQLHDESC, ByRef TargetDescHandle As SQLHDESC) As Long
Declare Function SQLCreateDataSource lib "odbccp32" (ByVal hwndParent As Long, ByVal lpszDSN As String) As Long
Declare Function SQLDataSources lib "odbc32" (ByVal henv As Long, ByVal fDirection As Integer, ByVal szDSN As String, ByVal cbDSNMax As Integer, ByRef pcbDSN As Integer, ByVal szDescription As String, ByVal cbDescriptionMax As Integer, ByRef pcbDescription As Integer) As Long
Declare Function SQLDescribeCol lib "msorcl32" (ByVal hstmt As Long, ByVal icol As Integer, ByVal szColName As String, ByVal cbColNameMax As Integer, ByRef pcbColName As Integer, ByRef pfSqlType As Integer, ByRef pcbColDef As Long, ByRef pibScale As Integer, ByRef pfNullable As Integer) As Long
Declare Function SQLDescribeParam lib "msorcl32" (ByVal hstmt As Long, ByVal ipar As Integer, ByRef pfSqlType As Integer, ByRef pcbParamDef As Long, ByRef pibScale As Integer, ByRef pfNullable As Integer) As Long
Declare Function SQLDisconnect lib "msorcl32" (ByVal hdbc As Long) As Long
Declare Function SQLDriverConnect lib "msorcl32" (ByVal hdbc As Long, ByVal hwnd As Long, ByVal szConnStrIn As String, ByVal cbConnStrIn As Integer, ByVal szConnStrOut As String, ByVal cbConnStrOutMax As Integer, ByRef pcbConnStrOut As Integer, ByVal fDriverCompletion As Integer) As Long
Declare Function SQLDrivers lib "odbc32" (ByVal henv As Long, ByVal fDirection As Integer, ByVal szDriverDesc As String, ByVal cbDriverDescMax As Integer, ByRef pcbDriverDesc As Integer, ByVal szDriverAttributes As String, ByVal cbDrvrAttrMax As Integer, ByRef pcbDrvrAttr As Integer) As Long
Declare Function SQLEndTran lib "ODBC32" (ByVal HandleType As Integer, ByRef handle As SQLHANDLE, ByVal CompletionType As Integer) As Long
Declare Function SQLError lib "msorcl32" (ByVal henv As Long, ByVal hdbc As Long, ByVal hstmt As Long, ByVal szSqlState As String, ByRef pfNativeError As Long, ByVal szErrorMsg As String, ByVal cbErrorMsgMax As Integer, ByRef pcbErrorMsg As Integer) As Long
Declare Function SQLExecDirect lib "msorcl32" (ByVal hstmt As Long, ByVal szSqlStr As String, ByVal cbSqlStr As Long) As Long
Declare Function SQLExecute lib "msorcl32" (ByVal hstmt As Long) As Long
Declare Function SQLExtendedFetch lib "msorcl32" (ByVal hstmt As Long, ByVal fFetchType As Integer, ByVal irow As Long, ByRef pcrow As Long, ByRef rgfRowStatus As Integer) As Long
Declare Function SQLFetch lib "msorcl32" (ByVal hstmt As Long) As Long
Declare Function SQLFetchScroll lib "ODBC32" (ByVal StatementHandle As Long, ByVal FetchOrientation As Integer, ByRef FetchOffset As SQLROWOFFSET) As Long
Declare Function SQLForeignKeys lib "msorcl32" (ByVal hstmt As Long, ByVal szPkCatalogName As String, ByVal cbPkCatalogName As Integer, ByVal szPkSchemaName As String, ByVal cbPkSchemaName As Integer, ByVal szPkTableName As String, ByVal cbPkTableName As Integer, ByVal szFkCatalogName As String, ByVal cbFkCatalogName As Integer, ByVal szFkSchemaName As String, ByVal cbFkSchemaName As Integer, ByVal szFkTableName As String, ByVal cbFkTableName As Integer) As Long
Declare Function SQLFreeConnect lib "msorcl32" (ByVal hdbc As Long) As Long
Declare Function SQLFreeEnv lib "msorcl32" (ByVal henv As Long) As Long
Declare Function SQLFreeHandle lib "ODBC32" (ByVal HandleType As Integer, ByRef handle As SQLHANDLE) As Long
Declare Function SQLFreeStmt lib "msorcl32" (ByVal hstmt As Long, ByVal fOption As Integer) As Long
Declare Function SQLGetAvailableDrivers lib "odbccp32" (ByVal lpszInfFile As String, ByVal lpszBuf As String, ByVal cbBufMax As Integer, ByRef pcbBufOut As Integer) As Long
Declare Function SQLGetConfigMode lib "ODBCCP32" (ByRef pwConfigMode As Integer) As Long
Declare Function SQLGetConnectAttr lib "ODBC32" (ByVal ConnectionHandle As Long, ByVal lAttribute As Long, lValue As Any, ByVal BufferLength As Long, ByRef StringLength As Long) As Long
Declare Function SQLGetConnectOption lib "msorcl32" (ByVal hdbc As Long, ByVal fOption As Integer, pvParam As Any) As Long
Declare Function SQLGetCursorName lib "msorcl32" (ByVal hstmt As Long, ByVal szCursor As String, ByVal cbCursorMax As Integer, ByRef pcbCursor As Integer) As Long
Declare Function SQLGetData lib "msorcl32" (ByVal hstmt As Long, ByVal icol As Integer, ByVal fCType As Integer, rgbValue As Any, ByVal cbValueMax As Long, ByRef pcbValue As Long) As Long
Declare Function SQLGetDescField lib "ODBC32" (ByRef hdesc As SQLHDESC, ByVal iRecord As Integer, ByVal iField As Integer, rgbValue As Any, ByVal cbValueMax As Long, ByRef pcbValue As Long) As Long
Declare Function SQLGetDescRec lib "ODBC32" (ByRef hdesc As SQLHDESC, ByVal iRecord As Integer, ByVal szName As String, ByVal cbNameMax As Integer, ByRef pcbName As Integer, ByRef pfType As Integer, ByRef pfSubType As Integer, ByRef pLength As Long, ByRef pPrecision As Integer, ByRef pScale As Integer, ByRef pNullable As Integer) As Long
Declare Function SQLGetDiagField lib "ODBC32" (ByVal HandleType As Integer, ByRef handle As SQLHANDLE, ByVal RecNumber As Integer, ByVal DiagIdentifier As Integer, DiagInfo As Any, ByVal BufferLength As Integer, ByRef StringLength As Integer) As Long
Declare Function SQLGetDiagRec lib "ODBC32" (ByVal fHandleType As Integer, ByRef handle As SQLHANDLE, ByVal iRecord As Integer, ByVal szSqlState As String, ByRef pfNativeError As Long, ByVal szErrorMsg As String, ByVal cbErrorMsgMax As Integer, ByRef pcbErrorMsg As Integer) As Long
Declare Function SQLGetEnvAttr lib "ODBC32" (ByVal EnvironmentHandle As Long, ByVal lAttribute As Long, lValue As Any, ByVal BufferLength As Long, ByRef StringLength As Long) As Long
Declare Function SQLGetFunctions lib "odbc32" (ByVal hdbc As Long, ByVal fFunction As Integer, ByRef pfExists As Integer) As Long
Declare Function SQLGetInfo lib "msorcl32" (ByVal hdbc As Long, ByVal fInfoType As Integer, rgbInfoValue As Any, ByVal cbInfoValueMax As Integer, ByRef pcbInfoValue As Integer) As Long
Declare Function SQLGetInstalledDrivers lib "odbccp32" (ByVal lpszBuf As String, ByVal cbBufMax As Integer, ByRef pcbBufOut As Integer) As Long
Declare Function SQLGetNextEnumeration lib "ODBCBCP" (ByVal hEnumHandle As Long, ByVal prgEnumData As String, ByRef piEnumLength As Long) As Integer
Declare Function SQLGetPrivateProfileString lib "odbccp32" (ByVal lpszSection As String, ByVal lpszEntry As String, ByVal lpszDefault As String, ByVal lpszRetBuffer As String, ByVal cbRetBuffer As Long, ByVal lpszFilename As String) As Long
Declare Function SQLGetStmtAttr lib "ODBC32" (ByVal hstmt As Long, ByVal fAttribute As Long, rgbValue As Any, ByVal cbValueMax As Long, ByRef pcbValue As Long) As Long
Declare Function SQLGetStmtOption lib "msorcl32" (ByVal hstmt As Long, ByVal fOption As Integer, pvParam As Any) As Long
Declare Function SQLGetTranslator lib "odbccp32" (ByVal hwnd As Long, ByVal lpszName As String, ByVal cbNameMax As Integer, ByRef pcbNameOut As Integer, ByVal lpszPath As String, ByVal cbPathMax As Integer, ByRef pcbPathOut As Integer, ByRef pvOption As Long) As Long
Declare Function SQLGetTypeInfo lib "msorcl32" (ByVal hstmt As Long, ByVal fSqlType As Integer) As Long
Declare Function SQLInitEnumServers lib "ODBCBCP" (ByRef pwchServerName As Byte, ByRef pwchInstanceName As Byte) As Long
Declare Function SQLInstallDriver lib "odbccp32" (ByVal lpszInfFile As String, ByVal lpszDriver As String, ByVal lpszPath As String, ByVal cbPathMax As Integer, ByRef pcbPathOut As Integer) As Long
Declare Function SQLInstallDriverEx lib "ODBCCP32" (ByVal lpszDriver As String, ByVal lpszPathIn As String, ByVal lpszPathOut As String, ByVal cbPathOutMax As Integer, ByRef pcbPathOut As Integer, ByVal fRequest As Integer, ByRef lpdwUsageCount As Long) As Long
Declare Function SQLInstallDriverManager lib "odbccp32" (ByVal lpszPath As String, ByVal cbPathMax As Integer, ByRef pcbPathOut As Integer) As Long
Declare Function SQLInstallerError lib "ODBCCP32" (ByVal iError As Integer, ByRef pfErrorCode As Long, ByVal lpszErrorMsg As String, ByVal cbErrorMsgMax As Integer, ByRef pcbErrorMsg As Integer) As Long
Declare Function SQLInstallODBC lib "odbccp32" (ByVal hwndParent As Long, ByVal lpszInfFile As String, ByVal lpszSrcPath As String, ByVal lpszDrivers As String) As Long
Declare Function SQLInstallTranslator lib "odbccp32" (ByVal lpszInfFile As String, ByVal lpszTranslator As String, ByVal lpszPathIn As String, ByVal lpszPathOut As String, ByVal cbPathOutMax As Integer, ByRef pcbPathOut As Integer, ByVal fRequest As Integer, ByRef lpdwUsageCount As Long) As Long
Declare Function SQLInstallTranslatorEx lib "ODBCCP32" (ByVal lpszTranslator As String, ByVal lpszPathIn As String, ByVal lpszPathOut As String, ByVal cbPathOutMax As Integer, ByRef pcbPathOut As Integer, ByVal fRequest As Integer, ByRef lpdwUsageCount As Long) As Long
Declare Function SQLLinkedCatalogs lib "ODBCBCP" (ByVal sqlhstmt As Long, ByVal lpcstr As String, ByVal sword As Integer) As Long
Declare Function SQLLinkedServers lib "ODBCBCP" (ByVal sqlhstmt As Long) As Long
Declare Function SQLManageDataSources lib "odbccp32" (ByVal hwndParent As Long) As Long
Declare Function SQLMoreResults lib "msorcl32" (ByVal hstmt As Long) As Long
Declare Function SQLNativeSql lib "msorcl32" (ByVal hdbc As Long, ByVal szSqlStrIn As String, ByVal cbSqlStrIn As Long, ByVal szSqlStr As String, ByVal cbSqlStrMax As Long, ByRef pcbSqlStr As Long) As Long
Declare Function SQLNumParams lib "msorcl32" (ByVal hstmt As Long, ByRef pcpar As Integer) As Long
Declare Function SQLNumResultCols lib "msorcl32" (ByVal hstmt As Long, ByRef pccol As Integer) As Long
Declare Function SQLParamData lib "msorcl32" (ByVal hstmt As Long, prgbValue As Any) As Long
Declare Function SQLParamOptions lib "odbc32" (ByVal hstmt As Long, ByVal crow As Long, ByRef pirow As Long) As Long
Declare Function SQLPostInstallerError lib "ODBCCP32" (ByVal dwErrorCode As Long, ByVal lpszErrMsg As String) As Long
Declare Function SQLPrepare lib "msorcl32" (ByVal hstmt As Long, ByVal szSqlStr As String, ByVal cbSqlStr As Long) As Long
Declare Function SQLPrimaryKeys lib "msorcl32" (ByVal hstmt As Long, ByVal szCatalogName As String, ByVal cbCatalogName As Integer, ByVal szSchemaName As String, ByVal cbSchemaName As Integer, ByVal szTableName As String, ByVal cbTableName As Integer) As Long
Declare Function SQLProcedureColumns lib "msorcl32" (ByVal hstmt As Long, ByVal szCatalogName As String, ByVal cbCatalogName As Integer, ByVal szSchemaName As String, ByVal cbSchemaName As Integer, ByVal szProcName As String, ByVal cbProcName As Integer, ByVal szColumnName As String, ByVal cbColumnName As Integer) As Long
Declare Function SQLProcedures lib "msorcl32" (ByVal hstmt As Long, ByVal szCatalogName As String, ByVal cbCatalogName As Integer, ByVal szSchemaName As String, ByVal cbSchemaName As Integer, ByVal szProcName As String, ByVal cbProcName As Integer) As Long
Declare Function SQLPutData lib "msorcl32" (ByVal hstmt As Long, rgbValue As Any, ByVal cbValue As Long) As Long
Declare Function SQLReadFileDSN lib "ODBCCP32" (ByVal lpszFileName As String, ByVal lpszAppName As String, ByVal lpszKeyName As String, ByVal lpszString As String, ByVal cbString As Integer, ByRef pcbString As Integer) As Long
Declare Function SQLRemoveDefaultDataSource lib "odbccp32" () As Long
Declare Function SQLRemoveDriver lib "odbccp32" (ByVal lpszDriver As String, ByVal fRemoveDSN As Long, ByRef lpdwUsageCount As Long) As Long
Declare Function SQLRemoveDriverManager lib "odbccp32" (ByRef lpdwUsageCount As Long) As Long
Declare Function SQLRemoveDSNFromIni lib "odbccp32" (ByVal lpszDSN As String) As Long
Declare Function SQLRemoveTranslator lib "odbccp32" (ByVal lpszTranslator As String, ByRef lpdwUsageCount As Long) As Long
Declare Function SQLRowCount lib "msorcl32" (ByVal hstmt As Long, ByRef pcrow As Long) As Long
Declare Function SQLSetConfigMode lib "ODBCCP32" (ByVal wConfigMode As Integer) As Long
Declare Function SQLSetConnectAttr lib "ODBC32" (ByVal hdbc As Long, ByVal fAttribute As Long, rgbValue As Any, ByVal cbValue As Long) As Long
Declare Function SQLSetConnectOption lib "msorcl32" (ByVal hdbc As Long, ByVal fOption As Integer, ByVal vParam As Long) As Long
Declare Function SQLSetCursorName lib "msorcl32" (ByVal hstmt As Long, ByVal szCursor As String, ByVal cbCursor As Integer) As Long
Declare Function SQLSetDescField lib "ODBC32" (ByRef DescriptorHandle As SQLHDESC, ByVal RecNumber As Integer, ByVal FieldIdentifier As Integer, Value As Any, ByVal BufferLength As Long) As Long
Declare Function SQLSetDescRec lib "ODBC32" (ByRef DescriptorHandle As SQLHDESC, ByVal RecNumber As Integer, ByVal lType As Integer, ByVal SubType As Integer, ByRef Length As SQLLEN, ByVal Precision As Integer, ByVal kScale As Integer, Data As Any, ByRef StringLength As SQLLEN, ByRef Indicator As SQLLEN) As Long
Declare Function SQLSetEnvAttr lib "ODBC32" (ByVal EnvironmentHandle As Long, ByVal lAttribute As Long, Value As Any, ByVal StringLength As Long) As Long
Declare Function SQLSetParam lib "odbc32" (ByVal hstmt As Long, ByVal ipar As Integer, ByVal fCType As Integer, ByVal fSqlType As Integer, ByVal cbParamDef As Long, ByVal ibScale As Integer, rgbValue As Any, ByRef pcbValue As Long) As Long
Declare Function SQLSetPos lib "msorcl32" (ByVal hstmt As Long, ByVal irow As Integer, ByVal fOption As Integer, ByVal fLock As Integer) As Long
Declare Function SQLSetScrollOptions lib "msorcl32" (ByVal hstmt As Long, ByVal fConcurrency As Integer, ByVal crowKeyset As Long, ByVal crowRowset As Integer) As Long
Declare Function SQLSetStmtAttr lib "ODBC32" (ByVal StatementHandle As Long, ByVal lAttribute As Long, Value As Any, ByVal StringLength As Long) As Long
Declare Function SQLSetStmtOption lib "msorcl32" (ByVal hstmt As Long, ByVal fOption As Integer, ByVal vParam As Long) As Long
Declare Function SQLSpecialColumns lib "msorcl32" (ByVal hstmt As Long, ByVal fColType As Integer, ByVal szCatalogName As String, ByVal cbCatalogName As Integer, ByVal szSchemaName As String, ByVal cbSchemaName As Integer, ByVal szTableName As String, ByVal cbTableName As Integer, ByVal fScope As Integer, ByVal fNullable As Integer) As Long
Declare Function SQLStatistics lib "msorcl32" (ByVal hstmt As Long, ByVal szCatalogName As String, ByVal cbCatalogName As Integer, ByVal szSchemaName As String, ByVal cbSchemaName As Integer, ByVal szTableName As String, ByVal cbTableName As Integer, ByVal fUnique As Integer, ByVal fAccuracy As Integer) As Long
Declare Function SQLTablePrivileges lib "odbc32" (ByVal hstmt As Long, ByVal szCatalogName As String, ByVal cbCatalogName As Integer, ByVal szSchemaName As String, ByVal cbSchemaName As Integer, ByVal szTableName As String, ByVal cbTableName As Integer) As Long
Declare Function SQLTables lib "msorcl32" (ByVal hstmt As Long, ByVal szCatalogName As String, ByVal cbCatalogName As Integer, ByVal szSchemaName As String, ByVal cbSchemaName As Integer, ByVal szTableName As String, ByVal cbTableName As Integer, ByVal szTableType As String, ByVal cbTableType As Integer) As Long
Declare Function SQLTransact lib "msorcl32" (ByVal henv As Long, ByVal hdbc As Long, ByVal fType As Integer) As Long
Declare Function SQLValidDSN lib "odbccp32" (ByVal lpszDSN As String) As Long
Declare Function SQLWriteDSNToIni lib "odbccp32" (ByVal lpszDSN As String, ByVal lpszDriver As String) As Long
Declare Function SQLWriteFileDSN lib "ODBCCP32" (ByVal lpszFileName As String, ByVal lpszAppName As String, ByVal lpszKeyName As String, ByVal lpszString As String) As Long
Declare Function SQLWritePrivateProfileString lib "odbccp32" (ByVal lpszSection As String, ByVal lpszEntry As String, ByVal lpszString As String, ByVal lpszFilename As String) As Long
Declare Function StackWalk lib "dbghelp" (ByVal MachineType As Long, ByVal hProcess As Long, ByVal hThread As Long, ByRef StackFrame As STACKFRAME, ContextRecord As Any, ByRef ReadMemoryRoutine As PREAD_PROCESS_MEMORY_ROUTINE, ByRef FunctionTableAccessRoutine As PFUNCTION_TABLE_ACCESS_ROUTINE, ByRef GetModuleBaseRoutine As PGET_MODULE_BASE_ROUTINE, ByRef TranslateAddress As PTRANSLATE_ADDRESS_ROUTINE) As Long
Declare Function StackWalk64 lib "dbghelp" (ByVal MachineType As Long, ByVal hProcess As Long, ByVal hThread As Long, ByRef StackFrame As STACKFRAME64, ContextRecord As Any, ByRef ReadMemoryRoutine As PREAD_PROCESS_MEMORY_ROUTINE64, ByRef FunctionTableAccessRoutine As PFUNCTION_TABLE_ACCESS_ROUTINE64, ByRef GetModuleBaseRoutine As PGET_MODULE_BASE_ROUTINE64, ByRef TranslateAddress As PTRANSLATE_ADDRESS_ROUTINE64) As Long
Declare Function StartDoc Lib "gdi32" Alias "StartDocA" (ByVal hdc As Long, lpdi As DOCINFO) As Long
Declare Function StartDocPrinter Lib "winspool.drv" Alias "StartDocPrinterA" (ByVal hPrinter As Long, ByVal Level As Long, pDocInfo As Byte) As Long
Declare Function StartFormPage lib "gdi32" (ByVal hdc As Long) As Long
Declare Function StartPage Lib "gdi32" Alias "StartPage" (ByVal hdc As Long) As Long
Declare Function StartPagePrinter Lib "winspool.drv" Alias "StartPagePrinter" (ByVal hPrinter As Long) As Long
Declare Function StartService Lib "advapi32.dll" Alias "StartServiceA" (ByVal hService As Long, ByVal dwNumServiceArgs As Long, ByVal lpServiceArgVectors As Long) As Long
Declare Function StartServiceCtrlDispatcher Lib "advapi32.dll" Alias "StartServiceCtrlDispatcherA" (lpServiceStartTable As SERVICE_TABLE_ENTRY) As Long
Declare Function STGMEDIUM_UserMarshal lib "ole32" (ByRef pLong As Long, ByVal pChar As String, ByRef pStgmedium As STGMEDIUM) As Long
Declare Function STGMEDIUM_UserSize lib "ole32" (ByRef pLong As Long, ByVal long As Long, ByRef pStgmedium As STGMEDIUM) As Long
Declare Function STGMEDIUM_UserUnmarshal lib "ole32" (ByRef pLong As Long, ByVal pChar As String, ByRef pStgmedium As STGMEDIUM) As Long
Declare Function StrCatBuff lib "shlwapi" Alias "StrCatBuffA" (ByVal pszDest As String, ByVal pszSrc As String, ByVal cchDestBuffSize As Long) As Long
Declare Function StrChr lib "shell32" Alias "StrChrA" (ByVal lpStart As String, ByVal wMatch As Integer) As Long
Declare Function StrChrI lib "shell32" Alias "StrChrIA" (ByVal lpStart As String, ByVal wMatch As Integer) As Long
Declare Function StrCmpN lib "shell32" Alias "StrCmpNA" (ByVal lpStr1 As String, ByVal lpStr2 As String, ByVal nChar As Long) As Long
Declare Function StrCmpNI lib "shell32" Alias "StrCmpNIA" (ByVal lpStr1 As String, ByVal lpStr2 As String, ByVal nChar As Long) As Long
Declare Function StrCSpn lib "shlwapi" Alias "StrCSpnA" (ByVal lpStr As String, ByVal lpSet As String) As Long
Declare Function StrCSpnI lib "shlwapi" Alias "StrCSpnIA" (ByVal lpStr As String, ByVal lpSet As String) As Long
Declare Function StrDup lib "shlwapi" Alias "StrDupA" (ByVal lpSrch As String) As Long
Declare Function StretchBlt Lib "gdi32" Alias "StretchBlt" (ByVal hdc As Long, ByVal x As Long, ByVal y As Long, ByVal nWidth As Long, ByVal nHeight As Long, ByVal hSrcDC As Long, ByVal xSrc As Long, ByVal ySrc As Long, ByVal nSrcWidth As Long, ByVal nSrcHeight As Long, ByVal dwRop As Long) As Long
Declare Function StretchDIBits Lib "gdi32" Alias "StretchDIBits" (ByVal hdc As Long, ByVal x As Long, ByVal y As Long, ByVal dx As Long, ByVal dy As Long, ByVal SrcX As Long, ByVal SrcY As Long, ByVal wSrcWidth As Long, ByVal wSrcHeight As Long, lpBits As Any, lpBitsInfo As BITMAPINFO, ByVal wUsage As Long, ByVal dwRop As Long) As Long
Declare Function StrFormatByteSize lib "shlwapi" Alias "StrFormatByteSizeA" (ByVal dw As Long, ByVal szBuf As String, ByVal uiBufSize As Long) As Long
Declare Function StrFormatByteSize64 lib "shlwapi" Alias "StrFormatByteSize64A" (ByVal qdw As Double, ByVal szBuf As String, ByVal uiBufSize As Long) As Long
Declare Function StrFormatKBSize lib "shlwapi" Alias "StrFormatKBSizeA" (ByVal qdw As Double, ByVal szBuf As String, ByVal uiBufSize As Long) As Long
Declare Function StrFromTimeInterval lib "shlwapi" Alias "StrFromTimeIntervalA" (ByVal pszOut As String, ByVal cchMax As Long, ByVal dwTimeMS As Long, ByVal digits As Long) As Long
Declare Function StringFromGUID2 lib "ole32" (ByVal rguid As Long, ByVal lpsz As String, ByVal cchMax As Long) As Long
Declare Function StrIsIntlEqual lib "shlwapi" Alias "StrIsIntlEqualA" (ByVal fCaseSens As Long, ByVal lpString1 As String, ByVal lpString2 As String, ByVal nChar As Long) As Long
Declare Function StrNCat lib "shlwapi" Alias "StrNCatA" (ByVal psz1 As String, ByVal psz2 As String, ByVal cchMax As Long) As Long
Declare Function StrokeAndFillPath Lib "gdi32" Alias "StrokeAndFillPath" (ByVal hdc As Long) As Long
Declare Function StrokePath Lib "gdi32" Alias "StrokePath" (ByVal hdc As Long) As Long
Declare Function StrPBrk lib "shlwapi" Alias "StrPBrkA" (ByVal psz As String, ByVal pszSet As String) As Long
Declare Function StrRChr lib "shell32" Alias "StrRChrA" (ByVal lpStart As String, ByVal lpEnd As String, ByVal wMatch As Integer) As Long
Declare Function StrRChrI lib "shell32" Alias "StrRChrIA" (ByVal lpStart As String, ByVal lpEnd As String, ByVal wMatch As Integer) As Long
Declare Function StrRStrI lib "shell32" Alias "StrRStrIA" (ByVal lpSource As String, ByVal lpLast As String, ByVal lpSrch As String) As Long
Declare Function StrSpn lib "shlwapi" Alias "StrSpnA" (ByVal psz As String, ByVal pszSet As String) As Long
Declare Function StrStr lib "shell32" Alias "StrStrA" (ByVal lpFirst As String, ByVal lpSrch As String) As Long
Declare Function StrStrI lib "shell32" Alias "StrStrIA" (ByVal lpFirst As String, ByVal lpSrch As String) As Long
Declare Function StrToInt lib "shlwapi" Alias "StrToIntA" (ByVal lpSrc As String) As Long
Declare Function StrToIntEx lib "shlwapi" Alias "StrToIntExA" (ByVal pszString As String, ByVal dwFlags As Long, ByRef piRet As Long) As Long
Declare Function StrTrim lib "shlwapi" Alias "StrTrimA" (ByVal psz As String, ByVal pszTrimChars As String) As Long
Declare Function SubkeyExists lib "npptools" (ByVal pszPath As String, ByVal szSubkey As String) As Long
Declare Function SubmitNtmsOperatorRequest lib "ntmsapi" (ByVal hSession As Long, ByVal dwRequest As Long, ByVal lpMessage As String, ByRef lpArg1Id As LPNTMS_GUID, ByRef lpArg2Id As LPNTMS_GUID, ByRef lpRequestId As LPNTMS_GUID) As Long
Declare Function SubtractRect Lib "user32" Alias "SubtractRect" (lprcDst As RECT, lprcSrc1 As RECT, lprcSrc2 As RECT) As Long
Declare Function SuspendThread Lib "kernel32" Alias "SuspendThread" (ByVal hThread As Long) As Long
Declare Function SwapBuffers Lib "gdi32" Alias "SwapBuffers" (ByVal hDC As Long) As Long
Declare Function SwapMouseButton Lib "user32" Alias "SwapMouseButton" (ByVal bSwap As Long) As Long
Declare Function SwapNtmsMedia lib "ntmsapi" (ByVal hSession As Long, ByRef lpMediaId1 As LPNTMS_GUID, ByRef lpMediaId2 As LPNTMS_GUID) As Long
Declare Function SwitchDesktop Lib "user32" Alias "SwitchDesktop" (ByVal hDesktop As Long) As Long
Declare Function SwitchToThread lib "kernel32" () As Long
Declare Function SymCleanup lib "dbghelp" (ByVal hProcess As Long) As Long
Declare Function SymEnumerateModules lib "dbghelp" (ByVal hProcess As Long, ByRef EnumModulesCallback As PSYM_ENUMMODULES_CALLBACK, UserContext As Any) As Long
Declare Function SymEnumerateModules64 lib "dbghelp" (ByVal hProcess As Long, ByRef EnumModulesCallback As PSYM_ENUMMODULES_CALLBACK64, UserContext As Any) As Long
Declare Function SymEnumerateSymbols lib "dbghelp" (ByVal hProcess As Long, ByVal BaseOfDll As Long, ByRef EnumSymbolsCallback As PSYM_ENUMSYMBOLS_CALLBACK, UserContext As Any) As Long
Declare Function SymEnumerateSymbols64 lib "dbghelp" (ByVal hProcess As Long, ByRef BaseOfDll As DWORD64, ByRef EnumSymbolsCallback As PSYM_ENUMSYMBOLS_CALLBACK64, UserContext As Any) As Long
Declare Function SymEnumerateSymbolsW64 lib "dbghelp" (ByVal hProcess As Long, ByRef BaseOfDll As DWORD64, ByRef EnumSymbolsCallback As PSYM_ENUMSYMBOLS_CALLBACK64W, UserContext As Any) As Long
Declare Function SymEnumSym lib "IMAGEHLP" (ByVal hProcess As Long, ByRef BaseOfDll As ULONG64, ByRef EnumSymbolsCallback As PSYM_ENUMERATESYMBOLS_CALLBACK, UserContext As Any) As Long
Declare Function SymFromAddr lib "IMAGEHLP" (ByVal hProcess As Long, ByRef Address As DWORD64, ByRef Displacement As PDWORD64, ByRef Symbol As OUT) As Long
Declare Function SymFromName lib "IMAGEHLP" (ByVal hProcess As Long, ByVal Name As String, ByRef Symbol As PSYMBOL_INFO) As Long
Declare Function SymFunctionTableAccess lib "dbghelp" (ByVal hProcess As Long, ByVal AddrBase As Long) As Long
Declare Function SymFunctionTableAccess64 lib "dbghelp" (ByVal hProcess As Long, ByRef AddrBase As DWORD64) As Long
Declare Function SymGetLineFromAddr lib "dbghelp" (ByVal hProcess As Long, ByVal dwAddr As Long, ByRef pdwDisplacement As Long, ByRef Line As PIMAGEHLP_LINE) As Long
Declare Function SymGetLineFromAddr64 lib "dbghelp" (ByVal hProcess As Long, ByRef qwAddr As DWORD64, ByRef pdwDisplacement As Long, ByRef Line As PIMAGEHLP_LINE64) As Long
Declare Function SymGetLineFromName lib "dbghelp" (ByVal hProcess As Long, ByVal ModuleName As String, ByVal FileName As String, ByVal dwLineNumber As Long, ByRef plDisplacement As Long, ByRef Line As PIMAGEHLP_LINE) As Long
Declare Function SymGetLineFromName64 lib "dbghelp" (ByVal hProcess As Long, ByVal ModuleName As String, ByVal FileName As String, ByVal dwLineNumber As Long, ByRef plDisplacement As Long, ByRef Line As PIMAGEHLP_LINE64) As Long
Declare Function SymGetLineNext lib "dbghelp" (ByVal hProcess As Long, ByRef Line As PIMAGEHLP_LINE) As Long
Declare Function SymGetLineNext64 lib "dbghelp" (ByVal hProcess As Long, ByRef Line As PIMAGEHLP_LINE64) As Long
Declare Function SymGetLinePrev lib "dbghelp" (ByVal hProcess As Long, ByRef Line As PIMAGEHLP_LINE) As Long
Declare Function SymGetLinePrev64 lib "dbghelp" (ByVal hProcess As Long, ByRef Line As PIMAGEHLP_LINE64) As Long
Declare Function SymGetModuleBase lib "dbghelp" (ByVal hProcess As Long, ByVal dwAddr As Long) As Long
Declare Function SymGetModuleInfo lib "dbghelp" (ByVal hProcess As Long, ByVal dwAddr As Long, ByRef ModuleInfo As PIMAGEHLP_MODULE) As Long
Declare Function SymGetModuleInfo64 lib "dbghelp" (ByVal hProcess As Long, ByRef qwAddr As DWORD64, ByRef ModuleInfo As PIMAGEHLP_MODULE64) As Long
Declare Function SymGetModuleInfoEx lib "IMAGEHLP" (ByVal hProcess As Long, ByVal Address As Long, ByVal TypeIn As Struct_MembersOf_IMAGEHLP_TYPES, ByVal DataIn As String, ByVal TypeOut As Struct_MembersOf_IMAGEHLP_TYPES, ByRef SizeOut As Long, ByVal DataOut As String) As Long
Declare Function SymGetModuleInfoEx64 lib "IMAGEHLP" (ByVal hProcess As Long, ByRef Address As DWORD64, ByVal TypeIn As Struct_MembersOf_IMAGEHLP_TYPES, ByVal DataIn As String, ByVal TypeOut As Struct_MembersOf_IMAGEHLP_TYPES, ByRef SizeOut As Long, ByVal DataOut As String) As Long
Declare Function SymGetModuleInfoW64 lib "dbghelp" (ByVal hProcess As Long, ByRef qwAddr As DWORD64, ByRef ModuleInfo As PIMAGEHLP_MODULEW64) As Long
Declare Function SymGetOptions lib "dbghelp" () As Long
Declare Function SymGetSearchPath lib "dbghelp" (ByVal hProcess As Long, ByVal SearchPath As String, ByVal SearchPathLength As Long) As Long
Declare Function SymGetSymbolInfo lib "IMAGEHLP" (ByVal hProcess As Long, ByVal Address As Long, ByVal TypeIn As Struct_MembersOf_IMAGEHLP_TYPES, ByVal DataIn As String, ByVal TypeOut As Struct_MembersOf_IMAGEHLP_TYPES, ByRef SizeOut As Long, ByVal DataOut As String) As Long
Declare Function SymGetSymbolInfo64 lib "IMAGEHLP" (ByVal hProcess As Long, ByRef Address As DWORD64, ByVal TypeIn As Struct_MembersOf_IMAGEHLP_TYPES, ByVal DataIn As String, ByVal TypeOut As Struct_MembersOf_IMAGEHLP_TYPES, ByRef SizeOut As Long, ByVal DataOut As String) As Long
Declare Function SymGetSymFromAddr lib "dbghelp" (ByVal hProcess As Long, ByVal dwAddr As Long, ByRef pdwDisplacement As Long, ByRef Symbol As PIMAGEHLP_SYMBOL) As Long
Declare Function SymGetSymFromAddr64 lib "dbghelp" (ByVal hProcess As Long, ByRef qwAddr As DWORD64, ByRef pdwDisplacement As PDWORD64, ByRef Symbol As PIMAGEHLP_SYMBOL64) As Long
Declare Function SymGetSymFromName lib "dbghelp" (ByVal hProcess As Long, ByVal Name As String, ByRef Symbol As PIMAGEHLP_SYMBOL) As Long
Declare Function SymGetSymFromName64 lib "dbghelp" (ByVal hProcess As Long, ByVal Name As String, ByRef Symbol As PIMAGEHLP_SYMBOL64) As Long
Declare Function SymGetSymNext lib "dbghelp" (ByVal hProcess As Long, ByRef Symbol As PIMAGEHLP_SYMBOL) As Long
Declare Function SymGetSymNext64 lib "dbghelp" (ByVal hProcess As Long, ByRef Symbol As PIMAGEHLP_SYMBOL64) As Long
Declare Function SymGetSymPrev lib "dbghelp" (ByVal hProcess As Long, ByRef Symbol As PIMAGEHLP_SYMBOL) As Long
Declare Function SymGetSymPrev64 lib "dbghelp" (ByVal hProcess As Long, ByRef Symbol As PIMAGEHLP_SYMBOL64) As Long
Declare Function SymInitialize lib "dbghelp" (ByVal hProcess As Long, ByVal UserSearchPath As String, ByVal fInvadeProcess As Long) As Long
Declare Function SymLoadModule lib "dbghelp" (ByVal hProcess As Long, ByVal hFile As Long, ByVal ImageName As String, ByVal ModuleName As String, ByVal BaseOfDll As Long, ByVal SizeOfDll As Long) As Long
Declare Function SymMatchFileName lib "dbghelp" (ByVal FileName As String, ByVal Match As String, ByVal FileNameStop As String, ByVal MatchStop As String) As Long
Declare Function SymRegisterCallback lib "dbghelp" (ByVal hProcess As Long, ByRef CallbackFunction As PSYMBOL_REGISTERED_CALLBACK, UserContext As Any) As Long
Declare Function SymRegisterCallback64 lib "dbghelp" (ByVal hProcess As Long, ByRef CallbackFunction As PSYMBOL_REGISTERED_CALLBACK64, ByRef UserContext As ULONG64) As Long
Declare Function SymRegisterFunctionEntryCallback lib "IMAGEHLP" (ByVal hProcess As Long, ByRef CallbackFunction As PSYMBOL_FUNCENTRY_CALLBACK, UserContext As Any) As Long
Declare Function SymRegisterFunctionEntryCallback64 lib "IMAGEHLP" (ByVal hProcess As Long, ByRef CallbackFunction As PSYMBOL_FUNCENTRY_CALLBACK64, ByRef UserContext As ULONG64) As Long
Declare Function SymSetContext lib "IMAGEHLP" (ByVal hProcess As Long, ByRef StackFrame As PIMAGEHLP_STACK_FRAME, ByRef context As PIMAGEHLP_CONTEXT) As Long
Declare Function SymSetOptions lib "dbghelp" (ByVal SymOptions As Long) As Long
Declare Function SymSetSearchPath lib "dbghelp" (ByVal hProcess As Long, ByVal SearchPath As String) As Long
Declare Function SymUnDName lib "dbghelp" (ByRef sym As PIMAGEHLP_SYMBOL, ByVal UnDecName As String, ByVal UnDecNameLength As Long) As Long
Declare Function SymUnDName64 lib "dbghelp" (ByRef sym As PIMAGEHLP_SYMBOL64, ByVal UnDecName As String, ByVal UnDecNameLength As Long) As Long
Declare Function SymUnloadModule lib "dbghelp" (ByVal hProcess As Long, ByVal BaseOfDll As Long) As Long
Declare Function SymUnloadModule64 lib "dbghelp" (ByVal hProcess As Long, ByRef BaseOfDll As DWORD64) As Long
Declare Function SyncMgrResolveConflict lib "MOBSYNC" (ByVal hWndParent As Long, ByRef pdlgParam As RFCDLGPARAMA) As Long
Declare Function SysAllocString lib "oleaut32" (ByRef pOlechar As Byte) As String
Declare Function SysAllocStringLen lib "oleaut32" (ByRef pOlechar As Byte, ByVal uint As Long) As String
Declare Function SysReAllocString lib "oleaut32" (ByVal pBstr As Long, ByRef pOlechar As Byte) As Long
Declare Function SysReAllocStringLen lib "oleaut32" (ByVal pBstr As Long, ByRef pOlechar As Byte, ByVal uint As Long) As Long
Declare Function SysStringByteLen lib "oleaut32" (ByRef bstr As String) As Long
Declare Function SysStringLen lib "oleaut32" (ByRef bstr As String) As Long
Declare Function SystemParametersInfo Lib "user32" Alias "SystemParametersInfoA" (ByVal uAction As Long, ByVal uParam As Long, lpvParam As Any, ByVal fuWinIni As Long) As Long
Declare Function SystemParametersInfoByval Lib "user32" Alias "SystemParametersInfoA" (ByVal uAction As Long, ByVal uParam As Long, ByVal lpvParam As Any, ByVal fuWinIni As Long) As Long
Declare Function SystemTimeToFileTime Lib "kernel32" Alias "SystemTimeToFileTime" (lpSystemTime As SYSTEMTIME, lpFileTime As FILETIME) As Long
Declare Function SystemTimeToTzSpecificLocalTime Lib "kernel32" Alias "SystemTimeToTzSpecificLocalTime" (lpTimeZoneInformation As TIME_ZONE_INFORMATION, lpUniversalTime As SYSTEMTIME, lpLocalTime As SYSTEMTIME) As Long
Declare Function SystemTimeToVariantTime lib "oleaut32" (ByRef lpSystemTime As SYSTEMTIME, ByRef pvtime As DOUBLE) As Long
Declare Function TabbedTextOut Lib "user32" Alias "TabbedTextOutA" (ByVal hdc As Long, ByVal x As Long, ByVal y As Long, ByVal lpString As String, ByVal nCount As Long, ByVal nTabPositions As Long, lpnTabStopPositions As Long, ByVal nTabOrigin As Long) As Long
Declare Function tapiGetLocationInfo lib "tapi32" (ByVal lpszCountryCode As String, ByVal lpszCityCode As String) As Long
Declare Function tapiRequestDrop lib "tapi32" (ByVal hwnd As Long, ByVal wRequestID As Long) As Long
Declare Function tapiRequestMakeCall lib "tapi32" (ByVal lpszDestAddress As String, ByVal lpszAppName As String, ByVal lpszCalledParty As String, ByVal lpszComment As String) As Long
Declare Function tapiRequestMediaCall lib "tapi32" (ByVal hwnd As Long, ByVal wRequestID As Long, ByVal lpszDeviceClass As String, ByVal lpDeviceID As String, ByVal dwSize As Long, ByVal dwSecure As Long, ByVal lpszDestAddress As String, ByVal lpszAppName As String, ByVal lpszCalledParty As String, ByVal lpszComment As String) As Long
Declare Function TcAddFilter lib "traffic" (ByVal FlowHandle As Long, ByRef pGenericFilter As PTC_GEN_FILTER, ByRef pFilterHandle As Long) As Long
Declare Function TcAddFlow lib "traffic" (ByVal IfcHandle As Long, ByVal ClFlowCtx As Long, ByVal Flags As Long, ByRef pGenericFlow As PTC_GEN_FLOW, ByRef pFlowHandle As Long) As Long
Declare Function TcCloseInterface lib "traffic" (ByVal IfcHandle As Long) As Long
Declare Function TcDeleteFilter lib "traffic" (ByVal FilterHandle As Long) As Long
Declare Function TcDeleteFlow lib "traffic" (ByVal FlowHandle As Long) As Long
Declare Function TcDeregisterClient lib "traffic" (ByVal ClientHandle As Long) As Long
Declare Function TcEnumerateFlows lib "traffic" (ByVal IfcHandle As Long, ByRef pEnumHandle As Long, ByRef pFlowCount As Long, ByRef pBufSize As Long, ByRef Buffer As PENUMERATION_BUFFER) As Long
Declare Function TcEnumerateInterfaces lib "traffic" (ByVal ClientHandle As Long, ByRef pBufferSize As Long, ByRef InterfaceBuffer As PTC_IFC_DESCRIPTOR) As Long
Declare Function TcGetFlowName lib "traffic" (ByVal FlowHandle As Long, ByVal StrSize As Long, ByVal pFlowName As String) As Long
Declare Function TcModifyFlow lib "traffic" (ByVal FlowHandle As Long, ByRef pGenericFlow As PTC_GEN_FLOW) As Long
Declare Function TcOpenInterface lib "traffic" (ByVal pInterfaceName As String, ByVal ClientHandle As Long, ByVal ClIfcCtx As Long, ByRef pIfcHandle As Long) As Long
Declare Function TcQueryFlow lib "traffic" (ByVal pFlowName As String, ByVal pGuidParam As Long, ByRef pBufferSize As Long, Buffer As Any) As Long
Declare Function TcQueryInterface lib "traffic" (ByVal IfcHandle As Long, ByVal pGuidParam As Long, ByVal NotifyChange As Long, ByRef pBufferSize As Long, Buffer As Any) As Long
Declare Function TcRegisterClient lib "traffic" (ByVal TciVersion As Long, ByVal ClRegCtx As Long, ByRef ClientHandlerList As PTCI_CLIENT_FUNC_LIST, ByRef pClientHandle As Long) As Long
Declare Function TcSetFlow lib "traffic" (ByVal pFlowName As String, ByVal pGuidParam As Long, ByVal BufferSize As Long, Buffer As Any) As Long
Declare Function TcSetInterface lib "traffic" (ByVal IfcHandle As Long, ByVal pGuidParam As Long, ByVal BufferSize As Long, Buffer As Any) As Long
Declare Function TerminateExtension lib "idq" (ByVal dwFlags As Long) As Long
Declare Function TerminateJobObject lib "kernel32" (ByVal hJob As Long, ByVal uExitCode As Long) As Long
Declare Function TerminateProcess Lib "kernel32" Alias "TerminateProcess" (ByVal hProcess As Long, ByVal uExitCode As Long) As Long
Declare Function TerminateThread Lib "kernel32" Alias "TerminateThread" (ByVal hThread As Long, ByVal dwExitCode As Long) As Long
Declare Function TestApplyPatchToFile lib "MSPATCHA" (ByVal PatchFileName As String, ByVal OldFileName As String, ByVal ApplyOptionFlags As Long) As Long
Declare Function TestApplyPatchToFileByHandles lib "MSPATCHA" (ByVal PatchFileHandle As Long, ByVal OldFileHandle As Long, ByVal ApplyOptionFlags As Long) As Long
Declare Function TextOut Lib "gdi32" Alias "TextOutA" (ByVal hdc As Long, ByVal x As Long, ByVal y As Long, ByVal lpString As String, ByVal nCount As Long) As Long
Declare Function Thread32First lib "KERNEL32" (ByVal hSnapshot As Long, ByRef lpte As LPTHREADENTRY32) As Long
Declare Function Thread32Next lib "KERNEL32" (ByVal hSnapshot As Long, ByRef lpte As LPTHREADENTRY32) As Long
Declare Function TileWindows Lib "user32" (ByVal hwndParent As Long, ByVal wHow As Long, lpRect As RECT, ByVal cKids As Long, lpKids As Long) As Integer
Declare Function timeBeginPeriod Lib "winmm.dll" Alias "timeBeginPeriod" (ByVal uPeriod As Long) As Long
Declare Function timeEndPeriod Lib "winmm.dll" Alias "timeEndPeriod" (ByVal uPeriod As Long) As Long
Declare Function timeGetDevCaps Lib "winmm.dll" Alias "timeGetDevCaps" (lpTimeCaps As TIMECAPS, ByVal uSize As Long) As Long
Declare Function timeGetSystemTime Lib "winmm.dll" Alias "timeGetSystemTime" (lpTime As MMTIME, ByVal uSize As Long) As Long
Declare Function timeGetTime Lib "winmm.dll" Alias "timeGetTime" () As Long
Declare Function timeKillEvent Lib "winmm.dll" Alias "timeKillEvent" (ByVal uID As Long) As Long
Declare Function timeSetEvent Lib "winmm.dll" Alias "timeSetEvent" (ByVal uDelay As Long, ByVal uResolution As Long, ByVal lpFunction As Long, ByVal dwUser As Long, ByVal uFlags As Long) As Long
Declare Function TlsAlloc Lib "kernel32" Alias "TlsAlloc" () As Long
Declare Function TlsFree Lib "kernel32" Alias "TlsFree" (ByVal dwTlsIndex As Long) As Long
Declare Function TlsGetValue Lib "kernel32" Alias "TlsGetValue" (ByVal dwTlsIndex As Long) As Long
Declare Function TlsSetValue Lib "kernel32" Alias "TlsSetValue" (ByVal dwTlsIndex As Long, lpTlsValue As Any) As Long
Declare Function ToAscii Lib "user32" Alias "ToAscii" (ByVal uVirtKey As Long, ByVal uScanCode As Long, lpbKeyState As Byte, lpwTransKey As Integer, ByVal fuState As Long) As Long
Declare Function ToAsciiEx Lib "user32" Alias "ToAsciiEx" (ByVal uVirtKey As Long, ByVal uScanCode As Long, lpKeyState As Byte, lpChar As Integer, ByVal uFlags As Long, ByVal dwhkl As Long) As Long
Declare Function Toolhelp32ReadProcessMemory lib "KERNEL32" (ByVal th32ProcessID As Long, lpBaseAddress As Any, lpBuffer As Any, ByVal cbRead As Long, ByRef lpNumberOfBytesRead As Long) As Long
Declare Function TouchFileTimes lib "imagehlp" (ByVal FileHandle As Long, ByRef pSystemTime As SYSTEMTIME) As Long
Declare Function ToUnicode Lib "user32" Alias "ToUnicode" (ByVal wVirtKey As Long, ByVal wScanCode As Long, lpKeyState As Byte, ByVal pwszBuff As String, ByVal cchBuff As Long, ByVal wFlags As Long) As Long
Declare Function ToUnicodeEx lib "user32" (ByVal wVirtKey As Long, ByVal wScanCode As Long, ByVal lpKeyState As String, ByVal pwszBuff As String, ByVal cchBuff As Long, ByVal wFlags As Long, ByVal dwhkl As Long) As Long
Declare Function TraceCloseLogFile lib "ODBCTRAC" () As Integer
Declare Function TraceDeregister lib "rtutils" (ByVal dwTraceID As Long) As Long
Declare Function TraceDeregisterEx lib "rtutils" (ByVal dwTraceID As Long, ByVal dwFlags As Long) As Long
Declare Function TraceDumpEx lib "rtutils" (ByVal dwTraceID As Long, ByVal dwFlags As Long, ByVal lpbBytes As String, ByVal dwByteCount As Long, ByVal dwGroupSize As Long, ByVal bAddressPrefix As Long, ByVal lpszPrefix As String) As Long
Declare Function TraceGetConsole lib "rtutils" (ByVal dwTraceID As Long, ByRef lphConsole As Long) As Long
Declare Function TraceOpenLogFile lib "ODBCTRAC" (ByVal lpwstr As String, ByVal lpwstr As String, ByVal dword As Long) As Integer
Declare Function TracePrintf lib "rtutils" (ByVal dwTraceID As Long, ByVal lpszFormat As String, ByRef TIN As Long) As Long
Declare Function TracePrintfEx lib "rtutils" (ByVal dwTraceID As Long, ByVal dwFlags As Long, ByVal lpszFormat As String, ByRef TIN As Long) As Long
Declare Function TracePutsEx lib "rtutils" (ByVal dwTraceID As Long, ByVal dwFlags As Long, ByVal lpszString As String) As Long
Declare Function TraceRegisterEx lib "rtutils" (ByVal lpszCallerName As String, ByVal dwFlags As Long) As Long
Declare Function TraceVersion lib "ODBCTRAC" () As Long
Declare Function TraceVprintfEx lib "rtutils" (ByVal dwTraceID As Long, ByVal dwFlags As Long, ByVal lpszFormat As String, ByVal arglist As String) As Long
Declare Function TraceVSControl lib "ODBCTRAC" (ByVal dword As Long) As Integer
Declare Function TrackMouseEvent lib "comctl32" (ByRef lpEventTrack As TRACKMOUSEEVENT) As Long
Declare Function TrackPopupMenu Lib "user32" Alias "TrackPopupMenu" (ByVal hMenu As Long, ByVal wFlags As Long, ByVal x As Long, ByVal y As Long, ByVal nReserved As Long, ByVal hwnd As Long, lprc As Rect) As Long
Declare Function TrackPopupMenuBynum Lib "user32" Alias "TrackPopupMenu" (ByVal hMenu As Long, ByVal wFlags As Long, ByVal x As Long, ByVal y As Long, ByVal nReserved As Long, ByVal hwnd As Long, ByVal lprc As Long) As Long
Declare Function TrackPopupMenuEx Lib "user32" Alias "TrackPopupMenuEx" (ByVal hMenu As Long, ByVal un As Long, ByVal n1 As Long, ByVal n2 As Long, ByVal hWnd As Long, lpTPMParams As TPMPARAMS) As Long
Declare Function TransactNamedPipe Lib "kernel32" Alias "TransactNamedPipe" (ByVal hNamedPipe As Long, lpInBuffer As Any, ByVal nInBufferSize As Long, lpOutBuffer As Any, ByVal nOutBufferSize As Long, lpBytesRead As Long, lpOverlapped As OVERLAPPED) As Long
Declare Function TranslateAccelerator Lib "user32" Alias "TranslateAcceleratorA" (ByVal hwnd As Long, ByVal hAccTable As Long, lpMsg As MSG) As Long
Declare Function TranslateBitmapBits lib "mscms" (ByRef THTRANSFORM As Long, pvoid As Any, ByVal pBmformat As Struct_MembersOf_BMFORMAT, ByVal dword As Long, ByVal dword As Long, ByVal dword As Long, pvoid As Any, ByVal pBmformat As Struct_MembersOf_BMFORMAT, ByVal dword As Long, ByRef TPBMCALLBACKFN As PBMCALLBACKFN, ByVal lparam As Long) As Long
Declare Function TranslateCharsetInfo Lib "gdi32" Alias "TranslateCharsetInfo" (lpSrc As Long, lpcs As CHARSETINFO, ByVal dwFlags As Long) As Long
Declare Function TranslateColors lib "mscms" (ByRef THTRANSFORM As Long, ByRef TPCOLOR As PCOLOR, ByVal dword As Long, ByVal pColortype As Struct_MembersOf_COLORTYPE, ByRef TPCOLOR As PCOLOR, ByVal pColortype As Struct_MembersOf_COLORTYPE) As Long
Declare Function TranslateInfString lib "advpack" (ByVal pszInfFilename As String, ByVal pszInstallSection As String, ByVal pszTranslateSection As String, ByVal pszTranslateKey As String, ByVal pszBuffer As String, ByVal dwBufferSize As Long, ByRef pdwRequiredSize As Long, pvReserved As Any) As Long
Declare Function TranslateInfStringEx lib "advpack" (ByRef hInf As Long, ByVal pszInfFilename As String, ByVal pszTranslateSection As String, ByVal pszTranslateKey As String, ByVal pszBuffer As String, ByVal dwBufferSize As Long, ByRef pdwRequiredSize As Long, pvReserved As Any) As Long
Declare Function TranslateMDISysAccel Lib "user32" Alias "TranslateMDISysAccel" (ByVal hWndClient As Long, lpMsg As MSG) As Long
Declare Function TranslateMessage Lib "user32" Alias "TranslateMessage" (lpMsg As MSG) As Long
Declare Function TranslateName lib "secur32" Alias "TranslateNameA" (ByVal lpAccountName As String, ByVal AccountNameFormat As Struct_MembersOf_EXTENDED_NAME_FORMAT, ByVal DesiredNameFormat As Struct_MembersOf_EXTENDED_NAME_FORMAT, ByVal lpTranslatedName As String, ByRef nSize As Long) As Long
Declare Function TranslateURL lib "url" Alias "TranslateURLA" (ByVal pcszURL As String, ByVal dwInFlags As Long, ByVal ppszTranslatedURL As String) As Long
Declare Function TransmitCommChar Lib "kernel32" Alias "TransmitCommChar" (ByVal nCid As Long, ByVal cChar As Byte) As Long
Declare Function TransmitFile lib "mswsock" (ByVal hSocket As Long, ByVal hFile As Long, ByVal nNumberOfBytesToWrite As Long, ByVal nNumberOfBytesPerSend As Long, ByRef lpOverlapped As OVERLAPPED, ByRef lpTransmitBuffers As TRANSMIT_FILE_BUFFERS, ByVal dwReserved As Long) As Long
Declare Function TransparentBlt lib "msimg32" (ByVal hdc As Long, ByVal x As Long, ByVal y As Long, ByVal nWidth As Long, ByVal nHeight As Long, ByVal hSrcDC As Long, ByVal xSrc As Long, ByVal ySrc As Long, ByVal nSrcWidth As Long, ByVal nSrcHeight As Long, ByVal crTransparent As Long) As Long
Declare Function TreeResetNamedSecurityInfo lib "ADVAPI32" (ByVal pObjectName As String, ByRef ObjectType As SE_OBJECT_TYPE, ByVal SecurityInfo As Long, ByRef pOwner As SID, ByRef pGroup As SID, ByVal pDacl As Struct_MembersOf_PACL, ByVal pSacl As Struct_MembersOf_PACL, ByVal KeepExplicit As Long, ByRef fnProgress As FN_PROGRESS, ByRef ProgressInvokeSetting As PROG_INVOKE_SETTING, Args As Any) As Long
Declare Function TryEnterCriticalSection lib "kernel32" (ByRef lpCriticalSection As Long) As Long
Declare Function UnDecorateSymbolName lib "dbghelp" (ByVal DecoratedName As String, ByVal UnDecoratedName As String, ByVal UndecoratedLength As Long, ByVal Flags As Long) As Long
Declare Function UnenableRouter lib "IPHLPAPI" (ByRef pOverlapped As overlapped, ByRef lpdwEnableCount As Long) As Long
Declare Function UnhandledExceptionFilter Lib "kernel32" Alias "UnhandledExceptionFilter" (ExceptionInfo As EXCEPTION_POINTERS) As Long
Declare Function UnhookWindowsHook Lib "user32" Alias "UnhookWindowsHook" (ByVal nCode As Long, ByVal pfnFilterProc As Long) As Long
Declare Function UnhookWindowsHookEx Lib "user32" Alias "UnhookWindowsHookEx" (ByVal hHook As Long) As Long
Declare Function UnhookWinEvent lib "user32" (ByRef hWinEventHook As Long) As Long
Declare Function UninitializeFlatSB lib "comctl32" (ByVal hwnd As Long) As Long
Declare Function UninstallColorProfile lib "mscms" Alias "UninstallColorProfileA" (ByVal pcstr As String, ByVal pcstr As String, ByVal bool As Long) As Long
Declare Function UnionRect Lib "user32" Alias "UnionRect" (lpDestRect As RECT, lpSrc1Rect As RECT, lpSrc2Rect As RECT) As Long
Declare Function UnloadKeyboardLayout Lib "user32" Alias "UnloadKeyboardLayout" (ByVal HKL As Long) As Long
Declare Function UnloadUserProfile lib "userenv" (ByVal hToken As Long, ByVal hProfile As Long) As Long
Declare Function UnlockBlob lib "npptools" (ByRef hBlob As hBlob) As Long
Declare Function UnlockFile Lib "kernel32" Alias "UnlockFile" (ByVal hFile As Long, ByVal dwFileOffsetLow As Long, ByVal dwFileOffsetHigh As Long, ByVal nNumberOfBytesToUnlockLow As Long, ByVal nNumberOfBytesToUnlockHigh As Long) As Long
Declare Function UnlockFileEx Lib "kernel32" Alias "UnlockFileEx" (ByVal hFile As Long, ByVal dwReserved As Long, ByVal nNumberOfBytesToUnlockLow As Long, ByVal nNumberOfBytesToUnlockHigh As Long, lpOverlapped As OVERLAPPED) As Long
Declare Function UnlockServiceDatabase Lib "advapi32.dll" Alias "UnlockServiceDatabase" (ScLock As Any) As Long
Declare Function UnMapAndLoad lib "imagehlp" (ByRef LoadedImage As PLOADED_IMAGE) As Long
Declare Function UnmapDebugInformation lib "dbghelp" (ByRef DebugInfo As PIMAGE_DEBUG_INFORMATION) As Long
Declare Function UnmapViewOfFile Lib "kernel32" Alias "UnmapViewOfFile" (ByVal lpBaseAddress As Long) As Long
Declare Function UnMarshalBlob lib "npptools" (ByRef phBlob As hBlob, ByVal size As Long, ByVal pBytes As String) As Long
Declare Function UnpackDDElParam Lib "user32" Alias "UnpackDDElParam" (ByVal msg As Long, ByVal lParam As Long, puiLo As Long, puiHi As Long) As Long
Declare Function UnrealizeObject Lib "gdi32" Alias "UnrealizeObject" (ByVal hObject As Long) As Long
Declare Function UnregisterClass Lib "user32" Alias "UnregisterClassA" (ByVal lpClassName As String, ByVal hInstance As Long) As Long
Declare Function UnregisterCMM lib "mscms" Alias "UnregisterCMMA" (ByVal pcstr As String, ByVal dword As Long) As Long
Declare Function UnregisterDeviceNotification lib "user32" (ByRef Handle As Long) As Long
Declare Function UnregisterGPNotification lib "userenv" (ByVal hEvent As Long) As Long
Declare Function UnregisterHotKey Lib "user32" Alias "UnregisterHotKey" (ByVal hwnd As Long, ByVal id As Long) As Long
Declare Function UnregisterWait lib "kernel32" (ByVal WaitHandle As Long) As Long
Declare Function UnregisterWaitEx lib "kernel32" (ByVal WaitHandle As Long, ByVal CompletionEvent As Long) As Long
Declare Function UpdateColors Lib "gdi32" Alias "UpdateColors" (ByVal hdc As Long) As Long
Declare Function UpdateDebugInfoFile lib "imagehlp" (ByVal ImageFileName As String, ByVal SymbolPath As String, ByVal DebugFilePath As String, ByRef NtHeaders As PIMAGE_NT_HEADERS32) As Long
Declare Function UpdateDebugInfoFileEx lib "imagehlp" (ByVal ImageFileName As String, ByVal SymbolPath As String, ByVal DebugFilePath As String, ByRef NtHeaders As PIMAGE_NT_HEADERS32, ByVal OldChecksum As Long) As Long
Declare Function UpdateICMRegKey lib "gdi32" Alias "UpdateICMRegKeyA" (ByVal dword As Long, ByVal lpstr As String, ByVal lpstr As String, ByVal uint As Long) As Long
Declare Function UpdateLayeredWindow lib "user32" (ByVal hWnd As Long, ByVal hdcDst As Long, ByRef pptDst As POINT, ByRef psize As SIZE, ByVal hdcSrc As Long, ByRef pptSrc As POINT, ByVal crKey As Long, ByRef pblend As BLENDFUNCTION, ByVal dwFlags As Long) As Long
Declare Function UpdateNtmsOmidInfo lib "ntmsapi" (ByVal hSession As Long, ByRef lpMediaId As LPNTMS_GUID, ByVal labelType As Long, ByVal numberOfBytes As Long, lpBuffer As Any) As Long
Declare Function UpdateResource Lib "kernel32" Alias "UpdateResourceA" (ByVal hUpdate As Long, ByVal lpType As String, ByVal lpName As String, ByVal wLanguage As Long, lpData As Any, ByVal cbData As Long) As Long
Declare Function UpdateWaitTimer lib "rtutils" (ByRef pte As PWT_TIMER_ENTRY, ByRef time As Double) As Long
Declare Function UpdateWindow Lib "user32" Alias "UpdateWindow" (ByVal hwnd As Long) As Long
Declare Function URLAssociationDialog lib "url" Alias "URLAssociationDialogA" (ByVal hwndParent As Long, ByVal dwInFlags As Long, ByVal pcszFile As String, ByVal pcszURL As String, ByVal pszAppBuf As String, ByVal ucAppBufLen As Long) As Long
Declare Function UrlCompare lib "shlwapi" Alias "UrlCompareA" (ByVal psz1 As String, ByVal psz2 As String, ByVal fIgnoreSlash As Long) As Long
Declare Function UrlGetLocation lib "shlwapi" Alias "UrlGetLocationA" (ByVal psz1 As String) As Long
Declare Function UrlIs lib "shlwapi" Alias "UrlIsA" (ByVal pszUrl As String, ByVal UrlIs As Struct_MembersOf_URLIS) As Long
Declare Function UrlIsNoHistory lib "shlwapi" Alias "UrlIsNoHistoryA" (ByVal pszURL As String) As Long
Declare Function UrlIsOpaque lib "shlwapi" Alias "UrlIsOpaqueA" (ByVal pszURL As String) As Long
Declare Function UserHandleGrantAccess lib "user32" (ByVal hUserHandle As Long, ByVal hJob As Long, ByVal bGrant As Long) As Long
Declare Function UserInstStubWrapper lib "advpack" (ByVal hwnd As Long, ByVal hInstance As Long, ByVal pszParms As String, ByVal nShow As Long) As Long
Declare Function UserUnInstStubWrapper lib "advpack" (ByVal hwnd As Long, ByVal hInstance As Long, ByVal pszParms As String, ByVal nShow As Long) As Long
Declare Function UuidCompare lib "rpcrt4" (ByVal Uuid1 As Long, ByVal Uuid2 As Long, ByRef Status As Long) As Long
Declare Function UuidCreate lib "rpcrt4" (ByVal Uuid As Long) As Long
Declare Function UuidCreateNil lib "rpcrt4" (ByVal NilUuid As Long) As Long
Declare Function UuidCreateSequential lib "RPCRT4" (ByVal Uuid As Long) As Long
Declare Function UuidEqual lib "rpcrt4" (ByVal Uuid1 As Long, ByVal Uuid2 As Long, ByRef Status As Long) As Long
Declare Function UuidFromString lib "rpcrt4" Alias "UuidFromStringA" (ByVal StringUuid As String, ByVal Uuid As Long) As Long
Declare Function UuidHash lib "rpcrt4" (ByVal Uuid As Long, ByRef Status As Long) As Integer
Declare Function UuidIsNil lib "rpcrt4" (ByVal Uuid As Long, ByRef Status As Long) As Long
Declare Function UuidToString lib "rpcrt4" Alias "UuidToStringA" (ByVal Uuid As Long, ByVal StringUuid As String) As Long
Declare Function ValidateRect Lib "user32" Alias "ValidateRect" (ByVal hwnd As Long, lpRect As RECT) As Long
Declare Function ValidateRectBynum Lib "user32" Alias "ValidateRect" (ByVal hwnd As Long, ByVal lpRect As Long) As Long
Declare Function ValidateRgn Lib "user32" Alias "ValidateRgn" (ByVal hwnd As Long, ByVal hRgn As Long) As Long
Declare Function VARIANT_UserMarshal lib "oleaut32" (ByRef pLong As Long, ByVal pChar As String, ByRef pVariant As Variant) As Long
Declare Function VARIANT_UserSize lib "oleaut32" (ByRef pLong As Long, ByVal lLong As Long, ByRef pVariant As Variant) As Long
Declare Function VARIANT_UserUnmarshal lib "oleaut32" (ByRef pLong As Long, ByVal pChar As String, ByRef pVariant As Variant) As Long
Declare Function VariantTimeToDosDateTime lib "oleaut32" (ByVal vtime As Double, ByRef pwDosDate As Integer, ByRef pwDosTime As Integer) As Long
Declare Function VariantTimeToSystemTime lib "oleaut32" (ByRef vtime As Double, ByRef lpSystemTime As SYSTEMTIME) As Long
Declare Function VarPtrArray lib "msvbvm60" Alias "VarPtr" (Ptr() As Any) As Long
Declare Function vbaInStr lib "msvbvm60" Alias "__vbaInStr" (ByVal lStart As Long, ByVal lpStringMatch As Long, ByVal lpStringCheck As Long, Optional ByVal lCompare As Long = 1) As Long
Declare Function vbaLenBstr lib "msvbvm60" Alias "__vbaLenBstr" (ByVal lpString As Long) As Long
Declare Function vbaLenBstrB lib "msvbvm60" Alias "__vbaLenBstrB" (ByVal lpString As Long) As Long
Declare Function VDMBreakThread lib "VDMDBG" (ByVal hProcess As Long, ByVal hThread As Long) As Long
Declare Function VDMEnumTaskWOWEx lib "VDMDBG" (ByVal dwProcessId As Long, ByRef fp As TASKENUMPROCEX, ByVal lparam As Long) As Long
Declare Function VDMGetAddrExpression lib "VDMDBG" (ByVal szModule As String, ByVal szSymbol As String, ByRef Selector As Integer, ByRef Offset As Long, ByRef lType As Integer) As Long
Declare Function VDMGetContext lib "VDMDBG" (ByVal hProcess As Long, ByVal hThread As Long, ByRef lpVDMContext As lpVDMContext) As Long
Declare Function VDMGetDbgFlags lib "VDMDBG" (ByVal hProcess As Long) As Long
Declare Function VDMGetModuleSelector lib "VDMDBG" (ByVal hProcess As Long, ByVal hThread As Long, ByVal wSegmentNumber As Long, ByVal lpModuleName As String, ByRef lpSelector As Integer) As Long
Declare Function VDMGetPointer lib "VDMDBG" (ByVal hProcess As Long, ByVal hThread As Long, ByVal wSelector As Integer, ByVal dwOffset As Long, ByVal fProtMode As Long) As Long
Declare Function VDMGetSegmentInfo lib "VDMDBG" (ByVal Selector As Integer, ByVal Offset As Long, ByVal bProtectMode As Long, ByRef pSegInfo As VDM_SEGINFO) As Long
Declare Function VDMGetSelectorModule lib "VDMDBG" (ByVal hProcess As Long, ByVal hThread As Long, ByVal wSelector As Integer, ByRef lpSegmentNumber As Long, ByVal lpModuleName As String, ByVal nNameSize As Long, ByVal lpModulePath As String, ByVal nPathSize As Long) As Long
Declare Function VDMGetSymbol lib "VDMDBG" (ByVal szModule As String, ByVal SegNumber As Integer, ByVal Offset As Long, ByVal bProtectMode As Long, ByVal bNextSymbol As Long, ByVal szSymbolName As String, ByRef pDisplacement As Long) As Long
Declare Function VDMGetThreadSelectorEntry lib "VDMDBG" (ByVal hProcess As Long, ByVal hThread As Long, ByVal wSelector As Integer, ByRef lpSelectorEntry As LPVDMLDT_ENTRY) As Long
Declare Function VDMGlobalFirst lib "VDMDBG" (ByVal hProcess As Long, ByVal hThread As Long, ByRef lpGlobalEntry As lpGlobalEntry, ByVal wFlags As Integer, ByVal lpEventProc As Long, lpData As Any) As Long
Declare Function VDMGlobalNext lib "VDMDBG" (ByVal hProcess As Long, ByVal hThread As Long, ByRef lpGlobalEntry As lpGlobalEntry, ByVal wFlags As Integer, ByVal lpEventProc As Long, lpData As Any) As Long
Declare Function VDMIsModuleLoaded lib "VDMDBG" (ByVal szPath As String) As Long
Declare Function VDMModuleFirst lib "VDMDBG.DLL" (ByVal hProcess As Long, ByVal hThread As Long, ByRef lpModuleEntry As lpModuleEntry, ByVal lpEventProc As Long, lpData As Any) As Long
Declare Function VDMModuleNext lib "VDMDBG.DLL" (ByVal hProcess As Long, ByVal hThread As Long, ByRef lpModuleEntry As lpModuleEntry, ByVal lpEventProc As Long, lpData As Any) As Long
Declare Function VDMProcessException lib "VDMDBG.DLL" (ByRef lpDebugEvent As DEBUG_EVENT) As Long
Declare Function VDMSetContext lib "VDMDBG.DLL" (ByVal hProcess As Long, ByVal hThread As Long, ByRef lpVDMContext As lpVDMContext) As Long
Declare Function VDMSetDbgFlags lib "VDMDBG.DLL" (ByVal hProcess As Long, ByVal dwFlags As Long) As Long
Declare Function VerFindFile Lib "version.dll" Alias "VerFindFileA" (ByVal uFlags As Long, ByVal szFileName As String, ByVal szWinDir As String, ByVal szAppDir As String, ByVal szCurDir As String, lpuCurDirLen As Long, ByVal szDestDir As String, lpuDestDirLen As Long) As Long
Declare Function VerifyVersionInfo lib "kernel32.dll" Alias "VerifyVersionInfoA" (ByRef lpVersionInformation As OSVERSIONINFOEXA, ByVal dwTypeMask As Long, ByVal dwlConditionMask As Double) As Long
Declare Function VerInstallFile Lib "version.dll" Alias "VerInstallFileA" (ByVal uFlags As Long, ByVal szSrcFileName As String, ByVal szDestFileName As String, ByVal szSrcDir As String, ByVal szDestDir As String, ByVal szCurDir As String, ByVal szTmpFile As String, lpuTmpFileLen As Long) As Long
Declare Function VerLanguageName Lib "version.dll" Alias "VerLanguageNameA" (ByVal wLang As Long, ByVal szLang As String, ByVal nSize As Long) As Long
Declare Function VerQueryValue Lib "version.dll" Alias "VerQueryValueA" (pBlock As Byte, ByVal lpSubBlock As String, lpBuffer As Long, puLen As Long) As Long
Declare Function VideoForWindowsVersion lib "msvfw32.dll" () As Long
Declare Function VirtualAlloc Lib "kernel32" Alias "VirtualAlloc" (ByVal lpAddress As Long, ByVal dwSize As Long, ByVal flAllocationType As Long, ByVal flProtect As Long) As Long
Declare Function VirtualAllocEx lib "kernel32.dll" (ByVal hProcess As Long, lpAddress As Any, ByRef dwSize As Long, ByVal flAllocationType As Long, ByVal flProtect As Long) As Long
Declare Function VirtualFree Lib "kernel32" Alias "VirtualFree" (ByVal lpAddress As Long, ByVal dwSize As Long, ByVal dwFreeType As Long) As Long
Declare Function VirtualFreeEx lib "kernel32.dll" (ByVal hProcess As Long, lpAddress As Any, ByRef dwSize As Long, ByVal dwFreeType As Long) As Long
Declare Function VirtualLock Lib "kernel32" Alias "VirtualLock" (lpAddress As Any, ByVal dwSize As Long) As Long
Declare Function VirtualProtect Lib "kernel32" Alias "VirtualProtect" (ByVal lpAddress As Long, ByVal dwSize As Long, ByVal flNewProtect As Long, lpflOldProtect As Long) As Long
Declare Function VirtualProtectEx Lib "kernel32" Alias "VirtualProtectEx" (ByVal hProcess As Long, ByVal lpAddress As Long, ByVal dwSize As Long, ByVal flNewProtect As Long, lpflOldProtect As Long) As Long
Declare Function VirtualQuery Lib "kernel32" Alias "VirtualQuery" (ByVal lpAddress As Long, lpBuffer As MEMORY_BASIC_INFORMATION, ByVal dwLength As Long) As Long
Declare Function VirtualQueryEx Lib "kernel32" Alias "VirtualQueryEx" (ByVal hProcess As Long, ByVal lpAddress As Long, lpBuffer As MEMORY_BASIC_INFORMATION, ByVal dwLength As Long) As Long
Declare Function VirtualUnlock Lib "kernel32" Alias "VirtualUnlock" (lpAddress As Any, ByVal dwSize As Long) As Long
Declare Function VkKeyScan Lib "user32" Alias "VkKeyScanA" (ByVal cChar As Byte) As Integer
Declare Function VkKeyScanEx Lib "user32" Alias "VkKeyScanExA" (ByVal ch As Byte, ByVal dwhkl As Long) As Integer
Declare Function WaitCommEvent Lib "kernel32" Alias "WaitCommEvent" (ByVal hFile As Long, lpEvtMask As Long, lpOverlapped As OVERLAPPED) As Long
Declare Function WaitForDebugEvent lib "kernel32.dll" (ByRef lpDebugEvent As DEBUG_EVENT, ByVal dwMilliseconds As Long) As Long
Declare Function WaitForInputIdle Lib "user32" Alias "WaitForInputIdle" (ByVal hProcess As Long, ByVal dwMilliseconds As Long) As Long
Declare Function WaitForMultipleObjects Lib "kernel32" Alias "WaitForMultipleObjects" (ByVal nCount As Long, lpHandles As Long, ByVal bWaitAll As Long, ByVal dwMilliseconds As Long) As Long
Declare Function WaitForMultipleObjectsEx Lib "kernel32" Alias "WaitForMultipleObjectsEx" (ByVal nCount As Long, lpHandles As Long, ByVal bWaitAll As Long, ByVal dwMilliseconds As Long, ByVal bAlertable As Long) As Long
Declare Function WaitForNtmsNotification lib "ntmsapi.dll" (ByVal hNotification As Long, ByRef lpNotificationInformation As LPNTMS_NOTIFICATIONINFORMATION, ByVal dwTimeout As Long) As Long
Declare Function WaitForNtmsOperatorRequest lib "ntmsapi.dll" (ByVal hSession As Long, ByRef lpRequestId As LPNTMS_GUID, ByVal dwTimeout As Long) As Long
Declare Function WaitForPrinterChange Lib "winspool.drv" Alias "WaitForPrinterChange" (ByVal hPrinter As Long, ByVal flags As Long) As Long
Declare Function WaitForSingleObject Lib "kernel32" Alias "WaitForSingleObject" (ByVal hHandle As Long, ByVal dwMilliseconds As Long) As Long
Declare Function WaitForSingleObjectEx Lib "kernel32" Alias "WaitForSingleObjectEx" (ByVal hHandle As Long, ByVal dwMilliseconds As Long, ByVal bAlertable As Long) As Long
Declare Function WaitMessage Lib "user32" Alias "WaitMessage" () As Long
Declare Function WaitNamedPipe Lib "kernel32" Alias "WaitNamedPipeA" (ByVal lpNamedPipeName As String, ByVal nTimeOut As Long) As Long
Declare Function waveInAddBuffer Lib "winmm.dll" Alias "waveInAddBuffer" (ByVal hWaveIn As Long, lpWaveInHdr As WAVEHDR, ByVal uSize As Long) As Long
Declare Function waveInClose Lib "winmm.dll" Alias "waveInClose" (ByVal hWaveIn As Long) As Long
Declare Function waveInGetDevCaps Lib "winmm.dll" Alias "waveInGetDevCapsA" (ByVal uDeviceID As Long, lpCaps As WAVEINCAPS, ByVal uSize As Long) As Long
Declare Function waveInGetErrorText Lib "winmm.dll" Alias "waveInGetErrorTextA" (ByVal err As Long, ByVal lpText As String, ByVal uSize As Long) As Long
Declare Function waveInGetID Lib "winmm.dll" Alias "waveInGetID" (ByVal hWaveIn As Long, lpuDeviceID As Long) As Long
Declare Function waveInGetNumDevs Lib "winmm.dll" Alias "waveInGetNumDevs" () As Long
Declare Function waveInGetPosition Lib "winmm.dll" Alias "waveInGetPosition" (ByVal hWaveIn As Long, lpInfo As MMTIME, ByVal uSize As Long) As Long
Declare Function waveInMessage Lib "winmm.dll" Alias "waveInMessage" (ByVal hWaveIn As Long, ByVal msg As Long, ByVal dw1 As Long, ByVal dw2 As Long) As Long
Declare Function waveInOpen Lib "winmm.dll" Alias "waveInOpen" (lphWaveIn As Long, ByVal uDeviceID As Long, lpFormat As WAVEFORMAT, ByVal dwCallback As Long, ByVal dwInstance As Long, ByVal dwFlags As Long) As Long
Declare Function waveInPrepareHeader Lib "winmm.dll" Alias "waveInPrepareHeader" (ByVal hWaveIn As Long, lpWaveInHdr As WAVEHDR, ByVal uSize As Long) As Long
Declare Function waveInReset Lib "winmm.dll" Alias "waveInReset" (ByVal hWaveIn As Long) As Long
Declare Function waveInStart Lib "winmm.dll" Alias "waveInStart" (ByVal hWaveIn As Long) As Long
Declare Function waveInStop Lib "winmm.dll" Alias "waveInStop" (ByVal hWaveIn As Long) As Long
Declare Function waveInUnprepareHeader Lib "winmm.dll" Alias "waveInUnprepareHeader" (ByVal hWaveIn As Long, lpWaveInHdr As WAVEHDR, ByVal uSize As Long) As Long
Declare Function waveOutBreakLoop Lib "winmm.dll" Alias "waveOutBreakLoop" (ByVal hWaveOut As Long) As Long
Declare Function waveOutClose Lib "winmm.dll" Alias "waveOutClose" (ByVal hWaveOut As Long) As Long
Declare Function waveOutGetDevCaps Lib "winmm.dll" Alias "waveOutGetDevCapsA" (ByVal uDeviceID As Long, lpCaps As WAVEOUTCAPS, ByVal uSize As Long) As Long
Declare Function waveOutGetErrorText Lib "winmm.dll" Alias "waveOutGetErrorTextA" (ByVal err As Long, ByVal lpText As String, ByVal uSize As Long) As Long
Declare Function waveOutGetID Lib "winmm.dll" Alias "waveOutGetID" (ByVal hWaveOut As Long, lpuDeviceID As Long) As Long
Declare Function waveOutGetNumDevs Lib "winmm.dll" Alias "waveOutGetNumDevs" () As Long
Declare Function waveOutGetPitch Lib "winmm.dll" Alias "waveOutGetPitch" (ByVal hWaveOut As Long, lpdwPitch As Long) As Long
Declare Function waveOutGetPlaybackRate Lib "winmm.dll" Alias "waveOutGetPlaybackRate" (ByVal hWaveOut As Long, lpdwRate As Long) As Long
Declare Function waveOutGetPosition Lib "winmm.dll" Alias "waveOutGetPosition" (ByVal hWaveOut As Long, lpInfo As MMTIME, ByVal uSize As Long) As Long
Declare Function waveOutGetVolume Lib "winmm.dll" Alias "waveOutGetVolume" (ByVal uDeviceID As Long, lpdwVolume As Long) As Long
Declare Function waveOutMessage Lib "winmm.dll" Alias "waveOutMessage" (ByVal hWaveOut As Long, ByVal msg As Long, ByVal dw1 As Long, ByVal dw2 As Long) As Long
Declare Function waveOutOpen Lib "winmm.dll" Alias "waveOutOpen" (lphWaveOut As Long, ByVal uDeviceID As Long, lpFormat As WAVEFORMAT, ByVal dwCallback As Long, ByVal dwInstance As Long, ByVal dwFlags As Long) As Long
Declare Function waveOutPause Lib "winmm.dll" Alias "waveOutPause" (ByVal hWaveOut As Long) As Long
Declare Function waveOutPrepareHeader Lib "winmm.dll" Alias "waveOutPrepareHeader" (ByVal hWaveOut As Long, lpWaveOutHdr As WAVEHDR, ByVal uSize As Long) As Long
Declare Function waveOutReset Lib "winmm.dll" Alias "waveOutReset" (ByVal hWaveOut As Long) As Long
Declare Function waveOutRestart Lib "winmm.dll" Alias "waveOutRestart" (ByVal hWaveOut As Long) As Long
Declare Function waveOutSetPitch Lib "winmm.dll" Alias "waveOutSetPitch" (ByVal hWaveOut As Long, ByVal dwPitch As Long) As Long
Declare Function waveOutSetPlaybackRate Lib "winmm.dll" Alias "waveOutSetPlaybackRate" (ByVal hWaveOut As Long, ByVal dwRate As Long) As Long
Declare Function waveOutSetVolume Lib "winmm.dll" Alias "waveOutSetVolume" (ByVal uDeviceID As Long, ByVal dwVolume As Long) As Long
Declare Function waveOutUnprepareHeader Lib "winmm.dll" Alias "waveOutUnprepareHeader" (ByVal hWaveOut As Long, lpWaveOutHdr As WAVEHDR, ByVal uSize As Long) As Long
Declare Function waveOutWrite Lib "winmm.dll" Alias "waveOutWrite" (ByVal hWaveOut As Long, lpWaveOutHdr As WAVEHDR, ByVal uSize As Long) As Long
Declare Function wglCopyContext lib "opengl32.dll" (ByVal hglrc As Long, ByVal hglrc As Long, ByVal uint As Long) As Long
Declare Function wglCreateContext lib "opengl32.dll" (ByVal hdc As Long) As Long
Declare Function wglCreateLayerContext lib "opengl32.dll" (ByVal hdc As Long, ByValt As Long) As Long
Declare Function wglDeleteContext lib "opengl32.dll" (ByVal hglrc As Long) As Long
Declare Function wglDescribeLayerPlane lib "opengl32.dll" (ByVal hdc As Long, ByValt As Long, ByValt As Long, ByVal uint As Long, ByRef TLPLAYERPLANEDESCRIPTOR As LAYERPLANEDESCRIPTOR) As Long
Declare Function wglGetCurrentContext lib "opengl32.dll" () As Long
Declare Function wglGetCurrentDC lib "opengl32.dll" () As Long
Declare Function wglGetLayerPaletteEntries lib "opengl32.dll" (ByVal hdc As Long, ByValt As Long, ByValt As Long, ByValt As Long, ByRef pColorref As Long) As Long
Declare Function wglGetProcAddress lib "opengl32.dll" (ByVal lpcstr As String) As Long
Declare Function wglMakeCurrent lib "opengl32.dll" (ByVal hdc As Long, ByVal hglrc As Long) As Long
Declare Function wglRealizeLayerPalette lib "opengl32.dll" (ByVal hdc As Long, ByValt As Long, ByVal bool As Long) As Long
Declare Function wglSetLayerPaletteEntries lib "opengl32.dll" (ByVal hdc As Long, ByValt As Long, ByValt As Long, ByValt As Long, ByRef pColorref As Long) As Long
Declare Function wglShareLists lib "opengl32.dll" (ByVal hglrc As Long, ByVal hglrc As Long) As Long
Declare Function wglSwapLayerBuffers lib "opengl32.dll" (ByVal hdc As Long, ByVal uint As Long) As Long
Declare Function wglSwapMultipleBuffers lib "opengl32.dll" (ByVal uint As Long, ByRef WGLSWAP As WGLSWAP) As Long
Declare Function wglUseFontBitmaps lib "opengl32.dll" Alias "wglUseFontBitmapsA" (ByVal hdc As Long, ByVal dword As Long, ByVal dword As Long, ByVal dword As Long) As Long
Declare Function wglUseFontOutlines lib "opengl32.dll" Alias "wglUseFontOutlinesA" (ByVal hdc As Long, ByVal dword As Long, ByVal dword As Long, ByVal dword As Long, ByVal float As Single, ByVal float As Single, ByValt As Long, ByRef TLPGLYPHMETRICSFLOAT As GLYPHMETRICSFLOAT) As Long
Declare Function WideCharToMultiByte Lib "kernel32" Alias "WideCharToMultiByte" (ByVal CodePage As Long, ByVal dwFlags As Long, ByVal lpWideCharStr As Long, ByVal cchWideChar As Long, ByVal lpMultiByteStr As String, ByVal cchMultiByte As Long, ByVal lpDefaultChar As String, ByVal lpUsedDefaultChar As Long) As Long
Declare Function WidenPath Lib "gdi32" Alias "WidenPath" (ByVal hdc As Long) As Long
Declare Function WindowFromDC Lib "user32" Alias "WindowFromDC" (ByVal hdc As Long) As Long
Declare Function WindowFromPoint Lib "user32" Alias "WindowFromPoint" (ByVal X As Long, ByVal Y As Long) As Long
Declare Function WinExec Lib "kernel32" Alias "WinExec" (ByVal lpCmdLine As String, ByVal nCmdShow As Long) As Long
Declare Function WinHelp Lib "user32" Alias "WinHelpA" (ByVal hwnd As Long, ByVal lpHelpFile As String, ByVal wCommand As Long, ByVal dwData As Long) As Long
Declare Function WINNLSEnableIME lib "user32.dll" (ByVal hwnd As Long, ByVal bool As Long) As Long
Declare Function WINNLSGetEnableStatus lib "user32.dll" (ByVal hwnd As Long) As Long
Declare Function WINNLSGetIMEHotkey lib "user32.dll" (ByVal hwnd As Long) As Long
Declare Function WintrustAddActionID lib "wintrust.dll" (ByRef pgActionID As GUID, ByVal fdwReserved As Long, ByRef psProvInfo As CRYPT_REGISTER_ACTIONID) As Long
Declare Function WintrustAddDefaultForUsage lib "wintrust.dll" (ByVal pszUsageOID As String, ByRef psDefUsage As CRYPT_PROVIDER_REGDEFUSAGE) As Long
Declare Function WintrustGetDefaultForUsage lib "wintrust.dll" (ByVal dwAction As Long, ByVal pszUsageOID As String, ByRef psUsage As CRYPT_PROVIDER_DEFUSAGE) As Long
Declare Function WintrustLoadFunctionPointers lib "wintrust.dll" (ByRef pgActionID As GUID, ByRef pPfns As CRYPT_PROVIDER_FUNCTIONS) As Long
Declare Function WintrustRemoveActionID lib "wintrust.dll" (ByRef pgActionID As GUID) As Long
Declare Function WintrustSetRegPolicyFlags lib "wintrust.dll" (ByVal dwPolicyFlags As Long) As Long
Declare Function WinVerifyTrust lib "wintrust.dll" (ByVal hwnd As Long, ByRef pgActionID As GUID, pWVTData As Any) As Long
Declare Function WlxActivateUserShell lib "msgina.dll" (pWlxContext As Any, ByVal pszDesktopName As String, ByVal pszMprLogonScript As String, pEnvironment As Any) As Long
Declare Function WlxDisplayStatusMessage lib "msgina.dll" (pWlxContext As Any, ByVal hDesktop As Long, ByVal pTitle As String, ByVal pMessage As String) As Long
Declare Function WlxGetStatusMessage lib "msgina.dll" (pWlxContext As Any, ByVal pMessage As String, ByVal dwBufferSize As Long) As Long
Declare Function WlxInitialize lib "msgina.dll" (ByVal lpWinsta As String, ByVal hWlx As Long, pvReserved As Any, pWinlogonFunctions As Any, pWlxContext As Any) As Long
Declare Function WlxIsLockOk lib "msgina.dll" (pWlxContext As Any) As Long
Declare Function WlxIsLogoffOk lib "msgina.dll" (pWlxContext As Any) As Long
Declare Function WlxLoggedOnSAS lib "msgina.dll" (pWlxContext As Any, ByVal dwSasType As Long, pReserved As Any) As Long
Declare Function WlxLoggedOutSAS lib "msgina.dll" (pWlxContext As Any, ByVal dwSasType As Long, ByVal pAuthenticationId As Struct_MembersOf_PLUID, ByRef pLogonSid As SID, ByRef pdwOptions As Long, ByRef phToken As Long, ByRef pNprNotifyInfo As PWLX_MPR_NOTIFY_INFO, pProfile As Any) As Long
Declare Function WlxNegotiate lib "msgina.dll" (ByVal dwWinlogonVersion As Long, ByRef pdwDllVersion As Long) As Long
Declare Function WlxNetworkProviderLoad lib "msgina.dll" (pWlxContext As Any, ByRef pNprNotifyInfo As PWLX_MPR_NOTIFY_INFO) As Long
Declare Function WlxRemoveStatusMessage lib "msgina.dll" (pWlxContext As Any) As Long
Declare Function WlxScreenSaverNotify lib "msgina.dll" (pWlxContext As Any, ByRef pSecure As Long) As Long
Declare Function WlxStartApplication lib "msgina.dll" (pWlxContext As Any, ByVal pszDesktopName As String, pEnvironment As Any, ByVal pszCmdLine As String) As Long
Declare Function WlxWkstaLockedSAS lib "msgina.dll" (pWlxContext As Any, ByVal dwSasType As Long) As Long
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 WNetAddConnection3 Lib "mpr.dll" Alias "WNetAddConnection3A" (ByVal hwnd As Long, 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
Declare Function WNetCancelConnection2 Lib "mpr.dll" Alias "WNetCancelConnection2A" (ByVal lpName As String, ByVal dwFlags As Long, ByVal fForce As Long) As Long
Declare Function WNetCloseEnum Lib "mpr.dll" Alias "WNetCloseEnum" (ByVal hEnum As Long) As Long
Declare Function WNetConnectionDialog Lib "mpr.dll" Alias "WNetConnectionDialog" (ByVal hwnd As Long, ByVal dwType As Long) As Long
Declare Function WNetConnectionDialog1 lib "mpr.dll" Alias "WNetConnectionDialog1A" (ByRef lpConnDlgStruct As CONNECTDLGSTRUCTA) As Long
Declare Function WNetDisconnectDialog Lib "mpr.dll" Alias "WNetDisconnectDialog" (ByVal hwnd As Long, ByVal dwType As Long) As Long
Declare Function WNetDisconnectDialog1 lib "mpr.dll" Alias "WNetDisconnectDialog1A" (ByRef lpConnDlgStruct As DISCDLGSTRUCTA) As Long
Declare Function WNetEnumResource Lib "mpr.dll" Alias "WNetEnumResourceA" (ByVal hEnum As Long, lpcCount As Long, lpBuffer As Any, lpBufferSize As Long) As Long
Declare Function WNetGetConnection Lib "mpr.dll" Alias "WNetGetConnectionA" (ByVal lpszLocalName As String, ByVal lpszRemoteName As String, cbRemoteName As Long) As Long
Declare Function WNetGetLastError Lib "mpr.dll" Alias "WNetGetLastErrorA" (lpError As Long, ByVal lpErrorBuf As String, ByVal nErrorBufSize As Long, ByVal lpNameBuf As String, ByVal nNameBufSize As Long) As Long
Declare Function WNetGetNetworkInformation lib "mpr.dll" Alias "WNetGetNetworkInformationA" (ByVal lpProvider As String, ByRef lpNetInfoStruct As NETINFOSTRUCT) As Long
Declare Function WNetGetProviderName lib "mpr.dll" Alias "WNetGetProviderNameA" (ByVal dwNetType As Long, ByVal lpProviderName As String, ByRef lpBufferSize As Long) As Long
Declare Function WNetGetResourceInformation Lib "mpr.dll" Alias "WNetGetResourceInformationA" (lpNetResource As NETRESOURCE, lpBuffer As Any, lpBufferSize As Long, lpSystem As Long) As Long
Declare Function WNetGetResourceParent Lib "mpr.dll" Alias "WNetGetResourceParentA" (lpNetResource As NETRESOURCE, lpBuffer As Any, lpBufferSize As Long) As Long
Declare Function WNetGetUniversalName Lib "mpr.dll" Alias "WNetGetUniversalNameA" (ByVal lpLocalPath As String, ByVal dwInfoLevel As Long, lpBuffer As Any, lpBufferSize As Long) As Long
Declare Function WNetGetUser Lib "mpr.dll" Alias "WNetGetUserA" (ByVal lpName As String, ByVal lpUserName As String, lpnLength As Long) As Long
Declare Function WNetOpenEnum Lib "mpr.dll" Alias "WNetOpenEnumA" (ByVal dwScope As Long, ByVal dwType As Long, ByVal dwUsage As Long, lpNetResource As NETRESOURCE, lphEnum As Long) As Long
Declare Function WNetUseConnection lib "mpr.dll" Alias "WNetUseConnectionA" (ByVal hwndOwner As Long, ByRef lpNetResource As NETRESOURCE, ByVal lpUserID As String, ByVal lpPassword As String, ByVal dwFlags As Long, ByVal lpAccessName As String, ByRef lpBufferSize As Long, ByRef lpResult As Long) As Long
Declare Function wnsprintf lib "shlwapi.dll" Alias "wnsprintfA" (ByVal lpOut As String, ByVal cchLimitIn As Long, ByVal lpFmt As String, OptionalArguments as Any) As Long
Declare Function WOWCallback16 lib "WOW32.DLL" (ByVal vpfn16 As Long, ByVal dwParam As Long) As Long
Declare Function WOWCallback16Ex lib "WOW32.DLL" (ByVal vpfn16 As Long, ByVal dwFlags As Long, ByVal cbArgs As Long, pArgs As Any, ByRef pdwRetCode As Long) As Long
Declare Function WOWGetVDMPointer lib "WOW32.DLL" (ByVal vp As Long, ByVal dwBytes As Long, ByVal fProtectedMode As Long) As Long
Declare Function WOWGetVDMPointerFix lib "WOW32.DLL" (ByVal vp As Long, ByVal dwBytes As Long, ByVal fProtectedMode As Long) As Long
Declare Function WOWGlobalAlloc16 lib "WOW32.DLL" (ByVal wFlags As Integer, ByVal cb As Long) As Integer
Declare Function WOWGlobalAllocLock16 lib "WOW32.DLL" (ByVal wFlags As Integer, ByVal cb As Long, ByRef phMem As Integer) As Long
Declare Function WOWGlobalFree16 lib "WOW32.DLL" (ByVal hMem As Integer) As Integer
Declare Function WOWGlobalLock16 lib "WOW32.DLL" (ByVal hMem As Integer) As Long
Declare Function WOWGlobalLockSize16 lib "WOW32.DLL" (ByVal hMem As Integer, ByRef pcb As Long) As Long
Declare Function WOWGlobalUnlock16 lib "WOW32.DLL" (ByVal hMem As Integer) As Long
Declare Function WOWGlobalUnlockFree16 lib "WOW32.DLL" (ByVal vpMem As Long) As Integer
Declare Function WOWHandle16 lib "WOW32.DLL" (ByVal handle As Long, ByVal wow_handle_type As Long) As Integer
Declare Function WOWHandle32 lib "WOW32.DLL" (ByVal word As Integer, ByVal wow_handle_type As Long) As Long
Declare Function WPUCompleteOverlappedRequest lib "ws2_32.dll" (ByVal s As Long, ByRef lpOverlapped As WSAOVERLAPPED, ByVal dwError As Long, ByVal cbTransferred As Long, ByRef lpErrno As Long) As Long
Declare Function WrapCompressedRTFStream lib "mapi32.dll" (ByRef lpCompressedRTFStream As Long, ByVal ulFlags As Long, ByRef lpUncompressedRTFStream As Long) As Long
Declare Function WriteBlobToFile lib "npptools.dll" (ByRef hBlob As hBlob, ByVal pFileName As String) As Long
Declare Function WriteConsole Lib "kernel32" Alias "WriteConsoleA" (ByVal hConsoleOutput As Long, lpBuffer As Any, ByVal nNumberOfCharsToWrite As Long, lpNumberOfCharsWritten As Long, lpReserved As Any) As Long
Declare Function WriteConsoleInput lib "kernel32.dll" Alias "WriteConsoleInputA" (ByVal hConsoleInput As Long, ByRef lpBuffer As PUT_RECORD, ByVal nLength As Long, ByRef lpNumberOfEventsWritten As Long) As Long
Declare Function WriteConsoleOutput Lib "kernel32" Alias "WriteConsoleOutputA" (ByVal hConsoleOutput As Long, lpBuffer As CHAR_INFO, dwBufferSize As COORD, dwBufferCoord As COORD, lpWriteRegion As SMALL_RECT) As Long
Declare Function WriteConsoleOutputAttribute Lib "kernel32" Alias "WriteConsoleOutputAttribute" (ByVal hConsoleOutput As Long, lpAttribute As Integer, ByVal nLength As Long, dwWriteCoord As COORD, lpNumberOfAttrsWritten As Long) As Long
Declare Function WriteConsoleOutputCharacter Lib "kernel32" Alias "WriteConsoleOutputCharacterA" (ByVal hConsoleOutput As Long, ByVal lpCharacter As String, ByVal nLength As Long, dwWriteCoord As COORD, lpNumberOfCharsWritten As Long) As Long
Declare Function WriteEncryptedFileRaw lib "advapi32.dll" (ByRef pfImportCallback As PFE_IMPORT_FUNC, pvCallbackContext As Any, pvContext As Any) As Long
Declare Function WriteFile Lib "kernel32" Alias "WriteFile" (ByVal hFile As Long, lpBuffer As Any, ByVal nNumberOfBytesToWrite As Long, lpNumberOfBytesWritten As Long, lpOverlapped As OVERLAPPED) As Long
Declare Function WriteFileEx Lib "kernel32" Alias "WriteFileEx" (ByVal hFile As Long, lpBuffer As Any, ByVal nNumberOfBytesToWrite As Long, lpOverlapped As OVERLAPPED, ByVal lpCompletionRoutine As Long) As Long
Declare Function WriteFileGather lib "kernel32.dll" (ByVal hFile As Long, ByRef aSegmentArray As FILE_SEGMENT_ELEMENT, ByVal nNumberOfBytesToWrite As Long, ByRef lpReserved As Long, ByRef lpOverlapped As OVERLAPPED) As Long
Declare Function WriteHitLogging lib "URLMON.DLL" (ByRef lpLogginginfo As LPHIT_LOGGING_INFO) As Long
Declare Function WritePrinter Lib "winspool.drv" Alias "WritePrinter" (ByVal hPrinter As Long, pBuf As Any, ByVal cdBuf As Long, pcWritten As Long) As Long
Declare Function WritePrivateProfileSection Lib "kernel32" Alias "WritePrivateProfileSectionA" (ByVal lpAppName As String, ByVal lpString As String, ByVal lpFileName As String) As Long
Declare Function WritePrivateProfileString Lib "kernel32" Alias "WritePrivateProfileStringA" (ByVal lpApplicationName As String, ByVal lpKeyName As String, ByVal lpString As Any, ByVal lpFileName As String) As Long
Declare Function WritePrivateProfileStruct lib "kernel32.dll" Alias "WritePrivateProfileStructA" (ByVal lpszSection As String, ByVal lpszKey As String, lpStruct As Any, ByVal uSizeStruct As Long, ByVal szFile As String) As Long
Declare Function WriteProcessMemory Lib "kernel32" Alias "WriteProcessMemory" (ByVal hProcess As Long, ByVal lpBaseAddress As Long, lpBuffer As Any, ByVal nSize As Long, lpNumberOfBytesWritten As Long) As Long
Declare Function WriteProfileSection Lib "kernel32" Alias "WriteProfileSectionA" (ByVal lpAppName As String, ByVal lpString As String) As Long
Declare Function WriteProfileString Lib "kernel32" Alias "WriteProfileStringA" (ByVal lpszSection As String, ByVal lpszKeyName As String, ByVal lpszString As String) As Long
Declare Function WriteTapemark Lib "kernel32" Alias "WriteTapemark" (ByVal hDevice As Long, ByVal dwTapemarkType As Long, ByVal dwTapemarkCount As Long, ByVal bimmediate As Long) As Long
Declare Function WSAAccept lib "ws2_32.dll" (ByVal s As Long, ByRef addr As sockaddr, ByRef addrlen As Long, ByRef lpfnCondition As CONDITIONPROC, Byval dwCallbackData As Long) As Long
Declare Function WSAAddressToString lib "ws2_32.dll" Alias "WSAAddressToStringA" (ByRef lpsaAddress As SOCKADDR, ByVal dwAddressLength As Long, ByRef lpProtocolInfo As WSAPROTOCOL_INFOA, ByVal lpszAddressString As String, ByRef lpdwAddressStringLength As Long) As Long
Declare Function WSAAsyncGetHostByAddr lib "ws2_32.dll" (ByVal hWnd As Long, ByVal wMsg As Long, ByVal addr As String, ByVal lLen As Long, ByVal lType As Long, ByVal buf As String, ByVal buflen As Long) As Long
Declare Function WSAAsyncGetHostByName lib "ws2_32.dll" (ByVal hWnd As Long, ByVal wMsg As Long, ByVal name As String, ByVal buf As String, ByVal buflen As Long) As Long
Declare Function WSAAsyncGetProtoByName lib "ws2_32.dll" (ByVal hWnd As Long, ByVal wMsg As Long, ByVal name As String, ByVal buf As String, ByVal buflen As Long) As Long
Declare Function WSAAsyncGetProtoByNumber lib "ws2_32.dll" (ByVal hWnd As Long, ByVal wMsg As Long, ByVal number As Long, ByVal buf As String, ByVal buflen As Long) As Long
Declare Function WSAAsyncGetServByName lib "ws2_32.dll" (ByVal hWnd As Long, ByVal wMsg As Long, ByVal name As String, ByVal proto As String, ByVal buf As String, ByVal buflen As Long) As Long
Declare Function WSAAsyncGetServByPort lib "ws2_32.dll" (ByVal hWnd As Long, ByVal wMsg As Long, ByVal port As Long, ByVal proto As String, ByVal buf As String, ByVal buflen As Long) As Long
Declare Function WSAAsyncSelect lib "ws2_32.dll" (ByVal s As Long, ByVal hWnd As Long, ByVal wMsg As Long, ByVal lEvent As Long) As Long
Declare Function WSACancelAsyncRequest lib "ws2_32.dll" (ByVal hAsyncTaskHandle As Long) As Long
Declare Function WSACancelBlockingCall lib "ws2_32.dll" () As Long
Declare Function WSACleanup lib "ws2_32.dll" () As Long
Declare Function WSACloseEvent lib "ws2_32.dll" (ByRef hEvent As WSAEVENT) As Long
Declare Function WSAConnect lib "ws2_32.dll" (ByVal s As Long, ByRef name As sockaddr, ByVal namelen As Long, ByRef lpCallerData As WSABUF, ByRef lpCalleeData As WSABUF, ByRef lpSQOS As QOS, ByRef lpGQOS As QOS) As Long
Declare Function WSADuplicateSocket lib "ws2_32.dll" Alias "WSADuplicateSocketA" (ByVal s As Long, ByVal dwProcessId As Long, ByRef lpProtocolInfo As WSAPROTOCOL_INFOA) As Long
Declare Function WSAEnumNameSpaceProviders lib "ws2_32.dll" Alias "WSAEnumNameSpaceProvidersA" (ByRef lpdwBufferLength As Long, ByRef lpnspBuffer As WSANAMESPACE_INFOA) As Long
Declare Function WSAEnumNetworkEvents lib "ws2_32.dll" (ByVal s As Long, ByRef hEventObject As WSAEVENT, ByRef lpNetworkEvents As WSANETWORKEVENTS) As Long
Declare Function WSAEnumProtocols lib "ws2_32.dll" Alias "WSAEnumProtocolsA" (ByRef lpiProtocols As Long, ByRef lpProtocolBuffer As WSAPROTOCOL_INFOA, ByRef lpdwBufferLength As Long) As Long
Declare Function WSAEventSelect lib "ws2_32.dll" (ByVal s As Long, ByRef hEventObject As WSAEVENT, ByVal lNetworkEvents As Long) As Long
Declare Function WSAFDIsSet lib "ws2_32.dll" (ByVal socket As Long, ByRef TFd_set As fd_set) As Long
Declare Function WSAGetLastError lib "ws2_32.dll" () As Long
Declare Function WSAGetOverlappedResult lib "ws2_32.dll" (ByVal s As Long, ByRef lpOverlapped As WSAOVERLAPPED, ByRef lpcbTransfer As Long, ByVal fWait As Long, ByRef lpdwFlags As Long) As Long
Declare Function WSAGetQOSByName lib "ws2_32.dll" (ByVal s As Long, ByRef lpQOSName As WSABUF, ByRef lpQOS As QOS) As Long
Declare Function WSAGetServiceClassInfo lib "ws2_32.dll" Alias "WSAGetServiceClassInfoA" (ByVal lpProviderId As Long, ByVal lpServiceClassId As Long, ByRef lpdwBufSize As Long, ByRef lpServiceClassInfo As WSASERVICECLASSINFOA) As Long
Declare Function WSAGetServiceClassNameByClassId lib "ws2_32.dll" Alias "WSAGetServiceClassNameByClassIdA" (ByVal lpServiceClassId As Long, ByVal lpszServiceClassName As String, ByRef lpdwBufferLength As Long) As Long
Declare Function WSAHtonl lib "ws2_32.dll" (ByVal s As Long, ByVal hostlong As Long, ByRef lpnetlong As Long) As Long
Declare Function WSAHtons lib "ws2_32.dll" (ByVal s As Long, ByVal hostshort As Integer, ByRef lpnetshort As Integer) As Long
Declare Function WSAInstallServiceClass lib "ws2_32.dll" Alias "WSAInstallServiceClassA" (ByRef lpServiceClassInfo As WSASERVICECLASSINFOA) As Long
Declare Function WSAIoctl lib "ws2_32.dll" (ByVal s As Long, ByVal dwIoControlCode As Long, lpvInBuffer As Any, ByVal cbInBuffer As Long, lpvOutBuffer As Any, ByVal cbOutBuffer As Long, ByRef lpcbBytesReturned As Long, ByRef lpOverlapped As WSAOVERLAPPED, ByRef lpCompletionRoutine As WSAOVERLAPPED_COMPLETION_ROUTINE) As Long
Declare Function WSAIsBlocking lib "ws2_32.dll" () As Long
Declare Function WSAJoinLeaf lib "ws2_32.dll" (ByVal s As Long, ByRef name As sockaddr, ByVal namelen As Long, ByRef lpCallerData As WSABUF, ByRef lpCalleeData As WSABUF, ByRef lpSQOS As QOS, ByRef lpGQOS As QOS, ByVal dwFlags As Long) As Long
Declare Function WSALookupServiceBegin lib "ws2_32.dll" Alias "WSALookupServiceBeginA" (ByRef lpqsRestrictions As WSAQUERYSETA, ByVal dwControlFlags As Long, ByRef lphLookup As Long) As Long
Declare Function WSALookupServiceEnd lib "ws2_32.dll" (ByVal hLookup As Long) As Long
Declare Function WSALookupServiceNext lib "ws2_32.dll" Alias "WSALookupServiceNextA" (ByVal hLookup As Long, ByVal dwControlFlags As Long, ByRef lpdwBufferLength As Long, ByRef lpqsResults As WSAQUERYSETA) As Long
Declare Function WSANtohl lib "ws2_32.dll" (ByVal s As Long, ByVal netlong As Long, ByRef lphostlong As Long) As Long
Declare Function WSANtohs lib "ws2_32.dll" (ByVal s As Long, ByVal netshort As Integer, ByRef lphostshort As Integer) As Long
Declare Function WSAProviderConfigChange lib "ws2_32.dll" (ByRef lpNotificationHandle As Long, ByRef lpOverlapped As WSAOVERLAPPED, ByRef lpCompletionRoutine As WSAOVERLAPPED_COMPLETION_ROUTINE) As Long
Declare Function WSARecv lib "ws2_32.dll" (ByVal s As Long, ByRef lpBuffers As WSABUF, ByVal dwBufferCount As Long, ByRef lpNumberOfBytesRecvd As Long, ByRef lpFlags As Long, ByRef lpOverlapped As WSAOVERLAPPED, ByRef lpCompletionRoutine As WSAOVERLAPPED_COMPLETION_ROUTINE) As Long
Declare Function WSARecvDisconnect lib "ws2_32.dll" (ByVal s As Long, ByRef lpInboundDisconnectData As WSABUF) As Long
Declare Function WSARecvEx lib "mswsock.dll" (ByVal s As Long, ByVal buf As String, ByVal lLen As Long, ByRef flags As Long) As Long
Declare Function WSARecvFrom lib "ws2_32.dll" (ByVal s As Long, ByRef lpBuffers As WSABUF, ByVal dwBufferCount As Long, ByRef lpNumberOfBytesRecvd As Long, ByRef lpFlags As Long, ByRef lpFrom As sockaddr, ByRef lpFromlen As Long, ByRef lpOverlapped As WSAOVERLAPPED, ByRef lpCompletionRoutine As WSAOVERLAPPED_COMPLETION_ROUTINE) As Long
Declare Function WSARemoveServiceClass lib "ws2_32.dll" (ByVal lpServiceClassId As Long) As Long
Declare Function WSAResetEvent lib "ws2_32.dll" (ByRef hEvent As WSAEVENT) As Long
Declare Function WSASend lib "ws2_32.dll" (ByVal s As Long, ByRef lpBuffers As WSABUF, ByVal dwBufferCount As Long, ByRef lpNumberOfBytesSent As Long, ByVal dwFlags As Long, ByRef lpOverlapped As WSAOVERLAPPED, ByRef lpCompletionRoutine As WSAOVERLAPPED_COMPLETION_ROUTINE) As Long
Declare Function WSASendDisconnect lib "ws2_32.dll" (ByVal s As Long, ByRef lpOutboundDisconnectData As WSABUF) As Long
Declare Function WSASendTo lib "ws2_32.dll" (ByVal s As Long, ByRef lpBuffers As WSABUF, ByVal dwBufferCount As Long, ByRef lpNumberOfBytesSent As Long, ByVal dwFlags As Long, ByRef lpTo As sockaddr, ByVal iTolen As Long, ByRef lpOverlapped As WSAOVERLAPPED, ByRef lpCompletionRoutine As WSAOVERLAPPED_COMPLETION_ROUTINE) As Long
Declare Function WSASetBlockingHook lib "ws2_32.dll" (ByVal lpBlockFunc As Long) As Long
Declare Function WSASetEvent lib "ws2_32.dll" (ByRef hEvent As WSAEVENT) As Long
Declare Function WSASetService lib "ws2_32.dll" (ByRef lpqsRegInfo As WSAQUERYSETA, ByVal essoperation As Struct_MembersOf_WSAESETSERVICEOP, ByVal dwControlFlags As Long) As Long
Declare Function WSASocket lib "ws2_32.dll" (ByVal af As Long, ByVal lType As Long, ByVal protocol As Long, ByRef lpProtocolInfo As WSAPROTOCOL_INFOA, ByRef g As GROUP, ByVal dwFlags As Long) As Long
Declare Function WSAStartup lib "ws2_32.dll" (ByVal wVersionRequired As Integer, ByRef lpWSAData As WSADATA) As Long
Declare Function WSAStringToAddress lib "ws2_32.dll" (ByVal AddressString As String, ByVal AddressFamily As Long, ByRef lpProtocolInfo As WSAPROTOCOL_INFOA, ByRef lpAddress As SOCKADDR, ByRef lpAddressLength As Long) As Long
Declare Function WSAUnhookBlockingHook lib "ws2_32.dll" () As Long
Declare Function WSAWaitForMultipleEvents lib "ws2_32.dll" (ByVal cEvents As Long, ByRef lphEvents As WSAEVENT, ByVal fWaitAll As Long, ByVal dwTimeout As Long, ByVal fAlertable As Long) As Long
Declare Function WSCDeinstallProvider lib "ws2_32.dll" (ByVal lpProviderId As Long, ByRef lpErrno As Long) As Long
Declare Function WSCEnableNSProvider lib "ws2_32.dll" (ByVal lpProviderId As Long, ByVal fEnable As Long) As Long
Declare Function WSCEnumProtocols lib "ws2_32.dll" (ByRef lpiProtocols As Long, ByRef lpProtocolBuffer As WSAPROTOCOL_INFOW, ByRef lpdwBufferLength As Long, ByRef lpErrno As Long) As Long
Declare Function WSCGetProviderPath lib "ws2_32.dll" (ByVal lpProviderId As Long, ByRef lpszProviderDllPath As Byte, ByRef lpProviderDllPathLen As Long, ByRef lpErrno As Long) As Long
Declare Function WSCInstallNameSpace lib "ws2_32.dll" (ByVal lpszIdentifier As String, ByVal lpszPathName As String, ByVal dwNameSpace As Long, ByVal dwVersion As Long, ByVal lpProviderId As Long) As Long
Declare Function WSCInstallProvider lib "ws2_32.dll" (ByVal lpProviderId As Long, ByRef lpszProviderDllPath As Byte, ByRef lpProtocolInfoList As WSAPROTOCOL_INFOW, ByVal dwNumberOfEntries As Long, ByRef lpErrno As Long) As Long
Declare Function WSCInstallQOSTemplate lib "qosname.dll" (ByVal Guid As Long, ByRef QosName As WSABUF, ByRef Qos As QOS) As Long
Declare Function WSCRemoveQOSTemplate lib "qosname.dll" (ByVal Guid As Long, ByRef QosName As WSABUF) As Long
Declare Function WSCUnInstallNameSpace lib "ws2_32.dll" (ByVal lpProviderId As Long) As Long
Declare Function WSCWriteNameSpaceOrder lib "WS2_32.DLL" (ByVal lpProviderId As Long, ByVal dwNumberOfEntries As Long) As Long
Declare Function WSCWriteProviderOrder lib "WS2_32.DLL" (ByRef lpwdCatalogEntryId As Long, ByVal dwNumberOfEntries As Long) As Long
Declare Function wsprintf lib "user32.dll" (ByVal lpstr As String, ByVal lpcstr As String, OptionalArguments as Any) As Long
Declare Function WSPStartup lib "msafd.dll" (ByVal wVersionRequested As Integer, ByRef lpWSPData As WSPDATA, ByRef lpProtocolInfo As WSAPROTOCOL_INFOW, ByRef UpcallTable As WSPUPCALLTABLE, ByRef lpProcTable As WSPPROC_TABLE) As Long
Declare Function WSSelect lib "ws2_32.dll" Alias "select" (ByVal nfds As Long, ByRef readfds As fd_set, ByRef writefds As fd_set, ByRef exceptfds As fd_set, ByRef timeout As sstruct) As Long
Declare Function WTHelperCertIsSelfSigned lib "wintrust.dll" (ByVal dwEncoding As Long, ByRef pCert As CERT_INFO) As Long
Declare Function WTSDisconnectSession lib "wtsapi32.dll" (ByVal hServer As Long, ByVal SessionId As Long, ByVal bWait As Long) As Long
Declare Function WTSEnumerateProcesses lib "wtsapi32.dll" (ByVal hServer As Long, ByVal Reserved As Long, ByVal Version As Long, ByRef ppProcessInfo As PWTS_PROCESS_INFOA, ByRef pCount As Long) As Long
Declare Function WTSEnumerateServers lib "wtsapi32.dll" (ByVal pDomainName As String, ByVal Reserved As Long, ByVal Version As Long, ByRef ppServerInfo As PWTS_SERVER_INFOA, ByRef pCount As Long) As Long
Declare Function WTSEnumerateSessions lib "wtsapi32.dll" (ByVal hServer As Long, ByVal Reserved As Long, ByVal Version As Long, ByRef ppSessionInfo As PWTS_SESSION_INFOA, ByRef pCount As Long) As Long
Declare Function WTSLogoffSession lib "wtsapi32.dll" (ByVal hServer As Long, ByVal SessionId As Long, ByVal bWait As Long) As Long
Declare Function WTSOpenServer lib "wtsapi32.dll" (ByVal pServerName As String) As Long
Declare Function WTSQuerySessionInformation lib "wtsapi32.dll" (ByVal hServer As Long, ByVal SessionId As Long, ByVal WTSInfoClass As Struct_MembersOf_WTS_INFO_CLASS, ByVal ppBuffer As String, ByRef pBytesReturned As Long) As Long
Declare Function WTSQueryUserConfig lib "wtsapi32.dll" (ByVal pServerName As String, ByVal pUserName As String, ByVal WTSConfigClass As Struct_MembersOf_WTS_CONFIG_CLASS, ByVal ppBuffer As String, ByRef pBytesReturned As Long) As Long
Declare Function WTSSendMessage lib "wtsapi32.dll" (ByVal hServer As Long, ByVal SessionId As Long, ByVal pTitle As String, ByVal TitleLength As Long, ByVal pMessage As String, ByVal MessageLength As Long, ByVal Style As Long, ByVal timeout As Long, ByRef pResponse As Long, ByVal bWait As Long) As Long
Declare Function WTSSetUserConfig lib "wtsapi32.dll" (ByVal pServerName As String, ByVal pUserName As String, ByVal WTSConfigClass As Struct_MembersOf_WTS_CONFIG_CLASS, ByVal pBuffer As String, ByVal DataLength As Long) As Long
Declare Function WTSShutdownSystem lib "wtsapi32.dll" (ByVal hServer As Long, ByVal ShutdownFlag As Long) As Long
Declare Function WTSTerminateProcess lib "wtsapi32.dll" (ByVal hServer As Long, ByVal ProcessId As Long, ByVal ExitCode As Long) As Long
Declare Function WTSVirtualChannelClose lib "wtsapi32.dll" (ByVal hChannelHandle As Long) As Long
Declare Function WTSVirtualChannelOpen lib "wtsapi32.dll" (ByVal hServer As Long, ByVal SessionId As Long, ByVal pVirtualName As String) As Long
Declare Function WTSVirtualChannelPurgeInput lib "wtsapi32.dll" (ByVal hChannelHandle As Long) As Long
Declare Function WTSVirtualChannelPurgeOutput lib "wtsapi32.dll" (ByVal hChannelHandle As Long) As Long
Declare Function WTSVirtualChannelQuery lib "wtsapi32.dll" (ByVal hChannelHandle As Long, ByVal pWts_virtual_class As Struct_MembersOf_WTS_VIRTUAL_CLASS, ppBuffer As Any, ByRef pBytesReturned As Long) As Long
Declare Function WTSVirtualChannelRead lib "wtsapi32.dll" (ByVal hChannelHandle As Long, ByVal timeout As Long, ByVal Buffer As String, ByVal BufferSize As Long, ByRef pBytesRead As Long) As Long
Declare Function WTSVirtualChannelWrite lib "wtsapi32.dll" (ByVal hChannelHandle As Long, ByVal Buffer As String, ByVal Length As Long, ByRef pBytesWritten As Long) As Long
Declare Function WTSWaitSystemEvent lib "wtsapi32.dll" (ByVal hServer As Long, ByVal EventMask As Long, ByRef pEventFlags As Long) As Long
Declare Function wvnsprintf lib "SHLWAPI.DLL" (ByVal lpOut As String, ByVal cchLimitIn As Long, ByVal lpFmt As String, ByVal arglist As String) As Long

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Retired
United States United States
I am currently retired.
I have no degree but I have some programming experience
when I was in college(Cobol, Pascal).

My accomplishments thus far are;
Best VB.Net article for January(2009)
Best VB.Net article for July(2009)

Comments and Discussions