Share via


EnumSocket (Windows Embedded CE 6.0)

1/6/2010

This function allows attached sockets in PC Card services to be enumerated.

Syntax

STATUS EnumSocket(
  PDWORD pdwNumOfStructure,
  PSOCKET_DESCRIPTOR pSocketDescriptorArray,
  PDWORD pdwNumOfStructureCopied
);

Parameters

  • pdwNumOfStructure
    [in, out] On input, indicates the number of the unit to which pSocketDescriptorArray points. On output, indicates the total number of units available in PC Card services.
  • pSocketDescriptorArray
    [out] Memory location that unloads a SOCKET_DESCRIPTOR.
  • pdwNumOfStructureCopied
    [out] Pointer to a DWORD that returns the number of structures copied.

Return Value

Returns one of the return codes defined in the Cardsv2.h header file.

Requirements

Header cardsv2.h
Library Pcc_serv.dll
Windows Embedded CE Windows CE 5.0 and later

See Also

Reference

PC Card Driver Functions

Other Resources

PC Card Drivers