c# Programming Glossary: unmanagedtype.lpwstr
How to resolve a .lnk in c# http://stackoverflow.com/questions/139010/how-to-resolve-a-lnk-in-c-sharp of a Shell link object summary void GetPath Out MarshalAs UnmanagedType.LPWStr StringBuilder pszFile int cchMaxPath out WIN32_FIND_DATAW pfd.. link object summary void GetDescription Out MarshalAs UnmanagedType.LPWStr StringBuilder pszName int cchMaxName summary Sets the description.. defined string summary void SetDescription MarshalAs UnmanagedType.LPWStr string pszName summary Retrieves the name of the working directory..
Controling Volume Mixer http://stackoverflow.com/questions/14306048/controling-volume-mixer int NotImpl1 PreserveSig int GetDisplayName MarshalAs UnmanagedType.LPWStr out string pRetVal the rest is not implemented Guid 87CE5498..
Win32 API function to programmatically enable/disable device http://stackoverflow.com/questions/1438371/win32-api-function-to-programmatically-enable-disable-device SetupDiGetClassDevs In ref Guid classGuid MarshalAs UnmanagedType.LPWStr string enumerator IntPtr hwndParent SetupDiGetClassDevsFlags..
Split string containing command-line parameters into string[] in C# http://stackoverflow.com/questions/298830/split-string-containing-command-line-parameters-into-string-in-c-sharp true static extern IntPtr CommandLineToArgvW MarshalAs UnmanagedType.LPWStr string lpCmdLine out int pNumArgs public static string CommandLineToArgs..
Get Size of file on disk http://stackoverflow.com/questions/3750590/get-size-of-file-on-disk static extern uint GetCompressedFileSizeW In MarshalAs UnmanagedType.LPWStr string lpFileName Out MarshalAs UnmanagedType.U4 out uint lpFileSizeHigh.. true static extern int GetDiskFreeSpaceW In MarshalAs UnmanagedType.LPWStr string lpRootPathName out uint lpSectorsPerCluster out uint..
|