function RegistryConnect(const UNCName: String):
Boolean;
参数UNCName是远程计算机名,格式:\\ComputerName
where computername is the name of the remote computer. If UNCName is nil, the local machine name is used.
Note: Before calling RegistryConnect, an application must set the RootKey property for its registry object to HKEY_USERS or HKEY_LOCAL_MACHINE.If connection is successful, RegistryConnect sets the RootKey property to the root key of the remote computer and returns True. If unsuccessful, RegistryConnect returns False, and RootKey remains unchanged.
Boolean;
参数UNCName是远程计算机名,格式:\\ComputerName
where computername is the name of the remote computer. If UNCName is nil, the local machine name is used.
Note: Before calling RegistryConnect, an application must set the RootKey property for its registry object to HKEY_USERS or HKEY_LOCAL_MACHINE.If connection is successful, RegistryConnect sets the RootKey property to the root key of the remote computer and returns True. If unsuccessful, RegistryConnect returns False, and RootKey remains unchanged.
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货