c# Programming Glossary: system.intptr
What's the cause of this FatalExecutionEngineError in .NET 4.5 beta? [closed] http://stackoverflow.com/questions/11873798/whats-the-cause-of-this-fatalexecutionengineerror-in-net-4-5-beta fields do not seem to implement a static constructor System.IntPtr for instance . This seems to indicate that the JIT makes some..
How to suppress a dialog box displayed by code that I can't change? http://stackoverflow.com/questions/12532812/how-to-suppress-a-dialog-box-displayed-by-code-that-i-cant-change System.IntPtr dwComponentID int reason int pvLoopData Line 2198 0x1e bytes..
How do you retrieve a list of logged-in/connected users in .NET? http://stackoverflow.com/questions/132620/how-do-you-retrieve-a-list-of-logged-in-connected-users-in-net Wtsapi32.dll static extern bool WTSQuerySessionInformation System.IntPtr hServer int sessionId WTS_INFO_CLASS wtsInfoClass out System.IntPtr.. hServer int sessionId WTS_INFO_CLASS wtsInfoClass out System.IntPtr ppBuffer out uint pBytesReturned StructLayout LayoutKind.Sequential.. si WTS_SESSION_INFO Marshal.PtrToStructure System.IntPtr currentSession typeof WTS_SESSION_INFO currentSession dataSize..
Alternative to FindMimeFromData method in Urlmon.dll one which has more MIME types http://stackoverflow.com/questions/15300567/alternative-to-findmimefromdata-method-in-urlmon-dll-one-which-has-more-mime-typ FindMimeFromData 0 null buffer 256 null 0 out mimetype 0 System.IntPtr mimeTypePtr new IntPtr mimetype string mime Marshal.PtrToStringUni..
SetWindowsHookEx in C# http://stackoverflow.com/questions/1811383/setwindowshookex-in-c-sharp EntryPoint FindWindow SetLastError true static extern System.IntPtr FindWindowByCaption int ZeroOnly string lpWindowName System.Runtime.InteropServices.DllImport..
Get timestamp from Authenticode Signed files in .NET http://stackoverflow.com/questions/3281057/get-timestamp-from-authenticode-signed-files-in-net DWORD unsigned int public uint cbSize DWORD public System.IntPtr pdwIndex DWORD unsigned int public uint dwSubjectChoice SubjectChoiceUnion.. SIGNER_FILE_INFO FieldOffsetAttribute 0 public System.IntPtr pSignerFileInfo SIGNER_BLOB_INFO FieldOffsetAttribute 0 public.. SIGNER_BLOB_INFO FieldOffsetAttribute 0 public System.IntPtr pSignerBlobInfo StructLayout LayoutKind.Sequential public struct..
PInvoke for C function that returns char * http://stackoverflow.com/questions/370079/pinvoke-for-c-function-that-returns-char _dllLocation EntryPoint foo public static extern System.IntPtr foo Is this correct If so how do I convert this IntPtr to a..
Start a windows service and launch cmd http://stackoverflow.com/questions/4147821/start-a-windows-service-and-launch-cmd si WTS_SESSION_INFO Marshal.PtrToStructure System.IntPtr current typeof WTS_SESSION_INFO current dataSize ret.Add si..
Window hooks in c# http://stackoverflow.com/questions/4974266/window-hooks-in-c-sharp EntryPoint FindWindow SetLastError true static extern System.IntPtr FindWindowByCaption int ZeroOnly string lpWindowName System.Runtime.InteropServices.DllImport..
Logoff interactive users in Windows from a service http://stackoverflow.com/questions/5207506/logoff-interactive-users-in-windows-from-a-service Wtsapi32.dll static extern bool WTSQuerySessionInformation System.IntPtr hServer int sessionId WTS_INFO_CLASS wtsInfoClass out System.IntPtr.. hServer int sessionId WTS_INFO_CLASS wtsInfoClass out System.IntPtr ppBuffer out uint pBytesReturned DllImport wtsapi32.dll SetLastError.. Wtsapi32.dll static extern bool WTSQuerySessionInformation System.IntPtr hServer int sessionId WTS_INFO_CLASS wtsInfoClass out System.IntPtr..
Has anyone got any code to call SignerSignEx from C#? http://stackoverflow.com/questions/6357759/has-anyone-got-any-code-to-call-signersignex-from-c struct SubjectChoiceUnion FieldOffsetAttribute 0 public System.IntPtr pSignerFileInfo FieldOffsetAttribute 0 public System.IntPtr.. pSignerFileInfo FieldOffsetAttribute 0 public System.IntPtr pSignerBlobInfo StructLayoutAttribute LayoutKind.Sequential..
|