mirror of https://github.com/dahall/Vanara.git
Changed all dll references to lowercase to avoid new .NET 5 behavior (fixes #235)
parent
c701bff372
commit
3f8ebec9be
|
@ -16,7 +16,7 @@ namespace Vanara.PInvoke
|
|||
{
|
||||
// Win95 compatibility--not applicable to 32-bit ConfigMgr Win95 compatibility--not applicable to 32-bit ConfigMgr Win95
|
||||
// compatibility--not applicable to 32-bit ConfigMgr
|
||||
private const string Lib_Cfgmgr32 = "CfgMgr32.dll";
|
||||
private const string Lib_Cfgmgr32 = "cfgmgr32.dll";
|
||||
|
||||
#pragma warning disable CS1591 // Missing XML comment for publicly visible type or member
|
||||
public const int CONFIGMG_VERSION = 0x0400;
|
||||
|
|
|
@ -7,7 +7,7 @@ namespace Vanara.PInvoke
|
|||
/// <summary>Items from the ComDlg32.dll</summary>
|
||||
public static partial class ComDlg32
|
||||
{
|
||||
private const string Lib_ComDlg32 = "ComDlg32.dll";
|
||||
private const string Lib_ComDlg32 = "comdlg32.dll";
|
||||
|
||||
/// <summary>
|
||||
/// A Color dialog box sends the COLOROKSTRING registered message to your hook procedure, CCHookProc, when the user selects a color
|
||||
|
|
|
@ -11,7 +11,7 @@ namespace Vanara.PInvoke
|
|||
/// <summary>Items from the DbgHelp.dll</summary>
|
||||
public static partial class DbgHelp
|
||||
{
|
||||
private const string Lib_DbgHelp = "DbgHelp.dll";
|
||||
private const string Lib_DbgHelp = "dbghelp.dll";
|
||||
|
||||
/// <summary>
|
||||
/// <para>An application-defined callback function used with the EnumDirTree function. It is called every time a match is found.</para>
|
||||
|
|
|
@ -12,7 +12,7 @@ namespace Vanara.PInvoke
|
|||
/// <summary>Handle returned is to an event</summary>
|
||||
public const uint DHCPCAPI_REGISTER_HANDLE_EVENT = 0x01;
|
||||
|
||||
private const string Lib_Dhcp = "Dhcpcsvc.dll";
|
||||
private const string Lib_Dhcp = "dhcpcsvc.dll";
|
||||
|
||||
/// <summary>
|
||||
/// DHCP options. See <a href="https://kb.isc.org/docs/isc-dhcp-44-manual-pages-dhcp-options">ISC DHCP 4.4 Manual Pages -
|
||||
|
|
|
@ -9,7 +9,7 @@ namespace Vanara.PInvoke
|
|||
/// <summary>Required length of the buffer for <see cref="MCAST_CLIENT_UID"/>.</summary>
|
||||
public const int MCAST_CLIENT_ID_LEN = 17;
|
||||
|
||||
private const string Lib_Dhcpcsvc = "Dhcpcsvc.dll";
|
||||
private const string Lib_Dhcpcsvc = "dhcpcsvc.dll";
|
||||
|
||||
/// <summary>
|
||||
/// The <c>McastApiCleanup</c> function deallocates resources that are allocated with McastApiStartup. The <c>McastApiCleanup</c>
|
||||
|
|
|
@ -12,7 +12,7 @@ namespace Vanara.PInvoke
|
|||
/// <summary>Items from the Drt.dll</summary>
|
||||
public static partial class Drt
|
||||
{
|
||||
private const string Lib_Drt = "Drt.dll";
|
||||
private const string Lib_Drt = "drt.dll";
|
||||
|
||||
/// <summary/>
|
||||
public const uint DRT_PAYLOAD_REVOKED = (1 << 0);
|
||||
|
|
|
@ -8,7 +8,7 @@ namespace Vanara.PInvoke
|
|||
/// <summary>Functions and structures from Lz32.dll</summary>
|
||||
public static partial class Lz32
|
||||
{
|
||||
private const string Lib_Lz32 = "Lz32.dll";
|
||||
private const string Lib_Lz32 = "lz32.dll";
|
||||
|
||||
/// <summary>Style flags for <see cref="LZOpenFile"/>.</summary>
|
||||
[PInvokeData("WinBase.h", MSDNShortId = "aa365430")]
|
||||
|
|
|
@ -6,7 +6,7 @@ namespace Vanara.PInvoke
|
|||
/// <summary>Items from the Msi.dll</summary>
|
||||
public static partial class Msi
|
||||
{
|
||||
private const string Lib_Msi = "Msi.dll";
|
||||
private const string Lib_Msi = "msi.dll";
|
||||
|
||||
/// <summary>To advertise the product locally to the computer.</summary>
|
||||
[PInvokeData("msi.h")]
|
||||
|
|
|
@ -9,7 +9,7 @@ namespace Vanara.PInvoke
|
|||
/// <summary>Items from the WinMm.dll</summary>
|
||||
public static partial class WinMm
|
||||
{
|
||||
private const string Lib_Winmm = "WinMm.dll";
|
||||
private const string Lib_Winmm = "winmm.dll";
|
||||
|
||||
/// <summary>Describes optional functionality supported by the auxiliary audio device.</summary>
|
||||
[PInvokeData("mmeapi.h", MSDNShortId = "NS:mmeapi.auxcaps_tag")]
|
||||
|
|
|
@ -7,7 +7,7 @@ namespace Vanara.PInvoke
|
|||
/// <summary>Items from the NewDev.dll</summary>
|
||||
public static partial class NewDev
|
||||
{
|
||||
private const string Lib_NewDev = "NewDev.dll";
|
||||
private const string Lib_NewDev = "newdev.dll";
|
||||
|
||||
/// <summary>Flags for <see cref="DiInstallDevice(HWND, HDEVINFO, in SP_DEVINFO_DATA, in SP_DRVINFO_DATA_V2, DIID_FLAG, out bool)"/>.</summary>
|
||||
[PInvokeData("newdev.h", MSDNShortId = "NF:newdev.DiInstallDevice")]
|
||||
|
|
|
@ -9,7 +9,7 @@ namespace Vanara.PInvoke
|
|||
/// <summary>Items from the P2P.dll</summary>
|
||||
public static partial class P2P
|
||||
{
|
||||
private const string Lib_P2P = "P2P.dll";
|
||||
private const string Lib_P2P = "p2p.dll";
|
||||
private const string Lib_P2PGraph = "p2pgraph.dll";
|
||||
|
||||
/// <summary/>
|
||||
|
|
|
@ -7,7 +7,7 @@ namespace Vanara.PInvoke
|
|||
/// <summary>Items from the PeerDist.dll</summary>
|
||||
public static partial class PeerDist
|
||||
{
|
||||
private const string Lib_PeerDist = "PeerDist.dll";
|
||||
private const string Lib_PeerDist = "peerdist.dll";
|
||||
|
||||
/// <summary/>
|
||||
public const uint PEERDIST_READ_TIMEOUT_DEFAULT = 0xfffffffe;
|
||||
|
|
|
@ -28,7 +28,7 @@ namespace Vanara.PInvoke
|
|||
/// <summary>RM_SESSION_KEY_LEN - size in bytes of binary session key</summary>
|
||||
public const int RM_SESSION_KEY_LEN = 16;
|
||||
|
||||
private const string Lib_Rstrtmgr = "Rstrtmgr.dll";
|
||||
private const string Lib_Rstrtmgr = "rstrtmgr.dll";
|
||||
|
||||
/// <summary>
|
||||
/// The <c>RM_WRITE_STATUS_CALLBACK</c> function can be implemented by the user interface that controls the Restart Manager. The
|
||||
|
|
|
@ -6,7 +6,7 @@ namespace Vanara.PInvoke
|
|||
/// <summary>Items from the SHCore.dll</summary>
|
||||
public static partial class SHCore
|
||||
{
|
||||
private const string Lib_SHCore = "SHCore.dll";
|
||||
private const string Lib_SHCore = "shcore.dll";
|
||||
|
||||
/// <summary>
|
||||
/// <para>Indicates whether the device is a primary or immersive type of display.</para>
|
||||
|
|
|
@ -8,7 +8,7 @@ namespace Vanara.PInvoke
|
|||
/// <summary>Items from the SetupAPI.dll</summary>
|
||||
public static partial class SetupAPI
|
||||
{
|
||||
private const string Lib_SetupAPI = "SetupAPI.dll";
|
||||
private const string Lib_SetupAPI = "setupapi.dll";
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
|
|
|
@ -55,7 +55,7 @@
|
|||
public const string Gdi32 = "gdi32.dll";
|
||||
|
||||
/// <summary>The gdi32</summary>
|
||||
public const string IpHlpApi = "Iphlpapi.dll";
|
||||
public const string IpHlpApi = "iphlpapi.dll";
|
||||
|
||||
/// <summary>The kernel32</summary>
|
||||
public const string Kernel32 = "kernel32.dll";
|
||||
|
@ -112,7 +112,7 @@
|
|||
public const string PropSys = "propsys.dll";
|
||||
|
||||
/// <summary>The Schannel</summary>
|
||||
public const string Schannel = "Schannel.dll";
|
||||
public const string Schannel = "schannel.dll";
|
||||
|
||||
/// <summary>The secur32</summary>
|
||||
public const string Secur32 = "secur32.dll";
|
||||
|
@ -121,10 +121,10 @@
|
|||
public const string Shell32 = "shell32.dll";
|
||||
|
||||
/// <summary>The shlwapi</summary>
|
||||
public const string Shlwapi = "Shlwapi.dll";
|
||||
public const string Shlwapi = "shlwapi.dll";
|
||||
|
||||
/// <summary>The sspi cli</summary>
|
||||
public const string SspiCli = "SspiCli.dll";
|
||||
public const string SspiCli = "sspicli.dll";
|
||||
|
||||
/// <summary>The tokenbinding</summary>
|
||||
public const string Tokenbinding = "tokenbinding.dll";
|
||||
|
|
|
@ -7,7 +7,7 @@ namespace Vanara.PInvoke
|
|||
/// <summary>Items from version.dll.</summary>
|
||||
public static partial class VersionDll
|
||||
{
|
||||
private const string Lib_Version = "Version.dll";
|
||||
private const string Lib_Version = "version.dll";
|
||||
|
||||
/// <summary>Retrieves version information for the specified file.</summary>
|
||||
/// <param name="lptstrFilename">
|
||||
|
|
|
@ -16,7 +16,7 @@ namespace Vanara.PInvoke
|
|||
private const int CLIENTADDRESS_LENGTH = 30;
|
||||
private const int CLIENTNAME_LENGTH = 20;
|
||||
private const int DOMAIN_LENGTH = 17;
|
||||
private const string Lib_WTSApi32 = "WTSApi32.dll";
|
||||
private const string Lib_WTSApi32 = "wtsapi32.dll";
|
||||
private const int MAX_PATH = 260;
|
||||
private const int USERNAME_LENGTH = 20;
|
||||
private const int WINSTATIONNAME_LENGTH = 32;
|
||||
|
|
|
@ -41,7 +41,7 @@ namespace Vanara.PInvoke
|
|||
/// <summary/>
|
||||
public const string WSMAN_STREAM_ID_STDOUT = "stdout";
|
||||
|
||||
private const string Lib_WsmSvc = "WsmSvc.dll";
|
||||
private const string Lib_WsmSvc = "wsmsvc.dll";
|
||||
|
||||
/// <summary>
|
||||
/// <para>Authorizes a specific operation.</para>
|
||||
|
|
Loading…
Reference in New Issue