Pinvoke
  • Bienvenida
  • desktopfunctions
    • advapi32
      • CREATE_PROCESS_FLAGS
      • ControlService
      • ConvertSecurityDescriptorToStringSecurityDescriptor
      • ConvertSidToStringSid
      • ConvertStringSidToSid
      • CopySid
      • CreateProcessAsUser
      • CreateProcessAsUserW
      • CreateProcessWithLogonW
      • CreateService
      • CreateWellKnownSid
      • CredRead
      • CredWrite
      • CryptGetDefaultProvider
      • DefaultPassword
      • DeleteService
      • DuplicateTokenEx
      • EncryptFile
      • BM_CLICK
      • ImpersonateLoggedOnUser
      • ImpersonateNamedPipeClient
      • InitiateSystemShutdown
      • InitiateSystemShutdownEx
      • IsTextUnicode
      • LOGON_TYPE
      • LSARetrievePrivateData
      • LogonUser
      • LookupAccountName
      • LookupAccountSid
      • LookupPrivilegeValue
      • LsaClose
      • LsaEnumerateAccountsWithUserRight
      • LsaLookupSids
      • LsaOpenPolicy
      • LsaStorePrivateData
      • PROV_ENUMALGS_EX
      • PrivilegeNames
      • QueryServiceConfig
      • QueryServiceConfig2
      • QueryServiceStatus
      • ReadEventLog
      • RegConnectRegistry
      • RegEnumKeyEx
      • RegOpenKey
      • RegUnLoadKey
      • RegistryChangeMonitor
      • ReportEvent
      • RevertToSelf
      • SIDs
      • SetNamedSecurityInfo
      • TreeSetNamedSecurityInfo
      • CERT_VERIFY_REV_CHAIN_FLAG
      • C# Signature:
      • COLOR_
      • changeserviceconfig
      • DAT_ASS
      • regopenkeyex
    • avifil32
      • EMR_
      • HomePage
      • IOCTL_USB_GET_NODE_CONNECTION_INFORMATION
    • cards
      • CardsWrapper
      • IOCTL_USB_GET_NODE_CONNECTION_INFORMATION_EX
      • IOCTL_USB_GET_NODE_CONNECTION_NAME
      • IOCTL_USB_GET_NODE_INFORMATION
    • cfgmgr32
      • CM_Enumerate_Classes
      • UInteger
      • WM
      • HomePage
    • comctl32
      • CreatePropertySheetPage
      • ImageList_AddIcon
      • TaskDialog
      • _ContentBaseDefinition
    • comdlg32
      • CopyProgressResult
      • GetSaveFileName
      • CredUIReturnCodes
      • CryptProtectFlags
    • credui
      • CredPackAuthenticationBuffer
      • CredUIConfirmCredentials
      • CredUIParseUserName
      • CredUIPromptForCredentials
      • CredUIPromptForCredentialsW
      • CredUnPackAuthenticationBuffer
      • DISP_CHANGE
      • HRESULT
      • HomePage
    • crypt32
      • C# Signature:
      • CryptProtectData
      • CryptQueryObject
      • CryptUnprotectData
      • HookType
      • PFXImportCertStore
      • PROPID
    • dbghelp
      • MiniDumpWriteDump
    • dhcpsapi
      • DHCP_SEARCH_INFO
      • DhcpAddSubnetElementV5
      • DhcpDeleteClientInfo
      • DhcpEnumSubnetClients
      • DhcpEnumSubnetElementsV5
      • DhcpEnumSubnets
      • DhcpRemoveSubnetElementV5
      • RasError
      • RegType
    • dmcl40
      • C# Signature:
      • ResourceType
    • dnsapi
      • DNSQueryEx
      • DnsQuery
      • TCP_TABLE_CLASS
    • dtl
      • ThemeSize
    • dwmapi
      • DwmDefWindowProc
      • DwmEnableComposition
      • DwmGetColorizationColor
      • DwmGetColorizationParameters
      • DwmGetWindowAttribute
      • DwmIsCompositionEnabled
      • DwmSetColorizationParameters
      • DwmpSetColorization
      • _ContentBaseDefinition
      • VistaBridgeDemoApp
    • faultrep
      • tagREADYSTATE
    • gdi32
      • HomePage
      • C# Signature:
      • AlphaBlend
      • ArcTo
      • BitBlt
      • Chord
      • CombineRgn
      • CreateBitmap
      • C# Signature:
      • CreateCompatibleBitmap
      • IAuthenticate
      • CreateDC
      • CreateDIBSection
      • CreateEllipticRgn
      • C# Signature:
      • CreateFontIndirect
      • C# Signature:
      • C# Signature:
      • CreatePolygonRgn
      • CreateRectRgn
      • C# Signature:
      • CreateRoundRectRgn
      • CreateSolidBrush
      • C# Signature:
      • DeleteDC
      • DeleteObject
      • DeviceContext
      • EnumFontFamilies
      • EnumFontFamiliesEx
      • ExtEscape
      • ExtTextOut
      • FillRgn
      • FloodFill
      • GdipLoadImage
      • C# Signature:
      • GetCharABCWidthsFloat
      • Sample Code:
      • GetCharacterPlacement
      • GetCurrentObject
      • C# Signature:
      • GetDC
      • C# Signature:
      • C# Signature:
      • GetDeviceCaps
      • GetDeviceGammaRamp
      • GetFontData
      • GetFontUnicodeRanges
      • C# Signature:
      • GetOutlineTextMetrics
      • C# Signature:
      • GetRegionData
      • C# Signature:
      • C# Signature:
      • C# Signature:
      • GetTextExtentPoint
      • GetTextExtentPoint32
      • C# Signature:
      • GetTextMetrics
      • C# Signature:
      • C# Signature:
      • C# Signature:
      • GradientFill
      • HBitmap
      • IAutoComplete2
      • C# Signature:
      • LineTo
      • MapModes
      • MaskBlt
      • MoveToEx
      • OffsetRgn
      • C# Signature:
      • C# Signature:
      • C# Signature:
      • C# Signature:
      • C# Signature:
      • C# Signature:
      • C# Signature:
      • C# Signature:
      • C# Signature:
      • Polygon
      • C# Signature:
      • C# Signature:
      • PostScript
      • C# Signature:
      • RoundRect
      • IEnumIDList
      • C# Signature:
      • C# Signature:
      • SetDeviceGammaRamp
      • SetMapMode
      • SetPixel
      • SetStretchBltMode
      • C# Signature:
      • C# Signature:
      • C# Signature:
      • StretchBlt
      • C# Signature:
      • TextOut
      • WmfPlaceableFileHeader
      • C# Definition
      • IEnumSTATSTG
      • IOleClientSite
      • IOleObject
      • createfont
      • IOleWindow
      • getglyphoutline
      • getpixel
      • gluErrorString
      • IPersistFile
    • gdiplus
      • GdipBitmapSetPixel
      • GdipBitmapSetResolution
      • GdipBitmapUnlockBits
      • GdipCloneBitmapArea
      • GdipCreateBitmapFromFile
      • GdipCreateBitmapFromFileICM
      • GdipCreateBitmapFromGdiDib
      • GdipCreateBitmapFromGraphics
      • GdipCreateBitmapFromHBITMAP
      • GdipCreateBitmapFromHICON
      • GdiplusStartup
      • IServiceProvider
      • IShellIconOverlayIdentifier
      • IShellIten
    • getuname
      • GetUName
      • IShellView
    • glu32
      • IShellView3
      • IStream
      • _ContentBaseDefinition
    • glut32
      • ayy
    • gsapi
      • BROWSEINFO
      • gsapi_delete_instance
    • hhctrl
      • HtmlHelp
      • CAPTUREPARMS
      • CMINVOKECOMMANDINFOEX
    • hid
      • HidD_FlushQueue
      • HidD_FreePreparsedData
      • HidD_GetAttributes
      • HidD_GetFeature
      • HidD_GetIndexedString
      • HidD_GetInputReport
      • HidD_GetManufacturerString
      • HidD_GetNumInputBuffers
      • HidD_GetPhysicalDescriptor
      • HidD_GetPreparsedData
      • HidD_SetNumInputBuffers
    • hlink
      • CREDUI_INFO
      • CRYPTPROTECT_PROMPTSTRUCT
    • httpapi
      • HttpSetServiceConfiguration
      • DATA_BLOB
    • icmp
      • IcmpCloseHandle
      • IcmpCreateFile
      • IcmpSendEcho
      • EXIT_THREAD_DEBUG_INFO
      • GLOBAL_POWER_POLICY
    • imm32
      • GLOBAL_USER_POWER_POLICY
      • ImmGetConversionList
      • HomePage
      • IMAGE_SECTION_HEADER
    • iphlpapi
      • EnableRouter
      • GetAdaptersAddresses
      • GetAdaptersInfo
      • GetBestInterface
      • GetExtendedTcpTable
      • GetInterfaceInfo
      • GetIpAddrTable
      • GetIpNetTable
      • GetNetworkParams
      • MAX_HOSTNAME_LEN
      • INPUT_RECORD
      • PfBindInterfaceToIPAddress
      • PfCreateInterface
      • SendARP
      • UnenableRouter
      • KBDLLHOOKSTRUCT
    • iprop
      • MIXERLINECONTROLS
      • MixerCaps
      • MixerLineComponentType
    • irprops
      • BluetoothEnableDiscovery
      • BluetoothFindFirstDevice
      • BluetoothFindFirstRadio
      • BluetoothFindNextDevice
      • BluetoothFindRadioClose
      • BluetoothGetRadioInfo
      • BluetoothIsConnectable
      • BluetoothIsDiscoverable
      • PRINTER_DEFAULTS
      • PROCESS_INFORMATION
    • kernel32
      • RAS_STATS
      • APIGetVersionEx
      • AttachConsole
      • Beep
      • COORD
      • CTL_CODE
      • CheckRemoteDebuggerPresent
      • CloseHandle
      • CompareFileTime
      • ConnectNamedPipe
      • CopyFileEx
      • CreateDirectoryEx
      • CreateEvent
      • CreateFile
      • CreateFileMapping
      • CreateMemoryResourceNotification
      • CreateNamedPipe
      • CreatePipe
      • CreateProcessW
      • CreateRemoteThread
      • CreateSymbolicLink
      • CreateThread
      • CreateToolhelp32Snapshot
      • RECT
      • DebugActiveProcess
      • DebugActiveProcessStop
      • DefineDosDevice
      • DeleteCriticalSection
      • DeleteFile
      • DeviceIoControl
      • DriveLetter
      • DuplicateHandle
      • EnterCriticalSection
      • EnumResourceNames
      • EnumResourceTypes
      • FileStream
      • FileTimeToLocalFileTime
      • FileTimeToSystemTime
      • FindClose
      • C# Signature:
      • FindFirstChangeNotification
      • FindFirstFile
      • FindFirstFileEx
      • FindNextChangeNotification
      • FindNextFile
      • SHARE_INFO_503
      • FlsAlloc
      • C# Signature:
      • C# Signature:
      • FormatMessage
      • FormatMessageA
      • FreeLibrary
      • GetApplicationUserModelId
      • GetCPInfo
      • GetCPInfoEx
      • SHChangeNotifyEntry
      • GetCommModemStatus
      • GetConsoleFontSize
      • GetConsoleHistoryInfo
      • GetConsoleScreenBufferInfo
      • GetConsoleScreenBufferInfoEx
      • GetConsoleSelectionInfo
      • GetConsoleWindow
      • GetCurrencyFormat
      • GetCurrentConsoleFont
      • GetCurrentConsoleFontEx
      • GetCurrentProcess
      • GetCurrentProcessId
      • GetDriveType
      • GetExitCodeThread
      • GetFileInformationByHandle
      • GetFileInformationByHandleEx
      • GetFileSizeEx
      • GetFileTime
      • GetLastError
      • GetLocalTime
      • GetLogicalDriveStrings
      • GetModuleHandle
      • C# Signature:
      • GetNativeSystemInfo
      • GetOverlappedResult
      • GetPrivateProfileSection
      • GetPrivateProfileString
      • GetProcAddress
      • GetProcessId
      • GetProcessIdOfThread
      • GetProcessIoCounters
      • GetProcessTimes
      • GetSystemPowerStatus
      • GetSystemTime
      • C# Signature:
      • GetSystemTimes
      • GetTempFileName
      • GetTempPath
      • SOCKET_ADDRESS
      • GetThreadSelectorEntry
      • GetThreadTimes
      • GetTimeFormat
      • GetTimeZoneInformation
      • GetUserPreferredUILanguages
      • GetVersionEx
      • GetVolumeInformation
      • GetWindowsDirectory
      • GlobalAlloc
      • GlobalDeleteAtom
      • GlobalFree
      • GlobalLock
      • GlobalMemoryStatusEx
      • C# Signature:
      • SP_DEVICE_INTERFACE_DETAIL_DATA
      • IO_COUNTERS
      • InitializeCriticalSection
      • InitializeProcThreadAttributeList
      • IsProcessInJob
      • JOBOBJECT_BASIC_LIMIT_INFORMATION
      • LCMapStringEx
      • LeaveCriticalSection
      • ScsiPassThroughWithBuffers
      • LocalAlloc
      • C# Signature:
      • C# Signature:
      • C# Signature:
      • C# Signature:
      • C# Signature:
      • C# Signature:
      • MoveFile
      • MoveFileEx
      • MoveFileWithProgress
      • MoveMemory
      • MultiByteToWideChar
      • NetBIOS
      • OpenFile
      • OpenFileMapping
      • WIN32_FILE_ATTRIBUTE_DATA
      • OpenThread
      • Process32First
      • Process32Next
      • ProcessMemoryChunk
      • QueryDosDevice
      • QueryPerformanceCounter
      • QueryPerformanceFrequency
      • QueueUserAPC
      • ReadConsoleInput
      • ReadDirectoryChangesW
      • ReadFile
      • C# Signature:
      • ReadProcessMemory
      • WLAN_CONNECTION_PARAMETERS
      • C# Signature:
      • ResumeThread
      • SafeFileHandle
      • SearchPath
      • SetCommBreak
      • SetConsoleFont
      • SetConsoleMode
      • SetConsoleScreenBufferInfoEx
      • SetConsoleWindowInfo
      • C# Signature:
      • SetDllDirectory
      • SetFileInformationByHandle
      • SetFilePointer
      • SetFilePointerEx
      • SetFileTime
      • SetHandleInformation
      • SetLastError
      • SetLocalTime
      • SetNamedPipeHandleState
      • SetProcessWorkingSetSize
      • SetSystemTime
      • C# Signature:
      • SetThreadExecutionState
      • SetTimeZoneInformation
      • SetWaitableTimer
      • C# Signature:
      • coredll.CreateFile
      • coredll.CreateProcess
      • SuspendThread
      • SystemTimeToFileTime
      • TEST
      • UnmapViewOfFile
      • UpdateProcThreadAttribute
      • coredll.DeviceIoControl
      • C# Signature:
      • VirtualAlloc
      • VirtualAllocEx
      • javascript
      • VirtualProtectEx
      • VirtualQuery
      • kernel32.CreateFile
      • WOW64
      • kernel32.CreateProcess
      • C# Signature:
      • C# Signature:
      • C# Signature:
      • WaitForSingleObject
      • WinExec
      • Wow64DisableWow64FsRedirection
      • C# Signature:
      • WriteConsoleInput
      • C# Signature:
      • kernel32.DeviceIoControl
      • WriteFileEx
      • WriteFileGather
      • WritePrivateProfileSection
      • WritePrivateProfileString
      • sockaddr_in6_old
      • as
      • HomePage
      • Tyde
      • createmutex
      • getcomputername
      • getprivateprofilesectionnames
      • heapwalk
      • WriteProcessMemory
      • iswow64process
      • _ContentBaseDefinition
      • lstrcpy
      • lstrcpyn
      • delete
      • HomePage
      • _ContentBaseDefinition
      • javascript
    • mapi32
      • HomePage
      • MAPIAddress
      • MAPIDeleteMail
      • MAPIDetails
      • MAPIFindNext
      • MAPIFreeBuffer
      • MAPILogoff
      • MAPILogon
      • MAPIReadMail
      • MAPIResolveName
      • MAPISaveMail
      • MAPISendDocuments
      • MAPISendMail
      • _ContentBaseDefinition
      • javascript
    • mpr
      • DllImport
      • _ContentBaseDefinition
      • WNetAddConnection2
      • WNetAddConnection3
      • WNetEnumResource
      • WNetGetConnection
      • cfgmgr32
      • javascript
    • mqrt
      • MQGetQueueSecurity
      • MQSetQueueSecurity
    • mscorsn
      • _ContentBaseDefinition
      • GetOpenFileName
    • msdrm
      • HomePage
      • javascript
      • HomePage
    • msi
      • _ContentBaseDefinition
      • MsiGetFileSignatureInformation
      • MsiGetProductInfo
      • MsiQueryProductState
      • javascript
      • HomePage
    • msports
      • SerialDisplayAdvancedSettings
    • msvcrt
      • javascript
      • C# Signature:
      • _stat
      • memcmp
      • memcpy
      • memmove
      • sprintf
    • netapi32
      • DsAddressToSiteNames
      • DsGetDcName
      • DsGetDcNext
      • DsGetDcOpen
      • _ContentBaseDefinition
      • LsaQueryInformationPolicy
      • NetApiBufferFree
      • NetGetDCName
      • NetGetJoinInformation
      • NetJoinDomain
      • NetLocalGroupAddMembers
      • NetLocalGroupEnum
      • NetLocalGroupGetMembers
      • NetRemoteTOD
      • NetRenameMachineInDomain
      • NetSessionEnum
      • C# Signature:
      • NetShareEnum
      • NetShareSetInfo
      • NetUserAdd
      • NetUserGetInfo
      • NetUserGetLocalGroups
      • NetWkstaGetInfo
      • javascript
      • javascript
      • netservergetinfo
      • netsharegetinfo
      • netuseadd
    • ntdll
      • InitializeObjectAttributes
      • NtCreateFile
      • NtCreateSection
      • NtGetContextThread
      • NtMapViewOfSection
      • NtOpenDirectoryObject
      • C# Signature:
      • NtQueryInformationFile
      • NtQueryInformationProcess
      • NtQueryObject
      • NtQuerySymbolicLinkObject
      • NtQuerySystemInformation
      • NtQuerySystemTime
      • NtQueryVirtualMemory
      • NtRaiseHandError
      • NtResumeProcess
      • Boo Signature:
      • Boo Signature:
      • NtSuspendProcess
      • NtTerminateProcess
      • Boo Signature:
      • PROCESSINFOCLASS
      • RtlAdjustPrivilege
      • RtlCreateProcessParametersEx
      • RtlGetVersion
      • RtlInitializeSid
      • RtlMoveMemory
      • SYSTEM_INFORMATION_CLASS
      • _ContentBaseDefinition
    • ntdsapi
      • DsCrackNames
      • DsGetDomainControllerInfo
      • _ContentBaseDefinition
      • HomePage
      • javascript
    • odbc32
      • AddFontMemResourceEx
      • SQLAllocEnv
      • SQLAllocHandle
      • SQLBindCol
      • SQLDataSources
      • SQLFreeHandle
      • SQLSetEnvAttr
      • CreateCompatibleDC
      • HomePage
    • odbccp32
      • SQLConfigDataSource
      • SQLGetPrivateProfileString
      • SQLInstallerError
      • SQLSetConfigMode
      • SetBitmapBits
    • ole32
      • CLIPFORMAT
      • CoCreateGuid
      • CoCreateInstance
      • CoCreateInstanceEx
      • C# Signature:
      • CoGetClassObject
      • C# Signature:
      • CoInitializeEx
      • _ContentBaseDefinition
      • C# Signature:
      • C# Signature:
      • component-specs
      • C# Signature:
      • CreateILockBytesOnHGlobal
      • coredll
      • FmtIdToPropStgName
      • C# Signature:
      • GetHGlobalFromILockBytes
      • gdi32
      • C# Signature:
      • C# Signature:
      • C# Signature:
      • C# Signature:
      • C# Signature:
      • C# Signature:
      • C# Signature:
      • C# Signature:
      • C# Signature:
      • C# Signature:
      • C# Signature:
      • C# Signature:
      • C# Signature:
      • C# Signature:
      • C# Signature:
      • OleSave
      • OleSaveToStream
      • C# Signature:
      • C# Signature:
      • STGM
      • C# Signature:
      • C# Signature:
      • C# Signature:
      • C# Signature:
      • C# Signature:
      • C# Signature:
      • C# Signature:
      • StgOpenStorage
      • javascript
      • C# Signature:
      • C# Signature:
      • HomePage
      • Win2K
      • C# Signature:
      • C# Signature:
      • _ContentBaseDefinition
      • coregistermessagefilter
      • javascript
      • _ContentBaseDefinition
      • oledraw
    • oleacc
      • AccessibleChildren
      • AccessibleObjectFromPoint
      • AccessibleObjectFromWindow
      • HomePage
      • IAccessible
      • ObjectFromLresult
      • SystemAccessibleObject
      • WindowFromAccessibleObject
      • _ContentBaseDefinition
      • javascript
    • oleaut32
      • GetActiveObject
      • javascript
      • SysFreeString
      • UnRegisterTypeLib
      • HomePage
      • _ContentBaseDefinition
    • opengl32
      • WinXP
      • javascript
      • _ContentBaseDefinition
      • wglUseFontOutlines
    • powrprof
      • GetCurrentPowerPolicies
      • javascript
      • PowerReadACDefaultIndex
      • PowerReadACValueIndex
      • PowerReadDCDefaultIndex
      • PowerReadDCValue
      • PowerReadDCValueIndex
      • PowerReadDescription
      • PowerReadPossibleDescription
      • PowerReadPossibleFriendlyName
      • PowerReadPossibleValue
      • PowerReadSettingAttributes
      • PowerReadValueIncrement
      • PowerReadValueMax
      • PowerReadValueMin
      • PowerReadValueUnitsSpecifier
      • SetSuspendState
      • _ContentBaseDefinition
      • _ContentBaseDefinition
    • printui
      • javascript
    • propsys
      • HomePage
    • psapi
      • EnumProcesses
      • GetPerformanceInfo
      • GetProcessImageFileName
      • _ContentBaseDefinition
      • javascript
    • pstorec
      • NetworkInformation
      • javascript
    • query
      • LoadIFilter
    • quickusb
      • HomePage
      • _ContentBaseDefinition
    • rasapi32
      • javascript
      • RasDial
      • RasEnumConnections
      • RasEnumDevices
      • RasEnumEntries
      • RasGetConnectionStatistics
      • RasGetEntryDialParams
      • RasHangUp
      • _ContentBaseDefinition
    • rpcrt4
      • javascript
      • 0
      • DLLs
      • UuidCreate
      • UuidCreateSequential
      • FindWindow
      • GetClipboardData
    • secur32
      • GetThreadContext
      • InitializeSecurityContext
      • LsaCallAuthenticationPackage
      • LsaEnumerateLogonSessions
      • LsaLogonUser
      • HomePage
      • LoadLibrary
    • setupapi
      • CM_Get_Device_ID
      • CM_Get_Device_IDA
      • CM_Get_Parent
      • DeviceHandle
      • SetupCopyOEMInf
      • SetupDiCallClassInstaller
      • SetupDiClassGuidsFromName
      • SetupDiClassNameFromGuid
      • SetupDiDestroyDeviceInfoList
      • SetupDiEnumDeviceInfo
      • SetupDiEnumDeviceInterfaces
      • SetupDiGetClassDevs
      • SetupDiGetDeviceInstallParams
      • SetupDiGetDeviceInstanceId
      • SetupDiGetDeviceInterfaceDetail
      • SetupDiGetDeviceRegistryProperty
      • SetupDiOpenClassRegKeyEx
      • SetupDiSetClassInstallParams
      • SetupFindFirstLine
      • SetupFindNextMatchLine
      • SetupUninstallOEMInf
      • OpenProcess
      • ReadProcessMemory
      • StopWatch
      • StringBuilder
    • shell32
      • API
      • APPBARDATA
      • CSIDL
      • VB6
      • CommandLineToArgvW
      • DLLGETVERSIONINFO
      • VirtualProtect
      • VirtualQueryEx
      • ExtractAssociatedIcon
      • ExtractIcon
      • ExtractIconEx
      • FileSystemWatcher
      • HChangeNotifyEventID
      • HChangeNotifyFlags
      • WR5SmA
      • ITaskbarList
      • ITaskbarList2
      • ITaskbarList3
      • C# Signature:
      • User-Defined Types:
      • PickIconDlg
      • SHAddToRecentDocs
      • SHAppBarMessage
      • SHBindToParent
      • SHBrowseForFolder
      • SHCNRF
      • SHChangeNotify
      • SHChangeNotifyRegister
      • SHCreateDirectoryEx
      • SHCreateItemFromIDList
      • SHCreateItemFromParsingName
      • SHCreateItemWithParent
      • WriteFile
      • SHEmptyRecycleBin
      • SHFileOperation
      • SHFormatDrive
      • C# Signature:
      • SHGetDesktopFolder
      • SHGetFileInfo
      • SHGetFolderPath
      • SHGetImageList
      • SHGetKnownFolderPath
      • SHGetNameFromIDList
      • SHGetRealIDL
      • SHGetSpecialFolderLocation
      • SHGetStockIconInfo
      • C# Signature:
      • SHParseDisplayName
      • SHQueryRecycleBin
      • SHSetKnownFolderPath
      • SHSetUnreadMailCount
      • ShellExecute
      • ShellExecuteEx
      • Shell_NotifyIcon
      • THUMBBUTTON
      • WriteProcessMemory
      • begerw4224sda3r
      • coredll
      • kernel32
    • shlwapi
      • AssocQueryString
      • obfuscate-pinvoke-150x300
      • IsOS
      • PathCanonicalize
      • PathCombine
      • PathCompactPath
      • PathCompactPathEx
      • SHAutoComplete
      • SHMessageBoxCheck
      • UrlCreateFromPath
      • swd
      • user32
    • twain_32
      • yArra
    • unicows
      • HomePage
    • urlmon
      • CoInternetSetFeatureEnabled
      • CopyMemory
      • FindMimeFromData
      • Structures
      • URLDownloadToFile
      • UrlMkGetSessionOption
      • javascript
      • HomePage
      • javascript
    • user32
      • 123
      • ActivateKeyboardLayout
      • AdjustWindowRect
      • AlphaWindow
      • AnimateWindow
      • AppendMenu
      • AttachThreadInput
      • BeginDeferWindowPos
      • BeginPaint
      • obfuscate-pinvoke-150x300
      • BringWindowToTop
      • C# Signature:
      • C# Signature:
      • _ContentBaseDefinition
      • ChangeDisplaySettings
      • ChangeDisplaySettingsEx
      • ChangeDisplaySettingsFlags
      • ClientRectangle
      • ClientToScreen
      • ClipCursor
      • CloseHandle
      • C# Signature:
      • CopyIcon
      • C# Signature:
      • CreateCaret
      • CreateDesktop
      • CreateIcon
      • CreateIconFromResourceEx
      • CreateIconIndirect
      • CreatePopupMenu
      • C# Signature:
      • javascript
      • Curseur
      • DefWindowProc
      • DeferWindowPos
      • DestroyWindow
      • DrawAnimatedRects
      • HomePage
      • C# Signature:
      • C# Signature:
      • EmptyClipboard
      • EnumChildWindows
      • _ContentBaseDefinition
      • EnumDesktops
      • EnumDisplayDevices
      • EnumDisplayMonitors
      • EnumDisplaySettings
      • EnumDisplaySettingsEx
      • EnumProc
      • EnumReport
      • javascript
      • ExitWindowsEx
      • FillRect
      • FindWindowA
      • FindWindowEx
      • Flags
      • FlashTest
      • FlashWindow
      • FlashWindowEx
      • GetActiveWindow
      • GetAltTabInfo
      • GetAsyncKeyState
      • GetClassInfo
      • GetClassInfoEx
      • GetClassName
      • GetClientRect
      • GetComboBoxInfo
      • GetCurrentThread
      • GetCursor
      • GetCursorPos
      • GetDC
      • GetDesktopWindow
      • GetForegroundwindow
      • GetKeyState
      • GetKeyboardLayoutList
      • GetLastInputInfo
      • GetMenu
      • GetMenuItemInfo
      • GetMenuString
      • GetMessage
      • GetMessageExtraInfo
      • HomePage
      • GetMonitorInfo
      • GetMouseMovePointsEx
      • _ContentBaseDefinition
      • GetRawInputData
      • GetRawInputDeviceInfo
      • GetRawInputDeviceList
      • GetScrollBarInfo
      • GetScrollPos
      • GetSystemMenu
      • GetSystemMetrics
      • GetWindow
      • javascript
      • GetWindowDC
      • GetWindowInfo
      • GetWindowLong
      • GetWindowLongPtr
      • GetWindowModuleFileName
      • GetWindowPlacement
      • GetWindowPos
      • GetWindowRgn
      • GetWindowTex
      • _ContentBaseDefinition
      • GetWindowThreadProcessId
      • HandleRef
      • HomePage
      • HelloWin
      • HideCaret
      • _ContentBaseDefinition
      • IntPtr
      • InvalidateRect
      • IsCharAlpha
      • IsCharLower
      • IsIconic
      • IsWindowEnabled
      • KeyboardKey
      • KeyboardProc
      • LoadCursor
      • LoadCursorFromFile
      • LoadIcon
      • LoadImage
      • LockWorkStation
      • C# Definition:
      • MapVirtualKeyEx
      • MessageBeep
      • MessageBox
      • C# Signature:
      • C# Signature:
      • MessageBoxTimeout
      • C# Definition:
      • MoveWindow
      • NativeMethods
      • OpenIcon
      • a&gt
      • OpenWindowStation
      • PeekMessage
      • PostMessage
      • C# Signature:
      • PresentationFramework
      • PrintWindow
      • PropSheet
      • ReadProcessMemory
      • RealGetWindowClass
      • RegisterClass
      • C# Signature:
      • RegisterDeviceNotification
      • RegisterHotKey
      • javascript
      • RegisterPowerSettingNotification
      • RegisterRawInputDevices
      • RegisterTouchWindow
      • ReleaseDC
      • RemoveClipboardFormatListener
      • HomePage
      • SB_GETTEXT
      • SendDlgItemMessage
      • SendInput
      • SendMessage
      • C# Signature:
      • SendMessageTimeout
      • SetActivewindow
      • C# Signature:
      • SetCursor
      • SetCursorPos
      • SetFocus
      • SetForegroundWindow
      • SetKeyboardState
      • _ContentBaseDefinition
      • SetProcessDPIAware
      • C# Signature:
      • SetWinEventHook
      • SetWindowDisplayAffinity
      • SetWindowLong
      • SetWindowLongPtr
      • SetWindowPlacement
      • SetWindowPos
      • SetWindowRgn
      • SetWindowsHookEx
      • ShellProc
      • ShowWindow
      • ShowWindowAsync
      • ShowWithoutActivation
      • SwapMouseButton
      • SwitchToThisWindow
      • SystemIcons
      • javascript
      • TCITEM
      • C# Signature:
      • TileWindows
      • TrackMouseEvent
      • TrackPopupMenuEx
      • TranslateMessage
      • HomePage
      • UIntPtr
      • UIntrPtr
      • UnhookWindowsHookEx
      • UnregisterClass
      • UpdateLayeredWindow
      • VkKeyScan
      • VkKeyScanEx
      • WaitForInputIdle
      • _ContentBaseDefinition
      • WindowFromPoint
      • WindowsAPI
      • WindowsApplication1
      • javascript
      • javascript
      • cards
      • CoLoadLibrary
      • Constants
      • Enums
      • HomePage
      • StgOpenStorageEx
      • enumwindows
      • Structures
      • findwindow
      • getkeyboardstate
      • getwindowrect
      • _ContentBaseDefinition
      • mouse_event
      • javascript
      • ole32
      • HomePage
      • saa
      • sdfasdfasdfa
      • setlayeredwindowattributes
      • _ContentBaseDefinition
      • javascript
      • HomePage
      • _ContentBaseDefinition
      • javascript
      • _ContentBaseDefinition
      • wow
      • C# Signature:
    • userenv
      • CreateEnvironmentBlock
      • CreateProfile
      • GetAppliedGPOList
      • GetProfilesDirectory
      • GetUserProfileDirectory
      • LoadUserProfile
      • C# Signature:
      • javascript
      • HomePage
    • uxtheme
      • CloseThemeData
      • DrawThemeText
      • GetThemeAppProperties
      • GetThemeFilename
      • GetThemeInt
      • GetThemePosition
      • GetThemePropertyOrigin
      • GetThemeSysBool
      • GetUserColorPreference
      • GetWindowTheme
      • HitTestThemeBackground
      • _ContentBaseDefinition
      • OpenThemeData
      • OpenThemeFile
      • SetSystemVisualStyle
      • SetUserColorPreference
      • javascript
      • _ContentBaseDefinition
    • wer
      • _ContentBaseDefinition
    • winfax
      • FaxEnableRoutingMethod
      • FaxSetJob
      • _ContentBaseDefinition
      • javascript
    • winhttp
      • WINHTTP_CURRENT_USER_IE_PROXY_CONFIG
      • WinHttpCloseHandle
      • WinHttpGetProxyForUrl
      • _ContentBaseDefinition
    • wininet
      • FtpCreateDirectory
      • FtpFindFirstFile
      • FtpGetFile
      • javascript
      • VB Signature:
      • INTERNET_FLAG_RELOAD
      • InternetCloseHandle
      • InternetConnect
      • InternetFindNextFile
      • C# Signature:
      • _ContentBaseDefinition
      • internetsetoption
      • javascript
    • winmm
      • HomePage
      • LD83
      • MIDIHDR
      • MMRESULT
      • MixerGetDevCaps
      • MixerGetID
      • MixerGetLineControls
      • C# Signature:
      • MixerSetControlDetails
      • _ContentBaseDefinition
      • WIMMessages
      • Constants
      • HomePage
      • mciSendString
      • midiInGetDevCaps
      • C# Signature:
      • midiOutGetDevCaps
      • midiOutLongMsg
      • midiOutOpen
      • midiStreamClose
      • midiStreamOut
      • mixerGetControlDetails
      • mixerGetLineInfo
      • mixerOpen
      • timeSetEvent
      • waveInReset
      • waveInUnprepareHeader
      • waveOutGetDevCaps
      • VB Signature:
      • waveOutOpen
      • waveOutPrepareHeader
    • winscard
      • Structures
      • SCardConnect
      • SCardDisconnect
      • SCardEstablishContext
      • SCardGetAttrib
      • SCardListReaders
      • SCardReleaseContext
      • WinSCard
      • _ContentBaseDefinition
      • javascript
      • scardtransmit
    • winspool
      • C# Signature:
      • DeleteMonitor
      • DocumentProperties
      • EnumJobs
      • EnumPorts
      • EnumPrintProcessorDatatypes
      • EnumPrinters
      • GetDefaultPrinter
      • C# Signature:
      • C# Signature:
      • C# Signature:
      • GetPrinterDriverDir
      • HomePage
      • ResetPrinter
      • SetDefaultPrinter
      • SetJob
      • StartDocPrinter
      • _ContentBaseDefinition
      • javascript
    • wintrust
      • IsCatalogFile
      • WinVerifyTrust
      • _ContentBaseDefinition
    • winusb
      • C# Signature:
      • WinUsb_QueryDeviceInformation
    • wlanapi
      • EapHostPeerInvokeConfigUI
      • coredll
      • WlanConnect
      • WlanDeleteProfile
      • WlanGetProfileList
      • WlanScan
      • WlanSetProfileList
      • javascript
    • ws2_32
      • INTERFACE_INFO
      • InetNtop
      • User-Defined Types:
      • WSAAddressToString
      • WSAGetLastError
      • WSAPROTOCOL_INFO
      • WSASocket
      • WSAStringToAddress
      • bind
      • connect
      • inet_pton
      • kernel32
      • recv
      • send
    • wtsapi32
      • CharSet
      • WTSEnumerateProcesses
      • WTSOpenServer
      • WTSSendMessage
      • WTS_PROCESS_INFO
      • ERazMA
      • ExtendedFileInfo
    • xolehlp
      • HomePage
  • directory
    • constants
      • SHCreateProcessAsUserW
      • CB_
      • _ContentBaseDefinition
      • coredll
      • javascript
      • user32
      • ERROR_ACCESS_DENIED
      • GUID_DEVINTERFACE
      • GUID_DEVINTERFACE_DISK
      • GUID_DEVINTERFACE_HUBCONTROLLER
      • GUIDs
      • HWND
      • VB Constants:
      • HomePage
      • IDC_
      • VB Constants:
      • VB Constants:
      • VB Constants:
      • VB Constants:
      • VB Constants:
      • VB Constants:
      • VB Constants:
      • IMAGE_
      • INVALID_HANDLE_VALUE
      • IOCTL_GET_HCD_DRIVERKEY_NAME
      • IOCTL_STORAGE_GET_DEVICE_NUMBER
      • IOCTL_USB_GET_DESCRIPTOR_FROM_NODE_CONNECTION
      • IOCTL_USB_GET_NODE_CONNECTION_DRIVERKEY_NAME
      • _ContentBaseDefinition
      • javascript
      • HomePage
      • _ContentBaseDefinition
      • IOCTL_USB_GET_ROOT_HUB_NAME
      • LR_
      • MAPI
      • MAX_PATH
      • OPEN_EXISTING
      • PROPERTYKEY
      • RB
      • SECURITY_MANDATORY
      • C# Constants:
      • SW
      • ShellAPI
      • UInt32
      • HomePage
      • USB_NODE_CONNECTION_INFORMATION
      • Important Note about .NET and Win32 error-code reading:
      • VB6
      • Win32ErrorCodes
      • WinNT
    • delegates
      • BrowseCallbackProc
      • C# Definition:
      • EnumWindowsProc
      • _ContentBaseDefinition
      • HookProc
      • LowLevelKeyboardProc
      • LowLevelMouseProc
      • MsgBoxCallback
      • WndProc
      • javascript
    • enums
      • ACCESS_MASK
      • ACEs
      • ADDRESS_FAMILIES
      • AutoCompleteFlags
      • BrowseInfoFlags
      • CHUNKSTATE
      • CHUNK_BREAKTYPE
      • CLSCTX
      • C# Definition:
      • CREDUI_FLAGS
      • ClassStyles
      • C# Definition:
      • C# Definition:
      • Boshit
      • CREATE_GAY
      • CreateWindowStation
      • CryptProtectPromptFlags
      • DIB_Color_Mode
      • DrawCaption
      • C# Definition:
      • C# Definition:
      • C# Definition:
      • C# Definition:
      • DOCHOSTUITYPE
      • DWMWINDOWATTRIBUTE
      • DisplayDeviceStateFlags
      • DwmGetWindowAttribute
      • DwmSetWindowAttribute
      • FILEOP_FLAGS
      • FILE_INFO_BY_HANDLE_CLASS
      • FINDEX_INFO_LEVELS
      • FINDEX_SEARCH_OPS
      • FileFuncFlags
      • FileMapAccessType
      • GetClipboardDataFlags
      • GetObjectOptions
      • EnumDesktopWindows
      • EnumYoMama
      • GetModuleHandleW
      • IFILTER_FLAGS
      • IFILTER_INIT
      • IFilterReturnCodes
      • InternetGetConnectedStateFlags
      • Job_Control
      • KeyFlags
      • C# Definition:
      • LoadLibraryFlags
      • LocalMemoryFlags
      • MEDIA_TYPE
      • MIB_TCP_STATE
      • MessageBoxOptions
      • MessageBoxResult
      • MoveFileFlags
      • NET_API_STATUS
      • C# Definition:
      • OLECMDEXECOPT
      • OLECMDF
      • OLECMDID
      • OpenFile
      • OpenSaveFileDialgueFlags
      • PARTITION_TYPE
      • POWER_ACTION
      • C# Definition:
      • GetNextWindow
      • PageProtection
      • PrinterEnumFlags
      • ProcessAccess
      • GetWindowContextHelpId
      • GetWindowText
      • ResourceDisplaytype
      • ResourceScope
      • Hello
      • SC_ACTION_TYPE
      • SERVICE_ACCESS
      • SERVICE_TYPES
      • SFGAOF
      • SHCNE
      • SHCNF
      • SHGSI
      • SHSTOCKICONID
      • SIIGBF
      • SLR_FLAGS
      • SPI
      • SPIF
      • STARTF
      • STGM
      • SYMBOLIC_LINK_FLAG
      • SendMessageTimeoutFlags
      • SetWindowPosFlags
      • ShareType
      • ShowWindowCommand
      • ShowWindowCommands
      • SizingWindowSide
      • SnapshotFlags
      • StgmConstants
      • SystemMetric
      • HomePage
      • TOKEN_ELEVATION_TYPE
      • TOKEN_INFORMATION_CLASS
      • TOKEN_TYPE
      • TernaryRasterOperations
      • ThemeAppProperties
      • OpenProcess
      • USB_CONNECTION_STATUS
      • USB_DEVICE_SPEED
      • VARENUM
      • VK
      • VirtualKeys
      • WTSINFO
      • WaveHdrFlags
      • WinUser
      • WindowHitTestRegions
      • WindowLongFlags
      • WindowStyles
      • WindowStylesEx
      • WindowsMessages
      • RegisterHotKeyaspx
      • RsDsz
    • interfaces
      • ActiveX
      • DWebBrowserEvents2
      • SetParent
      • IAccessibleObject
      • IActiveDesktop
      • IAdviseSink
      • SystemParametersInfo
      • TransparencyKey
      • IBindStatusCallback
      • IBinding
      • ICatInformation
      • ICatRegister
      • IClassFactory
      • IClassFactory2
      • IContextMenu
      • IContextMenu2
      • IContextMenu3
      • C# Definition:
      • ICustomDoc
      • C# Definition:
      • IDeskBand
      • IDeskBand2
      • IDocHostShowUI
      • IDocHostUIHandler
      • IDocHostUIHandler2
      • IEnumCATEGORYINFO
      • C# Definition:
      • IEnumGUID
      • WinHelp
      • IEnumSTATPROPSTG
      • Yegor
      • IEnumUnknown
      • IEnumWIA_DEV_INFO
      • IExtractIcon
      • IExtractImage
      • IFilter
      • IGlobalInterfaceTable
      • C# Signature:
      • IInternetBindInfo
      • IInternetProtocol
      • IInternetProtocolRoot
      • IInternetProtocolSink
      • IInternetSecurityManager
      • IInternetZoneManager
      • ILockBytes
      • IMalloc
      • IObjectSafety
      • IObjectWithSite
      • _ContentBaseDefinition
      • IOleCommandTarget
      • IOleDocumentSite
      • cbcb
      • code
      • IPersist
      • coredll
      • IPersistStream
      • IPropertyBag
      • IPropertyNotifySink
      • C# Definition:
      • IPropertyStore
      • IProvideClassInfo
      • IQueryInfo
      • IRichEditOle
      • death
      • IShellBrowser
      • IShellExtInit
      • IShellFolder
      • dll
      • IShellItem
      • IShellItemArray
      • IShellItemImageFactory
      • eqPM4
      • IShellLinkA
      • IShellLinkW
      • kernel32
      • mypage
      • IStorage
      • obfuscate-pinvoke-150x300
      • IThumbnailProvider
      • ITravelLogEntry
      • ITravelLogStg
      • ITrayDeskband
      • IUnknown
      • IViewObject
      • IWebBrowser
      • IWebBrowser2
      • IWiaItem
      • IWiaPropertyStorage
      • JavaScript
      • Joe
      • SHDocVw
      • C# Definition:
      • WebBrowser
      • patrick
      • sounds
      • pageIShellLinkA_doc
    • structures
      • ACL_REVISION_INFORMATION
      • ACL_SIZE_INFORMATION
      • ADAPTER_STATUS
      • ANIMATIONINFO
      • AVISTREAMINFO
      • AudioLineStatus
      • C# Definition:
      • BITMAPFILEHEADER
      • BITMAPINFO
      • BITMAPINFOHEADER
      • BLENDFUNCTION
      • sucuni
      • BY_HANDLE_FILE_INFORMATION
      • Bluetooth_Find_Radio_Params.
      • Bluetooth_Find_Radio_Params
      • tree
      • CATEGORYINFO
      • CAUUID
      • CEOSVERSIONINFO
      • CERT_CONTEXT
      • CHANGEFILTERSTRUCT
      • CHARFORMAT2
      • CHARRANGE
      • CIDA
      • CMINVOKECOMMANDINFO
      • use32
      • COLORREF
      • COMDLG_FILTERSPEC
      • COMMPROP
      • CONDITION_VARIABLE
      • CREATESTRUCT
      • C# Definition:
      • C# Definition:
      • user32
      • why
      • CreateProcessWithTokenW
      • _ContentBaseDefinition
      • C# Definition:
      • DESKBANDINFO
      • DEVMODE
      • DFS_INFO_4
      • DHCP_CLIENT_INFO_ARRAY
      • DISK_GEOMETRY
      • DISPLAY_DEVICE
      • DOMAIN_CONTROLLER_INFO
      • DSROLE_PRIMARY_DOMAIN_INFO_BASIC
      • DS_DOMAIN_CONTROLLER_INFO_2
      • DWM_BLURBEHIND
      • C# Definition:
      • C# Definition:
      • javascript
      • FILEDESCRIPTOR
      • FILETIME
      • FILE_ID_BOTH_DIR_INFO
      • FILTERREGION
      • FORMATETC
      • FULLPROPSPEC
      • GLOBAL_MACHINE_POWER_POLICY
      • HomePage
      • _ContentBaseDefinition
      • GUID
      • GuidClass
      • HARDWAREINPUT
      • HitTestValues
      • javascript
      • ICMP_ECHO_REPLY
      • ICONINFO
      • IMAGEINFO
      • IMAGELISTDRAWPARAMS
      • IMAGE_DATA_DIRECTORY
      • IMAGE_DOS_HEADER
      • IMAGE_EXPORT_DIRECTORY
      • IMAGE_FILE_HEADER
      • IMAGE_NT_HEADERS
      • IMAGE_OPTIONAL_HEADER32
      • IMAGE_OPTIONAL_HEADER64
      • _ContentBaseDefinition
      • INPUT
      • _ContentBaseDefinition
      • INSTALLERINFO
      • INTLIST
      • IP_ADAPTER_INFO
      • IP_OPTION_INFORMATION
      • ITEMIDLIST
      • javascript
      • KERNINGPAIR
      • KEYBDINPUT
      • LANA_ENUM
      • LASTINPUTINFO
      • C# Definition:
      • LOGFONT
      • LUID
      • LUID_AND_ATTRIBUTES
      • LayoutKind
      • MAPI
      • MARGINS
      • MEMORY_BASIC_INFORMATION
      • MENUITEMINFO
      • MIB_TCP6ROW_OWNER_PID
      • MIB_TCP6TABLE_OWNER_PID
      • MIB_TCPROW_OWNER_PID
      • MIB_TCPTABLE_OWNER_PID
      • MIIM
      • MIXERLINE
      • javascript
      • MIXERLINETARGET
      • MOUSEINPUT
      • MOUSE_EVENT_RECORD
      • MSG
      • MSGBOXPARAMS
      • MSLLHOOKSTRUCT
      • C# Definition:
      • HomePage
      • _ContentBaseDefinition
      • NAME_BUFFER
      • NCB
      • C# Definition:
      • OBJECTDESCRIPTOR
      • OPENFILENAME
      • OSVERSIONINFO
      • OSVERSIONINFOEX
      • C# Definition:
      • PAINTSTRUCT
      • PARTITION_INFORMATION
      • PIXELFORMATDESCRIPTOR
      • POINT
      • javascript
      • PRINTER_INFO_2
      • PROCESS_BASIC_INFORMATION
      • PROCESS_EXTENDED_BASIC_INFORMATION
      • HomePage
      • RASDIALEXTENSIONS
      • RASDIALPARAMS
      • RASENTRY
      • RASENTRYNAME
      • PlaySound
      • _ContentBaseDefinition
      • REOBJECT
      • REPARSE_DATA_BUFFER
      • C# Definition:
      • SECURITY_ATTRIBUTES
      • SECURITY_DESCRIPTOR
      • SHARE_INFO_502
      • javascript
      • HomePage
      • SHFILEOPSTRUCT
      • SHSTOCKICONINFO
      • SID
      • SIZE
      • _ContentBaseDefinition
      • SOLE_AUTHENTICATION_SERVICE
      • SP_DEVICE_INTERFACE_DATA
      • javascript
      • SP_DEVINFO_DATA
      • STARTUPINFOEX
      • STATPROPSETSTG
      • STAT_CHUNK
      • C# Definitions:
      • STORAGE_DEVICE_NUMBER
      • STRRET
      • SYSTEMTIME
      • SYSTEM_INFO
      • ScsiPassThrough
      • HomePage
      • SetServiceStatus
      • SetupApi
      • SetupDiEnumDeviceInterfaces
      • SockAddr
      • StartupInfo
      • TBBUTTON
      • TCP_TABLE_CLASS
      • TEXTMETRIC
      • TOKEN_PRIVILEGES
      • TableClass
      • TrackMouseEvent
      • C# Definition:
      • USB_DESCRIPTOR_REQUEST
      • USB_DEVICE_DESCRIPTOR
      • USB_HCD_DRIVERKEY_NAME
      • USB_HUB_DESCRIPTOR
      • USB_HUB_INFORMATION
      • USB_NODE_CONNECTION_DRIVERKEY_NAME
      • USB_NODE_CONNECTION_INFORMATION_EX
      • USB_NODE_CONNECTION_NAME
      • USB_NODE_INFORMATION
      • USB_ROOT_HUB_NAME
      • USB_STRING_DESCRIPTOR
      • VirtualQuery
      • WAVEFORMATEX
      • WAVEHDR
      • _ContentBaseDefinition
      • WIN32_FIND_DATA
      • WINDOWINFO
      • WINDOWPLACEMENT
      • kernel32
      • WLAN_INTERFACE_INFO
      • WLAN_PROFILE_INFO_LIST
      • WNDCLASS
      • WNDCLASSEX
      • addrinfo
      • _ContentBaseDefinition
      • HomePage
      • _ContentBaseDefinition
      • in6_addr
      • javascript
      • HomePage
      • _ContentBaseDefinition
      • javascript
      • sockaddr_gen
      • sockaddr_in
      • sockaddr_in6
      • javascript
