Desktop Functions: Smart Device Functions:
|
Search Results for "CharSet" in [All]shlwapi
[DllImport("Shlwapi.dll", SetLastError=true, CharSet = CharSet.Auto)]
<DllImport("Shlwapi.dll", SetLastError:=True, CharSet:=CharSet.Auto)> 2: HashData
[DllImport("Shlwapi.dll", CharSet = CharSet.Unicode, ExactSpelling = true, SetLastError = false)]
[DllImport("shlwapi.dll", EntryPoint = "PathAddBackslashW", SetLastError = True, CharSet = CharSet.Unicode)]
<DllImport("shlwapi.dll", EntryPoint:="PathAddBackslashW", SetLastError:=True, CharSet:=CharSet.Unicode)> _ 4: PathAppend
[DllImport("shlwapi.dll", CharSet=CharSet.Auto)]
<DllImport("shlwapi.dll", EntryPoint:="PathAppendW", SetLastError:=True, CharSet:=CharSet.Unicode)> _
[DllImport("shlwapi.dll", EntryPoint = "PathBuildRootW", SetLastError = True, CharSet = CharSet.Unicode)]
<DllImport("shlwapi.dll", EntryPoint:="PathBuildRootW", SetLastError:=True, CharSet:=CharSet.Unicode)> _
[DllImport("shlwapi.dll", CharSet = CharSet.Auto, SetLastError = true)] 7: PathCombine
[DllImport("shlwapi.dll", CharSet=CharSet.Auto)]
[DllImport("shlwapi.dll", CharSet = CharSet.Auto)]
[DllImport("shlwapi.dll", CharSet=CharSet.Auto)]
[DllImport("shlwapi.dll", CharSet=CharSet.Auto)]
<DllImport("shlwapi.dll", EntryPoint:="PathCompactPathExW", SetLastError:=True, CharSet:=CharSet.Unicode)>
[DllImport("shlwapi.dll", CharSet=CharSet.Auto)]
[DllImport("shlwapi.dll", CharSet=CharSet.Auto)]
<DllImport("shlwapi.dll", EntryPoint:="PathCompactPathExW", SetLastError:=True, CharSet:=CharSet.Unicode)> _
[DllImport("shlwapi.dll", CharSet=CharSet.Auto)] 11: PathFileExists
[DllImport("shlwapi.dll", EntryPoint = "PathFileExistsW", SetLastError = true, CharSet = CharSet.Unicode)]
<DllImport("shlwapi.dll", EntryPoint:="PathFileExistsW", SetLastError:=True, CharSet:=CharSet.Unicode)> _
[DllImport("shlwapi.dll", CharSet=CharSet.Auto)] 13: PathFindOnPath
[DllImport("shlwapi.dll", CharSet=CharSet.Auto, SetLastError=false)] 14: PathGetArgs
[DllImport("shlwapi.dll", EntryPoint = "PathGetArgsW", SetLastError = True, CharSet= CharSet.Unicode)]
<DllImport("shlwapi.dll", EntryPoint:="PathGetArgsW", SetLastError:=True, CharSet:=CharSet.Unicode)> _ 15: PathIsDirectory
[DllImport("shlwapi.dll", EntryPoint = "PathIsDirectoryW", SetLastError = True, CharSet= CharSet.Unicode)]
<DllImport("shlwapi.dll", EntryPoint:="PathIsDirectoryW", SetLastError:=True, CharSet:=CharSet.Unicode)> _ 16: PathIsFileSpec
[DllImport("shlwapi.dll", EntryPoint = "PathIsFileSpecW", SetLastError = True, CharSet = CharSet.Unicode)]
<DllImport("shlwapi.dll", EntryPoint:="PathIsFileSpecW", SetLastError:=True, CharSet:=CharSet.Unicode)> _ 17: PathIsHTMLFile
[DllImport("shlwapi.dll", EntryPoint = "PathIsHTMLFileW", SetLastError = True, CharSet = CharSet.Unicode)]
<DllImport("shlwapi.dll", EntryPoint:="PathIsHTMLFileW", SetLastError:=True, CharSet:=CharSet.Unicode)> _
<DllImport("shlwapi.dll", EntryPoint:="PathIsNetworkPathW", SetLastError:=True, CharSet:=CharSet.Unicode)> _ 19: PathIsRelative
[DllImport("shlwapi.dll", CharSet = CharSet.Auto)]
<DllImport("shlwapi.dll", EntryPoint:="PathIsRelativeW", SetLastError:=True, CharSet:=CharSet.Unicode)> _
[DllImport("shlwapi.dll", CharSet = CharSet.Auto)] static extern bool PathIsRelative([In] string lpszPath);
<DllImport("shlwapi.dll", EntryPoint:="PathIsRelativeW", SetLastError:=True, CharSet:=CharSet.Unicode)> _ 20: PathIsRoot
[DllImport("shlwapi.dll", EntryPoint = "PathIsRootW", SetLastError = True, CharSet = CharSet.Unicode)]
<DllImport("shlwapi.dll", EntryPoint:="PathIsRootW", SetLastError:=True, CharSet:=CharSet.Unicode)> _ 21: PathIsSameRoot
[DllImport("shlwapi.dll", CharSet=CharSet.Auto)] 22: PathIsUNC
[DllImport("shlwapi.dll", EntryPoint:="PathIsUNCServerShareW", SetLastError:=True, CharSet:=CharSet.Unicode)]
<DllImport("shlwapi.dll", EntryPoint:="PathIsUNCServerShareW", SetLastError:=True, CharSet:=CharSet.Unicode)> _ 23: PathIsUNCServer
[DllImport("shlwapi.dll", EntryPoint = "PathIsUNCServerW", SetLastError = True, CharSet = CharSet.Unicode)]
<DllImport("shlwapi.dll", EntryPoint:="PathIsUNCServerW", SetLastError:=True, CharSet:=CharSet.Unicode)> _ 24: PathIsURL
[DllImport("shlwapi.dll", EntryPoint = "PathIsURLW", SetLastError = True, CharSet = CharSet.Unicode)]
<DllImport("shlwapi.dll", EntryPoint:="PathIsURLW", SetLastError:=True, CharSet:=CharSet.Unicode)> _ 25: PathMatchSpec
[DllImport("shlwapi.dll", CharSet=CharSet.Auto)]
<DllImport("shlwapi.dll", EntryPoint:="PathMatchSpecW", SetLastError:=True, CharSet:=CharSet.Unicode)> _ 26: PathQuoteSpaces
[DllImport("shlwapi.dll", EntryPoint = "PathQuoteSpacesW", SetLastError = True, CharSet = CharSet.Unicode)]
<DllImport("shlwapi.dll", EntryPoint:="PathQuoteSpacesW", SetLastError:=True, CharSet:=CharSet.Unicode)> _
[DllImport("shlwapi.dll", CharSet=CharSet.Auto)]
<DllImport("shlwapi.dll", CharSet:=CharSet.Auto)> _
<DllImport("shlwapi.dll", CharSet:=CharSet.Auto)> _ 28: PathRemoveArgs
[DllImport("shlwapi.dll", EntryPoint = "PathRemoveArgsW", SetLastError = True, CharSet = CharSet.Unicode)]
<DllImport("shlwapi.dll", EntryPoint:="PathRemoveArgsW", SetLastError:=True, CharSet:=CharSet.Unicode)> _
[DllImport("shlwapi.dll", EntryPoint = "PathRemoveBackslashW", SetLastError = True, CharSet = CharSet.Unicode)]
<DllImport("shlwapi.dll", EntryPoint:="PathRemoveBackslashW", SetLastError:=True, CharSet:=CharSet.Unicode)> _ 30: PathRemoveBlanks
[DllImport("shlwapi.dll", EntryPoint = "PathRemoveBlanksW", SetLastError = True, CharSet = CharSet.Unicode)]
<DllImport("shlwapi.dll", EntryPoint:="PathRemoveBlanksW", SetLastError:=True, CharSet:=CharSet.Unicode)> _
[DllImport("shlwapi.dll", EntryPoint = "PathRemoveExtensionW", SetLastError = True, CharSet= CharSet.Unicode)]
<DllImport("shlwapi.dll", EntryPoint:="PathRemoveExtensionW", SetLastError:=True, CharSet:=CharSet.Unicode)> _
[DllImport("shlwapi.dll", CharSet=CharSet.Auto)]
[DllImport("shlwapi.dll", EntryPoint = "PathRenameExtensionW", SetLastError = True, CharSet = CharSet.Unicode)]
<DllImport("shlwapi.dll", EntryPoint:="PathRenameExtensionW", SetLastError:=True, CharSet:=CharSet.Unicode)> _ 34: PathStripPath
[DllImport("shlwapi.dll", CharSet=CharSet.Auto)]
<DllImport("shlwapi.dll", EntryPoint:="PathStripPathW", SetLastError:=True, CharSet:=CharSet.Unicode)> _ 35: PathStripToRoot
[DllImport("shlwapi.dll", EntryPoint = "PathStripToRootW", SetLastError = true, CharSet = CharSet.Unicode)]
<DllImport("shlwapi.dll", EntryPoint:="PathStripToRootW", SetLastError:=true, CharSet:=CharSet.Unicode)> _ 36: PathUndecorate
[DllImport("shlwapi.dll", EntryPoint = "PathUnDecorateW", SetLastError = true, CharSet = CharSet.Unicode)]
<DllImport("shlwapi.dll", EntryPoint:="PathUnDecorateW", SetLastError:=true, CharSet:=CharSet.Unicode)> _
[DllImport("shlwapi.dll", CharSet=CharSet.Auto)]
<DllImport("shlwapi.dll", EntryPoint:="PathUnExpandEnvStringsW", SetLastError:=true, CharSet:=CharSet.Unicode)> _
[DllImport("shlwapi.dll", EntryPoint = "PathUnQuoteSpacesW", SetLastError = True, CharSet= CharSet.Unicode)]
<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, PreserveSig=false)] [DllImport("shlwapi.dll", CharSet = CharSet.Unicode, ExactSpelling = true, PreserveSig = false, EntryPoint = "SHCreateStreamOnFileEx")]
[DllImport("shlwapi.dll", BestFitMapping = false, CharSet = CharSet.Unicode, ExactSpelling = true, SetLastError = false, ThrowOnUnmappableChar = true)] 42: StrCmpLogicalW
[DllImport("shlwapi.dll", CharSet=CharSet.Unicode, ExactSpelling=true)]
[DllImport("shlwapi.dll", CharSet = CharSet.Unicode, ExactSpelling = true)]
[DllImport ( "Shlwapi.dll", CharSet = CharSet.Auto )]
[DllImport("Shlwapi.dll", CharSet = CharSet.Auto)]
<System.Runtime.InteropServices.DllImport("shlwapi", CharSet:=System.Runtime.InteropServices.CharSet.Auto)> _
[DllImport("Shlwapi.dll", CharSet = CharSet.Auto)]
[DllImport("shlwapi.dll", CharSet=CharSet.Auto)] gdi3246: CopyEnhMetaFile
[DllImport("gdi32.dll", EntryPoint = "CopyEnhMetaFile", SetLastError = true, CharSet = CharSet.Auto)] 47: CreateDC
<DllImport("gdi32.dll", SetLastError:=True, CharSet:=CharSet.Ansi)> _
[DllImport("gdi32.dll", EntryPoint = "CreateDC", CharSet = CharSet.Auto, SetLastError = true)] 48: CreateFont
[DllImport("gdi32.dll", CharSet=CharSet.Auto)]
[DllImport("gdi32.dll", CharSet=CharSet.Auto)] 50: EnumFontFamilies
private const byte DEFAULT_CHARSET = 1;
private const byte SHIFTJIS_CHARSET = 128;
private const byte JOHAB_CHARSET = 130;
private const byte EASTEUROPE_CHARSET = 238;
[DllImport("gdi32.dll", CharSet = CharSet.Auto)]
[StructLayout(LayoutKind.Sequential, CharSet = CharSet.Auto)]
public FontCharSet lfCharSet;
public enum FontCharSet : byte
ANSI_CHARSET = 0,
DEFAULT_CHARSET = 1,
SYMBOL_CHARSET = 2,
SHIFTJIS_CHARSET = 128,
HANGEUL_CHARSET = 129,
HANGUL_CHARSET = 129,
GB2312_CHARSET = 134,
CHINESEBIG5_CHARSET = 136,
OEM_CHARSET = 255,
JOHAB_CHARSET = 130,
HEBREW_CHARSET = 177,
ARABIC_CHARSET = 178,
GREEK_CHARSET = 161,
TURKISH_CHARSET = 162,
VIETNAMESE_CHARSET = 163,
THAI_CHARSET = 222,
EASTEUROPE_CHARSET = 238,
RUSSIAN_CHARSET = 204,
MAC_CHARSET = 77,
BALTIC_CHARSET = 186,
[StructLayout(LayoutKind.Sequential, CharSet = CharSet.Auto)]
public byte tmCharSet;
[StructLayout(LayoutKind.Sequential, CharSet = CharSet.Auto)]
lf.lfCharSet = FontCharSet.DEFAULT_CHARSET;
public enum FontLanguageCharSet
ANSI_CHARSET = 0x00000000,
DEFAULT_CHARSET = 0x00000001,
SYMBOL_CHARSET = 0x00000002,
MAC_CHARSET = 0x0000004D,
SHIFTJIS_CHARSET = 0x00000080,
HANGUL_CHARSET = 0x00000081,
JOHAB_CHARSET = 0x00000082,
GB2312_CHARSET = 0x00000086,
CHINESEBIG5_CHARSET = 0x00000088,
GREEK_CHARSET = 0x000000A1,
TURKISH_CHARSET = 0x000000A2,
VIETNAMESE_CHARSET = 0x000000A3,
HEBREW_CHARSET = 0x000000B1,
ARABIC_CHARSET = 0x000000B2,
BALTIC_CHARSET = 0x000000BA,
RUSSIAN_CHARSET = 0x000000CC,
THAI_CHARSET = 0x000000DE,
EASTEUROPE_CHARSET = 0x000000EE,
OEM_CHARSET = 0x000000FF
[StructLayout(LayoutKind.Sequential, CharSet = CharSet.Auto)]
public Byte lfCharSet;
[StructLayout(LayoutKind.Sequential, CharSet = CharSet.Auto)]
public Byte tmCharSet;
[StructLayout(LayoutKind.Sequential, CharSet = CharSet.Auto)]
[StructLayout(LayoutKind.Sequential, CharSet = CharSet.Auto)]
public Byte tmCharSet;
[DllImport("gdi32.dll", CharSet = CharSet.Auto)]
var logfont = new LOGFONT() { lfCharSet = (byte)FontLanguageCharSet.DEFAULT_CHARSET };
// Fixed Pitch & ANSI_CHARSET
List<string> mono = (from f in allFonts where ((f.LogFont.elfLogFont.lfPitchAndFamily & 0x3) == (int)GdiFonts.FontPitch.FIXED_PITCH) & (GdiFonts.FontLanguageCharSet)f.LogFont.elfLogFont.lfCharSet == GdiFonts.FontLanguageCharSet.ANSI_CHARSET select f.LogFont.elfFullName).ToList<string>();
// Variable Pitch & ANSI_CHARSET
List<string> variable = (from f in allFonts where ((f.LogFont.elfLogFont.lfPitchAndFamily & 0x3) == (int)GdiFonts.FontPitch.VARIABLE_PITCH) & (GdiFonts.FontLanguageCharSet)f.LogFont.elfLogFont.lfCharSet == GdiFonts.FontLanguageCharSet.ANSI_CHARSET select f.LogFont.elfFullName).ToList<string>();
private const byte DEFAULT_CHARSET = 1;
private const byte SHIFTJIS_CHARSET = 128;
private const byte JOHAB_CHARSET = 130;
private const byte EASTEUROPE_CHARSET = 238;
[DllImport("gdi32.dll", CharSet = CharSet.Auto)]
[StructLayout(LayoutKind.Sequential, CharSet = CharSet.Auto)]
public FontCharSet lfCharSet;
public enum FontCharSet : byte
ANSI_CHARSET = 0,
DEFAULT_CHARSET = 1,
SYMBOL_CHARSET = 2,
SHIFTJIS_CHARSET = 128,
HANGEUL_CHARSET = 129,
HANGUL_CHARSET = 129,
GB2312_CHARSET = 134,
CHINESEBIG5_CHARSET = 136,
OEM_CHARSET = 255,
JOHAB_CHARSET = 130,
HEBREW_CHARSET = 177,
ARABIC_CHARSET = 178,
GREEK_CHARSET = 161,
TURKISH_CHARSET = 162,
VIETNAMESE_CHARSET = 163,
THAI_CHARSET = 222,
EASTEUROPE_CHARSET = 238,
RUSSIAN_CHARSET = 204,
MAC_CHARSET = 77,
BALTIC_CHARSET = 186,
[StructLayout(LayoutKind.Sequential, CharSet = CharSet.Auto)]
public byte tmCharSet;
[StructLayout(LayoutKind.Sequential, CharSet = CharSet.Auto)]
lf.lfCharSet = FontCharSet.DEFAULT_CHARSET;
public enum FontLanguageCharSet
ANSI_CHARSET = 0x00000000,
DEFAULT_CHARSET = 0x00000001,
SYMBOL_CHARSET = 0x00000002,
MAC_CHARSET = 0x0000004D,
SHIFTJIS_CHARSET = 0x00000080,
HANGUL_CHARSET = 0x00000081,
JOHAB_CHARSET = 0x00000082,
GB2312_CHARSET = 0x00000086,
CHINESEBIG5_CHARSET = 0x00000088,
GREEK_CHARSET = 0x000000A1,
TURKISH_CHARSET = 0x000000A2,
VIETNAMESE_CHARSET = 0x000000A3,
HEBREW_CHARSET = 0x000000B1,
ARABIC_CHARSET = 0x000000B2,
BALTIC_CHARSET = 0x000000BA,
RUSSIAN_CHARSET = 0x000000CC,
THAI_CHARSET = 0x000000DE,
EASTEUROPE_CHARSET = 0x000000EE,
OEM_CHARSET = 0x000000FF
[StructLayout(LayoutKind.Sequential, CharSet = CharSet.Auto)]
public Byte lfCharSet;
[StructLayout(LayoutKind.Sequential, CharSet = CharSet.Auto)]
public Byte tmCharSet;
[StructLayout(LayoutKind.Sequential, CharSet = CharSet.Auto)]
[StructLayout(LayoutKind.Sequential, CharSet = CharSet.Auto)]
public Byte tmCharSet;
[DllImport("gdi32.dll", CharSet = CharSet.Auto)]
var logfont = new LOGFONT() { lfCharSet = (byte)FontLanguageCharSet.DEFAULT_CHARSET };
// Fixed Pitch & ANSI_CHARSET
List<string> mono = (from f in allFonts where ((f.LogFont.elfLogFont.lfPitchAndFamily & 0x3) == (int)GdiFonts.FontPitch.FIXED_PITCH) & (GdiFonts.FontLanguageCharSet)f.LogFont.elfLogFont.lfCharSet == GdiFonts.FontLanguageCharSet.ANSI_CHARSET select f.LogFont.elfFullName).ToList<string>();
// Variable Pitch & ANSI_CHARSET
List<string> variable = (from f in allFonts where ((f.LogFont.elfLogFont.lfPitchAndFamily & 0x3) == (int)GdiFonts.FontPitch.VARIABLE_PITCH) & (GdiFonts.FontLanguageCharSet)f.LogFont.elfLogFont.lfCharSet == GdiFonts.FontLanguageCharSet.ANSI_CHARSET select f.LogFont.elfFullName).ToList<string>(); 52: GdipLoadImage
[DllImport("gdiplus.dll", CharSet=CharSet.Unicode)]
[DllImport("gdiplus.dll", CharSet=CharSet.Unicode)]
[StructLayout(LayoutKind.Sequential, CharSet=CharSet.Ansi)] 54: GetTextCharset If you need to treat unicode text, you'll need to set the CharSet option to Unicode or Auto (which is default on WindowsNT)
[DllImport("gdi32.dll", CharSet=CharSet.Unicode)] If you need to treat unicode text, you'll need to set the CharSet option to Unicode or Auto (which is default on WindowsNT) [DllImport("gdi32.dll", CharSet=CharSet.Unicode)] 57: GetTextMetrics
[DllImport("gdi32.dll", CharSet = CharSet.Auto)]
//CharSet.auto automatically selects between these functions based on the OS version:
[DllImport("gdi32.dll", CharSet = CharSet.Unicode)]
[DllImport("gdi32.dll", CharSet = CharSet.Ansi)] It's very important to use the same charset on the TEXTMETRIC structure and the extern function.
[DllImport("Gdi32.dll", CharSet=CharSet.Auto)]
[DllImport("Gdi32.dll", CharSet=CharSet.Auto)]
[DllImport("Gdi32.dll", CharSet=CharSet.Auto)]
[StructLayout(LayoutKind.Sequential, CharSet = CharSet.Auto)]
public byte tmCharSet;
[StructLayout(LayoutKind::Sequential, CharSet=CharSet::Unicode)]
Byte tmCharSet;
[DllImport("Gdi32.dll", CharSet=CharSet::Unicode)]
[DllImport("user32.dll",CharSet=CharSet.Auto)]
[StructLayout(LayoutKind.Sequential, CharSet=CharSet.Ansi)]
[StructLayout(LayoutKind.Sequential, CharSet=CharSet.Ansi)] 60: SetTextColor
[DllImport("user32.dll", CharSet=CharSet.Unicode)] Cut off search results after 60. Please refine your search. |