Desktop Functions: Smart Device Functions:
|
Search Results for "RECT" in [All]comctl321: DoReaderMode
Dim rect As New RECT(Me.Width / 2 - 20, Me.Height / 2 - 20, Me.Width / 2 + 20, Me.Height / 2 + 20)
Dim pnt As IntPtr = Marshal.AllocHGlobal(Marshal.SizeOf(rect))
Marshal.StructureToPtr(rect, pnt, True)
public static void Draw(this ImageList imageList, Graphics g, Rectangle bounds, int index, ImageListDrawColor bgColor, ImageListDrawColor fgColor, NativeMethods.ImageListDrawingStyle style = NativeMethods.ImageListDrawingStyle.Normal, int overlayImageIndex = 0)
public static void Draw(this ImageList imageList, Graphics g, Rectangle bounds, int index, ImageListDrawColor bgColor, ImageListDrawColor fgColor, NativeMethods.ImageListDrawingStyle style = NativeMethods.ImageListDrawingStyle.Normal, int overlayImageIndex = 0) 4: TaskDialog
static extern HRESULT TaskDialogIndirect
public static extern IntPtr TaskDialogIndirect TaskDialogIndirect(ref config, out ret, out selRadio, out setVerification);
Declare Function TaskDialogIndirect Lib "comctl32.dll" (TODO) As TODO
Private Shared Function TaskDialogIndirect(<[In]> pTaskConfig As TASKDIALOGCONFIG, <Out> ByRef pnButton As Integer, <Out> ByRef pnRadioButton As Integer, <MarshalAs(UnmanagedType.Bool), Out> ByRef pfverificationFlagChecked As Boolean) As HRESULT A full wrapper for Vista's TaskDialog & TaskDialogIndirect can be found here:
/// <summary>The TaskDialogIndirect function creates, displays, and operates a task dialog. The task dialog contains application-defined icons, messages, title, verification check box, command links, push buttons, and radio buttons. This function can register a callback function to receive notification messages.</summary>
internal static extern Result TaskDialogIndirect([In] TaskDialogConfig taskConfig, [Out] out int button, [Out] out int radioButton, [MarshalAs(UnmanagedType.Bool), Out] out bool verificationFlagChecked);
static extern HRESULT TaskDialogIndirect
public static extern IntPtr TaskDialogIndirect TaskDialogIndirect(ref config, out ret, out selRadio, out setVerification);
Declare Function TaskDialogIndirect Lib "comctl32.dll" (TODO) As TODO
Private Shared Function TaskDialogIndirect(<[In]> pTaskConfig As TASKDIALOGCONFIG, <Out> ByRef pnButton As Integer, <Out> ByRef pnRadioButton As Integer, <MarshalAs(UnmanagedType.Bool), Out> ByRef pfverificationFlagChecked As Boolean) As HRESULT A full wrapper for Vista's TaskDialog & TaskDialogIndirect can be found here:
/// <summary>The TaskDialogIndirect function creates, displays, and operates a task dialog. The task dialog contains application-defined icons, messages, title, verification check box, command links, push buttons, and radio buttons. This function can register a callback function to receive notification messages.</summary>
internal static extern Result TaskDialogIndirect([In] TaskDialogConfig taskConfig, [Out] out int button, [Out] out int radioButton, [MarshalAs(UnmanagedType.Bool), Out] out bool verificationFlagChecked); faultrep6: ReportFault Enables an application to "manually" report faults to Microsoft. Although you can use this function to report application crashes, Microsoft recommends that applications not handle fatal errors directly but instead rely on the crash reporting capability provided by the operating system. mscorsnThis function is exported from mscorsn.dll in v1.0 and v1.1 of the .NET framework, but it will be moved to mscorwks.dll in v2.0. There is a shim in mscoree.dll which will redirect to the appropriate implementation dll, which has the same name. This function is exported from mscorsn.dll in v1.0 and v1.1 of the .NET framework, but it will be moved to mscorwks.dll in v2.0. There is a shim in mscoree.dll which will redirect to the appropriate implementation dll, which has the same name. This function is exported from mscorsn.dll in v1.0 and v1.1 of the .NET framework, but it will be moved to mscorwks.dll in v2.0. There is a shim in mscoree.dll which will redirect to the appropriate implementation dll, which has the same name. This function is exported from mscorsn.dll in v1.0 and v1.1 of the .NET framework, but it will be moved to mscorwks.dll in v2.0. There is a shim in mscoree.dll which will redirect to the appropriate implementation dll, which has the same name. See the supporting function below for the code to the CheckToken() function - it verifies that an assembly contains the correct token data. ws2_3211: ADDRESS_FAMILIES
/// Direct data link interface [value = 13]. 12: bind
//Check to ensure the address translated correctly.
/// WFP's Connection Redirect Records
IP_WFP_REDIRECT_RECORDS = 60,
/// WFP's Connection Redirect Context
IP_WFP_REDIRECT_CONTEXT = 70,
/// WFP's Connection Redirect Records
IPV6_WFP_REDIRECT_RECORDS = 60,
/// WFP's Connection Redirect Context
IPV6_WFP_REDIRECT_CONTEXT = 70, 14: WSASocket
/// Direct data link interface [value = 13]. misc15: Comments Tried to use the directory but the plus only changes to minus The rapi.dll section needs to be corrected. Rapi is not for running on the .NET Compact Framework, but rather for desktop applications. It does not appear possible to edit this part of the page. Great idea, thanks for creating the site. However, it does have rendering problems on Mozilla (Firefox 0.8 on Win XP to be exact). The directory tree (advapi32, gdi32 etc.) is misplaced (overlaps the "Directory" label) and I can't get them to expand. One question: The APIs here appear to be machanically created from some other source - from things like "System.Windows.Forms.NativeMethods"? The functions are present, but not the structures and data types used in the params. Any plans to do a mechanical dump of the structures as well? The real magic of marshalling is getting the param types set up correctly, which for structures can be quite a pain. How about a directory for the Compact Framework/coredll? - Ian Darling Any ideas about M3JPEG32.dll ? I'm trying to call a function from my code, but I probably don't have the correct parameters. I'll attach it in email. Thanks, Mechi Also see http://custom.programming-in.net/. I tried a couple VB .Net PInvoke's from here that didn't work. I modified them in my code and tried to correct here, but then I stumbled across the other site, that had things that made MDA happy that this site didn't. It doesn't have everything either and I got an error when I tried to submit sample code (and correction) there. Anyway, you might check there if something here is missing/doesn't work.
As long as the setup itself isn't updated, the PInvoke.net front page should not link to the setup directly, but to a page which describes the work-around. - Peter de Bruin I'd love to see all the Platform SDK headers added as HTML pages that could then be searched. Much of the time spent making a function call work is looking for the correct value of a constant or #DEFINE in a header file somewhere. winhttpERROR_WINHTTP_INCORRECT_HANDLE_TYPE - The type of handle supplied is incorrect for this operation. Enums19: ADDRESS_FAMILIES
/// Direct data link interface [value = 13].
SHACF_FILESYS_DIRS = 0x00000020, // Same as SHACF_FILESYS_ONLY except it only includes directories, UNC servers, and UNC server shares.
SHACF_FILESYS_DIRS = &H20 ' Same as SHACF_FILESYS_ONLY except it only includes directories, UNC servers, and UNC server shares.
// If ACO_RTLREADING is set, the text reads in the opposite direction from the text in the parent window. 22: BrowseInfoFlags
/// Only return file system directories.
''' Only return file system directories. 23: CDS
SetRect = 536870912,
SetRect = 536870912 24: ClassStyles
/// <summary>Aligns the window's client area on a byte boundary (in the x direction). This style affects the width of the window and its horizontal placement on the display.</summary>
/// <summary>Aligns the window on a byte boundary (in the x direction). This style affects the width of the window and its horizontal placement on the display.</summary>
/// Sets the clipping rectangle of the child window to that of the parent window so that the child can draw on the parent.
''' <summary>Aligns the window's client area on a byte boundary (in the x direction). This style affects the width of the window and its horizontal placement on the display.</summary>
''' <summary>Aligns the window on a byte boundary (in the x direction). This style affects the width of the window and its horizontal placement on the display.</summary>
''' Sets the clipping rectangle of the child window to that of the parent window so that the child can draw on the parent. 25: CSIDL
CSIDL_COMMON_DESKTOPDIRECTORY = 0x0019,
CSIDL_DESKTOPDIRECTORY = 0x0010,
CSIDL_COMMON_DESKTOPDIRECTORY = &H19
CSIDL_DESKTOPDIRECTORY = &H10
/// <summary>DCX_WINDOW: Returns a DC that corresponds to the window rectangle rather
/// than the client rectangle.</summary>
''' <summary>DCX_WINDOW: Returns a DC that corresponds to the window rectangle rather
''' than the client rectangle.</summary> 27: DEVICE_TYPE
FILE_DEVICE_NETWORK_REDIRECTOR = 0x28,
FILE_DEVICE_NETWORK_REDIRECTOR = &H28
ClipRect = 0x00000001,
ClipRect = &H1 29: DriveTypes
Case System.IO.DriveType.NoRootDirectory 30: DT
CalcRect = (1 << 9), 31: DTT
CalcRect = (1UL << 9), 32: FileAttributes
/// A file that is read-only. Applications can read the file, but cannot write to it or delete it. This attribute is not honored on directories. For more information, see "You cannot view or change the Read-only or the System attributes of folders in Windows Server 2003, in Windows XP, or in Windows Vista".
/// The file or directory is hidden. It is not included in an ordinary directory listing.
/// A file or directory that the operating system uses a part of, or uses exclusively.
/// The handle that identifies a directory.
Directory = 0x00000010,
/// A file or directory that is an archive file or directory. Applications typically use this attribute to mark files for backup or removal.
/// A file or directory that has an associated reparse point, or a file that is a symbolic link.
/// A file or directory that is compressed. For a file, all of the data in the file is compressed. For a directory, compression is the default for newly created files and subdirectories.
/// The file or directory is not to be indexed by the content indexing service.
/// A file or directory that is encrypted. For a file, all data streams in the file are encrypted. For a directory, encryption is the default for newly created files and subdirectories.
''' A file that is read-only. Applications can read the file, but cannot write to it or delete it. This attribute is not honored on directories. For more information, see "You cannot view or change the Read-only or the System attributes of folders in Windows Server 2003, in Windows XP, or in Windows Vista".
''' The file or directory is hidden. It is not included in an ordinary directory listing.
''' A file or directory that the operating system uses a part of, or uses exclusively.
''' The handle that identifies a directory.
Directory = &H10
''' A file or directory that is an archive file or directory. Applications typically use this attribute to mark files for backup or removal.
''' A file or directory that has an associated reparse point, or a file that is a symbolic link.
''' A file or directory that is compressed. For a file, all of the data in the file is compressed. For a directory, compression is the default for newly created files and subdirectories.
''' The file or directory is not to be indexed by the content indexing service.
''' A file or directory that is encrypted. For a file, all data streams in the file are encrypted. For a directory, encryption is the default for newly created files and subdirectories. 33: FILEOP_FLAGS
/// Don't recurse into directories.
''' Don't recurse into directories.
FileIdBothDirectoryInfo = 10,// 0x0A
FileIdBothDirectoryRestartInfo = 11, // 0xB
FileFullDirectoryInfo = 14, // 0xE
FileFullDirectoryRestartInfo = 15, // 0xF
FileIdExtdDirectoryInfo = 19, // 0x13
FileIdExtdDirectoryRestartInfo = 20, // 0x14
FindExSearchLimitToDirectories = 1,
GPS_HANDLERPROPERTIESONLY = 0x00000001, // only include properties directly from the file's property handler 37: GRADIENT_FILL
RECT_H = 0,
RECT_V = 1, 38: HRESULT
///The server process could not be started. The pathname may be incorrect.
[Description("The server process could not be started. The pathname may be incorrect.")]
///<para>The pathname may be incorrect or unavailable.</para>
[Description("The server process could not be started as the configured identity.\nThe pathname may be incorrect or unavailable.")]
///The server process could not be started because the configured identity is incorrect.
[Description("The server process could not be started because the configured identity is incorrect.\nCheck the username and password.")]
///The data packet with the marshalled parameter data is incorrect.
[Description("The data packet with the marshalled parameter data is incorrect.")]
///Unable to obtain the Windows directory
[Description("Unable to obtain the Windows directory")]
///Incorrect inheritance depth in standard OLE hmember.
[Description("Incorrect inheritance depth in standard OLE hmember.")]
///Invalid rectangle
[Description("Invalid rectangle")]
public const int OLE_E_INVALIDRECT = unchecked((int)0x8004000D);
///No package in the software installation data in the Active Directory meets this criteria.
[Description("No package in the software installation data in the Active Directory meets this criteria.")]
///Deleting this will break the referential integrity of the software installation data in the Active Directory.
[Description("Deleting this will break the referential integrity of the software installation data in the Active Directory.")]
///The CLSID was not found in the software installation data in the Active Directory.
[Description("The CLSID was not found in the software installation data in the Active Directory.")]
///The software installation data in the Active Directory is corrupt.
[Description("The software installation data in the Active Directory is corrupt.")]
///There is no software installation data in the Active Directory.
[Description("There is no software installation data in the Active Directory.")]
///There is no software installation data object in the Active Directory.
[Description("There is no software installation data object in the Active Directory.")]
///The software installation data object in the Active Directory already exists.
[Description("The software installation data object in the Active Directory already exists.")]
///The path to the software installation data in the Active Directory is not correct.
[Description("The path to the software installation data in the Active Directory is not correct.")]
///The schema for the software installation data in the Active Directory does not match the required schema.
[Description("The schema for the software installation data in the Active Directory does not match the required schema.")]
///An error occurred in the software installation data in the Active Directory.
[Description("An error occurred in the software installation data in the Active Directory.")]
///Contents of the OLESTREAM not in correct format
[Description("Contents of the OLESTREAM not in correct format")]
///Contents of the IStorage not in correct format
[Description("Contents of the IStorage not in correct format")]
///The COM+ component you created must use object construction to work correctly.
[Description("The COM+ component you created must use object construction to work correctly.")]
///Provider DLL failed to initialize correctly.
[Description("Provider DLL failed to initialize correctly.")]
///The target principal name is incorrect.
[Description("The target principal name is incorrect.")]
///Client's supplied SSPI channel bindings were incorrect.
[Description("Client's supplied SSPI channel bindings were incorrect.")]
///The hash value is not correct.
[Description("The hash value is not correct.")]
///Not a cryptographic message or the cryptographic message is not formatted correctly.
[Description("Not a cryptographic message or the cryptographic message is not formatted correctly.")]
///The request is incorrectly formatted. The encrypted private key must be in an unauthenticated attribute in an outermost signature.
[Description("The request is incorrectly formatted. The encrypted private key must be in an unauthenticated attribute in an outermost signature.")]
///The contacted domain controller cannot support signed LDAP traffic. Update the domain controller or configure Certificate Services to use SSL for Active Directory access.
[Description("The contacted domain controller cannot support signed LDAP traffic. Update the domain controller or configure Certificate Services to use SSL for Active Directory access.")]
///The Active Directory GUID is unavailable and cannot be added to the Subject Alternate name.
[Description("The Active Directory GUID is unavailable and cannot be added to the Subject Alternate name.")]
public const int CERTSRV_E_SUBJECT_DIRECTORY_GUID_REQUIRED = unchecked((int)0x8009480E);
///The magic number in the head table is incorrect.
[Description("The magic number in the head table is incorrect.")]
///The offset table has incorrect values.
[Description("The offset table has incorrect values.")]
///A table checksum is incorrect.
[Description("A table checksum is incorrect.")]
///The file checksum is incorrect.
[Description("The file checksum is incorrect.")]
///The signature does not have the correct attributes for the policy.
[Description("The signature does not have the correct attributes for the policy.")]
///The structure of the DSIG table is incorrect.
[Description("The structure of the DSIG table is incorrect.")]
///The validity periods of the certification chain do not nest correctly.
[Description("The validity periods of the certification chain do not nest correctly.")]
///A certification chain processed correctly, but one of the CA certificates is not trusted by the policy provider.
[Description("A certification chain processed correctly, but one of the CA certificates is not trusted by the policy provider.")]
///An INF was copied into the Windows INF directory in an improper manner.
[Description("An INF was copied into the Windows INF directory in an improper manner.")]
public const int SPAPI_E_INCORRECTLY_COPIED_INF = unchecked((int)0x800F0237);
///The identified directory does not exist in the smart card.
[Description("The identified directory does not exist in the smart card.")]
///The supplied path does not represent a smart card directory.
[Description("The supplied path does not represent a smart card directory.")]
///The supplied PIN is incorrect.
[Description("The supplied PIN is incorrect.")]
///Application install directory not found
[Description("Application install directory not found")]
// FACILITY_METADIRECTORY
#region (0x230000 - 0x23FFFF) FACILITY_METADIRECTORY=35 errors
descr = DirectCast(o(0), DescriptionAttribute)
'''The server process could not be started. The pathname may be incorrect.
<Description("The server process could not be started. The pathname may be incorrect.")> _
'''<para>The pathname may be incorrect or unavailable.</para>
<Description("The server process could not be started as the configured identity." & vbLf & "The pathname may be incorrect or unavailable.")> _
'''The server process could not be started because the configured identity is incorrect.
<Description("The server process could not be started because the configured identity is incorrect." & vbLf & "Check the username and password.")> _
'''The data packet with the marshalled parameter data is incorrect.
<Description("The data packet with the marshalled parameter data is incorrect.")> _
'''Unable to obtain the Windows directory
<Description("Unable to obtain the Windows directory")> _
'''Incorrect inheritance depth in standard OLE hmember.
<Description("Incorrect inheritance depth in standard OLE hmember.")> _
'''Invalid rectangle
<Description("Invalid rectangle")> _
Public Const OLE_E_INVALIDRECT As Integer = CInt(&H8004000dUI)
'''No package in the software installation data in the Active Directory meets this criteria.
<Description("No package in the software installation data in the Active Directory meets this criteria.")> _
'''Deleting this will break the referential integrity of the software installation data in the Active Directory.
<Description("Deleting this will break the referential integrity of the software installation data in the Active Directory.")> _
'''The CLSID was not found in the software installation data in the Active Directory.
<Description("The CLSID was not found in the software installation data in the Active Directory.")> _
'''The software installation data in the Active Directory is corrupt.
<Description("The software installation data in the Active Directory is corrupt.")> _
'''There is no software installation data in the Active Directory.
<Description("There is no software installation data in the Active Directory.")> _
'''There is no software installation data object in the Active Directory.
<Description("There is no software installation data object in the Active Directory.")> _
'''The software installation data object in the Active Directory already exists.
<Description("The software installation data object in the Active Directory already exists.")> _
'''The path to the software installation data in the Active Directory is not correct.
<Description("The path to the software installation data in the Active Directory is not correct.")> _
'''The schema for the software installation data in the Active Directory does not match the required schema.
<Description("The schema for the software installation data in the Active Directory does not match the required schema.")> _
'''An error occurred in the software installation data in the Active Directory.
<Description("An error occurred in the software installation data in the Active Directory.")> _
'''Contents of the OLESTREAM not in correct format
<Description("Contents of the OLESTREAM not in correct format")> _
'''Contents of the IStorage not in correct format
<Description("Contents of the IStorage not in correct format")> _
'''The COM+ component you created must use object construction to work correctly.
<Description("The COM+ component you created must use object construction to work correctly.")> _
'''Provider DLL failed to initialize correctly.
<Description("Provider DLL failed to initialize correctly.")> _
'''The target principal name is incorrect.
<Description("The target principal name is incorrect.")> _
'''Client's supplied SSPI channel bindings were incorrect.
<Description("Client's supplied SSPI channel bindings were incorrect.")> _
'''The hash value is not correct.
<Description("The hash value is not correct.")> _
'''Not a cryptographic message or the cryptographic message is not formatted correctly.
<Description("Not a cryptographic message or the cryptographic message is not formatted correctly.")> _
'''The request is incorrectly formatted. The encrypted private key must be in an unauthenticated attribute in an outermost signature.
<Description("The request is incorrectly formatted. The encrypted private key must be in an unauthenticated attribute in an outermost signature.")> _
'''The contacted domain controller cannot support signed LDAP traffic. Update the domain controller or configure Certificate Services to use SSL for Active Directory access.
<Description("The contacted domain controller cannot support signed LDAP traffic. Update the domain controller or configure Certificate Services to use SSL for Active Directory access.")> _
'''The Active Directory GUID is unavailable and cannot be added to the Subject Alternate name.
<Description("The Active Directory GUID is unavailable and cannot be added to the Subject Alternate name.")> _
Public Const CERTSRV_E_SUBJECT_DIRECTORY_GUID_REQUIRED As Integer = CInt(&H8009480eUI)
'''The magic number in the head table is incorrect.
<Description("The magic number in the head table is incorrect.")> _
'''The offset table has incorrect values.
<Description("The offset table has incorrect values.")> _
'''A table checksum is incorrect.
<Description("A table checksum is incorrect.")> _
'''The file checksum is incorrect.
<Description("The file checksum is incorrect.")> _
'''The signature does not have the correct attributes for the policy.
<Description("The signature does not have the correct attributes for the policy.")> _
'''The structure of the DSIG table is incorrect.
<Description("The structure of the DSIG table is incorrect.")> _
'''The validity periods of the certification chain do not nest correctly.
<Description("The validity periods of the certification chain do not nest correctly.")> _
'''A certification chain processed correctly, but one of the CA certificates is not trusted by the policy provider.
<Description("A certification chain processed correctly, but one of the CA certificates is not trusted by the policy provider.")> _
'''An INF was copied into the Windows INF directory in an improper manner.
<Description("An INF was copied into the Windows INF directory in an improper manner.")> _
Public Const SPAPI_E_INCORRECTLY_COPIED_INF As Integer = CInt(&H800f0237UI)
'''The identified directory does not exist in the smart card.
<Description("The identified directory does not exist in the smart card.")> _
'''The supplied path does not represent a smart card directory.
<Description("The supplied path does not represent a smart card directory.")> _
'''The supplied PIN is incorrect.
<Description("The supplied PIN is incorrect.")> _
'''Application install directory not found
<Description("Application install directory not found")> _
' FACILITY_METADIRECTORY
#Region "(0x230000 - 0x23FFFF) FACILITY_METADIRECTORY=35 errors"
Return DirectCast(MyBase.Dictionary(key), System.Reflection.FieldInfo)
KFDF_LOCAL_REDIRECT_ONLY = 0x00000002, 40: ListViewMessages
GETITEMRECT = (FIRST + 14),
GETVIEWRECT = (FIRST + 34),
GETSUBITEMRECT = (FIRST + 56),
APPROXIMATEVIEWRECT = (FIRST + 64),
GETGROUPRECT = (FIRST + 98),
GETINSERTMARKRECT = (FIRST + 169),
GETFOOTERRECT = (FIRST + 205),
GETFOOTERITEMRECT = (FIRST + 207),
GETITEMINDEXRECT = (FIRST + 209), 41: MoveFileFlags This is the command you would use for an uninstaller program, a program to delete itself. If you set the first parameter to a directory everything inside of the directory can be (re)moved. To delete set the second parameter to null. 42: NtStatus
DirectoryNotRm = 0xc0190008,
/// If not set and PRINTER_ATTRIBUTE_DIRECT is not set, the printer spools and
/// Job is sent directly to the printer (it is not spooled).
PRINTER_ATTRIBUTE_DIRECT = 0x2,
/// Indicates whether the printer is published in the directory service. 44: RasError
/// <summary>604. Incorrect information was specified. </summary>
/// <summary>632. An incorrect structure size was detected. </summary>
/// <summary>795. The Tunnel Type RADIUS attribute for this user is not correct. </summary>
/// <summary>802. The card supplied was not recognized. Please check that the card is inserted correctly, and fits securely. </summary>
/// <summary>810. A network connection between your computer and the VPN server was started, but the VPN connection was not completed. This is typically caused by the use of an incorrect or expired certificate for authentication between the client and the server. </summary>
/// Invalidates the rectangle or region that you specify in lprcUpdate or hrgnUpdate.
/// Validates the rectangle or region that you specify in lprcUpdate or hrgnUpdate.
''' Invalidates the rectangle or region that you specify in lprcUpdate or hrgnUpdate.
''' Validates the rectangle or region that you specify in lprcUpdate or hrgnUpdate.
Directory = 0x9,
Directory = &H9 47: SBSP
SBSP_REDIRECT = 0x40000000, 48: STGM
STGM_DIRECT = 0x0,
STGM_DIRECT_SWMR = 0x400000,
Directory = 1
Directory = 1 50: SysCommands In WM_SYSCOMMAND messages, the four low-order bits of the wParam parameter are used internally by the system. To obtain the correct result when testing the value of wParam, an application must combine the value 0xFFF0 with the wParam value by using the bitwise AND operator. 51: SystemMetric
/// The width of the rectangle around the location of a first click in a double-click sequence, in pixels. ,
/// The second click must occur within the rectangle that is defined by SM_CXDOUBLECLK and SM_CYDOUBLECLK for the system
/// To set the width of the double-click rectangle, call SystemParametersInfo with SPI_SETDOUBLECLKWIDTH.
/// The width of the left and right edges of the focus rectangle that the DrawFocusRectdraws.
/// The width of a grid cell for items in large icon view, in pixels. Each item fits into a rectangle of size
/// The width of a grid cell for a minimized window, in pixels. Each minimized window fits into a rectangle this size when arranged.
/// The width of the virtual screen, in pixels. The virtual screen is the bounding rectangle of all display monitors.
/// The height of the rectangle around the location of a first click in a double-click sequence, in pixels.
/// The second click must occur within the rectangle defined by SM_CXDOUBLECLK and SM_CYDOUBLECLK for the system to consider
/// rectangle, call SystemParametersInfo with SPI_SETDOUBLECLKHEIGHT.
/// The height of the top and bottom edges of the focus rectangle drawn byDrawFocusRect.
/// The height of a grid cell for items in large icon view, in pixels. Each item fits into a rectangle of size
/// The height of a grid cell for a minimized window, in pixels. Each minimized window fits into a rectangle this size when arranged.
/// The height of the virtual screen, in pixels. The virtual screen is the bounding rectangle of all display monitors.
/// Otherwise the ANSI-to-Unicode conversion may not be performed correctly, or some components like fonts
/// The coordinates for the left side of the virtual screen. The virtual screen is the bounding rectangle of all display monitors.
/// The coordinates for the top of the virtual screen. The virtual screen is the bounding rectangle of all display monitors.
''' Width of the rectangle around the location of a first click in a double-click sequence in pixels. The second click must occur within the rectangle defined by SM_CXDOUBLECLK and SM_CYDOUBLECLK for the system to consider the two clicks a double-click
''' Height of the rectangle around the location of a first click in a double-click sequence in pixels. The second click must occur within the rectangle defined by SM_CXDOUBLECLK and SM_CYDOUBLECLK for the system to consider the two clicks a double-click. (The two clicks must also occur within a specified time.)
''' Width of a grid cell for items in large icon view in pixels. Each item fits into a rectangle of size SM_CXICONSPACING by SM_CYICONSPACING when arranged. This value is always greater than or equal to SM_CXICON
''' Height of a grid cell for items in large icon view in pixels. Each item fits into a rectangle of size SM_CXICONSPACING by SM_CYICONSPACING when arranged. This value is always greater than or equal to SM_CYICON.
''' Width of a grid cell for a minimized window in pixels. Each minimized window fits into a rectangle this size when arranged. This value is always greater than or equal to SM_CXMINIMIZED.
''' Height of a grid cell for a minimized window in pixels. Each minimized window fits into a rectangle this size when arranged. This value is always greater than or equal to SM_CYMINIMIZED.
''' Width of a rectangle centered on a drag point to allow for limited movement of the mouse pointer before a drag operation begins in pixels.
''' Height of a rectangle centered on a drag point to allow for limited movement of the mouse pointer before a drag operation begins. This value is in pixels. It allows the user to click and release the mouse button easily without unintentionally starting a drag operation.
''' Windows XP (v5.1+) Width of the left and right edges of the focus rectangle drawn by DrawFocusRect. This value is in pixels.
''' Windows XP (v5.1+) Height of the top and bottom edges of the focus rectangle drawn by DrawFocusRect. This value is in pixels.
/// source rectangle is to be combined with the color data for the destination
/// rectangle to achieve the final color.
''' source rectangle is to be combined with the color data for the destination
''' rectangle to achieve the final color. 53: WindowsMessages
/// Applications never send this message directly. It is sent only by Active Accessibility in response to calls to AccessibleObjectFromPoint, AccessibleObjectFromEvent, or AccessibleObjectFromWindow. However, server applications handle this message.
/// The WM_SIZING message is sent to a window that the user is resizing. By processing this message, an application can monitor the size and position of the drag rectangle and, if needed, change its size or position.
/// The WM_MOVING message is sent to a window that the user is moving. By processing this message, an application can monitor the position of the drag rectangle and, if needed, change its position.
/// Sent by an application to direct the IME window to carry out the requested command. The application uses this message to control the IME window that it has created. To send this message, the application calls the SendMessage function with the following parameters.
/// A window is being minimized or maximized. The system needs the coordinates of the minimized rectangle for the window.
HSHELL_GETMINRECT = 5,
'''Active Accessibility sends the WM_GETOBJECT message to obtain information about an accessible object contained in a server application. Applications never send this message directly. It is sent only by Active Accessibility in response to calls to AccessibleObjectFromPoint AccessibleObjectFromEvent or AccessibleObjectFromWindow. However server applications handle this message.
'''Sent by an application to direct the IME window to carry out the requested command. The application uses this message to control the IME window that it has created. To send this message the application calls the SendMessage function with the following parameters.
'''The WM_MOVING message is sent to a window that the user is moving. By processing this message an application can monitor the position of the drag rectangle and if needed change its position.
'''The WM_SIZING message is sent to a window that the user is resizing. By processing this message an application can monitor the size and position of the drag rectangle and if needed change its size or position.
''' To obtain the correct result when testing the value of wParam,
''' This message cannot be sent directly to a single window.
''' By processing this message, an application can monitor the size and position of the drag rectangle
''' A pointer to a <see cref="Win32.Types.Rect"/> structure with the screen coordinates of the drag rectangle.
''' To change the size or position of the drag rectangle, an application must change the members of this structure.
''' By processing this message an application can monitor the position of the drag rectangle and 54: WTSINFO
/// A null-terminated string that contains the default directory used when launching the initial program.
WTSWorkingDirectory,
/// A null-terminated string that contains the directory in which the client is installed.
WTSClientDirectory,
WTSWorkingDirectory
WTSClientDirectory 55: WTSInfoClass
WTSWorkingDirectory,
WTSClientDirectory,
WTSWorkingDirectory
WTSClientDirectory setupapi
SetupDiGetDeviceRegistryProperty(NewDeviceInfoSet, DeviceInfoData, DirectCast(SPDRP_FRIENDLYNAME, Integer), propRegDataType, sbDesc, MAX_LEN, reqSize)
SetupDiGetDeviceRegistryProperty(NewDeviceInfoSet, DeviceInfoData, DirectCast(SPDRP_DEVICEDESC, Integer), propRegDataType, sbDesc, MAX_LEN, reqSize)
SetupDiGetDeviceRegistryProperty(NewDeviceInfoSet, DeviceInfoData, DirectCast(SPDRP_HARDWAREID, Integer), propRegDataType, sbHWID, MAX_LEN, reqSize)
This is not the correct signature for 64-bit Windows... 58: Option Explicit ‘ Should be a Do While 59: SetupCopyOEMInf The SetupCopyOEMInf function copies a specified INF file to the /Inf directory. in Specifies how the INF file is copied into the INF directory. The following flags can be combined. Value Meaning SP_COPY_REPLACEONLY Copy only if this file already exists in the INF directory. This flag could be used to update the source location information for an existing INF. SP_COPY_NOOVERWRITE Copy only if the specified files don't currently exist in the INF directory. If the INF does currently exist, this API will fail and GetLastError returns ERROR_FILE_EXISTS. In this case, the existing INF file's filename will be placed into the appropriate field in the destination INF file's information output buffers. SP_COPY_OEMINF_CATALOG_ONLY The specified INF file's corresponding catalog files is copied to \Inf. If this flag is specified, the destination filename information is entered upon successful return if the specified INF file already exists in the Inf directory. [out, optional] Pointer to a buffer to receive the INF file name assigned to it at the time it was copied to the INF directory. The buffer, if specified, should typically be MAX_PATH in length. If the SP_COPY_NOOVERWRITE flag is specified and the SetupCopyOEMInf function fails with a return code of ERROR_FILE_EXISTS, this buffer will contain the name of the existing INF file. If the SP_COPY_OEMINF_CATALOG_ONLY flag is specified, this buffer will contain the destination INF filename if the INF file is already present in the INF directory. Otherwise, this buffer will be set to the empty string. This parameter can be NULL. [out, optional] Pointer to a variable that receives the size (in characters) required to store the destination INF file name including a terminating NULL. If the SP_COPY_OEMINF_CATALOG_ONLY flag is specified, this variable will receive a string length only if the INF file already exists in the INF directory. Otherwise, this variable will be set to zero. This parameter can be NULL. The SetupCopyOEMInf function copies a specified INF file into the \Inf directory. SetupCopyOEMInf does not recopy the file if it finds that a binary image of the specified INF file already exists in the INF directory with the same name or a name of the form OEM*.INF. When SetupCopyOEMInf copies a file, it renames the copied file to OEM*.INF. Name provided is unique and cannot be predicted. SetupCopyOEMInf uses the following procedure to determine if the INF file already exists in the INF directory: The INF directory is searched for the source filename of the INF file. If an INF file of the same name exists and is the same size as that of the specified INF file, the two files are binary compared to determine if they are identical. If the specified INF file already exists a further check is performed to determine if the specified INF file contains a CatalogFile= entry in its Version section. If it does, the INF files's \Inf primary filename with a ".CAT" extension is used to determine if the catalog is already installed. If there is a catalog installed, but it isn't the same as the catalog associated with the source INF, this is not considered to be a match and enumerations continue. It is possible to have multiple identical INF files with unique catalogs contained in \Inf directory. If an existing match is not found, the INF and CAT files are installed under a new and unique name. In cases where the INF file must be copied to the \Inf directory, any digital signature verification failures are reported
// directly after ChangeIt to see whether or not you need Cut off search results after 60. Please refine your search. |