Con tecnología de GitBook
En esta página
  • C# Signature:
  • VB Signature:
  • User-Defined Types:
  • Sample Code:
  • Sample Code:
  • Sample Code:
  • Sample Code:
  • Sample Code:
  • Sample Code:
  • Sample Code:
  1. desktopfunctions
  2. advapi32

LsaLookupSids

C# Signature:

[DllImport("advapi32.dll", SetLastError=true)] 
  private static extern Int32 LsaLookupSids( 
    IntPtr PolicyHandle, 
    int Count,
    IntPtr ptrEnumBuf, 
    out IntPtr ptrDomainList, 
    ref IntPtr ptrNameList);

VB Signature:

Declare Auto Function LsaLookupSids Lib "advapi32.dll" (PolicyHandle As IntPtr, Count As Integer, ByRef Sids As IntPtr, ByRef ReferencedDomains As IntPtr, ByRef Names As IntPtr) As Integer

User-Defined Types:

<StructLayout(LayoutKind.Sequential)>
    Structure LSA_REFERENCED_DOMAIN_LIST
    Public Entries As ULong
    Public Domains As LSA_TRUST_INFORMATION
    End Structure

    <StructLayout(LayoutKind.Sequential)>
    Structure LSA_TRUST_INFORMATION
    Public Name As LSA_UNICODE_STRING
    Public Sid As IntPtr
    End Structure

    <StructLayout(LayoutKind.Sequential, CharSet:=CharSet.Unicode)>
    Structure LSA_UNICODE_STRING
    Public Length, MaximumLength As UShort
    <MarshalAs(UnmanagedType.LPWStr)> Public Buffer As String
    End Structure

    <StructLayout(LayoutKind.Sequential)>
    Structure LSA_TRANSLATED_NAME
    Public Use As SID_NAME_USE,
        Name As LSA_UNICODE_STRING,
        DomainIndex As Long
    End Structure

    Enum SID_NAME_USE
    SidTypeUser = 1
    SidTypeGroup
    SidTypeDomain
    SidTypeAlia
    SidTypeWellKnownGroup
    SidTypeDeletedAccount
    SidTypeInvalid
    SidTypeUnknown
    SidTypeComputer
    SidTypeLabel
    End Enum

Sample Code:

using System;
using System.Collections.Generic;
using System.Text;

namespace LsaSecurity
{
    /*
     * LsaWrapper class credit: Willy Denoyette [MVP]
     * 
     * http://www.hightechtalks.com/csharp/lsa-functions-276626.html
     * 
     * Added support for:
     * 
     *      LsaLookupSids
     * 
     * for the purposes of providing a working example.
     * 
     * 
     * 
     */


    using System.Runtime.InteropServices;
    using System.Security;
    using System.Management;
    using System.Runtime.CompilerServices;
    using System.ComponentModel;

    using LSA_HANDLE = IntPtr;

    public class Program
    {
    public static void Main()
    {
        using (LsaWrapper lsaSec = new LsaWrapper())
        {
        string[] accounts = lsaSec.GetUsersWithPrivilege("SeNetworkLogonRight");

        }

    }
    }

Sample Code:

[StructLayout(LayoutKind.Sequential)]
    struct LSA_OBJECT_ATTRIBUTES
    {
    internal int Length;
    internal IntPtr RootDirectory;
    internal IntPtr ObjectName;
    internal int Attributes;
    internal IntPtr SecurityDescriptor;
    internal IntPtr SecurityQualityOfService;
    }
    [StructLayout(LayoutKind.Sequential, CharSet = CharSet.Unicode)]
    struct LSA_UNICODE_STRING
    {
    internal ushort Length;
    internal ushort MaximumLength;
    [MarshalAs(UnmanagedType.LPWStr)]
    internal string Buffer;
    }

    sealed class Win32Sec
    {
    [DllImport("advapi32", CharSet = CharSet.Unicode, SetLastError = true),
    SuppressUnmanagedCodeSecurityAttribute]
    internal static extern uint LsaOpenPolicy(
    LSA_UNICODE_STRING[] SystemName,
    ref LSA_OBJECT_ATTRIBUTES ObjectAttributes,
    int AccessMask,
    out IntPtr PolicyHandle
    );

    [DllImport("advapi32", CharSet = CharSet.Unicode, SetLastError = true),
    SuppressUnmanagedCodeSecurityAttribute]
    internal static extern uint LsaAddAccountRights(
    LSA_HANDLE PolicyHandle,
    IntPtr pSID,
    LSA_UNICODE_STRING[] UserRights,
    int CountOfRights
    );

    [DllImport("advapi32", CharSet = CharSet.Unicode, SetLastError = true),
        SuppressUnmanagedCodeSecurityAttribute]
    internal static extern uint LsaRemoveAccountRights(
    LSA_HANDLE PolicyHandle,
    IntPtr pSID,
    bool allRights,
    LSA_UNICODE_STRING[] UserRights,
    int CountOfRights
    );

    [DllImport("advapi32", CharSet = CharSet.Unicode, SetLastError = true),
        SuppressUnmanagedCodeSecurityAttribute]
    internal static extern uint LsaEnumerateAccountsWithUserRight(
        LSA_HANDLE PolicyHandle,
        LSA_UNICODE_STRING[] UserRights,
        out IntPtr EnumerationBuffer,
        out int CountReturned
    );

