This interface defines virtual methods for each of the user-facing overload sets in ServiceControllerClient. This allows users to inject custom behavior (e.g., with a Google Mock object) when writing tests that use objects of type ServiceControllerClient.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-14 UTC."],[[["\u003cp\u003eThis webpage details the \u003ccode\u003eServiceControllerConnection\u003c/code\u003e interface for the \u003ccode\u003eServiceControllerClient\u003c/code\u003e in version 2.12.0 of the C++ Service Control library.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eServiceControllerConnection\u003c/code\u003e allows users to inject custom behavior for testing purposes, such as using Google Mock objects with the \u003ccode\u003eServiceControllerClient\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe latest release candidate is version 2.37.0-rc, and the page lists versions ranging from 2.37.0-rc down to 2.11.0, with each containing the \u003ccode\u003eServiceControllerConnection\u003c/code\u003e class.\u003c/p\u003e\n"],["\u003cp\u003eThe interface includes virtual methods like \u003ccode\u003eoptions()\u003c/code\u003e, \u003ccode\u003eCheck()\u003c/code\u003e, and \u003ccode\u003eReport()\u003c/code\u003e for interacting with the Service Controller.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eMakeServiceControllerConnection()\u003c/code\u003e function is provided to help create a real instance, whereas \u003ccode\u003eMockServiceControllerConnection\u003c/code\u003e can be used for mocking purposes.\u003c/p\u003e\n"]]],[],null,[]]