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 "setlasterror" in [All]

winscard

.

[DllImport("winscard.dll", SetLastError=true)]

.

[DllImport("winscard.dll", SetLastError=true)]

.

[DllImport("winscard.dll", SetLastError=true)]

.

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

winspool

.

[DllImport("winspool.drv", SetLastError = true)]

.

[DllImport("winspool.drv", SetLastError = true, CharSet = CharSet.Auto)]

.

    [DllImport("winspool.drv", CharSet = CharSet.Auto, SetLastError = true)]

.

[DllImport("winspool.drv", SetLastError=true)]

.

SetLastError:=True, _

.

As always, only do SetLastError=true if you actually intend to call GetLastError.

.

[DllImport("winspool.drv", SetLastError = true, CharSet = CharSet.Auto)]

.

[DllImport("winspool.drv", CharSet = CharSet.Ansi, SetLastError = true)]

.

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

.

[DllImport("winspool.drv", CharSet = CharSet.Unicode, SetLastError = true)]

.

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

.

[DllImport("winspool.drv", SetLastError = true)]

.

[DllImport("winspool.drv", SetLastError = true)]

.

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

.

[DllImport("winspool.drv", CharSet = CharSet.Auto, SetLastError = true)]

.

[DllImport("winspool.drv",CharSet = CharSet.Auto, SetLastError = true)]

.

    [DllImport("winspool.drv",CharSet = CharSet.Auto, SetLastError = true)]

.

[DllImport("winspool.drv", CharSet = CharSet.Auto, SetLastError = true)]

.

[DllImport("winspool.drv", CharSet = CharSet.Auto, SetLastError = true)]

.

    [DllImport("winspool.drv", CharSet = CharSet.Auto, SetLastError = true)]

.

      [DllImport("winspool.drv", CharSet = CharSet.Auto, SetLastError = true)]

.

    SetLastError = true,

.

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

.

[DllImport("winspool.drv", CharSet = CharSet.Auto, SetLastError = true)]

.

[DllImport("winspool.drv", CharSet=CharSet.Auto, SetLastError=true)]

.

As always, only do SetLastError=true if you actually intend to call GetLastError.

.

[DllImport("winspool.drv", CharSet=CharSet.Auto, SetLastError=true)]

.

[DllImport("winspool.drv",SetLastError=true)]

.

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

.

[DllImport("winspool.drv", CharSet = CharSet.Unicode, SetLastError = true)]

.

   SetLastError:=True, CharSet:=CharSet.Ansi, _

.

   SetLastError:=True, CallingConvention:=CallingConvention.StdCall, _

.

   SetLastError:=True, CallingConvention:=CallingConvention.StdCall, _

.

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

.

As always, only do SetLastError=true if you actually intend to call GetLastError (This includes throwing a Win32Exception if the call fails)

.

    [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)]

.

    [DllImport("winspool.drv", CharSet=CharSet.Auto, SetLastError=true)]

.

[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)> _

.

[DllImport("winspool.drv", SetLastError=true)]

Interfaces

.

        [DllImport("urlmon.dll", CharSet=CharSet.Auto,SetLastError=true, PreserveSig=false)]

winfax

.

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

.

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

iphlpapi

.

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

.

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

.

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

.

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

.

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

.

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

.

<DllImport("iphlpapi.dll", SetLastError:=True)> _

.

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

.

    [DllImport("Iphlpapi.dll", SetLastError=true)]

.

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

.

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

.

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

.

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

.

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

query

.

[DllImport("query.dll", SetLastError=true, CharSet=CharSet.Unicode)]

pdh

.

[DllImport( "pdh.dll", SetLastError = true, CharSet = CharSet.Unicode )]

dbghlp32

.

    [DllImport("dbghelp.dll", SetLastError=true, PreserveSig=true)]

kernel32

46: 8
.

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

.

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

.

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

.

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

.

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

.

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

.

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

.

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

.

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

.

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

.

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

.

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

.

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

.

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

.

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

.

<DllImport("kernel32.dll", SetLastError := False)> _

.

calls SetLastError. the last error can be retrieved with Marshal.GetLastWin32Error().

.

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

.

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

.

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

.

[DllImport("kernel32", SetLastError : true)]

.

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

.

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

.

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

.

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

.

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

.

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

.

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

.

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

.

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

.

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

.

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

.

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

.

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

.

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

.

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

.

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

.

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

.

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

.

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

.

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

.

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

.

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

.

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

.

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

.

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

.

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

.

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

.

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

.

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

.

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

.

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

.

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

.

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

.

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

.

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

.

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

.

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

.

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

.

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

.

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

.

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

.

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

.

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

.

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

.

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

.

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

.

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

.

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

.

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

.

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

.

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

.

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

.

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

.

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

.

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

.

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

.

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

.

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

.

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

.

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

.

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

.

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

.

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

.

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

.

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

.

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

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


 
Access PInvoke.net directly from VS: