
Ok = AdjustTokenPrivileges( htok, false, ref tp, 0, IntPtr.Zero, IntPtr.Zero ) Ok = LookupPrivilegeValue( null, SE_SHUTDOWN_NAME, ref tp.Luid ) Ok = OpenProcessToken( hproc, TOKEN_ADJUST_PRIVILEGES | TOKEN_QUERY, ref htok ) Internal const int EWX_FORCEIFHUNG = 0x00000010 Internal const int EWX_POWEROFF = 0x00000008 Internal const int EWX_FORCE = 0x00000004 Internal const int EWX_REBOOT = 0x00000002 Internal const int EWX_SHUTDOWN = 0x00000001 Internal const int EWX_LOGOFF = 0x00000000 Internal const string SE_SHUTDOWN_NAME = "SeShutdownPrivilege" Internal const int TOKEN_ADJUST_PRIVILEGES = 0x00000020 Internal const int TOKEN_QUERY = 0x00000008 Internal const int SE_PRIVILEGE_ENABLED = 0x00000002 Internal static extern bool ExitWindowsEx( int flg, int rea ) Ref TokPriv1Luid newst, int len, IntPtr prev, IntPtr relen ) Internal static extern bool AdjustTokenPrivileges( IntPtr htok, bool disall, Internal static extern bool LookupPrivilegeValue( string host, string name, Internal static extern bool OpenProcessToken( IntPtr h, int acc, ref IntPtr Internal static extern IntPtr GetCurrentProcess()
Cybertown shutting down code#
Despite a few head scratches, the game broke new ground and we actually won an award.This thread provides the code necessary: īut here's the relevant code: using Using Director, we created these hilarious-yet-primitive video games that my boss presented to the sales team while I operated the computer.

Our harebrained concepts were put to the test when I was tasked with marketing the upcoming album releases for Frank Sinatra and Bonnie Raitt.

He said it was, although I don’t think he knew exactly what it entailed, but neither did anyone else at the time. I told him that I had all these ideas for using the computer to promote our bands but I didn’t know if it was technically possible yet. His name was Doug Textor, and he agreed to meet me for breakfast. When I saw that video, I knew I had to hunt down the programmer.

The moment I realized that multimedia could revolutionize the way we could market our music came when a co-worker named Dave Goldberg showed me the first music video made with Macromedia Director-an interactive multimedia authoring tool. This chain of events started with a word that was soon to be all the rage: multimedia-a new way to combine music, video, graphics and interactivity using a computer. What happened next was about to change music history. This was the year that was finally gonna bring on the magic. After years of paying my dues as an assistant, I knew I needed to do something bold or I would be making photocopies and answering the phones for the rest of my career. So, during this “diamonds on the soles of their shoes” era, there was no vision for the future.Īs for me, I had moved from Texas to Hollywood to pursue a glamorous career in rock & roll but things were going a lot slower than planned.
Cybertown shutting down tv#
Their marketing strategy of million dollar print, radio and TV campaigns was tried and true and as the saying goes, “if it ain’t broke, don’t fix it.” It was the golden era of the music business and the good ‘ole boys, they liked to throw parties. They printed money selling shiny plastic discs and virtually controlled everything from record stores to radio stations. And for the record business - well, they didn’t have anything to complain about.
