pPortContainer: This parameter is a pointer to PORT_CONTAINER (section 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

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