    [DllImport("advapi32", CharSet = CharSet.Unicode, SetLastError = true),
    SuppressUnmanagedCodeSecurityAttribute]
    internal static extern uint LsaLookupSids(
        LSA_HANDLE PolicyHandle,
        int count,
        IntPtr buffer,
        out LSA_HANDLE domainList,
        out LSA_HANDLE nameList
    );

Sample Code:

[DllImport("advapi32", CharSet = CharSet.Unicode, SetLastError = true),
    SuppressUnmanagedCodeSecurityAttribute]
    internal static extern int LsaLookupNames2(
    LSA_HANDLE PolicyHandle,
    uint Flags,
    uint Count,
    LSA_UNICODE_STRING[] Names,
    ref IntPtr ReferencedDomains,
    ref IntPtr Sids
    );

Sample Code:

[DllImport("advapi32")]
    internal static extern int LsaNtStatusToWinError(int NTSTATUS);

    [DllImport("advapi32")]
    internal static extern int LsaClose(IntPtr PolicyHandle);

    [DllImport("advapi32")]
    internal static extern int LsaFreeMemory(IntPtr Buffer);

    }

    public sealed class LsaWrapper : IDisposable
    {
    private bool _writeToConsole = false;

    [StructLayout(LayoutKind.Sequential)]
    struct LSA_TRUST_INFORMATION
    {
        internal LSA_UNICODE_STRING Name;
        internal IntPtr Sid;
    }
    [StructLayout(LayoutKind.Sequential)]
    struct LSA_TRANSLATED_SID2
    {
        internal SidNameUse Use;
        internal IntPtr Sid;
        internal int DomainIndex;
        uint Flags;
    }

