ClientApi::DefineClient( const char *, Error * )
Sets P4CLIENT
in the Windows registry and applies
the setting immediately.
Virtual? |
No |
|
Class |
||
Arguments |
|
the new |
|
an |
|
Returns |
|
Notes
To make the new P4CLIENT
setting apply to the next
command executed with Run()
, DefineClient()
sets
the value in the registry and then calls SetClient()
.
Example
The following code illustrates how this method might be used to make a
Windows client application start up with a default
P4CLIENT
setting.
client.Init( &e ); client.DefineClient( "default_workspace", &e );