FrymasterVB/SPTYPES.BAS.md

42 lines
1.3 KiB
Markdown

# SPTYPES.BAS
This module contains type definitions used for Windows API calls in the Desaware API Class library.
## Type Definitions
### RECT
Structure that defines a rectangle by its coordinates.
#### Win32 Version
- `left` (Long) - X coordinate of upper-left corner
- `top` (Long) - Y coordinate of upper-left corner
- `right` (Long) - X coordinate of lower-right corner
- `bottom` (Long) - Y coordinate of lower-right corner
#### 16-bit Version
- `left` (Integer) - X coordinate of upper-left corner
- `top` (Integer) - Y coordinate of upper-left corner
- `right` (Integer) - X coordinate of lower-right corner
- `bottom` (Integer) - Y coordinate of lower-right corner
### Win32-Only Types
#### ACL (Access Control List)
Structure that defines security permissions:
- `AclRevision` (Byte) - Revision level of the ACL
- `Sbz1` (Byte) - Reserved
- `AclSize` (Integer) - Size of ACL structure
- `AceCount` (Integer) - Count of ACE entries
- `Sbz2` (Integer) - Reserved
#### SECURITY_DESCRIPTOR
Structure that defines security attributes:
- `Revision` (Byte) - Revision level
- `Sbz1` (Byte) - Reserved
- `Control` (Long) - Control flags
- `Owner` (Long) - Pointer to owner SID
- `Group` (Long) - Pointer to group SID
- `Sacl` (ACL) - System Access Control List
- `Dacl` (ACL) - Discretionary Access Control List