    //[StructLayout(LayoutKind.Sequential)]
    //struct LSA_REFERENCED_DOMAIN_LIST
    //{
    //    internal uint Entries;
    //    internal LSA_TRUST_INFORMATION Domains;
    //}
    // Commented by KaushalendraATgmail.com

    [StructLayout(LayoutKind.Sequential)]
    internal struct LSA_REFERENCED_DOMAIN_LIST
    {
        internal uint Entries;
        internal IntPtr Domains;
    }

    [StructLayout(LayoutKind.Sequential)]
    struct LSA_ENUMERATION_INFORMATION
    {
        internal LSA_HANDLE PSid;
    }

    [StructLayout(LayoutKind.Sequential)]
    struct LSA_SID
    {
        internal uint Sid;
    }

    [StructLayout(LayoutKind.Sequential)]
    struct LSA_TRANSLATED_NAME
    {
        internal SidNameUse Use;
        internal LSA_UNICODE_STRING Name;
        internal int DomainIndex;
    }

    enum SidNameUse : int
    {
        User = 1,
        Group = 2,
        Domain = 3,
        Alias = 4,
        KnownGroup = 5,
        DeletedAccount = 6,
        Invalid = 7,
        Unknown = 8,
        Computer = 9
    }

    enum Access : int
    {
        POLICY_READ = 0x20006,
        POLICY_ALL_ACCESS = 0x00F0FFF,
        POLICY_EXECUTE = 0X20801,
        POLICY_WRITE = 0X207F8
    }
    const uint STATUS_ACCESS_DENIED = 0xc0000022;
    const uint STATUS_INSUFFICIENT_RESOURCES = 0xc000009a;
    const uint STATUS_NO_MEMORY = 0xc0000017;

    IntPtr lsaHandle;

    public LsaWrapper()
        : this(null)
    { }
    // // local system if systemName is null
    public LsaWrapper(string systemName)
    {
        LSA_OBJECT_ATTRIBUTES lsaAttr;
        lsaAttr.RootDirectory = IntPtr.Zero;
        lsaAttr.ObjectName = IntPtr.Zero;
        lsaAttr.Attributes = 0;
        lsaAttr.SecurityDescriptor = IntPtr.Zero;
        lsaAttr.SecurityQualityOfService = IntPtr.Zero;
        lsaAttr.Length = Marshal.SizeOf(typeof(LSA_OBJECT_ATTRIBUTES));
        lsaHandle = IntPtr.Zero;
        LSA_UNICODE_STRING[] system = null;
        if (systemName != null)
        {
        system = new LSA_UNICODE_STRING[1];
        system[0] = InitLsaString(systemName);
        }

        uint ret = Win32Sec.LsaOpenPolicy(system, ref lsaAttr, (int)Access.POLICY_ALL_ACCESS, out lsaHandle);
        if (ret == 0)
        return;
        if (ret == STATUS_ACCESS_DENIED)
        {
        throw new UnauthorizedAccessException();
        }
        if ((ret == STATUS_INSUFFICIENT_RESOURCES) || (ret == STATUS_NO_MEMORY))
        {
        throw new OutOfMemoryException();
        }
        throw new Win32Exception(Win32Sec.LsaNtStatusToWinError((int)ret));
    }

