3.1.4.1.8.5 PORT_CONTAINER Parameters

pPortContainer: This parameter is a pointer to PORT_CONTAINER (section 2.2.1.2.7) structure that specifies port information.

The individual method sections include the following parameter validation steps by reference:

  • If the pPortContainer parameter is declared with the "unique" IDL attribute, and its value is NULL, skip the validation steps and assume validation success.

  • Verify that pPortContainer points to a PORT_CONTAINER that specifies an appropriate level as defined in the referring method definition. If that verification fails, return ERROR_INVALID_LEVEL.

  • Verify that all members of the PORT_CONTAINER structure comply with the constraints specified in section 2.2.1.2.7.

Unless noted otherwise, if any of the above validation steps fail, return ERROR_INVALID_PARAMETER.

Show: