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]

dbghelp

.

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

mapi32

.

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

glossary

.

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

.

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

.

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

psapi

.

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

.

<DllImport("psapi.dll", CharSet:=CharSet.Auto, SetLastError:=True)> _

.

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

.

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

.

[DllImport("psapi.dll", CallingConvention=CallingConvention.StdCall, SetLastError = true)]

.

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

.

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

.

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

.

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

.

    [DllImport( "psapi.dll", CharSet = CharSet.Auto, EntryPoint = "GetPerformanceInfo", SetLastError = true )]

.

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

.

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

gdi32

.

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

.

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

.

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

.

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

12: BitBlt
.

[DllImport("gdi32.dll", EntryPoint = "BitBlt", SetLastError = true)]

.

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

.

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

.

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

.

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

.

        ResetLastError(); // sets last error to 0 using  [DllImport("kernel32.dll", SetLastError = false)]public static extern int SetLastError(uint dwErrCode);

.

[DllImport("gdi32.dll", EntryPoint = "CopyEnhMetaFile", SetLastError = true, CharSet = CharSet.Auto)]

.

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

.

[DllImport("gdi32.dll", EntryPoint = "CreateCompatibleDC", SetLastError=true)]

.

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

.

<DllImport("gdi32.dll", SetLastError:=True, CharSet:=CharSet.Ansi)> _

.

    [DllImport("gdi32.dll", EntryPoint = "CreateDC", CharSet = CharSet.Auto, SetLastError = true)]

.

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

.

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

.

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

.

<DllImport("gdi32.dll", ExactSpelling := True, PreserveSig := True, SetLastError := True)> _

.

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

21: gdi32
.

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

.

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

.

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

.

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

.

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

.

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

.

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

.

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

.

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

.

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

.

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

.

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

.

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

.

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

pdh

.

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

odbccp32

.

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

.

[DllImport("ODBCCP32.DLL",CharSet=CharSet.Unicode, SetLastError=true)]

.

<DllImport("ODBCCP32.dll",CallingConvention:=CallingConvention.WinAPI,CharSet:=CharSet.Unicode,SetLastError:=True)> _

.

        [DllImport("ODBCCP32.DLL", CharSet=CharSet.Unicode, SetLastError=true)]

.

<DllImport("ODBCCP32.dll",CallingConvention:=CallingConvention.WinAPI,CharSet:=CharSet.Unicode,SetLastError:=True)> _

.

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

.

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

.

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

.

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

.

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

.

<DllImport("ODBCCP32.dll", CallingConvention:=CallingConvention.Winapi, CharSet:=CharSet.Auto, SetLastError:=True)> _

.

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

Constants

.

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

.

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

.

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

.

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

.

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

.

last ErrorCode recorded by your most recent API call. You will also need to make sure you change SetLastError=true when you define

msports

.

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

.

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

.

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

.

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

.

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

cfgmgr32

.

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

.

    SetLastError:=True, _

.

    SetLastError:=True, _

.

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

.

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

.

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

.

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

opengl32

52: 32
.

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

53: OpenGL
.

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

.

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

55: WinXP
.

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

Structures

.

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

.

<DllImport("advapi32", SetLastError:=True, CharSet:=CharSet.Unicode)>

.

[DllImport("Secur32.dll", SetLastError = false)]

.

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

.

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

.

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

.

[DllImport("winspool.drv", EntryPoint="StartDocPrinterW", SetLastError=true,

.

[DllImport("winspool.drv", EntryPoint="StartDocPrinterA", SetLastError=true,

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


 
Access PInvoke.net directly from VS: