3.5.4.2.4 RpcStartListener (Opnum 3)
The RpcStartListener method starts the specified Terminal Services listener on a terminal server. This MUST be called after RpcOpenListener. The caller MUST have WINSTATION_RESET and WINSTATION_QUERY permissions to the listener. The method checks whether the caller has WINSTATION_RESET and WINSTATION_QUERY permission (section 3.1.1) by setting it as the Access Request mask, and fails if the caller does not have the permissions.
-
HRESULT RpcStartListener( [in] HLISTENER hListener );
hListener: The handle to the listener. This is of type HLISTENER.
Return Values: The method MUST return S_OK (0x00000000) on success; otherwise, it MUST return an implementation-specific negative value.
-
Return value/code
Description
0x00000000
S_OK
Successful completion.