Metodo ISurrogateService::P rocessShutdown (objidl.h)

Arresta il processo.

Sintassi

HRESULT ProcessShutdown(
  [in] ShutdownType shutdownType
);

Parametri

[in] shutdownType

Tipo di arresto, come descritto in Osservazioni.

Valore restituito

Se il metodo ha esito positivo, il valore restituito viene S_OK. In caso contrario, è E_UNEXPECTED.

Commenti

Il tipo di arresto è definito dall'enumerazione seguente.

typedef enum tagShutdownType { 
    IdleShutdown, 
    ForcedShutdown
} ShutdownType;

Requisiti

Requisito Valore
Client minimo supportato Windows 2000 Professional [solo app desktop]
Server minimo supportato Windows 2000 Server [solo app desktop]
Piattaforma di destinazione Windows
Intestazione objidl.h

Vedi anche

CoGetInterceptor

ICallFrame

ICallFrameEvents

ICallInterceptor

ICallUnmarshal

ISurrogateService