Today I was recognized for my mentoring of startup founders, some of whom are operating in emerging markets and are in under-resourced communities. This has been one of the most personal and impactful ways we at Microsoft can support and enable these founders, that is, sharing our startup experience and industry knowledge through mentorship. I hope this inspires startups to turn to Microsoft where we can truly democratize access to resources and channels that can help founders grow and scale their businesses.
After the last post , I received two interesting questions related to Docker and Windows. People were interested if we do Win32 API calls from a Docker container and if there is support for COM. WIN32 Support To test calls to WIN32 API, let’s try to populate SYSTEM_INFO class. [StructLayout(LayoutKind.Sequential)] public struct SYSTEM_INFO { public uint dwOemId; public uint dwPageSize; public uint lpMinimumApplicationAddress; public uint lpMaximumApplicationAddress; public uint dwActiveProcessorMask; public uint dwNumberOfProcessors; public uint dwProcessorType; public uint dwAllocationGranularity; public uint dwProcessorLevel; public uint dwProcessorRevision; } ... [DllImport("kernel32")] static extern void GetSystemInfo(ref SYSTEM_INFO pSI); ... SYSTEM_INFO pSI = new SYSTEM_INFO(
Comments
Post a Comment