# DevicePowerClose

```csharp
[DllImport("powrprof.dll", SetLastError = true)]
public static extern bool DevicePowerClose(
   IntPtr hPowerNotify
);
```

Microsoft documentation: [Link](https://docs.microsoft.com/en-us/windows/win32/api/powrprof/nf-powrprof-devicepowerclose)
