chklock.h

来自「获取其他机器上的密码信息」· C头文件 代码 · 共 42 行

H
42
字号
//
//	ChkLock.h
//
//	Symbols, prototypes, and junk.
//

#ifndef __CHKLOCK_H__		//	See to it that we haven't already included this file
#define	__CHKLOCK_H__	1

//	Speed up compilation
#define VC_EXTRALEAN		1

//	Import resources
#include "resource.h"

//	Standard other headers.  It is probably bad 
//	form to put them here, but I am lazy.
#include <windows.h>
#include <lm.h>
#include <iostream.h>

//	Symbols
#define	APP_NAME		"ChkLock"
#define APP_VERSION		"1.001"
#define APP_AUTHOR		"Peyton Engel (pengel@berbee.com)"
#define	ARG_TARGET		"\\\\hostname_or_IP_address"

//	Return codes
#define CL_RET_SUCCESS	0;
#define CL_RET_ALLOC	1;

//	Function prototypes
int		wmain( int argc,
			   wchar_t *argv[], 
			   wchar_t envp[] );
DWORD	ChkLock( LPWSTR lpwszServerName );
void	ErrorHandler( char *szModule, 
					  char *szSymptom, 
					  DWORD dwErrorNum );

#endif	//	(has this file already been included?)

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?