Search
Module:
Directory

   Desktop Functions:

   Smart Device Functions:


Show Recent Changes
Subscribe (RSS)
Misc. Pages
Comments
FAQ
Helpful Tools
Playground
Suggested Reading
Website TODO List
Download Visual Studio Add-In

Search Results for "EntryPoint" in [All]

winscard

.

[DllImport("winscard.dll", EntryPoint="SCardConnect", CharSet=CharSet.Auto)]

.

    [DllImport("WinScard.dll", EntryPoint = "SCardListReadersA", CharSet = CharSet.Ansi)]

.

  [DllImport("winscard.dll", EntryPoint="SCardListReadersA", CharSet=CharSet.Ansi)]

winspool

.

<DllImport("winspool.drv", EntryPoint:="ClosePrinter", _

.

[DllImport("winspool.Drv", EntryPoint = "DocumentPropertiesW", SetLastError = true, ExactSpelling = true, CallingConvention = CallingConvention.StdCall)]

.

  <DllImport("winspool.Drv", EntryPoint:="DocumentPropertiesW", SetLastError:=True, ExactSpelling:=True, CallingConvention:=CallingConvention.StdCall)> _

.

[DllImport("Winspool.drv", SetLastError=true, EntryPoint="EnumJobsA")]

.

[DllImport("winspool.drv", EntryPoint="EnumPrintProcessorDatatypes")]

.

    EntryPoint = "FindFirstPrinterChangeNotification",

.

[DllImport("winspool.Drv", EntryPoint="FlushPrinter", SetLastError=true, CharSet=CharSet.Ansi,ExactSpelling=true, CallingConvention=CallingConvention.StdCall)]

.

[DllImport("winspool.Drv", EntryPoint = "OpenPrinterA", SetLastError = true, CharSet = CharSet.Ansi, ExactSpelling = true, CallingConvention = CallingConvention.StdCall)]

.

   <DllImport("winspool.drv", EntryPoint:="OpenPrinterA", _

.

   <DllImport("winspool.drv", EntryPoint:="OpenPrinterA", ExactSpelling:=True, _

.

   <DllImport("winspool.drv", EntryPoint:="OpenPrinterA", ExactSpelling:=True, _

.

   [<DllImport("winspool.drv", EntryPoint="OpenPrinterA", SetLastError=true, CharSet=CharSet.Ansi, ExactSpelling=true,  

.

    [DllImport("winspool.Drv", EntryPoint = "ReadPrinter", SetLastError = true, ExactSpelling = true, CallingConvention = CallingConvention.StdCall)]

.

[DllImport("winspool.Drv", EntryPoint="ResetPrinterA", SetLastError=true, CharSet=CharSet.Ansi,ExactSpelling=true, CallingConvention=CallingConvention.StdCall)]

13: SetJob
.

[DllImport("winspool.drv", EntryPoint="SetJobA")]

.

[DllImport("winspool.drv", EntryPoint = "WritePrinter", SetLastError = true, ExactSpelling = true, CallingConvention = CallingConvention.StdCall)]

.

    <DllImport("winspool.Drv", EntryPoint:="WritePrinter", SetLastError:=True, CharSet:=CharSet.Unicode, ExactSpelling:=True, CallingConvention:=CallingConvention.StdCall)> _

winfax

.

[DllImport("winfax.dll", SetLastError = true, EntryPoint = "FaxCompleteJobParamsW")]

.

[DllImport("winfax.dll", SetLastError = true, EntryPoint = "FaxCompleteJobParamsW")]

.

Be careful ! Don't miss the EntryPoint attribute, beacause string in structures will be in bad format (ANSI).

iphlpapi

.

      [DllImport("iphlpapi.dll", EntryPoint = "AddIPAddress", SetLastError = true)]

.

    <DllImport("kernel32.dll", EntryPoint:="CreateEventA", CharSet:=CharSet.Unicode)>

.

<DllImport("iphlpapi.dll", EntryPoint:="GetAdaptersInfo", CharSet:=CharSet.Ansi)> _

.

[DllImport(S"IPHLPAPI.DLL", EntryPoint=S"GetIpAddrTable", SetLastError=true, CharSet=CharSet::Unicode, ExactSpelling=true)]

.

[DllImport("iphlpapi.dll", EntryPoint="GetIpNetTable")]

.

        [DllImport("Iphlpapi.dll", EntryPoint="GetIpNetTable")]

.

    [DllImport("Iphlpapi.dll", EntryPoint = "PfAddFiltersToInterface")]

.

    [DllImport("iphlpapi.dll", EntryPoint = "PfBindInterfaceToIPAddress")]

.

    [DllImport("Iphlpapi.dll", EntryPoint = "PfCreateInterface")]

.

    [DllImport("iphlpapi.dll", EntryPoint = "PfDeleteInterface")]

.

    [DllImport("iphlpapi.dll", EntryPoint = "PfRemoveFiltersFromInterface")]

.

    [DllImport("iphlpapi.dll", EntryPoint = "PfTestPacket")]

kernel32

.

    [DllImport("kernel32.dll", EntryPoint = "ReadConsoleInputW", CharSet = CharSet.Unicode)]

.

     EntryPoint:="CreateEventA")> _

.

    [DllImport("kernel32.dll", EntryPoint = "CreateFile", SetLastError = true)]

.

    [DllImport("kernel32.dll", EntryPoint = "PeekNamedPipe", SetLastError = true)]

.

<DllImport("kernel32.dll", CharSet:=CharSet.Unicode, EntryPoint:="EnumResourceNamesW", SetLastError:=True)> _

.

<DllImport("kernel32.dll", CharSet:=CharSet.Unicode, EntryPoint:="EnumResourceNamesW", SetLastError:=True)> _

.

    <DllImport("kernel32.dll", CharSet:=CharSet.Unicode, EntryPoint:="EnumResourceNamesW", SetLastError:=True)> _

.

    <DllImport("kernel32.dll", CharSet:=CharSet.Unicode, EntryPoint:="EnumResourceNamesW", SetLastError:=True)> _

.

    [DllImport("kernel32.dll", EntryPoint = "EnumResourceNamesW", CharSet = CharSet.Unicode, SetLastError = true)]

.

    [DllImport("kernel32.dll", EntryPoint = "EnumResourceNamesW", CharSet = CharSet.Unicode, SetLastError = true)]

.

<DllImport("kernel32.dll", EntryPoint:="ExpandEnvironmentStringsW", SetLastError:=true, CharSet:=CharSet.Unicode)> _

.

  [DllImport("kernel32.dll", CharSet = CharSet.Unicode, SetLastError = true, EntryPoint="CreateFileW")]

.

<DllImport("Kernel32.dll", EntryPoint:="FormatMessageW", SetLastError:=True, CharSet:=CharSet.Unicode, CallingConvention:=CallingConvention.StdCall)> _

.

<DllImport("Kernel32.dll", EntryPoint:="FormatMessageW", SetLastError:=True, CharSet:=CharSet.Unicode, CallingConvention:=CallingConvention.StdCall)> _

.

<DllImport("Kernel32.dll", EntryPoint:="FormatMessageW", SetLastError:=True, CharSet:=CharSet.Unicode, CallingConvention:=CallingConvention.StdCall)> _

.

<DllImport("Kernel32.dll", EntryPoint:="FormatMessageW", SetLastError:=True, CharSet:=CharSet.Unicode, CallingConvention:=CallingConvention.StdCall)> _

.

<DllImport("Kernel32.dll", EntryPoint:="FormatMessageW", SetLastError:=True, CharSet:=CharSet.Unicode, CallingConvention:=CallingConvention.StdCall)> _

.

<DllImport("Kernel32.dll", EntryPoint:="FormatMessageW", SetLastError:=True, CharSet:=CharSet.Unicode, CallingConvention:=CallingConvention.StdCall)> _

.

    <System.Runtime.InteropServices.DllImport("Kernel32.dll", EntryPoint:="FormatMessageW", SetLastError:=True, CharSet:=System.Runtime.InteropServices.CharSet.Unicode)>

.

<DllImport("kernel32.dll", SetLastError:=True, EntryPoint:="FreeLibrary")> _

.

    [DllImport("kernel32.dll", SetLastError=true, EntryPoint="GetCompressedFileSize")]

.

    [DllImport("kernel32.dll", EntryPoint = "GetConsoleOriginalTitleW", CharSet = CharSet.Unicode, SetLastError = true)]

.

    [DllImport("kernel32.dll", EntryPoint = "GetConsoleTitle", CharSet = CharSet.Unicode, SetLastError = true)]

.

catch (EntryPointNotFoundException)

.

Otherwise, an unhandled exception of type 'System.EntryPointNotFoundException' is thrown.

.

[DllImport("KERNEL32.DLL", CharSet=CharSet::Auto, EntryPoint="GetPrivateProfileInt")]

.

    <DllImport("kernel32.dll", SetLastError:=True, EntryPoint:="GetPrivateProfileIntA")> _

.

[DllImport("KERNEL32.DLL", CharSet=CharSet::Auto, EntryPoint="GetPrivateProfileString")]

.

[DllImport("KERNEL32.DLL", CharSet=CharSet::Ansi, EntryPoint="GetProcAddress", ExactSpelling=true)]

.

[DllImport("kernel32", SetLastError = true, EntryPoint = "GetProcAddress")]

.

[DllImport("kernel32.dll", CharSet = CharSet.Unicode, EntryPoint = "GetShortPathNameW", SetLastError = true)]

.

[DllImport("kernel32.dll",EntryPoint="GetStartupInfoW")]

.

     [DllImport("kernel32.dll", SetLastError = true, EntryPoint = "GetStartupInfoA")]

.

<DllImport("kernel32.dll", SetLastError:=true, EntryPoint:="GetSystemDirectoryW", CharSet:=CharSet.Unicode)> _

.

Note that there are two entrypoints to GetTempPath in kernel32.dll called "GetTempPathA" and "GetTempPathW". So if you want to use GetTempPath you have to set the EntryPoint on the DllImport-Attribute as follows (C#):

.

[DllImport("kernel32.dll", EntryPoint = "GetTempPathA")]

.

    EntryPoint:="GetVolumePathNamesForVolumeNameW")> _

.

                EntryPoint:="GetVolumePathNamesForVolumeNameW", _

.

    EntryPoint:="GetVolumePathNamesForVolumeNameW")> _

.

                EntryPoint:="GetVolumePathNamesForVolumeNameW", _

.

<DllImport("kernel32.dll", SetLastError:=true, EntryPoint:="GetWindowsDirectoryW", CharSet:=CharSet.Unicode)> _

.

    <DllImport("KERNEL32.DLL", EntryPoint:="GlobalAlloc", _

.

    [DllImport( "kernel32.dll", CharSet = CharSet.Auto, EntryPoint = "GlobalMemoryStatusEx", SetLastError = true )]

.

    [DllImport( "kernel32.dll", CharSet = CharSet.Auto, EntryPoint = "GlobalMemoryStatusEx", SetLastError = true )]

.

[DllImport("kernel32.dll",EntryPoint="CreateJobObjectW", CharSet=CharSet.Unicode)]

.

    [DllImport("Kernel32.dll", EntryPoint = "FindResourceW", SetLastError = true, CharSet = CharSet.Unicode)]

.

    [DllImport("Kernel32.dll", EntryPoint = "SizeofResource", SetLastError = true)]

.

    [DllImport("Kernel32.dll", EntryPoint = "LoadResource", SetLastError = true)]

.

    [DllImport("Kernel32.dll", EntryPoint = "LockResource")]

.

        (int)pm.EntryPointAddress, (int)pm.BaseAddress + pm.ModuleMemorySize, pm.ModuleName);

.

        (int)pm.EntryPointAddress, (int)pm.BaseAddress + pm.ModuleMemorySize, pm.ModuleName);

.

[DllImport("Kernel32.dll", EntryPoint="RtlMoveMemory", SetLastError=false)]

.

<DllImport("kernel32.dll", EntryPoint:="RtlMoveMemory", SetLastError:=True, CharSet:=CharSet.Auto, ExactSpelling:=True, CallingConvention:=CallingConvention.StdCall)> _

.

    [DllImport("kernel32.dll", EntryPoint = "PeekConsoleInputW", CharSet = CharSet.Unicode, SetLastError = true)]

Cut off search results after 60. Please refine your search.


 
Access PInvoke.net directly from VS: