InitializeService (Windows Embedded CE 6.0)
1/6/2010
This function is only required if you are writing a device side tool that only pushes data to the desktop and does not respond to desktop commands.
You call this function or StartCommandHandler, but not both. Only use InitializeService if you want complete control over the stream.
UnInitializeService must be called if you call InitializeService.
Syntax
RTFSUPP_API HRESULT InitializeService(
WCHAR *szService
);
Parameters
szService
[in] The GUID string matching the desktop tool.The framework will pass this to your program. You should pass the command line string from WinMain.
Return Value
Returns S_OK on success, and any other value upon failure.
See Also
Reference
Remote Tools Framework Functions
Remote Tools Framework Reference