¡@

Home 

c# Programming Glossary: lpctstr

.NET : How to set user information in an EventLog Entry?

http://stackoverflow.com/questions/147307/net-how-to-set-user-information-in-an-eventlog-entry

lpUserSid __in WORD wNumStrings __in DWORD dwDataSize __in LPCTSTR lpStrings __in LPVOID lpRawData becomes DllImport Advapi32.dll..

Physical disk size not correct (IoCtlDiskGetDriveGeometry)

http://stackoverflow.com/questions/15051660/physical-disk-size-not-correct-ioctldiskgetdrivegeometry

IntPtr using LARGE_INTEGER Int64 using DWORD UInt32 using LPCTSTR String public static partial class IoCtl methods DllImport kernel32.dll.. SetLastError true static extern SafeFileHandle CreateFile LPCTSTR lpFileName DWORD dwDesiredAccess DWORD dwShareMode LPSECURITY_ATTRIBUTES.. public static void Execute T ref T x DWORD dwIoControlCode LPCTSTR lpFileName DWORD dwDesiredAccess GENERIC_READ DWORD dwShareMode..

How to apply Windows group policy using .NET?

http://stackoverflow.com/questions/2266797/how-to-apply-windows-group-policy-using-net

Try using IGroupPolicyObject bool SetGroupPolicy HKEY hKey LPCTSTR subKey LPCTSTR valueName DWORD dwType const BYTE szkeyValue.. bool SetGroupPolicy HKEY hKey LPCTSTR subKey LPCTSTR valueName DWORD dwType const BYTE szkeyValue DWORD dwkeyValue..

Get URL from browser to C# application

http://stackoverflow.com/questions/3579649/get-url-from-browser-to-c-sharp-application

involved const int WM_GETTEXT 0xD used for an output LPCTSTR parameter on a method call StructLayout LayoutKind.Sequential.. NativeWIN32 const int WM_GETTEXT 0xD used for an output LPCTSTR parameter on a method call StructLayout LayoutKind.Sequential..

How to map Win32 types to C# types when using P/Invoke?

http://stackoverflow.com/questions/3598226/how-to-map-win32-types-to-c-sharp-types-when-using-p-invoke

is PdhOpenQuery signature PDH_STATUS PdhOpenQuery __in LPCTSTR szDataSource __in DWORD_PTR dwUserData __out PDH_HQUERY phQuery.. DllImport Pdh.dll static extern PDH_STATUS PdhOpenQuery LPCTSTR szDataSource DWORD_PTR dwUserData out PDH_HQUERY phQuery My.. dwUserData out PDH_HQUERY phQuery My questions What is LPCTSTR and to what data type does it map in C# How to map a pointer..

Using Process.Start() to start a process as a different user from within a Windows Service

http://stackoverflow.com/questions/362419/using-process-start-to-start-a-process-as-a-different-user-from-within-a-windo

WINAPI CreateProcessAsUser __in_opt HANDLE hToken __in_opt LPCTSTR lpApplicationName __inout_opt LPTSTR lpCommandLine __in_opt.. dwCreationFlags __in_opt LPVOID lpEnvironment __in_opt LPCTSTR lpCurrentDirectory __in LPSTARTUPINFO lpStartupInfo __out LPPROCESS_INFORMATION..

The best way to resolve display username by SID?

http://stackoverflow.com/questions/380031/the-best-way-to-resolve-display-username-by-sid

has the following signature BOOL LookupAccountSid LPCTSTR lpSystemName PSID Sid LPTSTR Name LPDWORD cbName LPTSTR ReferencedDomainName..