#include <stdio.h>
#include <windef.h>
#include <winbase.h>
#include <winuser.h>
#include <conutils.h>
#include "resource.h"
Go to the source code of this file.
◆ DisplayError()
Definition at line 33 of file logoff.c.
34{
38}
void ConPrintf(FILE *fp, LPCWSTR psz,...)
INT ConMsgPuts(IN PCON_STREAM Stream, IN DWORD dwFlags, IN LPCVOID lpSource OPTIONAL, IN DWORD dwMessageId, IN DWORD dwLanguageId)
#define LANG_USER_DEFAULT
#define FORMAT_MESSAGE_FROM_SYSTEM
Referenced by DriveDlgProc(), EnablePrivilege(), GetListOfTestExes(), GetNumberOfExesInFolder(), MoreOptDlgProc(), and wmain().
◆ ParseCommandLine()
Definition at line 45 of file logoff.c.
46{
48
49
50
51
52
53
55 {
57 {
60
62 {
64 break;
65 }
66
67 else if (
argv[
i][1] ==
L'?')
68 {
69
71 }
72
73 default:
74
77 }
78 }
79
81}
void ConResPuts(FILE *fp, UINT nID)
#define IDS_ILLEGAL_PARAM
GLsizei GLenum const GLvoid GLsizei GLenum GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLint GLint GLint GLshort GLshort GLshort GLubyte GLubyte GLubyte GLuint GLuint GLuint GLushort GLushort GLushort GLbyte GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLfloat GLint GLint GLint GLint GLshort GLshort GLshort GLshort GLubyte GLubyte GLubyte GLubyte GLuint GLuint GLuint GLuint GLushort GLushort GLushort GLushort GLboolean const GLdouble const GLfloat const GLint const GLshort const GLbyte const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLdouble const GLfloat const GLfloat const GLint const GLint const GLshort const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort GLenum GLenum GLenum GLfloat GLenum GLint GLenum GLenum GLenum GLfloat GLenum GLenum GLint GLenum GLfloat GLenum GLint GLint GLushort GLenum GLenum GLfloat GLenum GLenum GLint GLfloat const GLubyte GLenum GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLint GLint GLsizei GLsizei GLint GLenum GLenum const GLvoid GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLenum const GLdouble GLenum GLenum const GLfloat GLenum GLenum const GLint GLsizei GLuint GLfloat GLuint GLbitfield GLfloat GLint GLuint GLboolean GLenum GLfloat GLenum GLbitfield GLenum GLfloat GLfloat GLint GLint const GLfloat GLenum GLfloat GLfloat GLint GLint GLfloat GLfloat GLint GLint const GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat const GLdouble const GLfloat const GLdouble const GLfloat GLint i
Referenced by wmain().
◆ wmain()
Definition at line 88 of file logoff.c.
89{
90
92
93
95 {
97 return 1;
98 }
99
100
102 {
105
106
107 ConPuts(
StdErr,
L"Remote Procedure Call in logoff.exe has not been implemented");
108 }
109
110 else
111 {
113 {
114
116 }
117
118
120 {
122 return 1;
123 }
124 }
125
126 return 0;
127}
void ConPuts(FILE *fp, LPCWSTR psz)
#define ConInitStdStreams()
#define IDS_LOGOFF_REMOTE
BOOL ParseCommandLine(int argc, WCHAR *argv[])
LPWSTR szRemoteServerName
VOID DisplayError(DWORD dwError)
DWORD WINAPI GetLastError(void)
BOOL WINAPI ExitWindowsEx(_In_ UINT, _In_ DWORD)
◆ bVerbose
◆ szRemoteServerName