mirror of
https://github.com/reactos/reactos.git
synced 2024-12-27 09:34:43 +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,
|
HidD_Hello(OUT PCHAR Buffer,
|
||||||
IN ULONG BufferLength)
|
IN ULONG BufferLength)
|
||||||
{
|
{
|
||||||
const PCHAR HelloString = "Hello\n";
|
const CHAR HelloString[] = "Hello\n";
|
||||||
ULONG StrSize = (lstrlenA(HelloString) + 1) * sizeof(CHAR);
|
ULONG StrSize = sizeof(HelloString) + sizeof(HelloString[0]);
|
||||||
|
|
||||||
if(BufferLength > 0)
|
if(BufferLength > 0)
|
||||||
{
|
{
|
||||||
|
|
|
@ -28,7 +28,7 @@
|
||||||
#include <precomp.h>
|
#include <precomp.h>
|
||||||
|
|
||||||
HINSTANCE hInstance = NULL;
|
HINSTANCE hInstance = NULL;
|
||||||
LONG dllrefs = 0;
|
static LONG dllrefs = 0;
|
||||||
|
|
||||||
/* FIXME - they should be exported somewhere instead of defined here... */
|
/* 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);
|
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];
|
TCHAR szModule[MAX_PATH + 1];
|
||||||
int lnszDescription;
|
int lnszDescription;
|
||||||
|
|
||||||
if(!GetModuleFileName(hInstance,
|
if (!GetModuleFileName(hInstance,
|
||||||
szModule,
|
szModule,
|
||||||
sizeof(szModule) / sizeof(szModule[0])))
|
sizeof(szModule) / sizeof(szModule[0])))
|
||||||
{
|
{
|
||||||
return E_ACCESSDENIED;
|
return E_ACCESSDENIED;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue