Skip to content

Latest commit

 

History

History
42 lines (28 loc) · 854 Bytes

GetCurrentHwProfile.md

File metadata and controls

42 lines (28 loc) · 854 Bytes

Home

Function name : GetCurrentHwProfile

Group: System Information - Library: advapi32


Retrieves information about the current hardware profile for the local computer.


Code examples:

Reading current hardware profile

Declaration:

BOOL GetCurrentHwProfile(
  LPHW_PROFILE_INFO lpHwProfileInfo  // profile information
);  

FoxPro declaration:

DECLARE INTEGER GetCurrentHwProfile IN advapi32;
	STRING @ lpHwProfileInfo  

Parameters:

lpHwProfileInfo [out] Pointer to an HW_PROFILE_INFO structure that receives information about the current hardware profile.


Return value:

If the function succeeds, the return value is a nonzero value.