3.3.4.3.4 RpcFilterByCallersName (Opnum 3)
The RpcFilterByCallersName method adds a filter to the session enumeration result, running on a terminal server, based on the caller name. The enumeration will return only sessions belonging to the user making this call. This method MUST be called after RpcOpenEnum and before RpcGetEnumResult or RpcGetEnumResultEx. No special permissions are required to call this method.
-
HRESULT RpcFilterByCallersName( [in] ENUM_HANDLE hEnum );
hEnum: The handle to the session enumeration object. This is of type ENUM_HANDLE.
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.