共用方式為


NeedsTrustedSource method

Determines whether a trusted source is required.

Syntax

HRESULT retVal = object.NeedsTrustedSource(pfNeedsTrustedSource);

Parameters

  • pfNeedsTrustedSource [out]
    Type: BOOL

    A pointer to a boolean value.

Return value

Type: HRESULT

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.