GetServiceDisplayName function advapi32
Retrieves the display name of the specified service.
BOOL GetServiceDisplayNameW(
[in] SC_HANDLE hSCManager,
[in] LPCWSTR lpServiceName,
[out, optional] LPWSTR lpDisplayName,
[in, out] LPDWORD lpcchBuffer
);
Implementation
int GetServiceDisplayName(int hSCManager, Pointer<Utf16> lpServiceName,
Pointer<Utf16> lpDisplayName, Pointer<Uint32> lpcchBuffer) =>
_GetServiceDisplayName(
hSCManager, lpServiceName, lpDisplayName, lpcchBuffer);