Main Page | Alphabetical List | Class List | File List | Class Members | File Members | Related Pages

# dkcUniqueID.h

Go to the documentation of this file.

    00001
    00005 #ifndef dkutil_c_UniqueID__h
    00006 #define dkutil_c_UniqueID__h
    00007
    00008 #include "dkcOSIndependent.h"
    00009 #include "dkcMemoryStream.h"
    00010
    00014 typedef struct dkc_UniqueID{
    00015         DKC_MEMORYSTREAM *mStream;
    00016         int mCounter;
    00017 }DKC_UNIQUE_ID;
    00018
    00019
    00020
    00021
    00023 DKC_EXTERN DKC_UNIQUE_ID * WINAPI dkcAllocUniqueID(void);
    00029 DKC_EXTERN int WINAPI dkcFreeUniqueID(DKC_UNIQUE_ID **ptr);
    00030
    00031
    00036 DKC_EXTERN int WINAPI dkcUniqueIDGet(DKC_UNIQUE_ID *ptr);
    00040 DKC_EXTERN void dkcUniqueIDReturn(DKC_UNIQUE_ID *ptr,int id);
    00045 //DKC_EXTERN void dkcUniqueIDSafeReturn(DKC_UNIQUE_ID *ptr,int id);
    00046
    00047
    00048 #endif //end of include once