共用方式為


GetCapabilities method

Gets package capabilities.

Syntax

HRESULT retVal = object.GetCapabilities(ppCapabilities, pcbCapabilities);

Parameters

  • ppCapabilities [out]
    Type: LPCBYTE

    A pointer to a capabilities value.

  • pcbCapabilities [out]
    Type: DWORD

    A pointer to a capabilities value.

Return value

Type: HRESULT

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