IWbemShutdown::Shutdown method

The IWbemShutdown::Shutdown method indicates to the provider that the provider services are not required.

Syntax


HRESULT Shutdown(
  [in] LONG         uReason,
  [in] ULONG        uMaxMilliseconds,
  [in] IWbemContext *pCtx
);

Parameters

uReason [in]

Reserved. This value must be zero (0).

uMaxMilliseconds [in]

Reserved. This value must be zero (0).

pCtx [in]

Reserved. This value must be NULL.

Return value

This method returns an HRESULT, which identifies the status of the method call. The following list lists the value contained within an HRESULT.

WBEM_E_INVALID_PARAMETER

One of the arguments is not valid.

WBEM_E_ACCESS_DENIED

User does not have the right to perform this. For more information, see Maintaining WMI Security.

S_OK

Method succeeded.

Requirements

Minimum supported client

Windows Vista

Minimum supported server

Windows Server 2008

Header

Wbemcli.h (include Wbemidl.h)

Library

Wbemuuid.lib

DLL

Fastprox.dll

See also

IWbemShutdown

 

 

Show: