Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
To build a WSDAPI application using WsdCodeGen
- Define the functional contract for the device host in a WSDL file.
 - Generate a configuration file using WsdCodeGen. For more information, see WsdCodeGen Configuration File and WsdCodeGen Command Line Syntax.
 - Open the generated configuration file and modify the file as required. If you are building a client application, little or no modification is required. If you are building a host application, change the user-specific configuration elements (such as manufacturer and modelName).
 - Generate code using WsdCodeGen, providing the configuration file as input. For more information, see WsdCodeGen Command Line Syntax.
 - Use the generated code to build a client, host, or both.
 
The Windows SDK includes some sample WSDL files, WsdCodeGen configuration files, and generated code. For more information, see WSDAPI Samples.
Related topics