public void Shutdown(RmShutdownType action, RmWriteStatusCallback statusCallback)
        {
            var result = NativeMethods.RmShutdown(SessionHandle, action, statusCallback);

            if (result != RmResult.ERROR_SUCCESS)
            {
                throw new Win32Exception((int)result, $"RmShutdown failed ({result})");
            }
        }
Exemplo n.º 2
0
 public static extern RmResult RmShutdown(int pSessionHandle, RmShutdownType lActionFlags, RmWriteStatusCallback?fnStatus);
 public void Shutdown(RmShutdownType action)
 {
     Shutdown(action, statusCallback: null);
 }
Exemplo n.º 4
0
 public void Shutdown(RmShutdownType action)
 {
     Shutdown(action, null);
 }