IWorkspace::GetProcessId method

Retrieves the process ID of the current connection in RemoteApp and Desktop Connection.

Syntax


HRESULT GetProcessId(
  [out, retval] ULONG *pulProcessId
);

Parameters

pulProcessId [out, retval]

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

Minimum supported client

Windows 7

Minimum supported server

Windows Server 2008 R2

IDL

WorkspaceRuntime.idl

Type library

Wksprt.exe

IID

CLSID_Workspace is defined as 4F1DFCA6-3AAD-48E1-8406-4BC21A501D7C

IID_IWorkspace is defined as B922BBB8-4C55-4FEA-8496-BEB0B44285E5

See also

IWorkspace2
IWorkspace3
IWorkspace

 

 

Show: