module Windows::Path
Constants
- GCT_INVALID
These constants are for use by the PathGetCharType() function.
- GCT_LFNCHAR
- GCT_SEPARATOR
- GCT_SHORTCHAR
- GCT_WILD
- URLIS_APPLIABLE
- URLIS_DIRECTORY
- URLIS_FILEURL
- URLIS_HASQUERY
- URLIS_NOHISTORY
- URLIS_OPAQUE
- URLIS_URL
URLIS enum
- URL_APPLY_DEFAULT
- URL_APPLY_FORCEAPPLY
- URL_APPLY_GUESSFILE
- URL_APPLY_GUESSSCHEME
- URL_BROWSER_MODE
- URL_CONVERT_IF_DOSPATH
- URL_DONT_ESCAPE_EXTRA_INFO
- URL_DONT_SIMPLIFY
- URL_DONT_UNESCAPE
- URL_DONT_UNESCAPE_EXTRA_INFO
- URL_ESCAPE_PERCENT
- URL_ESCAPE_SEGMENT_ONLY
- URL_ESCAPE_SPACES_ONLY
- URL_ESCAPE_UNSAFE
- URL_FILE_USE_PATHURL
- URL_INTERNAL_PATH
- URL_NO_META
- URL_PARTFLAG_KEEPSCHEME
- URL_PLUGGABLE_PROTOCOL
- URL_UNESCAPE
- URL_UNESCAPE_HIGH_ANSI_ONLY
- URL_UNESCAPE_INPLACE
- URL_WININET_COMPATIBILITY
Private Instance Methods
UrlEscapeSpaces(pszUrl, pszEscaped, pcchEscaped)
click to toggle source
Macros
# File lib/windows/path.rb, line 126 def UrlEscapeSpaces(pszUrl, pszEscaped, pcchEscaped) UrlCanonicalize.call( pszUrl, pszEscaped, pcchEscaped, URL_ESCAPE_SPACES_ONLY | URL_DONT_ESCAPE_EXTRA_INFO ) end
UrlIsFileUrl(pszUrl)
click to toggle source
# File lib/windows/path.rb, line 135 def UrlIsFileUrl(pszUrl) UrlIsA.call(pszUrl, URLIS_FILEURL) end
UrlUnescapeInPlace(pszUrl, dwFlags)
click to toggle source
# File lib/windows/path.rb, line 139 def UrlUnescapeInPlace(pszUrl, dwFlags) UrlUnescape.call(pszUrl, nil, nil, dwFlags | URL_UNESCAPE_INPLACE) end