Sync to trunk (r44371)
[reactos.git] / reactos / dll / win32 / kernel32 / misc / actctx.c
index bbeb66c..05c9dbb 100644 (file)
@@ -66,13 +66,13 @@ HANDLE WINAPI CreateActCtxA(PCACTCTXA pActCtx)
     if (actw.dwFlags & ACTCTX_FLAG_RESOURCE_NAME_VALID)
     {
         if ((ULONG_PTR)pActCtx->lpResourceName >> 16)
     if (actw.dwFlags & ACTCTX_FLAG_RESOURCE_NAME_VALID)
     {
         if ((ULONG_PTR)pActCtx->lpResourceName >> 16)
-        {
+    {
             len = MultiByteToWideChar(CP_ACP, 0, pActCtx->lpResourceName, -1, NULL, 0);
             resname = HeapAlloc(GetProcessHeap(), 0, len * sizeof(WCHAR));
             if (!resname) goto done;
             MultiByteToWideChar(CP_ACP, 0, pActCtx->lpResourceName, -1, resname, len);
             actw.lpResourceName = resname;
             len = MultiByteToWideChar(CP_ACP, 0, pActCtx->lpResourceName, -1, NULL, 0);
             resname = HeapAlloc(GetProcessHeap(), 0, len * sizeof(WCHAR));
             if (!resname) goto done;
             MultiByteToWideChar(CP_ACP, 0, pActCtx->lpResourceName, -1, resname, len);
             actw.lpResourceName = resname;
-        }
+    }
         else actw.lpResourceName = (LPCWSTR)pActCtx->lpResourceName;
     }
     if (actw.dwFlags & ACTCTX_FLAG_APPLICATION_NAME_VALID)
         else actw.lpResourceName = (LPCWSTR)pActCtx->lpResourceName;
     }
     if (actw.dwFlags & ACTCTX_FLAG_APPLICATION_NAME_VALID)
@@ -258,8 +258,8 @@ BOOL WINAPI FindActCtxSectionGuid(DWORD dwFlags, const GUID* lpExtGuid,
 {
   FIXME("%08x %s %u %s %p\n", dwFlags, debugstr_guid(lpExtGuid),
        ulId, debugstr_guid(lpSearchGuid), pInfo);
 {
   FIXME("%08x %s %u %s %p\n", dwFlags, debugstr_guid(lpExtGuid),
        ulId, debugstr_guid(lpSearchGuid), pInfo);
-  SetLastError( ERROR_CALL_NOT_IMPLEMENTED);
-  return FALSE;
+    SetLastError( ERROR_CALL_NOT_IMPLEMENTED);
+    return FALSE;
 }
 
 /***********************************************************************
 }
 
 /***********************************************************************
@@ -275,7 +275,7 @@ BOOL WINAPI QueryActCtxW(DWORD dwFlags, HANDLE hActCtx, PVOID pvSubInst,
 
     if ((status = RtlQueryInformationActivationContext( dwFlags, hActCtx, pvSubInst, ulClass,
                                                         pvBuff, cbBuff, pcbLen )))
 
     if ((status = RtlQueryInformationActivationContext( dwFlags, hActCtx, pvSubInst, ulClass,
                                                         pvBuff, cbBuff, pcbLen )))
-    {
+{
         SetLastError(RtlNtStatusToDosError(status));
         return FALSE;
     }
         SetLastError(RtlNtStatusToDosError(status));
         return FALSE;
     }