Using Win32 functions in Visual FoxPro Image Gallery
Function Groups:
All Functions 1306
Atom 1
Authentication 14
Authorization 6
Bitmap 9
Brush 2
Clipboard 20
Color 1
Common Dialog Box 12
Console 12
Coordinate Space and Transformation 9
Cryptography Reference 28
Cursor 5
Data Decompression Library 3
Debugging 2
Desktop Window Manager (DWM) 1
Device Context 13
Device Input and Output 1
Dialog Box 6
DNS Functions 1
Dynamic-Link Library 6
Error Handling 10
Event Logging 10
Extensible Storage Engine (ESE, Jet Blue) 23
File Management 49
File Mapping 4
File System 19
Filled Shape 2
Font and Text 13
GDI+ 6
GDI+ Bitmap 10
GDI+ Brush 4
GDI+ Font 9
GDI+ Graphics 28
GDI+ Image 20
GDI+ ImageAttributes 3
GDI+ Matrix 10
GDI+ PathGradient Brush 3
GDI+ Pen 2
GDI+ StringFormat 2
GDI+ Text 2
Handle and Object 4
Hook 2
HTTP Functions (WinHTTP) 12
Icon 7
Internet Functions (WinInet) 49
IP Helper 24
Kernel Transaction Manager 3
Keyboard Input 22
Mailslot 3
Memory Management 26
Menu 18
Message and Message Queue 12
Metafile 6
Monitor Configuration (Vista) 8
Mouse Input 8
MSHTML Reference 1
Multilingual User Interface 4
Multiple Display Monitors 2
National Language Support 20
Network Management 34
Painting and Drawing 17
Path 3
Performance Monitoring 12
Pipe 5
PnP Configuration Manager 6
Power Management 6
Printing and Print Spooler 35
Process and Thread 31
Raw Input 4
Region 7
Registry 21
Remote Access Service (RAS) 5
Remote Application Programming (RAPI) 49
Remote Procedure Call (RPC) 7
Resource 10
Security 22
Service 11
Setup API functions 7
Shell Functions 39
Shell Lightweight Utility APIs -- misc. functions 2
Shell Lightweight Utility APIs -- Path Functions 20
Shell Lightweight Utility APIs -- string functions 4
Simple MAPI 9
String 10
Synchronization 13
System Information 23
System Shutdown 5
Terminal Services 10
Time 16
Unicode and Character Set 2
URL Monikers 7
Version Information 2
Virtual Hard Disk (Win7) 4
Window 37
Window Class 8
Window Procedure 3
Window Property 3
Window Station and Desktop 7
Windows Controls 8
Windows Multimedia 76
Windows Networking 18
Windows Sockets 2 (Winsock) 38
Security            ..msdn    Add comment
ConvertSidToStringSid Converts a security identifier (SID) to a string format suitable for display, storage, or transmission.
GetAce Obtains a pointer to an access control entry (ACE) in an access control list (ACL).
GetAclInformation Retrieves information about an access control list (ACL).
GetFileSecurity The GetFileSecurity function obtains specified information about the security of a file or directory.
GetLengthSid The GetLengthSid function returns the length, in bytes, of a valid security identifier (SID).
GetNamedSecurityInfo The GetNamedSecurityInfo function retrieves a copy of the security descriptor for an object specified by name.
GetSecurityDescriptorDacl Retrieves a pointer to the discretionary access control list (DACL) in a specified security descriptor.
GetSecurityDescriptorOwner The GetSecurityDescriptorOwner function retrieves the owner information from a security descriptor.
ImpersonateLoggedOnUser The ImpersonateLoggedOnUser function lets the calling thread impersonate the security context of a logged-on user. The user is represented by a token handle.
IsValidSid The IsValidSid function validates a security identifier (SID) by verifying that the revision number is within a known range, and that the number of subauthorities is less than the maximum.
IsWellKnownSid Compares a SID to a well known SID and returns TRUE if they match.
LogonUser The LogonUser function attempts to log a user on to the local computer. The local computer is the computer from which LogonUser was called. You cannot use LogonUser to log on to a remote computer.
LookupAccountName Accepts the name of a system and an account as input. It retrieves a security identifier (SID) for the account and the name of the domain on which the account was found.
LookupAccountSid The LookupAccountSid function accepts a security identifier (SID) as input. It retrieves the name of the account for this SID and the name of the first domain on which this SID is found.
LsaClose The LsaClose function closes a handle to a Policy or TrustedDomain object.
LsaEnumerateLogonSessions Retrieves the set of existing logon session identifiers (LUIDs) and the number of sessions.
LsaFreeMemory The LsaFreeMemory function frees memory allocated for an output buffer by an LSA function call.
LsaFreeReturnBuffer Frees the memory used by a buffer previously allocated by the LSA.
LsaGetLogonSessionData Retrieves information about a specified logon session.
LsaLookupSids The LsaLookupSids function looks up the names that correspond to an array of SIDs.
LsaOpenPolicy The LsaOpenPolicy function opens a handle to the Policy object on a local or remote system.
RevertToSelf The RevertToSelf function terminates the impersonation of a client application.
Code examples:
Reading security permissions for NTFS files and folders
Accessing LSA Policy object (Local Security Authority)
How to enumerate logon sessions on local computer
GetFileOwner - Get the owner of an NTFS file
How to run FoxPro application under different user name (impersonating user)
Retrieving local computer and user names
How to load a user profile
Obtaining a handle to the desktop associated with the calling thread
How to enumerate sessions and processes on a specified terminal server
How to Start a Process as Another User (NT/XP/2K)
Creating a folder
User Contributed Notes:
El Mismo | 2005-09-22 11:20:51
Hello.. I am using VFP 5.0 and I would like to be able to send e-mail attachment through Outlook. Thanks. I Can be reached at ""
El Mismo | 2005-09-22 11:21:30
Hello.. I am using VFP 5.0 and I would like to be able to send e-mail FILE ATTACHMENT through Outlook. Thanks. I Can be reached at ""

Copyright 2001-2017 News2News, Inc. Before reproducing or distributing any data from this site please ask for an approval from its owner. Unless otherwise specified, this page is for your personal and non-commercial use. The information on this page is presented AS IS, meaning that you may use it at your own risk. Microsoft Visual FoxPro and Windows are trade marks of Microsoft Corp. All other trademarks are the property of their respective owners. 

Privacy policy
Credits: PHP (4.4.9), an HTML-embedded scripting language, MySQL (5.6.37), the Open Source standard SQL database, AceHTML Freeware Version 4, freeware HTML Editor of choice.   Hosted by Korax Online Inc.
Last Topics Visited (
14 sec.
Function group: 'Power Management'
27 sec.Function: 'CreateJobObject'
Function group: 'Process and Thread'
41 sec.Function: 'ConnectNamedPipe'
Function group: 'Pipe'
55 sec.
Function group: 'Simple MAPI'
1.15 min.
Function group: 'Kernel Transaction Manager'
1.38 min.
Function group: 'Cursor'
1.62 min.
Function group: 'File Management'
1.87 min.Function: 'DisconnectNamedPipe'
2.15 min.Function: 'UnlockFile'
Function group: 'File Management'
2.43 min.Function: 'CryptBinaryToString'
Advertise here!