Leaked source code of windows server 2003
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.
 
 
 
 
 
 

45 lines
842 B

///////////////////////////////////////////////////////////////////////////////
//
// Copyright (C) 1998, Microsoft Corp. All rights reserved.
//
// FILE
//
// textsid.h
//
// SYNOPSIS
//
// This file declares functions for converting Security Indentifiers (SIDs)
// to and from a textual representation.
//
// MODIFICATION HISTORY
//
// 01/18/1998 Original version.
//
///////////////////////////////////////////////////////////////////////////////
#ifndef _TEXTSID_H_
#define _TEXTSID_H_
#ifdef __cplusplus
extern "C" {
#endif
DWORD
WINAPI
IASSidToTextW(
IN PSID pSid,
OUT PWSTR szTextualSid,
IN OUT PDWORD pdwBufferLen
);
DWORD
WINAPI
IASSidFromTextW(
IN PCWSTR szTextualSid,
OUT PSID *pSid
);
#ifdef __cplusplus
}
#endif
#endif // _TEXTSID_H_