API 文档 > Windchill servers > Object ProServer > Function ProServerContextGet
Function ProServerContextGet
Description
Gets the context to use for a given server.
Replacement in Object TOOLKIT:
Synopsis
#include <ProWTUtils.h>
ProServerContextGet
(
wchar_t* alias
/* (In)
The name used by Creo Parametric to refer to this server.
*/
wchar_t** context
/* (Out)
The name of the context in use. Free this string using ProWstringFree().
*/
)
Returns
The function succeeded.
One or more inputs was invalid.
The server was not registered.
If any other error occurs.
Sample Code References
User Guide References
这对您有帮助吗?