    public string[] GetUsersWithPrivilege(string privilege)
    {
        LSA_UNICODE_STRING[] privileges = new LSA_UNICODE_STRING[1];
        privileges[0] = InitLsaString(privilege);

        IntPtr buffer;
        int count;
        uint ret =
        Win32Sec.LsaEnumerateAccountsWithUserRight(lsaHandle, privileges, out buffer, out count);

        if (ret != 0)
        {
        if (ret == STATUS_ACCESS_DENIED)
        {
            throw new UnauthorizedAccessException();
        }

        if (ret == STATUS_INSUFFICIENT_RESOURCES || ret == STATUS_NO_MEMORY)
        {
            throw new OutOfMemoryException();
        }

        throw new Win32Exception(Win32Sec.LsaNtStatusToWinError((int)ret));
        }

        LSA_ENUMERATION_INFORMATION[] lsaInfo = new LSA_ENUMERATION_INFORMATION[count];
        for (int i = 0, elemOffs = (int)buffer; i < count; i++)
        {
        lsaInfo[i] = (LSA_ENUMERATION_INFORMATION)Marshal.PtrToStructure((IntPtr)elemOffs, typeof(LSA_ENUMERATION_INFORMATION));
        elemOffs += Marshal.SizeOf(typeof(LSA_ENUMERATION_INFORMATION));
        }

        LSA_HANDLE domains;
        LSA_HANDLE names;
        ret = Win32Sec.LsaLookupSids(lsaHandle, lsaInfo.Length, buffer, out domains, out names);

        if (ret != 0)
        {
        if (ret == STATUS_ACCESS_DENIED)
        {
            throw new UnauthorizedAccessException();
        }

        if (ret == STATUS_INSUFFICIENT_RESOURCES || ret == STATUS_NO_MEMORY)
        {
            throw new OutOfMemoryException();
        }

        throw new Win32Exception(Win32Sec.LsaNtStatusToWinError((int)ret));
        }

        /*string[] retNames = new string[count];

        LSA_TRANSLATED_NAME[] lsaNames = new LSA_TRANSLATED_NAME[count];
        for (int i = 0, elemOffs = (int)names; i < count; i++)
        {
        lsaNames[i] = (LSA_TRANSLATED_NAME)Marshal.PtrToStructure((LSA_HANDLE)elemOffs, typeof(LSA_TRANSLATED_NAME));
        elemOffs += Marshal.SizeOf(typeof(LSA_TRANSLATED_NAME));

        LSA_UNICODE_STRING name = lsaNames[i].Name;
        retNames[i] = name.Buffer.Substring(0, name.Length / 2);
        }*/

        // Following code also fetches Domains and associates domains and usernames
        string[] retNames = new string[count];
        List<int> currentDomain = new List<int>();
        int domainCount = 0;

        LSA_TRANSLATED_NAME[] lsaNames = new LSA_TRANSLATED_NAME[count];
        for (int i = 0, elemOffs = (int)names; i < count; i++)
        {
        lsaNames[i] = (LSA_TRANSLATED_NAME)Marshal.PtrToStructure((LSA_HANDLE)elemOffs, typeof(LSA_TRANSLATED_NAME));
        elemOffs += Marshal.SizeOf(typeof(LSA_TRANSLATED_NAME));

        LSA_UNICODE_STRING name = lsaNames[i].Name;
        retNames[i] = name.Buffer.Substring(0, name.Length / 2);

        if (!currentDomain.Contains(lsaNames[i].DomainIndex))
        {
            domainCount = domainCount + 1;
            currentDomain.Add(lsaNames[i].DomainIndex);
        }
        //Error: not necessary to count domain names

        }

        string[] domainPtrNames = new string[count];

        LSA_REFERENCED_DOMAIN_LIST[] lsaDomainNames = new LSA_REFERENCED_DOMAIN_LIST[count];
        //Error: LSA_REFERENCED_DOMAIN_LIST is a structure, not an array

        for (int i = 0, elemOffs = (int)domains; i < count; i++)
        //Error: not necessary
        {
        lsaDomainNames[i] = (LSA_REFERENCED_DOMAIN_LIST)Marshal.PtrToStructure((LSA_HANDLE)elemOffs, typeof(LSA_REFERENCED_DOMAIN_LIST));
        elemOffs += Marshal.SizeOf(typeof(LSA_REFERENCED_DOMAIN_LIST));
        }

        LSA_TRUST_INFORMATION[] lsaDomainName = new LSA_TRUST_INFORMATION[count];
        string[] domainNames = new string[domainCount];

        for (int i = 0, elemOffs = (int)lsaDomainNames[i].Domains; i < domainCount; i++)
        {
        lsaDomainName[i] = (LSA_TRUST_INFORMATION)Marshal.PtrToStructure((LSA_HANDLE)elemOffs, typeof(LSA_TRUST_INFORMATION));
        elemOffs += Marshal.SizeOf(typeof(LSA_TRUST_INFORMATION));

Sample Code:

LSA_UNICODE_STRING tempDomain = lsaDomainName[i].Name;
        //if(tempDomain.Buffer != null)
        //{
            domainNames[i] = tempDomain.Buffer.Substring(0, tempDomain.Length / 2);
        //}
        }

        string[] domainUserName = new string[count];

        for (int i = 0; i < lsaNames.Length; i++)
        {
        domainUserName[i] = domainNames[lsaNames[i].DomainIndex] + "\\" + retNames[i];
        }

        Win32Sec.LsaFreeMemory(buffer);
        Win32Sec.LsaFreeMemory(domains);
        Win32Sec.LsaFreeMemory(names);

        //return retNames;
        return domainUserName

    }

    public void AddPrivileges(string account, string privilege)
    {
        IntPtr pSid = GetSIDInformation(account);
        LSA_UNICODE_STRING[] privileges = new LSA_UNICODE_STRING[1];
        privileges[0] = InitLsaString(privilege);
        uint ret = Win32Sec.LsaAddAccountRights(lsaHandle, pSid, privileges, 1);

        if (ret == 0)
        {
        if (this._writeToConsole)
        {
            Console.WriteLine("Added: {0} to {1} successfully.", account, privilege);
        }
        return;
        }

        if (ret == STATUS_ACCESS_DENIED)
        {
        throw new UnauthorizedAccessException();
        }
        if ((ret == STATUS_INSUFFICIENT_RESOURCES) || (ret == STATUS_NO_MEMORY))
        {
        throw new OutOfMemoryException();
        }
        throw new Win32Exception(Win32Sec.LsaNtStatusToWinError((int)ret));
    }

    public void RemovePrivileges(string account, string privilege)
    {
        IntPtr pSid = GetSIDInformation(account);
        LSA_UNICODE_STRING[] privileges = new LSA_UNICODE_STRING[1];
        privileges[0] = InitLsaString(privilege);
        uint ret = Win32Sec.LsaRemoveAccountRights(lsaHandle, pSid, false, privileges, 1);

        if (ret == 0)
        {
        if (this._writeToConsole)
        {
            Console.WriteLine("Removed: {0} from {1} successfully.", account, privilege);
        }
        return;
        }
        if (ret == STATUS_ACCESS_DENIED)
        {
        throw new UnauthorizedAccessException();
        }
        if ((ret == STATUS_INSUFFICIENT_RESOURCES) || (ret == STATUS_NO_MEMORY))
        {
        throw new OutOfMemoryException();
        }
        throw new Win32Exception(Win32Sec.LsaNtStatusToWinError((int)ret));
    }

Sample Code:

public void Dispose()
    {
        if (lsaHandle != IntPtr.Zero)
        {
        Win32Sec.LsaClose(lsaHandle);
        lsaHandle = IntPtr.Zero;
        }
        GC.SuppressFinalize(this);
    }
    ~LsaWrapper()
    {
        Dispose();
    }
    // helper functions

    IntPtr GetSIDInformation(string account)
    {
        LSA_UNICODE_STRING[] names = new LSA_UNICODE_STRING[1];
        LSA_TRANSLATED_SID2 lts;
        IntPtr tsids = IntPtr.Zero;
        IntPtr tdom = IntPtr.Zero;
        names[0] = InitLsaString(account);
        lts.Sid = IntPtr.Zero;
        int ret = Win32Sec.LsaLookupNames2(lsaHandle, 0, 1, names, ref tdom, ref tsids);
        if (ret != 0)
        throw new Win32Exception(Win32Sec.LsaNtStatusToWinError(ret));
        lts = (LSA_TRANSLATED_SID2)Marshal.PtrToStructure(tsids,
        typeof(LSA_TRANSLATED_SID2));
        Win32Sec.LsaFreeMemory(tsids);
        Win32Sec.LsaFreeMemory(tdom);
        return lts.Sid;
    }

    static LSA_UNICODE_STRING InitLsaString(string s)
    {
        // Unicode strings max. 32KB
        if (s.Length > 0x7ffe)
        throw new ArgumentException("String too long");
        LSA_UNICODE_STRING lus = new LSA_UNICODE_STRING();
        lus.Buffer = s;
        lus.Length = (ushort)(s.Length * sizeof(char));
        lus.MaximumLength = (ushort)(lus.Length + sizeof(char));

        // If unicode issues then do this instead of previous two line
        //lus.Length = (ushort)(s.Length * 2); // Unicode char is 2 bytes
        //lus.MaximumLength = (ushort)(lus.Length + 2)

Sample Code:

return lus;
    }

    public bool WriteToConsole
    {
        set { this._writeToConsole = value; }
    }
    }
}
AnteriorLsaEnumerateAccountsWithUserRightSiguienteLsaOpenPolicy

Última actualización hace 1 año