mirror of
https://github.com/reactos/reactos.git
synced 2024-12-26 17:14:41 +00:00
minor changes (mostly formatting)
svn path=/trunk/; revision=18213
This commit is contained in:
parent
4ca189ac66
commit
0e10526c80
2 changed files with 6 additions and 6 deletions
|
@ -368,8 +368,8 @@ ULONG DDKAPI
|
|||
HidD_Hello(OUT PCHAR Buffer,
|
||||
IN ULONG BufferLength)
|
||||
{
|
||||
const PCHAR HelloString = "Hello\n";
|
||||
ULONG StrSize = (lstrlenA(HelloString) + 1) * sizeof(CHAR);
|
||||
const CHAR HelloString[] = "Hello\n";
|
||||
ULONG StrSize = sizeof(HelloString) + sizeof(HelloString[0]);
|
||||
|
||||
if(BufferLength > 0)
|
||||
{
|
||||
|
|
|
@ -28,7 +28,7 @@
|
|||
#include <precomp.h>
|
||||
|
||||
HINSTANCE hInstance = NULL;
|
||||
LONG dllrefs = 0;
|
||||
static LONG dllrefs = 0;
|
||||
|
||||
/* FIXME - they should be exported somewhere instead of defined here... */
|
||||
DEFINE_GUID(IID_IClassFactory, 0x00000001, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46);
|
||||
|
@ -1051,9 +1051,9 @@ DllRegisterServer(VOID)
|
|||
TCHAR szModule[MAX_PATH + 1];
|
||||
int lnszDescription;
|
||||
|
||||
if(!GetModuleFileName(hInstance,
|
||||
szModule,
|
||||
sizeof(szModule) / sizeof(szModule[0])))
|
||||
if (!GetModuleFileName(hInstance,
|
||||
szModule,
|
||||
sizeof(szModule) / sizeof(szModule[0])))
|
||||
{
|
||||
return E_ACCESSDENIED;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue