Desktop Functions: Smart Device Functions:
|
CeRegCloseKey (rapi)
rapi is for smart devices, not desktop Windows. Therefore, this information only applies to code using the .NET Compact Framework. To see if information for CeRegCloseKey in other DLLs exists, click on Find References to the right. C# Signature:
[DllImport("rapi.dll")] User-Defined Types:None. Notes:function info on msdn at http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wceactsy/html/cerefCeRegCloseKeyRAPI.asp Tips & Tricks:Please add some! Sample Code:ret = CeRegQueryValueEx(key, regKeyName, 0, ref lpType, lpData, ref lpcbData); if (ret != 0) {
// if CeRegQueryValueEx fails then close already opened reg } CeRegCloseKey(key); Alternative Managed API:if (ret != 0) {
// if CeRegQueryValueEx fails then close already opened reg } CeRegCloseKey(key); Alternative Managed API:Please edit this page!Do you have...
Select "Edit This Page" on the right hand toolbar and edit it! Or add new pages containing supporting types needed for this API (structures, delegates, and more). |
|