The functions in the Service category use two types of data structures: one type containing basic status information, and the other containing different levels of detail.
The NetServiceControl and NetServiceInstall APIs use the service_info_2 data structure. The NetServiceEnum and NetServiceGetInfo APIs use the service_info data structures (level 0, 1, or 2). The NetServiceEnum API returns information at three levels of detail (0, 1, or 2); the level parameter controls the level of information returned.
The NetServiceStatus API uses the service_status data structure.