Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

57 lines
659 B

/*++
Copyright (c) 1996 Microsoft Corporation
Module Name:
Utils.h
Abstract:
Headers for utilities
Author:
Felix Wong [t-felixw] 23-Sept-1996
--*/
NTSTATUS
MapNwToNtStatus(
const NW_STATUS nwstatus
);
int
UnicodeToAnsiString(
LPWSTR pUnicode,
LPSTR pAnsi,
DWORD StringLength
);
LPSTR
AllocateAnsiString(
LPWSTR pPrinterName
);
void
FreeAnsiString(
LPSTR pAnsiString
);
int
AnsiToUnicodeString(
LPSTR pAnsi,
LPWSTR pUnicode,
DWORD StringLength
);
LPWSTR
AllocateUnicodeString(
LPSTR pAnsiString
);
void
FreeUnicodeString(
LPWSTR pUnicodeString
);