Desktop Functions: Smart Device Functions:
|
Search Results for "COMPONENT" in [All]userenv
throw new System.ComponentModel.Win32Exception(lastError, "CreateEnvironmentBlock Error " + lastError); odbccp32
ODBC_ERROR_COMPONENT_NOT_FOUND = 6, coredll
throw new System.ComponentModel.Win32Exception(); 4: PlaySound
using System.ComponentModel; 5: SendMessage
InitializeComponent();
InitializeComponent();
InitializeComponent()
'Add any initialization after the InitializeComponent() call
'Form overrides dispose to clean up the component list.
Private Sub InitializeComponent()
InitializeComponent();
//Add any initialization after the InitializeComponent() call
//Form overrides dispose to clean up the component list.
private void InitializeComponent() Interfaces
int GetDesktopItemOptions(ref COMPONENTSOPT pco, int dwReserved);
int SetDesktopItemOptions(ref COMPONENTSOPT pco, int dwReserved);
int AddDesktopItem(ref COMPONENT pcomp, int dwReserved);
int AddDesktopItemWithUI(IntPtr hwnd, ref COMPONENT pcomp, DtiAddUI dwFlags);
int ModifyDesktopItem(ref COMPONENT pcomp, ComponentModify dwFlags);
int RemoveDesktopItem(ref COMPONENT pcomp, int dwReserved);
int GetDesktopItem(int nComponent, ref COMPONENT pcomp, int dwReserved);
int GetDesktopItemByID(IntPtr dwID, ref COMPONENT pcomp, int dwReserved);
int GenerateDesktopItemHtml([MarshalAs(UnmanagedType.LPWStr)] string pwszFileName, ref COMPONENT pcomp, int dwReserved);
int AddUrl(IntPtr hwnd, [MarshalAs(UnmanagedType.LPWStr)] string pszSource, ref COMPONENT pcomp, AddURL dwFlags);
int GetDesktopItemBySource([MarshalAs(UnmanagedType.LPWStr)] string pwszSource, ref COMPONENT pcomp, int dwReserved);
Function GetDesktopItemOptions(ByRef pco As COMPONENTSOPT, ByVal dwReserved As Integer) As Integer
Function SetDesktopItemOptions(ByRef pco As COMPONENTSOPT, ByVal dwReserved As Integer) As Integer
Function AddDesktopItem(ByRef pcomp As COMPONENT, ByVal dwReserved As Integer) As Integer
Function AddDesktopItemWithUI(ByVal hwnd As IntPtr, ByRef pcomp As COMPONENT, ByVal dwFlags As DtiAddUI) As Integer
Function ModifyDesktopItem(ByRef pcomp As COMPONENT, ByVal dwFlags As ComponentModify) As Integer
Function RemoveDesktopItem(ByRef pcomp As COMPONENT, ByVal dwReserved As Integer) As Integer
Function GetDesktopItem(ByVal nComponent As Integer, ByRef pcomp As COMPONENT, ByVal dwReserved As Integer) As Integer
Function GetDesktopItemByID(ByVal dwID As IntPtr, ByRef pcomp As COMPONENT, ByVal dwReserved As Integer) As Integer
Function GenerateDesktopItemHtml(<MarshalAs(UnmanagedType.LPWStr)> ByVal pwszFileName As String, ByRef pcomp As COMPONENT, ByVal dwReserved As Integer) As Integer
Function AddUrl(ByVal hwnd As IntPtr, <MarshalAs(UnmanagedType.LPWStr)> ByVal pszSource As String, ByRef pcomp As COMPONENT, ByVal dwFlags As AddURL) As Integer
Function GetDesktopItemBySource(<MarshalAs(UnmanagedType.LPWStr)> ByVal pwszSource As String, ByRef pcomp As COMPONENT, ByVal dwReserved As Integer) As Integer
COMPONENTSOPT opts = new COMPONENTSOPT();
opts.dwSize = COMPONENTSOPT.SizeOf;
,BINDSTATUS_BEGINDOWNLOADCOMPONENTS
,BINDSTATUS_INSTALLINGCOMPONENTS
,BINDSTATUS_ENDDOWNLOADCOMPONENTS
using System.ComponentModel; 10: ICatInformation
/// Returns an enumerator for the component categories registered on the system.
/// <returns>can be used to enumerate the CATIDs and localized description strings of the component categories registered with the system.</returns> 11: ICatRegister
/// provides methods for registering and unregistering component category
/// given component or class.
/// Registers one or more component categories. Each component category
/// <param name="cCategories">The number of component categories to register.</param>
/// registered for the same component category.
/// Removes the registration of one or more component categories. Each component
/// Registers the class as implementing one or more component categories.
/// Registers the class as requiring one or more component categories. 12: IDeskBand Imports System.ComponentModel
InitializeComponent()
Private Sub InitializeComponent()
Imports System.ComponentModel
Private components As System.ComponentModel.Container = Nothing
InitializeComponent()
If components IsNot Nothing Then
components.Dispose() #Region "Component Designer generated code"
Private Sub InitializeComponent() 13: IDeskBand2 Imports System.ComponentModel
InitializeComponent()
Private Sub InitializeComponent() Imports System.ComponentModel
Private components As System.ComponentModel.Container = Nothing
InitializeComponent()
If components IsNot Nothing Then
components.Dispose() #Region "Component Designer generated code"
Private Sub InitializeComponent() Microsoft has provide a complete wrapper for this and other Windows 7 components in the Windows API Code Pack for Microsoft .NET: http://archive.msdn.microsoft.com/WindowsAPICodePack/Release/ProjectReleases.aspx?ReleaseId=4906 15: IFilter
oleacc17: IAccessible
iphlpapi18: GetBestInterface
where thisInterface.Supports(NetworkInterfaceComponent.IPv4)
where thisInterface.Supports(NetworkInterfaceComponent.IPv6) 19: GetIpAddrTable
throw new System.ComponentModel.Win32Exception( r ); 20: GetIpNetTable
using System.ComponentModel; gdi3221: CombineRgn InitializeComponent(); 22: CreateDC
InitializeComponent(); 23: GetPixel
// NB: BLUE and RED components will be swapped because GetPixel returns ABGR 24: GradientFill
25: StretchBlt
using System.ComponentModel;
private System.ComponentModel.Container components = null;
InitializeComponent();
if (components != null)
components.Dispose();
private void InitializeComponent() kernel32
throw new System.ComponentModel.Win32Exception(err); 27: CreateNamedPipe
using System.ComponentModel; 28: DeviceIoControl
dwErrorCode.ToString, New System.ComponentModel.Win32Exception(dwErrorCode)) By setting the SetLastError property to true, a System.ComponentModel.Win32Exception will generated if the function fails. 30: FindFirstVolume
throw new System.ComponentModel.Win32Exception(Marshal.GetLastWin32Error());
if (error != 0) throw new System.ComponentModel.Win32Exception(error); This functionality is also given by System.ComponentModel.Win32Exception: 33: FormatMessage This functionality is also given by System.ComponentModel.Win32Exception: 34: GetDiskFreeSpace
throw new System.ComponentModel.Win32Exception();
throw new System.ComponentModel.Win32Exception();
DWORD maxComponentLen = 0;
&maxComponentLen,
out uint maximumComponentLength,
ByRef MaximumComponentLength As UInt32, _
''' Returns volume name and serial number, maximum path component length, and filesystem name and flags
''' <param name="MaxComponentLength">Returns max. path component lenght.</param>
ByRef MaxComponentLength As UInt32, _
sernum, MaxComponentLength, FileSystemFlags, _
If RetVal = 0 Then Throw New System.ComponentModel.Win32Exception(Err.LastDllError) 37: LockResource
throw new System.ComponentModel.Win32Exception();
throw new System.ComponentModel.Win32Exception();
Throw New System.ComponentModel.Win32Exception
throw new System.ComponentModel.Win32Exception(); 39: RemoveDirectory
// Get the minimum remaining string length once all required path components are accounted for. 40: SetVolumeLabel
Imports System.ComponentModel 41: SuspendThread using System.ComponentModel; comctl3242: ImageList_DrawEx
using System.ComponentModel;
/// <exception cref="System.ComponentModel.Win32Exception">Unable to draw the image with defined parameters.</exception>
/// <exception cref="System.ComponentModel.Win32Exception">The image cannot be added as an overlay.</exception>
/// <exception cref="System.ComponentModel.Win32Exception">The image cannot be added as an overlay.</exception>
using System.ComponentModel;
/// <exception cref="System.ComponentModel.Win32Exception">Unable to draw the image with defined parameters.</exception>
/// <exception cref="System.ComponentModel.Win32Exception">The image cannot be added as an overlay.</exception>
/// <exception cref="System.ComponentModel.Win32Exception">The image cannot be added as an overlay.</exception> uxthemeThe System.Windows.Forms.VisualStyles namespace allows rendering of various Visual Style elements, which sometimes can be cumbersome if you have alot of elements to work with or just want to keep the code to a minimal (or are on the design team and not the code team). Or you can get the freeware .NET component to place VisualStyleElement parts in the IDE forms designer using the VisualStyleRenderer .NET control. You can dhcpsapi
using System.ComponentModel; wininet46: InternetCrackUrl public struct URL_COMPONENTS
// (out) Pointer to a URL_COMPONENTS structure that receives the URL components
ref URL_COMPONENTS lpUrlComponents);
Declare Function InternetCrackUrl Lib "wininet.dll" (ByVal lpszUrl As String, ByVal dwUrlLength As Integer, ByVal dwFlags As Integer, ByRef lpUrlComponents As URL_COMPONENTS) As <MarshalAs(UnmanagedType.Bool)> Boolean 47: URL_COMPONENTS
crypt32
using System.ComponentModel; shell3249: CSIDL
/// Version 5.0. A folder for components that are shared across applications. A typical path is C:\Program Files\Common.
InitializeComponent();
/// has been delivered to all affected components.
/// The function should begin delivering notifications to all affected components
' has been delivered to all affected components.
' The function should begin delivering notifications to all affected components 52: SHAppBarMessage
Imports System.ComponentModel
Private Overloads Sub OnClosing(ByVal sender As Object, ByVal e As System.ComponentModel.CancelEventArgs) 53: ShellExecuteEx
Dim ex As New System.ComponentModel.Win32Exception(System.Runtime.InteropServices.Marshal.GetLastWin32Error())
Dim ex As New System.ComponentModel.Win32Exception(System.Runtime.InteropServices.Marshal.GetLastWin32Error()) 54: SHGetFolderPath
// Version 5.0. A folder for components that are shared across dwmapiIf you're using DevExpress components::msi
public static extern UInt32 MsiGetComponentPath(string szProduct, string szComponent, [Out] StringBuilder lpPathBuf, ref UInt32 pcchBuf);
Declare Function MsiGetComponentPath Lib "msi.dll" (TODO) As TODO
i = MsiClass.MsiGetComponentPath(sbPc.ToString(), sbComp.ToString(), sbPth, ref chs);
[Out] StringBuilder szProductCode, [Out] StringBuilder szFeatureId, [Out] StringBuilder szComponentCode); shlwapi59: PathCompactPath
''' Truncates a path to fit within a certain number of characters by replacing path components with ellipses.
''' Truncates a path to fit within a certain number of characters by replacing path components with ellipses. Cut off search results after 60. Please refine your search. |