Desktop Functions: Smart Device Functions:
|
Search Results for "WINNT" in [All]user32
// For Winnt set me as an approved shellex
ElseIf o.dwPlatformId = VER_PLATFORM_WIN32_NT Then '=== WinNT
ElseIf o.dwPlatformId = VER_PLATFORM_WIN32_NT Then '=== WinNT
ElseIf o.dwPlatformId = VER_PLATFORM_WIN32_NT Then '=== WinNT
ElseIf o.dwPlatformId = VER_PLATFORM_WIN32_NT Then '=== WinNT
//#if(_WIN32_WINNT >= 0x0500)
//#endif /* _WIN32_WINNT >= 0x0500 */
//#if(_WIN32_WINNT >= 0x0500)
//#endif /* _WIN32_WINNT >= 0x0500 */
//#if(_WIN32_WINNT >= 0x0500)
//#endif /* _WIN32_WINNT >= 0x0500 */ StructuresComments are from WinNT.h Comments are from WinNT.h Comments are from WinNT.h 11: TOKEN_PRIVILEGES WINNT (for ANYSIZE_ARRAY) Constants
// winnt.h, Windows SDK v6.1 13: ShellAPI
// #if (_WIN32_WINNT >= 0x0501)
// #endif // (_WIN32_WINNT >= 0x501) 14: ShellAPI
// #if (_WIN32_WINNT >= 0x0501)
// #endif // (_WIN32_WINNT >= 0x501) Some of the constants were contained within conditional compilation blocks; see the commented out sections. I removed conditional compilation blocks for assumptions that like WINNT and WINVER >= 0x0400 and WIN32WINNT >= 0x0500. See ShellAPI.h for the complete source. 15: STATUS_ Defined in WINNT.H 16: Window styles
//#if(_WIN32_WINNT >= 0x0500)
//#endif /* _WIN32_WINNT >= 0x0500 */
//#if(_WIN32_WINNT >= 0x0500)
//#endif /* _WIN32_WINNT >= 0x0500 */ //#if(WIN32WINNT >= 0x0500) //#endif /* WIN32WINNT >= 0x0500 */ //#if(WIN32WINNT >= 0x0500) //#endif /* WIN32WINNT >= 0x0500 */
'#If (WIN32WINNT >= 500) Then
'#If (WIN32WINNT >= 500) Then 17: WINNT
Enums18: ACE_TYPE More information can be found on the MSDN. The values for the enumeration come from the WinNT header file. 19: SystemMetric
'/*#if (WINVER >= 0x0500) || (_WIN32_WINNT >= 0x0400)*/
'/*#if(_WIN32_WINNT >= 0x0500)*/
'/*#endif /* _WIN32_WINNT >= 0x0500 */
'/*#if(_WIN32_WINNT >= 0x0501)*/
'/*#endif /* _WIN32_WINNT >= 0x0501 */
'/*#if(_WIN32_WINNT >= 0x0501)*/
'/*#endif /* _WIN32_WINNT >= 0x0501 */
'/*#if (WINVER < 0x0500) && (!defined(_WIN32_WINNT) || (_WIN32_WINNT < 0x0400))*/
'/*#if(_WIN32_WINNT >= 0x0501)*/
'/*#endif /* _WIN32_WINNT >= 0x0501 */
WinNtAuthoritySid = 7,
WinNTLMAuthenticationSid = 51, setupapipulRegDataType, Optional, can be NULL. A pointer to a location that receives the registry data type, specified as a REG_-prefixed constant defined in Winnt.h. comdlg3222: GetOpenFileName
'#if (_WIN32_WINNT >= 0x0500)
'#endif // (_WIN32_WINNT >= 0x0500) 23: GetSaveFileName
'#if (_WIN32_WINNT >= 0x0500)
'#endif // (_WIN32_WINNT >= 0x0500) opengl32shell3225: CSIDL
/// "C:\Windows" on one system and "C:\Winnt" on another. These constants are defined in Shlobj.h and Shfolder.h. advapi32
' a WinNT version of the ConvertSidToStringSid function
' a WinNT version of the ConvertSidToStringSid function 28: LogonUser
WinNT40 = 2
WinNT50 = 3 29: LogonUserEx
WinNT40 = 2
WinNT50 = 3 30: LOGON_PROVIDER
LOGON32_PROVIDER_WINNT35,
LOGON32_PROVIDER_WINNT40,
LOGON32_PROVIDER_WINNT50
LOGON32_PROVIDER_WINNT35 = 1
LOGON32_PROVIDER_WINNT40 = 2
LOGON32_PROVIDER_WINNT50 = 3 31: OpenThreadToken
private const int TOKEN_READ = 0x00020008; //From VC\PlatformSDK\Include\Winnt.h psapiFrom MSDN: The GetProcessImageFileName function returns the path in device form, rather than drive letters. For example, the file name C:\Winnt\System32\Ctype.nls would look as follows in device form: \Device\Harddisk0\Partition1\WINNT\System32\Ctype.nls netapi32
string localDirEntryString = "WinNT://" + computerName + ",computer";
string domainDirEntryString = String.Format("WinNT://{0}", domainName); 34: NetUserEnum
DirectoryEntry directoryEntry = new DirectoryEntry("WinNT://" + Environment.MachineName); kernel32To compile an application that uses this function, define WIN32WINNT as 0x0400 or later. Constants to pass for dwNotifyFilter. Found in winnt.h by searching for the ones used in the msdn example. |