Desktop Functions: Smart Device Functions:
|
Search Results for "POINT" in [All]winmm
' It's is assumed this function is in a Form so Me points to the current instance of the form
' The file is done playing, do whatever is necessary at this point 2: midiOutOpen //hmidi is now a valid pointer to MIDI device 0.
/// <summary>pointer to array of details_XX structs</summary>
public IntPtr DetailsPointer
[DllImport("winmm.dll", EntryPoint="mixerGetDevCaps", SetLastError=true)]
<DllImport("winmm.dll", EntryPoint:="mixerGetDevCaps", SetLastError:=True)> _
[DllImport("winmm.dll", EntryPoint = "mixerGetNumDevs")]
[DllImport("winmm.dll", EntryPoint = "mixerGetDevCaps", SetLastError = true)] 5: PlaySound
/// <summary>pszSound points to a memory file</summary>
''' The pszSound parameter points to a sound loaded in memory.
[DllImport("winmm.dll", EntryPoint="timeBeginPeriod")]
[DllImport("winmm.dll", EntryPoint="timeEndPeriod")] 8: timeGetTime
[DllImport("winmm.dll", EntryPoint="timeGetTime")]
<DllImport("winmm.dll", EntryPoint := "timeGetTime")> _
[DllImport ("winmm.dll", EntryPoint="waveInAddBuffer", SetLastError=true)]
[DllImport ("winmm.dll", EntryPoint="waveOutGetErrorText", SetLastError=true, CharSet=CharSet.Auto)] userenv
short* start = (short*)env.ToPointer(); 12: LoadUserProfile
<DllImport("userenv.dll", EntryPoint:="LoadUserProfile", SetLastError:=True, CharSet:=CharSet.Auto)> _ [in, out] Pointer to a PROFILEINFO structure. LoadUserProfile will fail and return ERROR_INVALID_PARAMETER if the dwSize member of the structure is not set to sizeof(PROFILEINFO) or if the lpUserName member is NULL. For more information, see the following Remarks section. fbwflibThe API defines an Void-Pointer as a parameter. The pointer must point to a function with 4 parameters itself. The parameters are the same as a WaitHandle with its initial state set to false. So you can use the SafeHandle of the ResetEvent class. The "exclusionList" parameter is a pointer to a multi-wide-string meaning one character consists of 2 bytes, every string is terminated by 2 NUL bytes and the whole thing is terminated by 4 NUL bytes. The "volumeList" parameter is a pointer to a multi-wide-string meaning one character consists of 2 bytes, every string is terminated by 2 NUL bytes and the whole thing is terminated by 4 NUL bytes. httpapiDepending on the value of ConfigId, pConfigInformation should point to a different type of structure. If it wasn't for this, I could redifine the PInvoke signature to explicitly specify the underlying structure type. If your use of this API is focused around a single value of ConfigId, you may want to change the IntPtr (pConfigInformation) to point directly to a managed version of the correct underlying structure and let the default marshaller take care of the interop layer marshaling for you (and your memory management). Depending on the value of ConfigId, both pInputConfigInfo and pOutputConfigInfo should point to a different type of structure. If it wasn't for this, I could redifine the PInvoke signature to explicitly specify the underlying structure type. If your use of this API is focused around a single value of ConfigId, you may want to change the IntPtr (pConfigInformation) to point directly to a managed version of the correct underlying structure and let the default marshaller take care of the interop layer marshaling for you (and your memory management). Depending on the value of ConfigId, pConfigInformation should point to a different type of structure. If it wasn't for this, I could redifine the PInvoke signature to explicitly specify the underlying structure type. If your use of this API is focused around a single value of ConfigId, you may want to change the IntPtr (pConfigInformation) to point directly to a managed version of the correct underlying structure and let the default marshaller take care of the interop layer marshaling for you (and your memory management).
IPEndPoint ipEndPoint = new IPEndPoint(ip, port);
// serialize the endpoint to a SocketAddress and create an array to hold the values. Pin the array.
SocketAddress socketAddress = ipEndPoint.Serialize(); mpr
// [DllImport("Mpr.dll", EntryPoint="WNetAddConnection2", CallingConvention=CallingConvention.Winapi)] oleaut32
[DllImport("oleaut32.dll", EntryPoint = "UnRegisterTypeLib", CharSet = CharSet.Auto, SetLastError = true)] 21: VariantInit
<DllImport("MSVCRT.DLL", EntryPoint:="memset", CharSet:=CharSet.Auto, CallingConvention:=CallingConvention.Cdecl)> winhttp
/// <param name="lpcwszUrl">A pointer to a null-terminated Unicode string that contains the URL of the HTTP request that the application is preparing to send.</param>
/// <param name="pAutoProxyOptions">A pointer to a WINHTTP_AUTOPROXY_OPTIONS structure that specifies the auto-proxy options to use.</param>
/// <param name="pProxyInfo">A pointer to a WINHTTP_PROXY_INFO structure that receives the proxy setting. This structure is then applied to the request handle using the WINHTTP_OPTION_PROXY option.</param> shlwapi23: IsOS
[DllImport("shlwapi.dll", SetLastError=true, EntryPoint="#437")]
<DllImport("shlwapi.dll", SetLastError:=True, EntryPoint:="#437")> _ 24: PathAddBackslash
/// <param name="lpszPath">A pointer to a buffer with a string that represents a path. The size of this buffer must be set to MAX_PATH to ensure that it is large enough to hold the returned string.</param>
[DllImport("shlwapi.dll", EntryPoint = "PathAddBackslashW", SetLastError = True, CharSet = CharSet.Unicode)]
''' <param name="lpszPath">A pointer to a buffer with a string that represents a path. The size of this buffer must be set to MAX_PATH to ensure that it is large enough to hold the returned string.</param>
<DllImport("shlwapi.dll", EntryPoint:="PathAddBackslashW", SetLastError:=True, CharSet:=CharSet.Unicode)> _ 25: PathAppend
''' <param name="pszPath">A pointer to a null-terminated string to which the path specified in pszMore is appended.</param>
''' <param name="pszMore">A pointer to a null-terminated string of maximum length MAX_PATH that contains the path to be appended.</param>
<DllImport("shlwapi.dll", EntryPoint:="PathAppendW", SetLastError:=True, CharSet:=CharSet.Unicode)> _ 26: PathBuildRoot
/// <param name="szRoot">A pointer to the string that receives the constructed root path. This buffer must be at least four characters in size</param>
[DllImport("shlwapi.dll", EntryPoint = "PathBuildRootW", SetLastError = True, CharSet = CharSet.Unicode)]
''' <param name="szRoot">A pointer to the string that receives the constructed root path. This buffer must be at least four characters in size</param>
<DllImport("shlwapi.dll", EntryPoint:="PathBuildRootW", SetLastError:=True, CharSet:=CharSet.Unicode)> _ 27: PathCompactPath
''' <param name="pszSrc">A pointer to a null-terminated string of length MAX_PATH that contains the path to be altered.</param>
<DllImport("shlwapi.dll", EntryPoint:="PathCompactPathExW", SetLastError:=True, CharSet:=CharSet.Unicode)>
/// The main entry point for the application.
''' <param name="pszSrc">A pointer to a null-terminated string of length MAX_PATH that contains the path to be altered.</param>
<DllImport("shlwapi.dll", EntryPoint:="PathCompactPathExW", SetLastError:=True, CharSet:=CharSet.Unicode)> _
/// The main entry point for the application. 29: PathFileExists
/// <param name="pszPath">A pointer to a null-terminated string of maximum length MAX_PATH that contains the full path of the object to verify.</param>
[DllImport("shlwapi.dll", EntryPoint = "PathFileExistsW", SetLastError = true, CharSet = CharSet.Unicode)]
''' <param name="pszPath">A pointer to a null-terminated string of maximum length MAX_PATH that contains the full path of the object to verify.</param>
<DllImport("shlwapi.dll", EntryPoint:="PathFileExistsW", SetLastError:=True, CharSet:=CharSet.Unicode)> _ 30: PathGetArgs
/// <param name="pszPath">Pointer to a null-terminated string of maximum length MAX_PATH that contains the path to be searched.</param>
/// Returns a pointer to a null-terminated string that contains the arguments portion of the path if successful.
/// If there are no arguments in the path, the function returns a pointer to the end of the input string.
[DllImport("shlwapi.dll", EntryPoint = "PathGetArgsW", SetLastError = True, CharSet= CharSet.Unicode)]
''' <param name="pszPath">Pointer to a null-terminated string of maximum length MAX_PATH that contains the path to be searched.</param>
''' Returns a pointer to a null-terminated string that contains the arguments portion of the path if successful.
''' If there are no arguments in the path, the function returns a pointer to the end of the input string.
<DllImport("shlwapi.dll", EntryPoint:="PathGetArgsW", SetLastError:=True, CharSet:=CharSet.Unicode)> _ 31: PathIsDirectory
/// <param name="pszPath">A pointer to a null-terminated string of maximum length MAX_PATH that contains the path to verify.</param>
[DllImport("shlwapi.dll", EntryPoint = "PathIsDirectoryW", SetLastError = True, CharSet= CharSet.Unicode)]
''' <param name="pszPath">A pointer to a null-terminated string of maximum length MAX_PATH that contains the path to verify.</param>
<DllImport("shlwapi.dll", EntryPoint:="PathIsDirectoryW", SetLastError:=True, CharSet:=CharSet.Unicode)> _ 32: PathIsFileSpec
/// <param name="pszPath">A pointer to a null-terminated string of maximum length MAX_PATH that contains the path to be searched.</param>
[DllImport("shlwapi.dll", EntryPoint = "PathIsFileSpecW", SetLastError = True, CharSet = CharSet.Unicode)]
''' <param name="pszPath">A pointer to a null-terminated string of maximum length MAX_PATH that contains the path to be searched.</param>
<DllImport("shlwapi.dll", EntryPoint:="PathIsFileSpecW", SetLastError:=True, CharSet:=CharSet.Unicode)> _ 33: PathIsHTMLFile
[DllImport("shlwapi.dll", EntryPoint = "PathIsHTMLFileW", SetLastError = True, CharSet = CharSet.Unicode)]
<DllImport("shlwapi.dll", EntryPoint:="PathIsHTMLFileW", SetLastError:=True, CharSet:=CharSet.Unicode)> _
''' <param name="pszPath">A pointer to a null-terminated string of maximum length MAX_PATH that contains the path.</param>
<DllImport("shlwapi.dll", EntryPoint:="PathIsNetworkPathW", SetLastError:=True, CharSet:=CharSet.Unicode)> _ 35: PathIsRelative
''' <param name="pszPath">A pointer to a null-terminated string of maximum length MAX_PATH that contains the path to search.</param>
<DllImport("shlwapi.dll", EntryPoint:="PathIsRelativeW", SetLastError:=True, CharSet:=CharSet.Unicode)> _
<DllImport("shlwapi.dll", EntryPoint:="PathIsRelativeW", SetLastError:=True, CharSet:=CharSet.Unicode)> _ 36: PathIsRoot
/// <param name="pszPath">A pointer to a null-terminated string of maximum length MAX_PATH that contains the path to be validated.</param>
[DllImport("shlwapi.dll", EntryPoint = "PathIsRootW", SetLastError = True, CharSet = CharSet.Unicode)]
''' <param name="pszPath">A pointer to a null-terminated string of maximum length MAX_PATH that contains the path to be validated.</param>
<DllImport("shlwapi.dll", EntryPoint:="PathIsRootW", SetLastError:=True, CharSet:=CharSet.Unicode)> _ 37: PathIsUNC
/// <param name="pszPath">A pointer to a null-terminated string of maximum length MAX_PATH that contains the path to be validated.</param>
[DllImport("shlwapi.dll", EntryPoint:="PathIsUNCServerShareW", SetLastError:=True, CharSet:=CharSet.Unicode)]
''' <param name="pszPath">A pointer to a null-terminated string of maximum length MAX_PATH that contains the path to be validated.</param>
<DllImport("shlwapi.dll", EntryPoint:="PathIsUNCServerShareW", SetLastError:=True, CharSet:=CharSet.Unicode)> _ 38: PathIsUNCServer
/// <param name="pszPath">A pointer to a null-terminated string of maximum length MAX_PATH that contains the path to validate.</param>
[DllImport("shlwapi.dll", EntryPoint = "PathIsUNCServerW", SetLastError = True, CharSet = CharSet.Unicode)]
''' <param name="pszPath">A pointer to a null-terminated string of maximum length MAX_PATH that contains the path to validate.</param>
<DllImport("shlwapi.dll", EntryPoint:="PathIsUNCServerW", SetLastError:=True, CharSet:=CharSet.Unicode)> _ 39: PathIsURL
/// <param name="pszPath">A pointer to a null-terminated string of maximum length MAX_PATH that contains the URL path to validate.</param>
[DllImport("shlwapi.dll", EntryPoint = "PathIsURLW", SetLastError = True, CharSet = CharSet.Unicode)]
''' <param name="pszPath">A pointer to a null-terminated string of maximum length MAX_PATH that contains the URL path to validate.</param>
<DllImport("shlwapi.dll", EntryPoint:="PathIsURLW", SetLastError:=True, CharSet:=CharSet.Unicode)> _ 40: PathMatchSpec
''' <param name="pszFile">A pointer to a null-terminated string of maximum length MAX_PATH that contains the path to be searched.</param>
''' <param name="pszSpec">A pointer to a null-terminated string of maximum length MAX_PATH that contains the file type for which to search. For example, to test whether pszFile is a .doc file, pszSpec should be set to "*.doc".</param>
<DllImport("shlwapi.dll", EntryPoint:="PathMatchSpecW", SetLastError:=True, CharSet:=CharSet.Unicode)> _ 41: PathQuoteSpaces
/// <param name="lpsz">A pointer to a null-terminated string that contains the path to search. The size of this buffer must be set to MAX_PATH to ensure that it is large enough to hold the returned string.</param>
[DllImport("shlwapi.dll", EntryPoint = "PathQuoteSpacesW", SetLastError = True, CharSet = CharSet.Unicode)]
''' <param name="lpsz">A pointer to a null-terminated string that contains the path to search. The size of this buffer must be set to MAX_PATH to ensure that it is large enough to hold the returned string.</param>
<DllImport("shlwapi.dll", EntryPoint:="PathQuoteSpacesW", SetLastError:=True, CharSet:=CharSet.Unicode)> _
''' <param name="pszTo">Contains the path that defines the endpoint of the relative path</param>
''' For example, let the starting point, pszFrom, be "c:\FolderA\FolderB\FolderC", and the ending point, pszTo, be "c:\FolderA\FolderD\FolderE". PathRelativePathTo will return the relative path from pszFrom to pszTo as: "..\..\FolderD\FolderE". You will get the same result if you set pszFrom to "\FolderA\FolderB\FolderC" and pszTo to "\FolderA\FolderD\FolderE". On the other hand, "c:\FolderA\FolderB" and "a:\FolderA\FolderD do not share a common prefix, and the function will fail. Note that "\\" is not considered a prefix and is ignored. If you set pszFrom to "\\FolderA\FolderB", and pszTo to "\\FolderC\FolderD", the function will fail. 43: PathRemoveArgs
/// <param name="lpszPath">Pointer to a null-terminated string of length MAX_PATH that contains the path from which to remove arguments.</param>
[DllImport("shlwapi.dll", EntryPoint = "PathRemoveArgsW", SetLastError = True, CharSet = CharSet.Unicode)]
''' <param name="lpszPath">Pointer to a null-terminated string of length MAX_PATH that contains the path from which to remove arguments.</param>
<DllImport("shlwapi.dll", EntryPoint:="PathRemoveArgsW", SetLastError:=True, CharSet:=CharSet.Unicode)> _
/// <param name="lpszPath">A pointer to a null-terminated string of length MAX_PATH that contains the path from which to remove the backslash.</param>
[DllImport("shlwapi.dll", EntryPoint = "PathRemoveBackslashW", SetLastError = True, CharSet = CharSet.Unicode)]
''' <param name="lpszPath">A pointer to a null-terminated string of length MAX_PATH that contains the path from which to remove the backslash.</param>
<DllImport("shlwapi.dll", EntryPoint:="PathRemoveBackslashW", SetLastError:=True, CharSet:=CharSet.Unicode)> _ 45: PathRemoveBlanks
/// <param name="pszPath">A pointer to a null-terminated string of length MAX_PATH from which to strip all leading and trailing spaces.</param>
[DllImport("shlwapi.dll", EntryPoint = "PathRemoveBlanksW", SetLastError = True, CharSet = CharSet.Unicode)]
''' <param name="pszPath">A pointer to a null-terminated string of length MAX_PATH from which to strip all leading and trailing spaces.</param>
<DllImport("shlwapi.dll", EntryPoint:="PathRemoveBlanksW", SetLastError:=True, CharSet:=CharSet.Unicode)> _
/// <param name="pszFile">A pointer to a null-terminated string of length MAX_PATH from which to remove the extension.</param>
[DllImport("shlwapi.dll", EntryPoint = "PathRemoveExtensionW", SetLastError = True, CharSet= CharSet.Unicode)]
''' <param name="pszFile">A pointer to a null-terminated string of length MAX_PATH from which to remove the extension.</param>
<DllImport("shlwapi.dll", EntryPoint:="PathRemoveExtensionW", SetLastError:=True, CharSet:=CharSet.Unicode)> _
/// <param name="lpszPath">Pointer to a null-terminated string of length MAX_PATH in which to replace the extension.</param>
/// <param name="pszExt">Pointer to a character buffer that contains a '.' character followed by the new extension.</param>
[DllImport("shlwapi.dll", EntryPoint = "PathRenameExtensionW", SetLastError = True, CharSet = CharSet.Unicode)]
''' <param name="lpszPath">Pointer to a null-terminated string of length MAX_PATH in which to replace the extension.</param>
''' <param name="pszExt">Pointer to a character buffer that contains a '.' character followed by the new extension.</param>
<DllImport("shlwapi.dll", EntryPoint:="PathRenameExtensionW", SetLastError:=True, CharSet:=CharSet.Unicode)> _ 48: PathStripPath
''' <param name="pszPath">A pointer to a null-terminated string of length MAX_PATH that contains the path and file name. When this function returns successfully, the string contains only the file name, with the path removed.</param>
<DllImport("shlwapi.dll", EntryPoint:="PathStripPathW", SetLastError:=True, CharSet:=CharSet.Unicode)> _ 49: PathStripToRoot
/// <param name="pszPath">A pointer to a null-terminated string of length MAX_PATH that contains the path to be converted. When this function returns successfully, this string contains only the root information taken from that path.</param>
[DllImport("shlwapi.dll", EntryPoint = "PathStripToRootW", SetLastError = true, CharSet = CharSet.Unicode)]
''' <param name="pszPath">A pointer to a null-terminated string of length MAX_PATH that contains the path to be converted. When this function returns successfully, this string contains only the root information taken from that path.</param>
<DllImport("shlwapi.dll", EntryPoint:="PathStripToRootW", SetLastError:=true, CharSet:=CharSet.Unicode)> _ 50: PathUndecorate
/// <param name="pszPath">A null-terminated string of length MAX_PATH that contains the path. When the function returns, pszPath points to the undecorated string.</param>
[DllImport("shlwapi.dll", EntryPoint = "PathUnDecorateW", SetLastError = true, CharSet = CharSet.Unicode)]
''' <param name="pszPath">A null-terminated string of length MAX_PATH that contains the path. When the function returns, pszPath points to the undecorated string.</param>
<DllImport("shlwapi.dll", EntryPoint:="PathUnDecorateW", SetLastError:=true, CharSet:=CharSet.Unicode)> _
<DllImport("shlwapi.dll", EntryPoint:="PathUnExpandEnvStringsW", SetLastError:=true, CharSet:=CharSet.Unicode)> _
/// <param name="lpsz">A pointer to a null-terminated string of length MAX_PATH that contains the path. When the function returns successfully, points to the string with beginning and ending quotation marks removed.</param>
[DllImport("shlwapi.dll", EntryPoint = "PathUnQuoteSpacesW", SetLastError = True, CharSet= CharSet.Unicode)]
''' <param name="lpsz">A pointer to a null-terminated string of length MAX_PATH that contains the path. When the function returns successfully, points to the string with beginning and ending quotation marks removed.</param>
<DllImport("shlwapi.dll", EntryPoint:="PathUnQuoteSpacesW", SetLastError:=True, CharSet:=CharSet.Unicode)> _ [DllImport("shlwapi.dll", CharSet = CharSet.Unicode, ExactSpelling = true, PreserveSig = false, EntryPoint = "SHCreateStreamOnFileEx")] [DllImport("shlwapi.dll", CharSet = CharSet.Unicode, ExactSpelling = true, PreserveSig = false, EntryPoint = "SHCreateStreamOnFileEx")]
/* The SHMessageBoxCheck() function is a Windows Shell API function that displays a custom messagebox with a "never ask me again" check box. When the user checks the checkbox, the dialog never shows up again. The shell API .dll exports this function by ordinal only. The entrypoint is ordinal 185 for ASCII and 191 for unicode. */
[DllImport("shlwapi.dll", EntryPoint="#185", ExactSpelling=true, PreserveSig=false)] shell32
// pointer logic and were removed.
// ptrToSplitArgs is an array of pointers to null terminated Unicode strings. 57: CSIDL
/// SHGetSpecialFolderLocation, and SHGetSpecialFolderPath, to retrieve a special folder's path or pointer 58: DragQueryPoint
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. 60: 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)> _ Cut off search results after 60. Please refine your search. |