Share via


ICcService::CategoryId (Compact 2013)

3/26/2014

Deprecated.

This method gets the service category ID associated with the service.

Syntax

HRESULT CategoryId(
  BSTR* pbstrServiceCategoryId
);

Parameters

  • pbstrServiceCategoryId
    [out, retval] Service category ID for the target service.

    The following table shows the GUIDs for valid service categories installed by Platform Builder or Visual Studio.

    Service category

    GUID

    ApplicationTransport

    { 0xB333580E, 0x3924, 0x492E, { 0x98, 0xE5, 0xDF, 0x57, 0xE7, 0x87, 0x59, 0x1B } };

    Available as symbols in SCatId_CCApplicationTransport, defined in CcService.h.

    ApplicationBootstrap

    { 0xD7C86969, 0xEB5F, 0x41E2, { 0x96, 0xCC, 0x29, 0x06, 0x83, 0x62, 0x22, 0x03 } };

    Available as symbol SCatId_CCApplicationBootstrap, defined in CcService.h.

    KernelBootstrap

    { 0xF975542A, 0x3D12, 0x4750, { 0xAA, 0xAC, 0x81, 0xC9, 0x7B, 0x5A, 0x23, 0xDE } };

    Available as symbol SCatId_CCKernelBootstrap, defined in CcService.h.

    KernelTransport

    { 0x00514285, 0x438A, 0x4BF3, { 0xA4, 0xB9, 0xB6, 0xAD, 0xA2, 0xCF, 0xFE, 0x01 } };

    Available as symbol SCatId_CCKernelTransport, defined in CcService.h.

Return Value

The following table shows return values for this method.

Value

Description

S_OK

Indicates success.

E_INVALIDARG

Indicates invalid input arguments.

Requirements

Header

ccservice.h

See Also

Reference

ICcService
Core Connectivity Interfaces