#ifndef _NTRTL_H
// rev
/**
* The RtlGetNtProductType routine retrieves the product type of the running operating system.
*
* \param NtProductType A pointer to a variable that receives the NT_PRODUCT_TYPE value.
* \return Returns `TRUE` if the product type was retrieved successfully, otherwise `FALSE`.
* \remarks Product/SKU information may come from shared process/session data or licensing/registry helpers. These results describe product policy, not whether the caller has a privilege or permission to perform a particular operation.
*/
NTSYSAPI
BOOLEAN
NTAPI
RtlGetNtProductType(
_Out_ PNT_PRODUCT_TYPE NtProductType
);
View code on GitHubNo description available.