Using Win32 functions in Visual FoxPro Image Gallery
Security
..msdn
ConvertSidToStringSid
GetAce
GetAclInformation
GetFileSecurity
GetLengthSid
GetNamedSecurityInfo
GetSecurityDescriptorDacl
GetSecurityDescriptorOwner
ImpersonateLoggedOnUser
IsValidSid
IsWellKnownSid
LogonUser
LookupAccountName
LookupAccountSid
LsaClose
LsaFreeMemory
LsaLookupSids
LsaOpenPolicy
RevertToSelf
Code examples:
Accessing LSA Policy object (Local Security Authority)
Obtaining a handle to the desktop associated with the calling thread
GetLengthSid
..msdn    Add comment     W32 Constants      Translate this page
The GetLengthSid function returns the length, in bytes, of a valid security identifier (SID).
Code examples:
Obtaining a handle to the desktop associated with the calling thread
Accessing LSA Policy object (Local Security Authority)
Declaration:
 
DWORD GetLengthSid(
  PSID pSid
);
 
FoxPro declaration:
 
DECLARE INTEGER GetLengthSid IN advapi32;
    STRING pSid
 
Parameters:
pSid
[in] Pointer to the SID structure whose length is returned.
Return value:
If the SID structure is valid, the return value is the length, in bytes, of the SID structure.
Word Index links for the GetLengthSid :
Translate this page:
  Spanish    Portuguese    German    French    Italian  
FreeTranslation.com offers instant, free translations of text or web pages.
Created: 2002-01-02 18:34:32
Modified: 2002-01-02 18:35:56
Visited in last 7 days: 17
User Contributed Notes:
There are no notes on this subject.


Copyright © 2001-2013 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.1.55-log), the Open Source standard SQL database, AceHTML Freeware Version 4, freeware HTML Editor of choice.   Hosted by Korax Online Inc.
Last Topics Visited (23.22.252.150)
3 sec.Example: 'GDI+: sending image of FoxPro form to printer'
Language: 'C#'
1.52 hrs.Function: 'waveOutSetVolume'
1.53 hrs.Function: 'GetModuleHandle'
Function group: 'Dynamic-Link Library'
4.3 hrs.Example: 'Retrieving information about the specified icon'
 Example: 'Exporting DLL icon resources as .ICO files'
7.14 hrs.Function: 'FrameRgn'
 Example: 'Starting a dialog box for connecting to network resources and passing input parameters'
10.4 hrs.Function: 'GdipRotateWorldTransform'
 Example: 'Retrieving configuration information for the specified server (Win2000/XP)'
 Example: 'How to retrieve the number of print jobs queued for the printer'
Google
Advertise here!