Desktop Functions: Smart Device Functions:
|
Search Results for "POINT" in [All]printuishell32
// pointer logic and were removed.
// ptrToSplitArgs is an array of pointers to null terminated Unicode strings. 3: CSIDL
/// SHGetSpecialFolderLocation, and SHGetSpecialFolderPath, to retrieve a special folder's path or pointer
If the icon is extracted from an associated executable file, the function stores the full path and file name of the executable file in the string pointed to by lpIconPath, and stores the icon's identifier in the WORD pointed to by lpiIcon. in Pointer to a string that specifies the full path and file name of the file that contains the icon. The function extracts the icon handle from that file, or from an executable file associated with that file. If the icon handle is obtained from an executable file, the function stores the full path and file name of that executable in the string pointed to by lpIconPath. in, out Pointer to a WORD that specifies the index of the icon whose handle is to be obtained. If the icon handle is obtained from an executable file, the function stores the icon's identifier in the WORD pointed to by lpiIcon. 6: ExtractIcon out Pointer to an array of icon handles that receives handles to the large icons extracted from the file. If this parameter is NULL, no large icons are extracted from the file. out Pointer to an array of icon handles that receives handles to the small icons extracted from the file. If this parameter is NULL, no small icons are extracted from the file.
[DllImport("user32.dll", EntryPoint="DestroyIcon", SetLastError=true)]
<DllImport("user32.dll", EntryPoint:="DestroyIcon", SetLastError:=True)> _ out Pointer to an array of icon handles that receives handles to the large icons extracted from the file. If this parameter is NULL, no large icons are extracted from the file. out Pointer to an array of icon handles that receives handles to the small icons extracted from the file. If this parameter is NULL, no small icons are extracted from the file.
[DllImport("user32.dll", EntryPoint="DestroyIcon", SetLastError=true)]
<DllImport("user32.dll", EntryPoint:="DestroyIcon", SetLastError:=True)> _
[DllImport("shell32.dll", EntryPoint="FindExecutable")]
/// <i>dwItem1</i> contains the previous pointer to an item identifier list (PIDL) or name of the folder.
' <i>dwItem1</i> contains the previous pointer to an item identifier list (PIDL) or name of the folder. 10: ITaskbarList3
/// <param name="cButtons">The number of buttons defined in the array pointed to by pButton. The maximum
/// <param name="pButton">A pointer to an array of THUMBBUTTON structures. Each THUMBBUTTON defines an
/// <param name="pszDescription">A pointer to a string that provides an alt text version of the
/// Specifies or updates the text of the tooltip that is displayed when the mouse pointer rests on an
/// <param name="pszTip">The pointer to the text to be displayed in the tooltip. This value can be NULL,
/// <param name="prcClip">A pointer to a RECT structure that specifies a selection within the window's 11: PathCleanupSpec
[DllImport("shell32.dll", EntryPoint="PathCleanupSpec", CharSet=CharSet.Unicode)]
<DllImport("shell32.dll", EntryPoint:="PathCleanupSpec", CharSet:=CharSet.Unicode)> _ 12: PathIsExe
/// <param name="szfile">A pointer to a null-terminated, Unicode string that contains the file path, which includes the name of the file.</param>
[DllImport("shell32.dll", EntryPoint = "PathIsExeW", SetLastError = True, CharSet = CharSet.Unicode)]
''' <param name="szfile">A pointer to a null-terminated, Unicode string that contains the file path, which includes the name of the file.</param>
<DllImport("shell32.dll", EntryPoint:="PathIsExeW", SetLastError:=True, CharSet:=CharSet.Unicode)> _
[DllImport("shell32.dll", EntryPoint="PathMakeUniqueName", CharSet=CharSet.Unicode)]
<DllImport("shell32.dll", EntryPoint:="PathMakeUniqueName", CharSet:=CharSet.Unicode)> _
[DllImport("shell32.dll", EntryPoint="PathYetAnotherMakeUniqueName", CharSet=CharSet.Unicode)]
For older systems such as Windows 2000 that do not have the entry point
[DllImport("shell32.dll", EntryPoint="#75", CharSet=CharSet.Unicode)]
<DllImport("shell32.dll", EntryPoint:="PathYetAnotherMakeUniqueName", CharSet:=CharSet.Unicode)> _ 15: Run [DllImport("shell32.dll", EntryPoint = "ShellExecute")] Can use IntPtr Pointer HWND or integer value int frist line. 16: SHAppBarMessage
/// pointed to by pData is set to TRUE to activate or FALSE to deactivate.
/// C++ ( pData [in, out] Type: PAPPBARDATA )<br /> A pointer to an APPBARDATA structure. The content
<DllImport("shell32.dll", SetLastError:=true, EntryPoint:="SHBrowseForFolderW", CharSet:=CharSet.Unicode)> _ 18: SHChangeNotify
[DllImport("shell32.dll", SetLastError=true, EntryPoint="#4", CharSet=CharSet.Auto)]
[DllImport("shell32.dll", SetLastError=true, EntryPoint="#2", CharSet=CharSet.Auto)]
[DllImport("shell32.dll", EntryPoint = "#2", CharSet = CharSet.Auto)]
[DllImport("shell32.dll", SetLastError=true, EntryPoint="#4", CharSet=CharSet.Auto)] 21: SHFileOperation
FOF_NORECURSEREPARSE = 0x8000, // treat reparse points as objects, not containers 22: SHGetImageList
[DllImport("shell32.dll", EntryPoint = "#727")]
private struct POINT
ref POINT ppt,
ref POINT pptHotspot, The IImageList pointer type, such as that returned in the ppv parameter, can be cast as an HIMAGELIST as needed; for example, for use in a list view. Conversely, an HIMAGELIST can be cast as a pointer to an IImageList. <System.Runtime.InteropServices.DllImportAttribute("shell32.dll", EntryPoint:="SHGetNameFromIDList")> _
<System.Runtime.InteropServices.DllImportAttribute("shell32.dll", EntryPoint:="ILFree")> _
<System.Runtime.InteropServices.DllImportAttribute("shell32.dll", EntryPoint:="SHGetNameFromIDList")> _
<System.Runtime.InteropServices.DllImportAttribute("shell32.dll", EntryPoint:="SHParseDisplayName")> _
<DllImport("shell32.dll", EntryPoint:="SHGetPathFromIDListW", SetLastError:=true, CharSet:=CharSet.Unicode)> _ 25: SHGetRealIDL
/// <param name="psf">[in] Pointer to an instance of IShellFolder whose simple pointer to an item identifier list (PIDL) is to be converted.</param>
/// <param name="pidlReal">[out] Pointer to the full converted PIDL. If the function fails, this parameter is set to NULL.</param>
/// The main entry point for the application.
SHOP_PRINTERNAME = &H1 '// lpObject points to a printer friendly name
SHOP_FILEPATH = &H2 '// lpObject points to a fully qualified path+file name
SHOP_VOLUMEGUID = &H4 '// lpObject points to a Volume GUID
SHOP_PRINTERNAME = &H1 '// lpObject points to a printer friendly name
SHOP_FILEPATH = &H2 '// lpObject points to a fully qualified path+file name
SHOP_VOLUMEGUID = &H4 '// lpObject points to a Volume GUID 28: SHOpenWithDialog
[DllImport("shell32.dll", EntryPoint = "SHOpenWithDialog", CharSet = CharSet.Unicode)]
OAIF_FILE_IS_URI = 0x00000080 // Win8+: The location pointed to by the pcszFile parameter is given as a URI
/// for an uninterrupted presentation, such as a set of PowerPoint slides, with a single click. 32: SHRunFileDialog
[DllImport("shell32.dll", CharSet=CharSet.Auto, EntryPoint="#61", SetLastError=true)] dnsapi
<DllImport("dnsapi.dll", EntryPoint:="DnsFlushResolverCacheEntry_W", CharSet:=CharSet.Unicode)> _
<DllImport("dnsapi.dll", EntryPoint:="DnsFlushResolverCacheEntry_W", CharSet:=CharSet.Unicode)> _ 35: DnsQuery
[DllImport("dnsapi", EntryPoint = "DnsQueryEx", CharSet = CharSet.Unicode, SetLastError = true, ExactSpelling = true)]
private delegate void QueryCompletionRoutineFunctionPointer(IntPtr queryContext, IntPtr queryResults);
IntPtr addrArrayPointer = new IntPtr(addrBuffer.ToInt64() + Marshal.SizeOf(typeof(DNS_ADDR_ARRAY)));
Marshal.StructureToPtr(addrList[i], addrArrayPointer, false);
addrArrayPointer = new IntPtr(addrArrayPointer.ToInt64() + Marshal.SizeOf(typeof(DNS_ADDR)));
request.QueryCompletionCallback = Marshal.GetFunctionPointerForDelegate(new QueryCompletionRoutineFunctionPointer(QueryCompletionRoutine));
[DllImport("dnsapi", EntryPoint = "DnsQueryEx", CharSet = CharSet.Unicode, SetLastError = true, ExactSpelling = true)] 36: DnsQueryEx
[DllImport("dnsapi", EntryPoint = "DnsQueryEx", CharSet = CharSet.Unicode, SetLastError = true, ExactSpelling = true)]
private delegate void QueryCompletionRoutineFunctionPointer(IntPtr queryContext, IntPtr queryResults);
IntPtr addrArrayPointer = new IntPtr(addrBuffer.ToInt64() + Marshal.SizeOf(typeof(DNS_ADDR_ARRAY)));
Marshal.StructureToPtr(addrList[i], addrArrayPointer, false);
addrArrayPointer = new IntPtr(addrArrayPointer.ToInt64() + Marshal.SizeOf(typeof(DNS_ADDR)));
request.QueryCompletionCallback = Marshal.GetFunctionPointerForDelegate(new QueryCompletionRoutineFunctionPointer(QueryCompletionRoutine));
[DllImport("dnsapi", EntryPoint = "DnsQueryEx", CharSet = CharSet.Unicode, SetLastError = true, ExactSpelling = true)] oleacc
public static extern IntPtr AccessibleObjectFromPoint(POINT pt, [Out, MarshalAs(UnmanagedType.Interface)] out IAccessible accObj, [Out] out object ChildID);
Declare Function AccessibleObjectFromPoint Lib "oleacc.dll" (TODO) As TODO This function retrieves the lowest-level accessible object in the object hierarchy at the given point specified in screen coordinates where 0, 0 is the upper left corner. If the element at the point is not an accessible object (that is, does not support IAccessible), then the function retrieves the IAccessible interface of the parent object. The parent object must provide information about the child element through the IAccessible interface.
public static IAccessible GetAccessibleObject(POINT pt, out int ChildID)
IntPtr success = AccessibleObjectFromPoint(pt, out accObj, out varChildID);
public static extern IntPtr AccessibleObjectFromPoint(POINT pt, [Out, MarshalAs(UnmanagedType.Interface)] out IAccessible accObj, [Out] out object ChildID);
Shared Function AccessibleObjectFromPoint(ByVal pt As Point, <MarshalAs(UnmanagedType.Interface)> ByRef accObj As IAccessible, ByRef ChildID As Object) As IntPtr The ManagedWindowsApi project (http://mwinapi.sourceforge.net) provides a SystemAccessibleObject class to access accessible objects, that can be instantiated from a point. This function retrieves the lowest-level accessible object in the object hierarchy at a given point in screen coordinates where (0, 0) is the upper left corner. If the element at the point is not an accessible object (that is, does not support IAccessible), then the function retrieves the IAccessible interface of the parent object. The parent object must provide information about the child element through the IAccessible interface.
public static IAccessible GetAccessibleObject(POINT pt, out int ChildID)
IntPtr success = AccessibleObjectFromPoint(pt, out accObj, out varChildID);
//MouseHook.POINT structure type of POINT
public static IntPtr GetControlHandlerFromPoint(MouseHook.POINT location)
handler = AccessibleObjectFromPoint(location,out iAccessible,out ChildId);
public static extern IntPtr AccessibleObjectFromPoint(MouseHook.POINT pt, [Out, MarshalAs(UnmanagedType.Interface)] out IAccessible accObj, [Out] out object ChildID); getuname41: GetUName
''' <param name="wCharCode">Character code (code-point)</param>
''' <param name="codePoint">Code point to get localizaed name of</param>
''' Localized name of character represented by <paramref name="codePoint"/>. The name is localized to current system locale, not to current thread UI culture.
''' Returns null if <paramref name="codePoint"/> is not supported by Windows function for getting character names (i.e. <paramref name="codePoint"/> is greater than <see cref="UInt16.MaxValue"/>) or if name cannot be obtained or windows function call failed.
''' <exception cref="ArgumentOutOfRangeException"><paramref name="codePoint"/> is greater than 0x10FFFF</exception>
Public Function GetCharacterName(codePoint As UInteger) As String
If codePoint > &H10FFFFUI Then Throw New ArgumentOutOfRangeException("codePoint")
If codePoint > UShort.MaxValue Then Return Nothing
ret = API.Misc.GetUName(codePoint, buff) faultrep42: ReportFault
__in LPEXCEPTION_POINTERS pep, ws2_3243: Command
/// The *argp parameter is a pointer to an unsigned long value. 44: ControlCode
SIO_GET_EXTENSION_FUNCTION_POINTER = -939524090,
SIO_MULTIPOINT_LOOPBACK = -2013265911,
/// The *argp parameter is a pointer to an unsigned long value. 45: InetNtop
[DllImport("Ws2_32.dll", CharSet = CharSet.Unicode, EntryPoint = "InetNtopW")]
[DllImport("Ws2_32.dll", CharSet = CharSet.Unicode, EntryPoint = "InetNtopW")] 46: inet_pton
[DllImport("Ws2_32.dll", CharSet = CharSet.Unicode, EntryPoint = "InetPtonW")]
[DllImport("Ws2_32.dll", CharSet = CharSet.Unicode, EntryPoint = "InetPtonW")] 47: select
/* An optional pointer to a set of sockets to be checked for readability. */
/* An optional pointer to a set of sockets to be checked for writability. */
/* An optional pointer to a set of sockets to be checked for errors. */ 48: SendTo [DllImport("ws2_32.dll", EntryPoint="sendto")]
/// Receive ECN codepoints in the IP header
/// Receive ECN codepoints in the IP header.
[DllImport("Ws2_32.dll", CharSet = CharSet.Unicode, EntryPoint = "WSAAddressToStringW")]
[DllImport("Ws2_32.dll", CharSet = CharSet.Unicode, EntryPoint = "WSAAddressToStringW")] 51: WSACleanup
/// The main entry point for the application.
EntryPoint = "WSAStringToAddressW" ) ]
rpcrt453: UuidFromStringA [DllImport("Rpcrt4.dll",EntryPoint="UuidFromStringA",SetLastError=true, CharSet=CharSet::Ansi, ExactSpelling=true, CallingConvention=CallingConvention::StdCall)] pin_ptr<unsigned char> UuidSringPtr = static_cast<unsigned char *>(System::Runtime::InteropServices::Marshal::StringToHGlobalAnsi("C3ECE8CB-E9F8-47f9-AC61-8EA8572403F2").ToPointer()); Constants54: CB_GETLBTEXTLEN
' pointer 55: FILE_CURRENT
/// <summary>Sets new extra information that is private to the application, such as handles or pointers.</summary> 57: LR_
/// the lpszName parameter is a pointer to a null-terminated string that contains the name of the image resource.
''' the lpszName parameter is a pointer to a null-terminated string that contains the name of the image resource. 58: NERR_
public const int DfsCantCreateJunctionPoint = 2669; 59: PROPERTYKEY
public static PropertyKey PKEY_AudioEndpoint_FormFactor = new PropertyKey( 0x1da5d803, 0xd492, 0x4edd, 0x8c, 0x23, 0xe0, 0xc0, 0xff, 0xee, 0x7f, 0x0e, 0);
public static PropertyKey PKEY_AudioEndpoint_ControlPanelPageProvider = new PropertyKey( 0x1da5d803, 0xd492, 0x4edd, 0x8c, 0x23, 0xe0, 0xc0, 0xff, 0xee, 0x7f, 0x0e, 1);
public static PropertyKey PKEY_AudioEndpoint_Association = new PropertyKey( 0x1da5d803, 0xd492, 0x4edd, 0x8c, 0x23, 0xe0, 0xc0, 0xff, 0xee, 0x7f, 0x0e, 2);
public static PropertyKey PKEY_AudioEndpoint_PhysicalSpeakers = new PropertyKey( 0x1da5d803, 0xd492, 0x4edd, 0x8c, 0x23, 0xe0, 0xc0, 0xff, 0xee, 0x7f, 0x0e, 3);
public static PropertyKey PKEY_AudioEndpoint_GUID = new PropertyKey( 0x1da5d803, 0xd492, 0x4edd, 0x8c, 0x23, 0xe0, 0xc0, 0xff, 0xee, 0x7f, 0x0e, 4);
public static PropertyKey PKEY_AudioEndpoint_Disable_SysFx = new PropertyKey( 0x1da5d803, 0xd492, 0x4edd, 0x8c, 0x23, 0xe0, 0xc0, 0xff, 0xee, 0x7f, 0x0e, 5);
public static PropertyKey PKEY_AudioEndpoint_FullRangeSpeakers = new PropertyKey( 0x1da5d803, 0xd492, 0x4edd, 0x8c, 0x23, 0xe0, 0xc0, 0xff, 0xee, 0x7f, 0x0e, 6);
public static PropertyKey PKEY_AudioEndpoint_Supports_EventDriven_Mode = new PropertyKey( 0x1da5d803, 0xd492, 0x4edd, 0x8c, 0x23, 0xe0, 0xc0, 0xff, 0xee, 0x7f, 0x0e, 7);
public static PropertyKey PKEY_AudioEndpoint_JackSubType = new PropertyKey( 0x1da5d803, 0xd492, 0x4edd, 0x8c, 0x23, 0xe0, 0xc0, 0xff, 0xee, 0x7f, 0x0e, 8);
public static PropertyKey WPD_APPOINTMENT_LOCATION = new PropertyKey(0xF99EFD03, 0x431D, 0x40D8, 0xA1, 0xC9, 0x4E, 0x22, 0x0D, 0x9C, 0x88, 0xD3, 3);
public static PropertyKey WPD_APPOINTMENT_TYPE = new PropertyKey(0xF99EFD03, 0x431D, 0x40D8, 0xA1, 0xC9, 0x4E, 0x22, 0x0D, 0x9C, 0x88, 0xD3, 7);
public static PropertyKey WPD_APPOINTMENT_REQUIRED_ATTENDEES = new PropertyKey(0xF99EFD03, 0x431D, 0x40D8, 0xA1, 0xC9, 0x4E, 0x22, 0x0D, 0x9C, 0x88, 0xD3, 8);
public static PropertyKey WPD_APPOINTMENT_OPTIONAL_ATTENDEES = new PropertyKey(0xF99EFD03, 0x431D, 0x40D8, 0xA1, 0xC9, 0x4E, 0x22, 0x0D, 0x9C, 0x88, 0xD3, 9);
public static PropertyKey WPD_APPOINTMENT_ACCEPTED_ATTENDEES = new PropertyKey(0xF99EFD03, 0x431D, 0x40D8, 0xA1, 0xC9, 0x4E, 0x22, 0x0D, 0x9C, 0x88, 0xD3, 10);
public static PropertyKey WPD_APPOINTMENT_RESOURCES = new PropertyKey(0xF99EFD03, 0x431D, 0x40D8, 0xA1, 0xC9, 0x4E, 0x22, 0x0D, 0x9C, 0x88, 0xD3, 11);
public static PropertyKey WPD_APPOINTMENT_TENTATIVE_ATTENDEES = new PropertyKey(0xF99EFD03, 0x431D, 0x40D8, 0xA1, 0xC9, 0x4E, 0x22, 0x0D, 0x9C, 0x88, 0xD3, 12);
public static PropertyKey WPD_APPOINTMENT_DECLINED_ATTENDEES = new PropertyKey(0xF99EFD03, 0x431D, 0x40D8, 0xA1, 0xC9, 0x4E, 0x22, 0x0D, 0x9C, 0x88, 0xD3, 13);
public static PropertyKey PKEY_AudioEndPoint_Interface = new PropertyKey("a45c254e-df1c-4efd-8020-67d146a850e0", 2);
public static PropertyKey PKEY_AudioEndPoint_DisableSysFx = new PropertyKey("1da5d803-d492-4edd-8c23-e0c0ffee7f0e", 5);
public static PropertyKey PKEY_Endpoint_Enable_LFX = new PropertyKey("a988f78b-07b6-4f47-9c9f-25409534cdee", 0);
public static PropertyKey PKEY_Endpoint_Enable_LFX_BEAMFORMING = new PropertyKey("818d3b4c-2bbf-40e9-a438-9361b0ffc427", 0);
public static PropertyKey PKEY_Endpoint_Enable_LFX_AEC = new PropertyKey("7996efb2-29c1-4898-be83-4a3646e06fac", 0);
public static PropertyKey PKEY_Endpoint_Enable_GFX = new PropertyKey("7f73d4e1-91e3-4490-9fba-5e86680a5748", 0);
public static PropertyKey PKEY_Endpoint_Disable_AC3 = new PropertyKey("b3f8fa53-0004-438e-9003-51a46e139bfc", 5);
public static PropertyKey PKEY_Endpoint_Name = new PropertyKey("b3f8fa53-0004-438e-9003-51a46e139bfc", 6);
public static PropertyKey PKEY_AudioEndPoint_Type = new PropertyKey("1da5d803-d492-4edd-8c23-e0c0ffee7f0e", 0);
public static PropertyKey PKEY_AudioEndpoint_Ext_UiClsid = new PropertyKey("{1DA5D803-D492-4EDD-8C23-E0C0FFEE7F0E}",1);
public static PropertyKey Render_AudioEndpoint_Flag = new PropertyKey("b3f8fa53-0004-438e-9003-51a46e139bfc", 3);
public static PropertyKey Render_AudioEndpoint_Flag2 = new PropertyKey("b3f8fa53-0004-438e-9003-51a46e139bfc", 4);
public static Guid FMTID_Endpoint_Info = new Guid("a45c254e-df1c-4efd-8020-67d146a850e0"); 60: ShellAPI
public const int FOF_NORECURSEREPARSE = 0x8000; // treat reparse points as objects, not containers Cut off search results after 60. Please refine your search. |