[DllImport("UxTheme.Dll", EntryPoint = "#2", CharSet = CharSet.Unicode)]
public static extern int OpenThemeFile(string pszFilename, string pszColor, string pszSize, out IntPtr hThemeFile, int dwReserved);
<DllImport("UxTheme.DLL", BestFitMapping:=False, CallingConvention:=CallingConvention.Winapi, CharSet:=CharSet.Unicode, EntryPoint:="#2")> _
Declare Function OpenThemeFile Lib "uxtheme.dll" (ByVal String pszFilename, ByVal String pszColor, ByVal String pszSize, ByRef IntPtr hThemeFile, ByVal Integer dwReserved) As Integer
<DllImport("UxTheme.Dll", EntryPoint := "#2", CharSet := CharSet.Unicode)> _
Public Shared Function OpenThemeFile(pszFilename As String, pszColor As String, pszSize As String, ByRef hThemeFile As IntPtr, dwReserved As Integer) As Integer
End Function
Function OpenThemeFile(pszThemeFileName: LPCWSTR; pszColorName: LPCWSTR; pszSizeName: LPCWSTR; hThemeFile: Pointer; unknown: DWORD): HRESULT; StdCall; External 'uxtheme.dll' Index 2;
None.
Do you know one? Please contribute it!
Parameters have the same meaning as for SetSystemVisualStyle, except the new hThemeFile one which is the result of the function.
I'll add an example of how to use this later.
Please add some!
Please add some!