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.
|
|
#define MAXCOMPONENTS 10
#define TOKEN_IDENTIFIER 1
#define TOKEN_COMMA 2
#define TOKEN_BSLASH 3
#define TOKEN_END 4
#define TOKEN_DOMAIN 5
#define TOKEN_USER 6
#define TOKEN_GROUP 7
#define TOKEN_PRINTER 8
#define TOKEN_COMPUTER 9
#define TOKEN_SERVICE 10
#define TOKEN_ATSIGN 11
#define TOKEN_EXCLAMATION 12
#define TOKEN_COLON 13
#define TOKEN_FSLASH 14
#define TOKEN_PROVIDER 15
#define TOKEN_FILESERVICE 16
#define TOKEN_FILESHARE 17
#define TOKEN_SCHEMA 18
#define TOKEN_CLASS 19
#define TOKEN_PROPERTY 20
#define TOKEN_SYNTAX 21
#define TOKEN_NAMESPACE 22
typedef struct _objectinfo { LPWSTR ProviderName; DWORD ObjectType; DWORD NumComponents; LPWSTR ComponentArray[MAXCOMPONENTS]; LPWSTR DisplayComponentArray[MAXCOMPONENTS]; } OBJECTINFO, *POBJECTINFO;
HRESULT GetObject( LPWSTR szBuffer, LPVOID * ppObject );
HRESULT HeuristicGetObject( POBJECTINFO pObjectInfo, LPVOID * ppObject );
HRESULT GetNamespaceObject( POBJECTINFO pObjectInfo, LPVOID * ppObject );
HRESULT GetComputerObject( POBJECTINFO pObjectInfo, LPVOID * ppObject );
HRESULT GetUserObject( POBJECTINFO pObjectInfo, LPVOID * ppObject );
HRESULT GetGroupObject( POBJECTINFO pObjectInfo, LPVOID * ppObject );
HRESULT GetSchemaObject( POBJECTINFO pObjectInfo, LPVOID * ppObject );
HRESULT GetClassObject( POBJECTINFO pObjectInfo, LPVOID * ppObject );
HRESULT GetSyntaxObject( POBJECTINFO pObjectInfo, LPVOID * ppObject );
HRESULT GetPropertyObject( POBJECTINFO pObjectInfo, LPVOID * ppObject );
HRESULT GetFileServiceObject( POBJECTINFO pObjectInfo, LPVOID * ppObject );
HRESULT GetFileShareObject( POBJECTINFO pObjectInfo, LPVOID * ppObject );
HRESULT GetPrinterObject( POBJECTINFO pObjectInfo, LPVOID * ppObject );
HRESULT ValidateNamespaceObject( POBJECTINFO pObjectInfo );
HRESULT ValidateComputerObject( POBJECTINFO pObjectInfo );
HRESULT ValidateUserObject( POBJECTINFO pObjectInfo );
HRESULT ValidateGroupObject( POBJECTINFO pObjectInfo );
HRESULT ValidateFileServiceObject( POBJECTINFO pObjectInfo );
HRESULT ValidateFileShareObject( POBJECTINFO pObjectInfo );
HRESULT ValidatePrinterObject( POBJECTINFO pObjectInfo );
HRESULT BuildParent( POBJECTINFO pObjectInfo, LPWSTR szBuffer );
HRESULT BuildGrandParent( POBJECTINFO pObjectInfo, LPWSTR szBuffer );
HRESULT BuildADsPath( POBJECTINFO pObjectInfo, LPWSTR szBuffer );
|