IWorkspace::GetProcessId method (workspaceruntime.h)
Retrieves the process ID of the current connection in RemoteApp and Desktop Connection.
Syntax
HRESULT GetProcessId(
[out, retval] ULONG *pulProcessId
);
Parameters
[out, retval] pulProcessId
A pointer to a ULONG variable to receive the process ID.
Return value
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 7 |
Minimum supported server | Windows Server 2008 R2 |
Target Platform | Windows |
Header | workspaceruntime.h |