Note
Kailangan ng pahintulot para ma-access ang page na ito. Maaari mong subukang mag-sign in o magpalit ng mga direktoryo.
Ang pag-access sa pahinang ito ay nangangailangan ng pahintulot. Maaari mong subukang baguhin ang mga direktoryo.
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