GetProductInfo function kernel32
Retrieves the product type for the operating system on the local computer, and maps the type to the product types supported by the specified operating system.
BOOL GetProductInfo(
DWORD dwOSMajorVersion,
DWORD dwOSMinorVersion,
DWORD dwSpMajorVersion,
DWORD dwSpMinorVersion,
PDWORD pdwReturnedProductType
);
Implementation
int GetProductInfo(
int dwOSMajorVersion,
int dwOSMinorVersion,
int dwSpMajorVersion,
int dwSpMinorVersion,
Pointer<Uint32> pdwReturnedProductType) =>
_GetProductInfo(dwOSMajorVersion, dwOSMinorVersion, dwSpMajorVersion,
dwSpMinorVersion, pdwReturnedProductType);