' ------------------------------------------------------------------------
'
' WIN32API.TXT -- Win32 API Declarations for Visual Basic
'
' Copyright (C) 1994-98 Microsoft Corporation
'
' This file is required for the Visual Basic 6.0 version of the APILoader.
' Older versions of this file will not work correctly with the version
' 6.0 APILoader. This file is backwards compatible with previous releases
' of the APILoader with the exception that Constants are no longer declared
' as Global or Public in this file.
'
' This file contains only the Const, Type,
' and Declare statements for Win32 APIs.
'
' You have a royalty-free right to use, modify, reproduce and distribute
' this file (and/or any modified version) in any way you find useful,
' provided that you agree that Microsoft has no warranty, obligation or
' liability for its contents. Refer to the Microsoft Windows Programmer's
' Reference for further information.
'
' ------------------------------------------------------------------------
' Type definitions for Windows' basic types.
Const ANYSIZE_ARRAY = 1
Type RECT
Left As Long
Top As Long
Right As Long
Bottom As Long
End Type
Type RECTL
Left As Long
Top As Long
Right As Long
Bottom As Long
End Type
Type POINTAPI
x As Long
y As Long
End Type
Type POINTL
x As Long
y As Long
End Type
Type Size
cx As Long
cy As Long
End Type
Type POINTS
x As Integer
y As Integer
End Type
Type MSG
hwnd As Long
message As Long
wParam As Long
lParam As Long
time As Long
pt As POINTAPI
End Type
Const DELETE = &H10000
Const READ_CONTROL = &H20000
Const WRITE_DAC = &H40000
Const WRITE_OWNER = &H80000
Const SYNCHRONIZE = &H100000
Const STANDARD_RIGHTS_READ = (READ_CONTROL)
Const STANDARD_RIGHTS_WRITE = (READ_CONTROL)
Const STANDARD_RIGHTS_EXECUTE = (READ_CONTROL)
Const STANDARD_RIGHTS_REQUIRED = &HF0000
Const STANDARD_RIGHTS_ALL = &H1F0000
Const SPECIFIC_RIGHTS_ALL = &HFFFF
Type SID_IDENTIFIER_AUTHORITY
Value(6) As Byte
End Type
Const SID_REVISION = (1) ' Current revision level
Const SID_MAX_SUB_AUTHORITIES = (15)
Const SID_RECOMMENDED_SUB_AUTHORITIES = (1) ' Will change to around 6 in a future release.
Const SidTypeUser = 1
Const SidTypeGroup = 2
Const SidTypeDomain = 3
Const SidTypeAlias = 4
Const SidTypeWellKnownGroup = 5
Const SidTypeDeletedAccount = 6
Const SidTypeInvalid = 7
Const SidTypeUnknown = 8
Type SID_AND_ATTRIBUTES
Sid As Long
Attributes As Long
End Type
' ///////////////////////////////////////////////////////////////////////////
' //
' Universal well-known SIDs //
' //
' Null SID S-1-0-0 //
' World S-1-1-0 //
' Local S-1-2-0 //
' Creator Owner ID S-1-3-0 //
' Creator Group ID S-1-3-1 //
' //
' (Non-unique IDs) S-1-4 //
' //
' ///////////////////////////////////////////////////////////////////////////
Const SECURITY_NULL_RID = &H0
Const SECURITY_WORLD_RID = &H0
Const SECURITY_LOCAL_RID = &H0
Const SECURITY_CREATOR_OWNER_RID = &H0
Const SECURITY_CREATOR_GROUP_RID = &H1
' ///////////////////////////////////////////////////////////////////////////
' //
' NT well-known SIDs //
' //
' NT Authority S-1-5 //
' Dialup S-1-5-1 //
' //
' Network S-1-5-2 //
' Batch S-1-5-3 //
' Interactive S-1-5-4 //
' Service S-1-5-6 //
' AnonymousLogon S-1-5-7 (aka null logon session) //
' //
' (Logon IDs) S-1-5-5-X-Y //
' //
' (NT non-unique IDs) S-1-5-0x15-... //
' //
' (Built-in domain) s-1-5-0x20 //
' //
' ///////////////////////////////////////////////////////////////////////////
Const SECURITY_DIALUP_RID = &H1
Const SECURITY_NETWORK_RID = &H2
Const SECURITY_BATCH_RID = &H3
Const SECURITY_INTERACTIVE_RID = &H4
Const SECURITY_SERVICE_RID = &H6
Const SECURITY_ANONYMOUS_LOGON_RID = &H7
Const SECURITY_LOGON_IDS_RID = &H5
Const SECURITY_LOCAL_SYSTEM_RID = &H12
Const SECURITY_NT_NON_UNIQUE = &H15
Const SECURITY_BUILTIN_DOMAIN_RID = &H20
' ///////////////////////////////////////////////////////////////////////////
' //
' well-known domain relative sub-authority values (RIDs)... //
' //
' ///////////////////////////////////////////////////////////////////////////
Const DOMAIN_USER_RID_ADMIN = &H1F4
Const DOMAIN_USER_RID_GUEST = &H1F5
Const DOMAIN_GROUP_RID_ADMINS = &H200
Const DOMAIN_GROUP_RID_USERS = &H201
Const DOMAIN_GROUP_RID_GUESTS = &H202
Const DOMAIN_ALIAS_RID_ADMINS = &H220
Const DOMAIN_ALIAS_RID_USERS = &H221
Const DOMAIN_ALIAS_RID_GUESTS = &H222
Const DOMAIN_ALIAS_RID_POWER_USERS = &H223
Const DOMAIN_ALIAS_RID_ACCOUNT_OPS = &H224
Const DOMAIN_ALIAS_RID_SYSTEM_OPS = &H225
Const DOMAIN_ALIAS_RID_PRINT_OPS = &H226
Const DOMAIN_ALIAS_RID_BACKUP_OPS = &H227
Const DOMAIN_ALIAS_RID_REPLICATOR = &H228
' Allocate the System Luid. The first 1000 LUIDs are reserved.
' Use #999 here0x3E7 = 999)
' end_ntifs
' //////////////////////////////////////////////////////////////////////
' //
' User and Group related SID attributes //
' //
' //////////////////////////////////////////////////////////////////////
' Group attributes
Const SE_GROUP_MANDATORY = &H1
Const SE_GROUP_ENABLED_BY_DEFAULT = &H2
Const SE_GROUP_ENABLED = &H4
Const SE_GROUP_OWNER = &H8
Const SE_GROUP_LOGON_ID = &HC0000000
' User attributes
' (None yet defined.)
' ----------------
' Kernel Section
' ----------------
Const FILE_BEGIN = 0
Const FILE_CURRENT = 1
Const FILE_END = 2
Const FILE_FLAG_WRITE_THROUGH = &H80000000
Const FILE_FLAG_OVERLAPPED = &H40000000
Const FILE_FLAG_NO_BUFFERING = &H20000000
Const FILE_FLAG_RANDOM_ACCESS = &H10000000
Const FILE_FLAG_SEQUENTIAL_SCAN = &H8000000
Const FILE_FLAG_DELETE_ON_CLOSE = &H40000
没有合适的资源?快使用搜索试试~ 我知道了~
资源推荐
资源详情
资源评论
收起资源包目录
API 从入门到精通,高级程序员手册 (2055个子文件)
examples.api 399KB
examples.api 399KB
data.api 135KB
data.api 135KB
WndAPIFuncs.bas 49KB
WndAPIFuncs.bas 49KB
APICallbackProcs.bas 49KB
APICallbackProcs.bas 49KB
ModApiWindows.bas 4KB
ModApiWindows.bas 4KB
APISpy32.bas 3KB
APISpy32.bas 3KB
MemoryAPIFunctions.bas 3KB
MemoryAPIFunctions.bas 3KB
GDIObjectsManagement.bas 2KB
GDIObjectsManagement.bas 2KB
vbapi.chm 975KB
vbapi.chm 975KB
VisualBasic手册.chm 516KB
VisualBasic手册.chm 516KB
vbSource.chm 435KB
vbSource.chm 435KB
VBSCRIPT.CHM 365KB
VBSCRIPT.CHM 365KB
API32.CHM 364KB
API32.CHM 364KB
api.chm 168KB
api.chm 168KB
VB指令函数集.chm 40KB
VB指令函数集.chm 40KB
wenda.chm 29KB
wenda.chm 29KB
一步一步跟我学API.chm 29KB
一步一步跟我学API.chm 29KB
ApiWindow.cls 68KB
ApiWindow.cls 68KB
APIFunctions.cls 55KB
APIFunctions.cls 55KB
ApiDeviceContext.cls 34KB
ApiDeviceContext.cls 34KB
EnumHandler.cls 27KB
EnumHandler.cls 27KB
ApiLocale.cls 25KB
ApiLocale.cls 25KB
ApiSystemInfo.cls 21KB
ApiSystemInfo.cls 21KB
ApiPrinter.cls 20KB
ApiPrinter.cls 20KB
ApiPrintJob.cls 11KB
ApiPrintJob.cls 11KB
ApiLogFont.cls 11KB
ApiLogFont.cls 11KB
APIWndClass.cls 9KB
APIWndClass.cls 9KB
ApiThread.cls 8KB
ApiThread.cls 8KB
ApiRegKey.cls 8KB
ApiRegKey.cls 8KB
ApiCommCtlToolbar.cls 7KB
ApiCommCtlToolbar.cls 7KB
ApiColourAdjustment.cls 7KB
ApiColourAdjustment.cls 7KB
ApiCommCtlPager.cls 7KB
ApiCommCtlPager.cls 7KB
ApiNotifyIcon.cls 7KB
ApiNotifyIcon.cls 7KB
cMenu.cls 6KB
cMenu.cls 6KB
ApiGraphicalDeviceInterface.cls 6KB
ApiGraphicalDeviceInterface.cls 6KB
ApiPrinterDriver.cls 6KB
ApiPrinterDriver.cls 6KB
ApiFont.cls 6KB
ApiFont.cls 6KB
ApiLogPen.cls 6KB
ApiLogPen.cls 6KB
ApiHotkey.cls 5KB
ApiHotkey.cls 5KB
ApiFindReplaceDialog.cls 5KB
ApiFindReplaceDialog.cls 5KB
ApiLogBrush.cls 5KB
ApiLogBrush.cls 5KB
ApiRegistryValue.cls 5KB
ApiRegistryValue.cls 5KB
ApiClipboard.cls 5KB
ApiClipboard.cls 5KB
APIRect.cls 5KB
APIRect.cls 5KB
ApiVolume.cls 4KB
ApiVolume.cls 4KB
ApiKBDLLHOOKSTRUCT.cls 4KB
ApiKBDLLHOOKSTRUCT.cls 4KB
APIMenuItemInfo.cls 4KB
APIMenuItemInfo.cls 4KB
ApiNamedPipe.cls 4KB
ApiNamedPipe.cls 4KB
ApiCommCtlInternetAddress.cls 4KB
ApiCommCtlInternetAddress.cls 4KB
ApiRgnDispenser.cls 4KB
ApiRgnDispenser.cls 4KB
共 2055 条
- 1
- 2
- 3
- 4
- 5
- 6
- 21
资源评论
yangke1994
- 粉丝: 1
- 资源: 30
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功